users

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddEmailBadRequest

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

Bad Request

func NewAddEmailBadRequest

func NewAddEmailBadRequest() *AddEmailBadRequest

NewAddEmailBadRequest creates a AddEmailBadRequest with default headers values

func (*AddEmailBadRequest) Error

func (o *AddEmailBadRequest) Error() string

func (*AddEmailBadRequest) GetPayload

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

type AddEmailBody

type AddEmailBody struct {

	// email
	Email string `json:"email,omitempty"`
}

AddEmailBody add email body swagger:model AddEmailBody

func (*AddEmailBody) ContextValidate

func (o *AddEmailBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this add email body based on context it is used

func (*AddEmailBody) MarshalBinary

func (o *AddEmailBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AddEmailBody) UnmarshalBinary

func (o *AddEmailBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AddEmailBody) Validate

func (o *AddEmailBody) Validate(formats strfmt.Registry) error

Validate validates this add email body

type AddEmailConflict

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

Conflict

func NewAddEmailConflict

func NewAddEmailConflict() *AddEmailConflict

NewAddEmailConflict creates a AddEmailConflict with default headers values

func (*AddEmailConflict) Error

func (o *AddEmailConflict) Error() string

func (*AddEmailConflict) GetPayload

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

type AddEmailForbidden

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

Forbidden

func NewAddEmailForbidden

func NewAddEmailForbidden() *AddEmailForbidden

NewAddEmailForbidden creates a AddEmailForbidden with default headers values

func (*AddEmailForbidden) Error

func (o *AddEmailForbidden) Error() string

func (*AddEmailForbidden) GetPayload

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

type AddEmailInternalServerError

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

Server Error

func NewAddEmailInternalServerError

func NewAddEmailInternalServerError() *AddEmailInternalServerError

NewAddEmailInternalServerError creates a AddEmailInternalServerError with default headers values

func (*AddEmailInternalServerError) Error

func (*AddEmailInternalServerError) GetPayload

type AddEmailNotFound

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

Not Found

func NewAddEmailNotFound

func NewAddEmailNotFound() *AddEmailNotFound

NewAddEmailNotFound creates a AddEmailNotFound with default headers values

func (*AddEmailNotFound) Error

func (o *AddEmailNotFound) Error() string

func (*AddEmailNotFound) GetPayload

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

type AddEmailOK

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

Email added

func NewAddEmailOK

func NewAddEmailOK() *AddEmailOK

NewAddEmailOK creates a AddEmailOK with default headers values

func (*AddEmailOK) Error

func (o *AddEmailOK) Error() string

func (*AddEmailOK) GetPayload

func (o *AddEmailOK) GetPayload() *mono_models.Email

type AddEmailParams

type AddEmailParams struct {

	/* Email.

	   Email to add
	*/
	Email AddEmailBody

	/* Username.

	   username of desired User
	*/
	Username string

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

AddEmailParams contains all the parameters to send to the API endpoint

for the add email operation.

Typically these are written to a http.Request.

func NewAddEmailParams

func NewAddEmailParams() *AddEmailParams

NewAddEmailParams creates a new AddEmailParams 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 NewAddEmailParamsWithContext

func NewAddEmailParamsWithContext(ctx context.Context) *AddEmailParams

NewAddEmailParamsWithContext creates a new AddEmailParams object with the ability to set a context for a request.

func NewAddEmailParamsWithHTTPClient

func NewAddEmailParamsWithHTTPClient(client *http.Client) *AddEmailParams

NewAddEmailParamsWithHTTPClient creates a new AddEmailParams object with the ability to set a custom HTTPClient for a request.

func NewAddEmailParamsWithTimeout

func NewAddEmailParamsWithTimeout(timeout time.Duration) *AddEmailParams

NewAddEmailParamsWithTimeout creates a new AddEmailParams object with the ability to set a timeout on a request.

func (*AddEmailParams) SetContext

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

SetContext adds the context to the add email params

func (*AddEmailParams) SetDefaults

func (o *AddEmailParams) SetDefaults()

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

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

func (*AddEmailParams) SetEmail

func (o *AddEmailParams) SetEmail(email AddEmailBody)

SetEmail adds the email to the add email params

func (*AddEmailParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add email params

func (*AddEmailParams) SetTimeout

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

SetTimeout adds the timeout to the add email params

func (*AddEmailParams) SetUsername

func (o *AddEmailParams) SetUsername(username string)

SetUsername adds the username to the add email params

func (*AddEmailParams) WithContext

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

WithContext adds the context to the add email params

func (*AddEmailParams) WithDefaults

func (o *AddEmailParams) WithDefaults() *AddEmailParams

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

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

func (*AddEmailParams) WithEmail

func (o *AddEmailParams) WithEmail(email AddEmailBody) *AddEmailParams

WithEmail adds the email to the add email params

func (*AddEmailParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add email params

func (*AddEmailParams) WithTimeout

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

WithTimeout adds the timeout to the add email params

func (*AddEmailParams) WithUsername

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

WithUsername adds the username to the add email params

func (*AddEmailParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddEmailReader

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

AddEmailReader is a Reader for the AddEmail structure.

func (*AddEmailReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddUserBadRequest

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

Bad Request

func NewAddUserBadRequest

func NewAddUserBadRequest() *AddUserBadRequest

NewAddUserBadRequest creates a AddUserBadRequest with default headers values

func (*AddUserBadRequest) Error

func (o *AddUserBadRequest) Error() string

func (*AddUserBadRequest) GetPayload

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

type AddUserConflict

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

Conflict

func NewAddUserConflict

func NewAddUserConflict() *AddUserConflict

NewAddUserConflict creates a AddUserConflict with default headers values

func (*AddUserConflict) Error

func (o *AddUserConflict) Error() string

func (*AddUserConflict) GetPayload

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

type AddUserInternalServerError

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

Server Error

func NewAddUserInternalServerError

func NewAddUserInternalServerError() *AddUserInternalServerError

NewAddUserInternalServerError creates a AddUserInternalServerError with default headers values

func (*AddUserInternalServerError) Error

func (*AddUserInternalServerError) GetPayload

type AddUserOK

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

Successfully Created

func NewAddUserOK

func NewAddUserOK() *AddUserOK

NewAddUserOK creates a AddUserOK with default headers values

func (*AddUserOK) Error

func (o *AddUserOK) Error() string

func (*AddUserOK) GetPayload

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

type AddUserParams

type AddUserParams struct {

	/* User.

	   User to add
	*/
	User *mono_models.UserEditable

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

AddUserParams contains all the parameters to send to the API endpoint

for the add user operation.

Typically these are written to a http.Request.

func NewAddUserParams

func NewAddUserParams() *AddUserParams

NewAddUserParams creates a new AddUserParams 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 NewAddUserParamsWithContext

func NewAddUserParamsWithContext(ctx context.Context) *AddUserParams

NewAddUserParamsWithContext creates a new AddUserParams object with the ability to set a context for a request.

func NewAddUserParamsWithHTTPClient

func NewAddUserParamsWithHTTPClient(client *http.Client) *AddUserParams

NewAddUserParamsWithHTTPClient creates a new AddUserParams object with the ability to set a custom HTTPClient for a request.

func NewAddUserParamsWithTimeout

func NewAddUserParamsWithTimeout(timeout time.Duration) *AddUserParams

NewAddUserParamsWithTimeout creates a new AddUserParams object with the ability to set a timeout on a request.

func (*AddUserParams) SetContext

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

SetContext adds the context to the add user params

func (*AddUserParams) SetDefaults

func (o *AddUserParams) SetDefaults()

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

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

func (*AddUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add user params

func (*AddUserParams) SetTimeout

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

SetTimeout adds the timeout to the add user params

func (*AddUserParams) SetUser

func (o *AddUserParams) SetUser(user *mono_models.UserEditable)

SetUser adds the user to the add user params

func (*AddUserParams) WithContext

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

WithContext adds the context to the add user params

func (*AddUserParams) WithDefaults

func (o *AddUserParams) WithDefaults() *AddUserParams

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

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

func (*AddUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add user params

func (*AddUserParams) WithTimeout

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

WithTimeout adds the timeout to the add user params

func (*AddUserParams) WithUser

WithUser adds the user to the add user params

func (*AddUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddUserReader

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

AddUserReader is a Reader for the AddUser structure.

func (*AddUserReader) ReadResponse

func (o *AddUserReader) 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 users API

func (*Client) AddEmail

func (a *Client) AddEmail(params *AddEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddEmailOK, error)

AddEmail creates new email for a user

Create new email

func (*Client) AddUser

func (a *Client) AddUser(params *AddUserParams, opts ...ClientOption) (*AddUserOK, error)

AddUser creates a new user

Create a new user

func (*Client) DeleteEmail

func (a *Client) DeleteEmail(params *DeleteEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEmailOK, error)

DeleteEmail deletes email for a user

Delete email

func (*Client) DeleteUser

func (a *Client) DeleteUser(params *DeleteUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserOK, error)

DeleteUser deletes a user

Delete a user

func (*Client) EditUser

func (a *Client) EditUser(params *EditUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditUserOK, error)

EditUser edits a user

Edit a user record

func (*Client) GetDomainsByUser

func (a *Client) GetDomainsByUser(params *GetDomainsByUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDomainsByUserOK, error)

GetDomainsByUser retrieves a user s verified domains

Return a list of domains suitable for auto-invite

func (a *Client) GetEmailVerificationLink(params *GetEmailVerificationLinkParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEmailVerificationLinkOK, error)

GetEmailVerificationLink gets the verification link for the given unverified email

Returns the link needed to verify ownership of the provided email address, if it exists and is unverified. Only available to superusers.

func (*Client) GetEmailsByUser

func (a *Client) GetEmailsByUser(params *GetEmailsByUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEmailsByUserOK, error)

GetEmailsByUser retrieves a user s emails

Return a list of emails matching username

func (*Client) GetInvitationByCode

func (a *Client) GetInvitationByCode(params *GetInvitationByCodeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvitationByCodeOK, error)

GetInvitationByCode returns the invitation with the corresponding code

Returns the invitation with the corresponding code

func (*Client) GetInvitationsByUser

func (a *Client) GetInvitationsByUser(params *GetInvitationsByUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvitationsByUserOK, error)

GetInvitationsByUser lists of pending invitations for the logged in user

Has this user been invited to any organizations

func (*Client) GetUser

func (a *Client) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserOK, error)

GetUser retrieves a user record

Return a specific user matching username

func (*Client) GetUserByID

func (a *Client) GetUserByID(params *GetUserByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserByIDOK, error)

GetUserByID retrieves a user record by their user ID

Return a specific user matching user ID

func (*Client) ListInvitations

func (a *Client) ListInvitations(params *ListInvitationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListInvitationsOK, error)

ListInvitations lists of pending invitations for an email address

Has this email address been invited to any organizations

func (*Client) ListUsers

func (a *Client) ListUsers(params *ListUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUsersOK, error)

ListUsers lists of visible users

Retrieve all users from the system that the user has access to

func (*Client) SearchEmails

func (a *Client) SearchEmails(params *SearchEmailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchEmailsOK, error)

SearchEmails Search for users by email address, requires superuser

func (*Client) SearchUsernames

func (a *Client) SearchUsernames(params *SearchUsernamesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchUsernamesOK, error)

SearchUsernames Search for users, requires superuser

func (*Client) SendEmailVerification

func (a *Client) SendEmailVerification(params *SendEmailVerificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SendEmailVerificationOK, error)

SendEmailVerification sends a verification email to user

Send a verification email to user

func (*Client) SetPreferredEmail

func (a *Client) SetPreferredEmail(params *SetPreferredEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetPreferredEmailOK, error)

SetPreferredEmail updates preferred email

Update preferred email

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UniqueUsername

func (a *Client) UniqueUsername(params *UniqueUsernameParams, opts ...ClientOption) (*UniqueUsernameOK, error)

UniqueUsername checks if a username is already taken in the system

Is the supplied username already assigned

func (*Client) VerifyEmail

func (a *Client) VerifyEmail(params *VerifyEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VerifyEmailOK, error)

VerifyEmail verifies the designated email

Verify the designated email

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AddEmail(params *AddEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddEmailOK, error)

	AddUser(params *AddUserParams, opts ...ClientOption) (*AddUserOK, error)

	DeleteEmail(params *DeleteEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEmailOK, error)

	DeleteUser(params *DeleteUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteUserOK, error)

	EditUser(params *EditUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditUserOK, error)

	GetDomainsByUser(params *GetDomainsByUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDomainsByUserOK, error)

	GetEmailVerificationLink(params *GetEmailVerificationLinkParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEmailVerificationLinkOK, error)

	GetEmailsByUser(params *GetEmailsByUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEmailsByUserOK, error)

	GetInvitationByCode(params *GetInvitationByCodeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvitationByCodeOK, error)

	GetInvitationsByUser(params *GetInvitationsByUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInvitationsByUserOK, error)

	GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserOK, error)

	GetUserByID(params *GetUserByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserByIDOK, error)

	ListInvitations(params *ListInvitationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListInvitationsOK, error)

	ListUsers(params *ListUsersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUsersOK, error)

	SearchEmails(params *SearchEmailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchEmailsOK, error)

	SearchUsernames(params *SearchUsernamesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchUsernamesOK, error)

	SendEmailVerification(params *SendEmailVerificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SendEmailVerificationOK, error)

	SetPreferredEmail(params *SetPreferredEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetPreferredEmailOK, error)

	UniqueUsername(params *UniqueUsernameParams, opts ...ClientOption) (*UniqueUsernameOK, error)

	VerifyEmail(params *VerifyEmailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VerifyEmailOK, 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 users API client.

type DeleteEmailBadRequest

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

Bad Request

func NewDeleteEmailBadRequest

func NewDeleteEmailBadRequest() *DeleteEmailBadRequest

NewDeleteEmailBadRequest creates a DeleteEmailBadRequest with default headers values

func (*DeleteEmailBadRequest) Error

func (o *DeleteEmailBadRequest) Error() string

func (*DeleteEmailBadRequest) GetPayload

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

type DeleteEmailBody

type DeleteEmailBody struct {

	// email
	Email string `json:"email,omitempty"`
}

DeleteEmailBody delete email body swagger:model DeleteEmailBody

func (*DeleteEmailBody) ContextValidate

func (o *DeleteEmailBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete email body based on context it is used

func (*DeleteEmailBody) MarshalBinary

func (o *DeleteEmailBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteEmailBody) UnmarshalBinary

func (o *DeleteEmailBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteEmailBody) Validate

func (o *DeleteEmailBody) Validate(formats strfmt.Registry) error

Validate validates this delete email body

type DeleteEmailForbidden

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

Forbidden

func NewDeleteEmailForbidden

func NewDeleteEmailForbidden() *DeleteEmailForbidden

NewDeleteEmailForbidden creates a DeleteEmailForbidden with default headers values

func (*DeleteEmailForbidden) Error

func (o *DeleteEmailForbidden) Error() string

func (*DeleteEmailForbidden) GetPayload

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

type DeleteEmailInternalServerError

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

Server Error

func NewDeleteEmailInternalServerError

func NewDeleteEmailInternalServerError() *DeleteEmailInternalServerError

NewDeleteEmailInternalServerError creates a DeleteEmailInternalServerError with default headers values

func (*DeleteEmailInternalServerError) Error

func (*DeleteEmailInternalServerError) GetPayload

type DeleteEmailNotFound

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

Not Found

func NewDeleteEmailNotFound

func NewDeleteEmailNotFound() *DeleteEmailNotFound

NewDeleteEmailNotFound creates a DeleteEmailNotFound with default headers values

func (*DeleteEmailNotFound) Error

func (o *DeleteEmailNotFound) Error() string

func (*DeleteEmailNotFound) GetPayload

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

type DeleteEmailOK

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

Email deleted

func NewDeleteEmailOK

func NewDeleteEmailOK() *DeleteEmailOK

NewDeleteEmailOK creates a DeleteEmailOK with default headers values

func (*DeleteEmailOK) Error

func (o *DeleteEmailOK) Error() string

func (*DeleteEmailOK) GetPayload

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

type DeleteEmailParams

type DeleteEmailParams struct {

	/* Email.

	   Email to delete
	*/
	Email DeleteEmailBody

	/* Username.

	   username of desired User
	*/
	Username string

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

DeleteEmailParams contains all the parameters to send to the API endpoint

for the delete email operation.

Typically these are written to a http.Request.

func NewDeleteEmailParams

func NewDeleteEmailParams() *DeleteEmailParams

NewDeleteEmailParams creates a new DeleteEmailParams 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 NewDeleteEmailParamsWithContext

func NewDeleteEmailParamsWithContext(ctx context.Context) *DeleteEmailParams

NewDeleteEmailParamsWithContext creates a new DeleteEmailParams object with the ability to set a context for a request.

func NewDeleteEmailParamsWithHTTPClient

func NewDeleteEmailParamsWithHTTPClient(client *http.Client) *DeleteEmailParams

NewDeleteEmailParamsWithHTTPClient creates a new DeleteEmailParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteEmailParamsWithTimeout

func NewDeleteEmailParamsWithTimeout(timeout time.Duration) *DeleteEmailParams

NewDeleteEmailParamsWithTimeout creates a new DeleteEmailParams object with the ability to set a timeout on a request.

func (*DeleteEmailParams) SetContext

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

SetContext adds the context to the delete email params

func (*DeleteEmailParams) SetDefaults

func (o *DeleteEmailParams) SetDefaults()

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

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

func (*DeleteEmailParams) SetEmail

func (o *DeleteEmailParams) SetEmail(email DeleteEmailBody)

SetEmail adds the email to the delete email params

func (*DeleteEmailParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete email params

func (*DeleteEmailParams) SetTimeout

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

SetTimeout adds the timeout to the delete email params

func (*DeleteEmailParams) SetUsername

func (o *DeleteEmailParams) SetUsername(username string)

SetUsername adds the username to the delete email params

func (*DeleteEmailParams) WithContext

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

WithContext adds the context to the delete email params

func (*DeleteEmailParams) WithDefaults

func (o *DeleteEmailParams) WithDefaults() *DeleteEmailParams

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

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

func (*DeleteEmailParams) WithEmail

WithEmail adds the email to the delete email params

func (*DeleteEmailParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete email params

func (*DeleteEmailParams) WithTimeout

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

WithTimeout adds the timeout to the delete email params

func (*DeleteEmailParams) WithUsername

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

WithUsername adds the username to the delete email params

func (*DeleteEmailParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteEmailReader

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

DeleteEmailReader is a Reader for the DeleteEmail structure.

func (*DeleteEmailReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteUserBadRequest

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

Bad Request

func NewDeleteUserBadRequest

func NewDeleteUserBadRequest() *DeleteUserBadRequest

NewDeleteUserBadRequest creates a DeleteUserBadRequest with default headers values

func (*DeleteUserBadRequest) Error

func (o *DeleteUserBadRequest) Error() string

func (*DeleteUserBadRequest) GetPayload

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

type DeleteUserForbidden

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

Forbidden

func NewDeleteUserForbidden

func NewDeleteUserForbidden() *DeleteUserForbidden

NewDeleteUserForbidden creates a DeleteUserForbidden with default headers values

func (*DeleteUserForbidden) Error

func (o *DeleteUserForbidden) Error() string

func (*DeleteUserForbidden) GetPayload

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

type DeleteUserInternalServerError

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

Server Error

func NewDeleteUserInternalServerError

func NewDeleteUserInternalServerError() *DeleteUserInternalServerError

NewDeleteUserInternalServerError creates a DeleteUserInternalServerError with default headers values

func (*DeleteUserInternalServerError) Error

func (*DeleteUserInternalServerError) GetPayload

type DeleteUserNotFound

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

Not Found

func NewDeleteUserNotFound

func NewDeleteUserNotFound() *DeleteUserNotFound

NewDeleteUserNotFound creates a DeleteUserNotFound with default headers values

func (*DeleteUserNotFound) Error

func (o *DeleteUserNotFound) Error() string

func (*DeleteUserNotFound) GetPayload

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

type DeleteUserOK

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

User deleted

func NewDeleteUserOK

func NewDeleteUserOK() *DeleteUserOK

NewDeleteUserOK creates a DeleteUserOK with default headers values

func (*DeleteUserOK) Error

func (o *DeleteUserOK) Error() string

func (*DeleteUserOK) GetPayload

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

type DeleteUserParams

type DeleteUserParams struct {

	/* Username.

	   username of desired User
	*/
	Username string

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

DeleteUserParams contains all the parameters to send to the API endpoint

for the delete user operation.

Typically these are written to a http.Request.

func NewDeleteUserParams

func NewDeleteUserParams() *DeleteUserParams

NewDeleteUserParams creates a new DeleteUserParams object, with the default 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 NewDeleteUserParamsWithContext

func NewDeleteUserParamsWithContext(ctx context.Context) *DeleteUserParams

NewDeleteUserParamsWithContext creates a new DeleteUserParams object with the ability to set a context for a request.

func NewDeleteUserParamsWithHTTPClient

func NewDeleteUserParamsWithHTTPClient(client *http.Client) *DeleteUserParams

NewDeleteUserParamsWithHTTPClient creates a new DeleteUserParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteUserParamsWithTimeout

func NewDeleteUserParamsWithTimeout(timeout time.Duration) *DeleteUserParams

NewDeleteUserParamsWithTimeout creates a new DeleteUserParams object with the ability to set a timeout on a request.

func (*DeleteUserParams) SetContext

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

SetContext adds the context to the delete user params

func (*DeleteUserParams) SetDefaults

func (o *DeleteUserParams) SetDefaults()

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

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

func (*DeleteUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete user params

func (*DeleteUserParams) SetTimeout

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

SetTimeout adds the timeout to the delete user params

func (*DeleteUserParams) SetUsername

func (o *DeleteUserParams) SetUsername(username string)

SetUsername adds the username to the delete user params

func (*DeleteUserParams) WithContext

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

WithContext adds the context to the delete user params

func (*DeleteUserParams) WithDefaults

func (o *DeleteUserParams) WithDefaults() *DeleteUserParams

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

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

func (*DeleteUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete user params

func (*DeleteUserParams) WithTimeout

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

WithTimeout adds the timeout to the delete user params

func (*DeleteUserParams) WithUsername

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

WithUsername adds the username to the delete user params

func (*DeleteUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteUserReader

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

DeleteUserReader is a Reader for the DeleteUser structure.

func (*DeleteUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EditUserBadRequest

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

Bad Request

func NewEditUserBadRequest

func NewEditUserBadRequest() *EditUserBadRequest

NewEditUserBadRequest creates a EditUserBadRequest with default headers values

func (*EditUserBadRequest) Error

func (o *EditUserBadRequest) Error() string

func (*EditUserBadRequest) GetPayload

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

type EditUserForbidden

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

Forbidden

func NewEditUserForbidden

func NewEditUserForbidden() *EditUserForbidden

NewEditUserForbidden creates a EditUserForbidden with default headers values

func (*EditUserForbidden) Error

func (o *EditUserForbidden) Error() string

func (*EditUserForbidden) GetPayload

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

type EditUserInternalServerError

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

Server Error

func NewEditUserInternalServerError

func NewEditUserInternalServerError() *EditUserInternalServerError

NewEditUserInternalServerError creates a EditUserInternalServerError with default headers values

func (*EditUserInternalServerError) Error

func (*EditUserInternalServerError) GetPayload

type EditUserNotFound

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

Not Found

func NewEditUserNotFound

func NewEditUserNotFound() *EditUserNotFound

NewEditUserNotFound creates a EditUserNotFound with default headers values

func (*EditUserNotFound) Error

func (o *EditUserNotFound) Error() string

func (*EditUserNotFound) GetPayload

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

type EditUserOK

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

User updated

func NewEditUserOK

func NewEditUserOK() *EditUserOK

NewEditUserOK creates a EditUserOK with default headers values

func (*EditUserOK) Error

func (o *EditUserOK) Error() string

func (*EditUserOK) GetPayload

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

type EditUserParams

type EditUserParams struct {

	// User.
	User *mono_models.UserEditable

	/* Username.

	   username of desired User
	*/
	Username string

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

EditUserParams contains all the parameters to send to the API endpoint

for the edit user operation.

Typically these are written to a http.Request.

func NewEditUserParams

func NewEditUserParams() *EditUserParams

NewEditUserParams creates a new EditUserParams 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 NewEditUserParamsWithContext

func NewEditUserParamsWithContext(ctx context.Context) *EditUserParams

NewEditUserParamsWithContext creates a new EditUserParams object with the ability to set a context for a request.

func NewEditUserParamsWithHTTPClient

func NewEditUserParamsWithHTTPClient(client *http.Client) *EditUserParams

NewEditUserParamsWithHTTPClient creates a new EditUserParams object with the ability to set a custom HTTPClient for a request.

func NewEditUserParamsWithTimeout

func NewEditUserParamsWithTimeout(timeout time.Duration) *EditUserParams

NewEditUserParamsWithTimeout creates a new EditUserParams object with the ability to set a timeout on a request.

func (*EditUserParams) SetContext

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

SetContext adds the context to the edit user params

func (*EditUserParams) SetDefaults

func (o *EditUserParams) SetDefaults()

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

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

func (*EditUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the edit user params

func (*EditUserParams) SetTimeout

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

SetTimeout adds the timeout to the edit user params

func (*EditUserParams) SetUser

func (o *EditUserParams) SetUser(user *mono_models.UserEditable)

SetUser adds the user to the edit user params

func (*EditUserParams) SetUsername

func (o *EditUserParams) SetUsername(username string)

SetUsername adds the username to the edit user params

func (*EditUserParams) WithContext

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

WithContext adds the context to the edit user params

func (*EditUserParams) WithDefaults

func (o *EditUserParams) WithDefaults() *EditUserParams

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

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

func (*EditUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the edit user params

func (*EditUserParams) WithTimeout

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

WithTimeout adds the timeout to the edit user params

func (*EditUserParams) WithUser

WithUser adds the user to the edit user params

func (*EditUserParams) WithUsername

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

WithUsername adds the username to the edit user params

func (*EditUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EditUserReader

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

EditUserReader is a Reader for the EditUser structure.

func (*EditUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDomainsByUserForbidden

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

Forbidden

func NewGetDomainsByUserForbidden

func NewGetDomainsByUserForbidden() *GetDomainsByUserForbidden

NewGetDomainsByUserForbidden creates a GetDomainsByUserForbidden with default headers values

func (*GetDomainsByUserForbidden) Error

func (o *GetDomainsByUserForbidden) Error() string

func (*GetDomainsByUserForbidden) GetPayload

type GetDomainsByUserInternalServerError

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

Server Error

func NewGetDomainsByUserInternalServerError

func NewGetDomainsByUserInternalServerError() *GetDomainsByUserInternalServerError

NewGetDomainsByUserInternalServerError creates a GetDomainsByUserInternalServerError with default headers values

func (*GetDomainsByUserInternalServerError) Error

func (*GetDomainsByUserInternalServerError) GetPayload

type GetDomainsByUserOK

type GetDomainsByUserOK struct {
	Payload []string
}
GetDomainsByUserOK describes a response with status code 200, with default header values.

Domain records

func NewGetDomainsByUserOK

func NewGetDomainsByUserOK() *GetDomainsByUserOK

NewGetDomainsByUserOK creates a GetDomainsByUserOK with default headers values

func (*GetDomainsByUserOK) Error

func (o *GetDomainsByUserOK) Error() string

func (*GetDomainsByUserOK) GetPayload

func (o *GetDomainsByUserOK) GetPayload() []string

type GetDomainsByUserParams

type GetDomainsByUserParams struct {

	/* Username.

	   username of desired User
	*/
	Username string

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

GetDomainsByUserParams contains all the parameters to send to the API endpoint

for the get domains by user operation.

Typically these are written to a http.Request.

func NewGetDomainsByUserParams

func NewGetDomainsByUserParams() *GetDomainsByUserParams

NewGetDomainsByUserParams creates a new GetDomainsByUserParams 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 NewGetDomainsByUserParamsWithContext

func NewGetDomainsByUserParamsWithContext(ctx context.Context) *GetDomainsByUserParams

NewGetDomainsByUserParamsWithContext creates a new GetDomainsByUserParams object with the ability to set a context for a request.

func NewGetDomainsByUserParamsWithHTTPClient

func NewGetDomainsByUserParamsWithHTTPClient(client *http.Client) *GetDomainsByUserParams

NewGetDomainsByUserParamsWithHTTPClient creates a new GetDomainsByUserParams object with the ability to set a custom HTTPClient for a request.

func NewGetDomainsByUserParamsWithTimeout

func NewGetDomainsByUserParamsWithTimeout(timeout time.Duration) *GetDomainsByUserParams

NewGetDomainsByUserParamsWithTimeout creates a new GetDomainsByUserParams object with the ability to set a timeout on a request.

func (*GetDomainsByUserParams) SetContext

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

SetContext adds the context to the get domains by user params

func (*GetDomainsByUserParams) SetDefaults

func (o *GetDomainsByUserParams) SetDefaults()

SetDefaults hydrates default values in the get domains by user params (not the query body).

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

func (*GetDomainsByUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get domains by user params

func (*GetDomainsByUserParams) SetTimeout

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

SetTimeout adds the timeout to the get domains by user params

func (*GetDomainsByUserParams) SetUsername

func (o *GetDomainsByUserParams) SetUsername(username string)

SetUsername adds the username to the get domains by user params

func (*GetDomainsByUserParams) WithContext

WithContext adds the context to the get domains by user params

func (*GetDomainsByUserParams) WithDefaults

WithDefaults hydrates default values in the get domains by user params (not the query body).

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

func (*GetDomainsByUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get domains by user params

func (*GetDomainsByUserParams) WithTimeout

WithTimeout adds the timeout to the get domains by user params

func (*GetDomainsByUserParams) WithUsername

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

WithUsername adds the username to the get domains by user params

func (*GetDomainsByUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDomainsByUserReader

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

GetDomainsByUserReader is a Reader for the GetDomainsByUser structure.

func (*GetDomainsByUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEmailVerificationLinkBadRequest

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

Email is already verified

func NewGetEmailVerificationLinkBadRequest

func NewGetEmailVerificationLinkBadRequest() *GetEmailVerificationLinkBadRequest

NewGetEmailVerificationLinkBadRequest creates a GetEmailVerificationLinkBadRequest with default headers values

func (*GetEmailVerificationLinkBadRequest) Error

func (*GetEmailVerificationLinkBadRequest) GetPayload

type GetEmailVerificationLinkForbidden

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

Forbidden

func NewGetEmailVerificationLinkForbidden

func NewGetEmailVerificationLinkForbidden() *GetEmailVerificationLinkForbidden

NewGetEmailVerificationLinkForbidden creates a GetEmailVerificationLinkForbidden with default headers values

func (*GetEmailVerificationLinkForbidden) Error

func (*GetEmailVerificationLinkForbidden) GetPayload

type GetEmailVerificationLinkInternalServerError

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

Server Error

func NewGetEmailVerificationLinkInternalServerError

func NewGetEmailVerificationLinkInternalServerError() *GetEmailVerificationLinkInternalServerError

NewGetEmailVerificationLinkInternalServerError creates a GetEmailVerificationLinkInternalServerError with default headers values

func (*GetEmailVerificationLinkInternalServerError) Error

func (*GetEmailVerificationLinkInternalServerError) GetPayload

type GetEmailVerificationLinkNotFound

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

Email not found

func NewGetEmailVerificationLinkNotFound

func NewGetEmailVerificationLinkNotFound() *GetEmailVerificationLinkNotFound

NewGetEmailVerificationLinkNotFound creates a GetEmailVerificationLinkNotFound with default headers values

func (*GetEmailVerificationLinkNotFound) Error

func (*GetEmailVerificationLinkNotFound) GetPayload

type GetEmailVerificationLinkOK

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

Success

func NewGetEmailVerificationLinkOK

func NewGetEmailVerificationLinkOK() *GetEmailVerificationLinkOK

NewGetEmailVerificationLinkOK creates a GetEmailVerificationLinkOK with default headers values

func (*GetEmailVerificationLinkOK) Error

func (*GetEmailVerificationLinkOK) GetPayload

func (o *GetEmailVerificationLinkOK) GetPayload() string

type GetEmailVerificationLinkParams

type GetEmailVerificationLinkParams struct {

	/* Email.

	   Email address for which to get the verification link
	*/
	Email string

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

GetEmailVerificationLinkParams contains all the parameters to send to the API endpoint

for the get email verification link operation.

Typically these are written to a http.Request.

func NewGetEmailVerificationLinkParams

func NewGetEmailVerificationLinkParams() *GetEmailVerificationLinkParams

NewGetEmailVerificationLinkParams creates a new GetEmailVerificationLinkParams 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 NewGetEmailVerificationLinkParamsWithContext

func NewGetEmailVerificationLinkParamsWithContext(ctx context.Context) *GetEmailVerificationLinkParams

NewGetEmailVerificationLinkParamsWithContext creates a new GetEmailVerificationLinkParams object with the ability to set a context for a request.

func NewGetEmailVerificationLinkParamsWithHTTPClient

func NewGetEmailVerificationLinkParamsWithHTTPClient(client *http.Client) *GetEmailVerificationLinkParams

NewGetEmailVerificationLinkParamsWithHTTPClient creates a new GetEmailVerificationLinkParams object with the ability to set a custom HTTPClient for a request.

func NewGetEmailVerificationLinkParamsWithTimeout

func NewGetEmailVerificationLinkParamsWithTimeout(timeout time.Duration) *GetEmailVerificationLinkParams

NewGetEmailVerificationLinkParamsWithTimeout creates a new GetEmailVerificationLinkParams object with the ability to set a timeout on a request.

func (*GetEmailVerificationLinkParams) SetContext

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

SetContext adds the context to the get email verification link params

func (*GetEmailVerificationLinkParams) SetDefaults

func (o *GetEmailVerificationLinkParams) SetDefaults()

SetDefaults hydrates default values in the get email verification link params (not the query body).

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

func (*GetEmailVerificationLinkParams) SetEmail

func (o *GetEmailVerificationLinkParams) SetEmail(email string)

SetEmail adds the email to the get email verification link params

func (*GetEmailVerificationLinkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get email verification link params

func (*GetEmailVerificationLinkParams) SetTimeout

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

SetTimeout adds the timeout to the get email verification link params

func (*GetEmailVerificationLinkParams) WithContext

WithContext adds the context to the get email verification link params

func (*GetEmailVerificationLinkParams) WithDefaults

WithDefaults hydrates default values in the get email verification link params (not the query body).

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

func (*GetEmailVerificationLinkParams) WithEmail

WithEmail adds the email to the get email verification link params

func (*GetEmailVerificationLinkParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get email verification link params

func (*GetEmailVerificationLinkParams) WithTimeout

WithTimeout adds the timeout to the get email verification link params

func (*GetEmailVerificationLinkParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEmailVerificationLinkReader

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

GetEmailVerificationLinkReader is a Reader for the GetEmailVerificationLink structure.

func (*GetEmailVerificationLinkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEmailsByUserForbidden

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

Forbidden

func NewGetEmailsByUserForbidden

func NewGetEmailsByUserForbidden() *GetEmailsByUserForbidden

NewGetEmailsByUserForbidden creates a GetEmailsByUserForbidden with default headers values

func (*GetEmailsByUserForbidden) Error

func (o *GetEmailsByUserForbidden) Error() string

func (*GetEmailsByUserForbidden) GetPayload

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

type GetEmailsByUserInternalServerError

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

Server Error

func NewGetEmailsByUserInternalServerError

func NewGetEmailsByUserInternalServerError() *GetEmailsByUserInternalServerError

NewGetEmailsByUserInternalServerError creates a GetEmailsByUserInternalServerError with default headers values

func (*GetEmailsByUserInternalServerError) Error

func (*GetEmailsByUserInternalServerError) GetPayload

type GetEmailsByUserOK

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

Email records

func NewGetEmailsByUserOK

func NewGetEmailsByUserOK() *GetEmailsByUserOK

NewGetEmailsByUserOK creates a GetEmailsByUserOK with default headers values

func (*GetEmailsByUserOK) Error

func (o *GetEmailsByUserOK) Error() string

func (*GetEmailsByUserOK) GetPayload

func (o *GetEmailsByUserOK) GetPayload() []*mono_models.Email

type GetEmailsByUserParams

type GetEmailsByUserParams struct {

	/* Username.

	   username of desired User
	*/
	Username string

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

GetEmailsByUserParams contains all the parameters to send to the API endpoint

for the get emails by user operation.

Typically these are written to a http.Request.

func NewGetEmailsByUserParams

func NewGetEmailsByUserParams() *GetEmailsByUserParams

NewGetEmailsByUserParams creates a new GetEmailsByUserParams 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 NewGetEmailsByUserParamsWithContext

func NewGetEmailsByUserParamsWithContext(ctx context.Context) *GetEmailsByUserParams

NewGetEmailsByUserParamsWithContext creates a new GetEmailsByUserParams object with the ability to set a context for a request.

func NewGetEmailsByUserParamsWithHTTPClient

func NewGetEmailsByUserParamsWithHTTPClient(client *http.Client) *GetEmailsByUserParams

NewGetEmailsByUserParamsWithHTTPClient creates a new GetEmailsByUserParams object with the ability to set a custom HTTPClient for a request.

func NewGetEmailsByUserParamsWithTimeout

func NewGetEmailsByUserParamsWithTimeout(timeout time.Duration) *GetEmailsByUserParams

NewGetEmailsByUserParamsWithTimeout creates a new GetEmailsByUserParams object with the ability to set a timeout on a request.

func (*GetEmailsByUserParams) SetContext

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

SetContext adds the context to the get emails by user params

func (*GetEmailsByUserParams) SetDefaults

func (o *GetEmailsByUserParams) SetDefaults()

SetDefaults hydrates default values in the get emails by user params (not the query body).

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

func (*GetEmailsByUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get emails by user params

func (*GetEmailsByUserParams) SetTimeout

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

SetTimeout adds the timeout to the get emails by user params

func (*GetEmailsByUserParams) SetUsername

func (o *GetEmailsByUserParams) SetUsername(username string)

SetUsername adds the username to the get emails by user params

func (*GetEmailsByUserParams) WithContext

WithContext adds the context to the get emails by user params

func (*GetEmailsByUserParams) WithDefaults

func (o *GetEmailsByUserParams) WithDefaults() *GetEmailsByUserParams

WithDefaults hydrates default values in the get emails by user params (not the query body).

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

func (*GetEmailsByUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get emails by user params

func (*GetEmailsByUserParams) WithTimeout

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

WithTimeout adds the timeout to the get emails by user params

func (*GetEmailsByUserParams) WithUsername

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

WithUsername adds the username to the get emails by user params

func (*GetEmailsByUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetEmailsByUserReader

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

GetEmailsByUserReader is a Reader for the GetEmailsByUser structure.

func (*GetEmailsByUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInvitationByCodeBadRequest

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

Bad Request

func NewGetInvitationByCodeBadRequest

func NewGetInvitationByCodeBadRequest() *GetInvitationByCodeBadRequest

NewGetInvitationByCodeBadRequest creates a GetInvitationByCodeBadRequest with default headers values

func (*GetInvitationByCodeBadRequest) Error

func (*GetInvitationByCodeBadRequest) GetPayload

type GetInvitationByCodeForbidden

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

Forbidden

func NewGetInvitationByCodeForbidden

func NewGetInvitationByCodeForbidden() *GetInvitationByCodeForbidden

NewGetInvitationByCodeForbidden creates a GetInvitationByCodeForbidden with default headers values

func (*GetInvitationByCodeForbidden) Error

func (*GetInvitationByCodeForbidden) GetPayload

type GetInvitationByCodeInternalServerError

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

Server Error

func NewGetInvitationByCodeInternalServerError

func NewGetInvitationByCodeInternalServerError() *GetInvitationByCodeInternalServerError

NewGetInvitationByCodeInternalServerError creates a GetInvitationByCodeInternalServerError with default headers values

func (*GetInvitationByCodeInternalServerError) Error

func (*GetInvitationByCodeInternalServerError) GetPayload

type GetInvitationByCodeNotFound

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

Not Found

func NewGetInvitationByCodeNotFound

func NewGetInvitationByCodeNotFound() *GetInvitationByCodeNotFound

NewGetInvitationByCodeNotFound creates a GetInvitationByCodeNotFound with default headers values

func (*GetInvitationByCodeNotFound) Error

func (*GetInvitationByCodeNotFound) GetPayload

type GetInvitationByCodeOK

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

Invitation

func NewGetInvitationByCodeOK

func NewGetInvitationByCodeOK() *GetInvitationByCodeOK

NewGetInvitationByCodeOK creates a GetInvitationByCodeOK with default headers values

func (*GetInvitationByCodeOK) Error

func (o *GetInvitationByCodeOK) Error() string

func (*GetInvitationByCodeOK) GetPayload

func (o *GetInvitationByCodeOK) GetPayload() *mono_models.Invitation

type GetInvitationByCodeParams

type GetInvitationByCodeParams struct {

	/* Code.

	   Invite code
	*/
	Code string

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

GetInvitationByCodeParams contains all the parameters to send to the API endpoint

for the get invitation by code operation.

Typically these are written to a http.Request.

func NewGetInvitationByCodeParams

func NewGetInvitationByCodeParams() *GetInvitationByCodeParams

NewGetInvitationByCodeParams creates a new GetInvitationByCodeParams 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 NewGetInvitationByCodeParamsWithContext

func NewGetInvitationByCodeParamsWithContext(ctx context.Context) *GetInvitationByCodeParams

NewGetInvitationByCodeParamsWithContext creates a new GetInvitationByCodeParams object with the ability to set a context for a request.

func NewGetInvitationByCodeParamsWithHTTPClient

func NewGetInvitationByCodeParamsWithHTTPClient(client *http.Client) *GetInvitationByCodeParams

NewGetInvitationByCodeParamsWithHTTPClient creates a new GetInvitationByCodeParams object with the ability to set a custom HTTPClient for a request.

func NewGetInvitationByCodeParamsWithTimeout

func NewGetInvitationByCodeParamsWithTimeout(timeout time.Duration) *GetInvitationByCodeParams

NewGetInvitationByCodeParamsWithTimeout creates a new GetInvitationByCodeParams object with the ability to set a timeout on a request.

func (*GetInvitationByCodeParams) SetCode

func (o *GetInvitationByCodeParams) SetCode(code string)

SetCode adds the code to the get invitation by code params

func (*GetInvitationByCodeParams) SetContext

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

SetContext adds the context to the get invitation by code params

func (*GetInvitationByCodeParams) SetDefaults

func (o *GetInvitationByCodeParams) SetDefaults()

SetDefaults hydrates default values in the get invitation by code params (not the query body).

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

func (*GetInvitationByCodeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get invitation by code params

func (*GetInvitationByCodeParams) SetTimeout

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

SetTimeout adds the timeout to the get invitation by code params

func (*GetInvitationByCodeParams) WithCode

WithCode adds the code to the get invitation by code params

func (*GetInvitationByCodeParams) WithContext

WithContext adds the context to the get invitation by code params

func (*GetInvitationByCodeParams) WithDefaults

WithDefaults hydrates default values in the get invitation by code params (not the query body).

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

func (*GetInvitationByCodeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get invitation by code params

func (*GetInvitationByCodeParams) WithTimeout

WithTimeout adds the timeout to the get invitation by code params

func (*GetInvitationByCodeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInvitationByCodeReader

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

GetInvitationByCodeReader is a Reader for the GetInvitationByCode structure.

func (*GetInvitationByCodeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetInvitationsByUserInternalServerError

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

Server Error

func NewGetInvitationsByUserInternalServerError

func NewGetInvitationsByUserInternalServerError() *GetInvitationsByUserInternalServerError

NewGetInvitationsByUserInternalServerError creates a GetInvitationsByUserInternalServerError with default headers values

func (*GetInvitationsByUserInternalServerError) Error

func (*GetInvitationsByUserInternalServerError) GetPayload

type GetInvitationsByUserOK

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

Pending Invitations

func NewGetInvitationsByUserOK

func NewGetInvitationsByUserOK() *GetInvitationsByUserOK

NewGetInvitationsByUserOK creates a GetInvitationsByUserOK with default headers values

func (*GetInvitationsByUserOK) Error

func (o *GetInvitationsByUserOK) Error() string

func (*GetInvitationsByUserOK) GetPayload

func (o *GetInvitationsByUserOK) GetPayload() []*mono_models.Invitation

type GetInvitationsByUserParams

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

GetInvitationsByUserParams contains all the parameters to send to the API endpoint

for the get invitations by user operation.

Typically these are written to a http.Request.

func NewGetInvitationsByUserParams

func NewGetInvitationsByUserParams() *GetInvitationsByUserParams

NewGetInvitationsByUserParams creates a new GetInvitationsByUserParams 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 NewGetInvitationsByUserParamsWithContext

func NewGetInvitationsByUserParamsWithContext(ctx context.Context) *GetInvitationsByUserParams

NewGetInvitationsByUserParamsWithContext creates a new GetInvitationsByUserParams object with the ability to set a context for a request.

func NewGetInvitationsByUserParamsWithHTTPClient

func NewGetInvitationsByUserParamsWithHTTPClient(client *http.Client) *GetInvitationsByUserParams

NewGetInvitationsByUserParamsWithHTTPClient creates a new GetInvitationsByUserParams object with the ability to set a custom HTTPClient for a request.

func NewGetInvitationsByUserParamsWithTimeout

func NewGetInvitationsByUserParamsWithTimeout(timeout time.Duration) *GetInvitationsByUserParams

NewGetInvitationsByUserParamsWithTimeout creates a new GetInvitationsByUserParams object with the ability to set a timeout on a request.

func (*GetInvitationsByUserParams) SetContext

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

SetContext adds the context to the get invitations by user params

func (*GetInvitationsByUserParams) SetDefaults

func (o *GetInvitationsByUserParams) SetDefaults()

SetDefaults hydrates default values in the get invitations by user params (not the query body).

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

func (*GetInvitationsByUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get invitations by user params

func (*GetInvitationsByUserParams) SetTimeout

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

SetTimeout adds the timeout to the get invitations by user params

func (*GetInvitationsByUserParams) WithContext

WithContext adds the context to the get invitations by user params

func (*GetInvitationsByUserParams) WithDefaults

WithDefaults hydrates default values in the get invitations by user params (not the query body).

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

func (*GetInvitationsByUserParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get invitations by user params

func (*GetInvitationsByUserParams) WithTimeout

WithTimeout adds the timeout to the get invitations by user params

func (*GetInvitationsByUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetInvitationsByUserReader

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

GetInvitationsByUserReader is a Reader for the GetInvitationsByUser structure.

func (*GetInvitationsByUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserByIDInternalServerError

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

Server Error

func NewGetUserByIDInternalServerError

func NewGetUserByIDInternalServerError() *GetUserByIDInternalServerError

NewGetUserByIDInternalServerError creates a GetUserByIDInternalServerError with default headers values

func (*GetUserByIDInternalServerError) Error

func (*GetUserByIDInternalServerError) GetPayload

type GetUserByIDNotFound

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

Not Found

func NewGetUserByIDNotFound

func NewGetUserByIDNotFound() *GetUserByIDNotFound

NewGetUserByIDNotFound creates a GetUserByIDNotFound with default headers values

func (*GetUserByIDNotFound) Error

func (o *GetUserByIDNotFound) Error() string

func (*GetUserByIDNotFound) GetPayload

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

type GetUserByIDOK

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

User Record

func NewGetUserByIDOK

func NewGetUserByIDOK() *GetUserByIDOK

NewGetUserByIDOK creates a GetUserByIDOK with default headers values

func (*GetUserByIDOK) Error

func (o *GetUserByIDOK) Error() string

func (*GetUserByIDOK) GetPayload

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

type GetUserByIDParams

type GetUserByIDParams struct {

	/* UserID.

	   userID of desired User

	   Format: uuid
	*/
	UserID strfmt.UUID

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

GetUserByIDParams contains all the parameters to send to the API endpoint

for the get user by ID operation.

Typically these are written to a http.Request.

func NewGetUserByIDParams

func NewGetUserByIDParams() *GetUserByIDParams

NewGetUserByIDParams creates a new GetUserByIDParams 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 NewGetUserByIDParamsWithContext

func NewGetUserByIDParamsWithContext(ctx context.Context) *GetUserByIDParams

NewGetUserByIDParamsWithContext creates a new GetUserByIDParams object with the ability to set a context for a request.

func NewGetUserByIDParamsWithHTTPClient

func NewGetUserByIDParamsWithHTTPClient(client *http.Client) *GetUserByIDParams

NewGetUserByIDParamsWithHTTPClient creates a new GetUserByIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserByIDParamsWithTimeout

func NewGetUserByIDParamsWithTimeout(timeout time.Duration) *GetUserByIDParams

NewGetUserByIDParamsWithTimeout creates a new GetUserByIDParams object with the ability to set a timeout on a request.

func (*GetUserByIDParams) SetContext

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

SetContext adds the context to the get user by ID params

func (*GetUserByIDParams) SetDefaults

func (o *GetUserByIDParams) SetDefaults()

SetDefaults hydrates default values in the get user by ID params (not the query body).

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

func (*GetUserByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user by ID params

func (*GetUserByIDParams) SetTimeout

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

SetTimeout adds the timeout to the get user by ID params

func (*GetUserByIDParams) SetUserID

func (o *GetUserByIDParams) SetUserID(userID strfmt.UUID)

SetUserID adds the userId to the get user by ID params

func (*GetUserByIDParams) WithContext

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

WithContext adds the context to the get user by ID params

func (*GetUserByIDParams) WithDefaults

func (o *GetUserByIDParams) WithDefaults() *GetUserByIDParams

WithDefaults hydrates default values in the get user by ID params (not the query body).

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

func (*GetUserByIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user by ID params

func (*GetUserByIDParams) WithTimeout

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

WithTimeout adds the timeout to the get user by ID params

func (*GetUserByIDParams) WithUserID

func (o *GetUserByIDParams) WithUserID(userID strfmt.UUID) *GetUserByIDParams

WithUserID adds the userID to the get user by ID params

func (*GetUserByIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUserByIDReader

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

GetUserByIDReader is a Reader for the GetUserByID structure.

func (*GetUserByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserInternalServerError

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

Server Error

func NewGetUserInternalServerError

func NewGetUserInternalServerError() *GetUserInternalServerError

NewGetUserInternalServerError creates a GetUserInternalServerError with default headers values

func (*GetUserInternalServerError) Error

func (*GetUserInternalServerError) GetPayload

type GetUserNotFound

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

Not Found

func NewGetUserNotFound

func NewGetUserNotFound() *GetUserNotFound

NewGetUserNotFound creates a GetUserNotFound with default headers values

func (*GetUserNotFound) Error

func (o *GetUserNotFound) Error() string

func (*GetUserNotFound) GetPayload

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

type GetUserOK

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

User Record

func NewGetUserOK

func NewGetUserOK() *GetUserOK

NewGetUserOK creates a GetUserOK with default headers values

func (*GetUserOK) Error

func (o *GetUserOK) Error() string

func (*GetUserOK) GetPayload

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

type GetUserParams

type GetUserParams struct {

	/* Username.

	   username of desired User
	*/
	Username string

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

GetUserParams contains all the parameters to send to the API endpoint

for the get user operation.

Typically these are written to a http.Request.

func NewGetUserParams

func NewGetUserParams() *GetUserParams

NewGetUserParams creates a new GetUserParams object, with the default 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 NewGetUserParamsWithContext

func NewGetUserParamsWithContext(ctx context.Context) *GetUserParams

NewGetUserParamsWithContext creates a new GetUserParams object with the ability to set a context for a request.

func NewGetUserParamsWithHTTPClient

func NewGetUserParamsWithHTTPClient(client *http.Client) *GetUserParams

NewGetUserParamsWithHTTPClient creates a new GetUserParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserParamsWithTimeout

func NewGetUserParamsWithTimeout(timeout time.Duration) *GetUserParams

NewGetUserParamsWithTimeout creates a new GetUserParams object with the ability to set a timeout on a request.

func (*GetUserParams) SetContext

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

SetContext adds the context to the get user params

func (*GetUserParams) SetDefaults

func (o *GetUserParams) SetDefaults()

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

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

func (*GetUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user params

func (*GetUserParams) SetTimeout

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

SetTimeout adds the timeout to the get user params

func (*GetUserParams) SetUsername

func (o *GetUserParams) SetUsername(username string)

SetUsername adds the username to the get user params

func (*GetUserParams) WithContext

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

WithContext adds the context to the get user params

func (*GetUserParams) WithDefaults

func (o *GetUserParams) WithDefaults() *GetUserParams

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

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

func (*GetUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user params

func (*GetUserParams) WithTimeout

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

WithTimeout adds the timeout to the get user params

func (*GetUserParams) WithUsername

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

WithUsername adds the username to the get user params

func (*GetUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUserReader

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

GetUserReader is a Reader for the GetUser structure.

func (*GetUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListInvitationsBadRequest

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

Bad Request

func NewListInvitationsBadRequest

func NewListInvitationsBadRequest() *ListInvitationsBadRequest

NewListInvitationsBadRequest creates a ListInvitationsBadRequest with default headers values

func (*ListInvitationsBadRequest) Error

func (o *ListInvitationsBadRequest) Error() string

func (*ListInvitationsBadRequest) GetPayload

type ListInvitationsForbidden

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

Forbidden

func NewListInvitationsForbidden

func NewListInvitationsForbidden() *ListInvitationsForbidden

NewListInvitationsForbidden creates a ListInvitationsForbidden with default headers values

func (*ListInvitationsForbidden) Error

func (o *ListInvitationsForbidden) Error() string

func (*ListInvitationsForbidden) GetPayload

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

type ListInvitationsInternalServerError

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

Server Error

func NewListInvitationsInternalServerError

func NewListInvitationsInternalServerError() *ListInvitationsInternalServerError

NewListInvitationsInternalServerError creates a ListInvitationsInternalServerError with default headers values

func (*ListInvitationsInternalServerError) Error

func (*ListInvitationsInternalServerError) GetPayload

type ListInvitationsOK

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

Pending Invitations

func NewListInvitationsOK

func NewListInvitationsOK() *ListInvitationsOK

NewListInvitationsOK creates a ListInvitationsOK with default headers values

func (*ListInvitationsOK) Error

func (o *ListInvitationsOK) Error() string

func (*ListInvitationsOK) GetPayload

func (o *ListInvitationsOK) GetPayload() []*mono_models.Invitation

type ListInvitationsParams

type ListInvitationsParams struct {

	/* Email.

	   Email address
	*/
	Email string

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

ListInvitationsParams contains all the parameters to send to the API endpoint

for the list invitations operation.

Typically these are written to a http.Request.

func NewListInvitationsParams

func NewListInvitationsParams() *ListInvitationsParams

NewListInvitationsParams creates a new ListInvitationsParams 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 NewListInvitationsParamsWithContext

func NewListInvitationsParamsWithContext(ctx context.Context) *ListInvitationsParams

NewListInvitationsParamsWithContext creates a new ListInvitationsParams object with the ability to set a context for a request.

func NewListInvitationsParamsWithHTTPClient

func NewListInvitationsParamsWithHTTPClient(client *http.Client) *ListInvitationsParams

NewListInvitationsParamsWithHTTPClient creates a new ListInvitationsParams object with the ability to set a custom HTTPClient for a request.

func NewListInvitationsParamsWithTimeout

func NewListInvitationsParamsWithTimeout(timeout time.Duration) *ListInvitationsParams

NewListInvitationsParamsWithTimeout creates a new ListInvitationsParams object with the ability to set a timeout on a request.

func (*ListInvitationsParams) SetContext

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

SetContext adds the context to the list invitations params

func (*ListInvitationsParams) SetDefaults

func (o *ListInvitationsParams) SetDefaults()

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

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

func (*ListInvitationsParams) SetEmail

func (o *ListInvitationsParams) SetEmail(email string)

SetEmail adds the email to the list invitations params

func (*ListInvitationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list invitations params

func (*ListInvitationsParams) SetTimeout

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

SetTimeout adds the timeout to the list invitations params

func (*ListInvitationsParams) WithContext

WithContext adds the context to the list invitations params

func (*ListInvitationsParams) WithDefaults

func (o *ListInvitationsParams) WithDefaults() *ListInvitationsParams

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

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

func (*ListInvitationsParams) WithEmail

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

WithEmail adds the email to the list invitations params

func (*ListInvitationsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list invitations params

func (*ListInvitationsParams) WithTimeout

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

WithTimeout adds the timeout to the list invitations params

func (*ListInvitationsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListInvitationsReader

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

ListInvitationsReader is a Reader for the ListInvitations structure.

func (*ListInvitationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListUsersInternalServerError

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

Server Error

func NewListUsersInternalServerError

func NewListUsersInternalServerError() *ListUsersInternalServerError

NewListUsersInternalServerError creates a ListUsersInternalServerError with default headers values

func (*ListUsersInternalServerError) Error

func (*ListUsersInternalServerError) GetPayload

type ListUsersOK

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

Success

func NewListUsersOK

func NewListUsersOK() *ListUsersOK

NewListUsersOK creates a ListUsersOK with default headers values

func (*ListUsersOK) Error

func (o *ListUsersOK) Error() string

func (*ListUsersOK) GetPayload

func (o *ListUsersOK) GetPayload() []*mono_models.User

type ListUsersParams

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

ListUsersParams contains all the parameters to send to the API endpoint

for the list users operation.

Typically these are written to a http.Request.

func NewListUsersParams

func NewListUsersParams() *ListUsersParams

NewListUsersParams creates a new ListUsersParams 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 NewListUsersParamsWithContext

func NewListUsersParamsWithContext(ctx context.Context) *ListUsersParams

NewListUsersParamsWithContext creates a new ListUsersParams object with the ability to set a context for a request.

func NewListUsersParamsWithHTTPClient

func NewListUsersParamsWithHTTPClient(client *http.Client) *ListUsersParams

NewListUsersParamsWithHTTPClient creates a new ListUsersParams object with the ability to set a custom HTTPClient for a request.

func NewListUsersParamsWithTimeout

func NewListUsersParamsWithTimeout(timeout time.Duration) *ListUsersParams

NewListUsersParamsWithTimeout creates a new ListUsersParams object with the ability to set a timeout on a request.

func (*ListUsersParams) SetContext

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

SetContext adds the context to the list users params

func (*ListUsersParams) SetDefaults

func (o *ListUsersParams) SetDefaults()

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

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

func (*ListUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list users params

func (*ListUsersParams) SetTimeout

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

SetTimeout adds the timeout to the list users params

func (*ListUsersParams) WithContext

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

WithContext adds the context to the list users params

func (*ListUsersParams) WithDefaults

func (o *ListUsersParams) WithDefaults() *ListUsersParams

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

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

func (*ListUsersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list users params

func (*ListUsersParams) WithTimeout

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

WithTimeout adds the timeout to the list users params

func (*ListUsersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListUsersReader

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

ListUsersReader is a Reader for the ListUsers structure.

func (*ListUsersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SearchEmailsBody

type SearchEmailsBody struct {

	// The search query
	Query string `json:"query,omitempty"`
}

SearchEmailsBody search emails body swagger:model SearchEmailsBody

func (*SearchEmailsBody) ContextValidate

func (o *SearchEmailsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this search emails body based on context it is used

func (*SearchEmailsBody) MarshalBinary

func (o *SearchEmailsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SearchEmailsBody) UnmarshalBinary

func (o *SearchEmailsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SearchEmailsBody) Validate

func (o *SearchEmailsBody) Validate(formats strfmt.Registry) error

Validate validates this search emails body

type SearchEmailsForbidden

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

Forbidden

func NewSearchEmailsForbidden

func NewSearchEmailsForbidden() *SearchEmailsForbidden

NewSearchEmailsForbidden creates a SearchEmailsForbidden with default headers values

func (*SearchEmailsForbidden) Error

func (o *SearchEmailsForbidden) Error() string

func (*SearchEmailsForbidden) GetPayload

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

type SearchEmailsInternalServerError

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

Server Error

func NewSearchEmailsInternalServerError

func NewSearchEmailsInternalServerError() *SearchEmailsInternalServerError

NewSearchEmailsInternalServerError creates a SearchEmailsInternalServerError with default headers values

func (*SearchEmailsInternalServerError) Error

func (*SearchEmailsInternalServerError) GetPayload

type SearchEmailsOK

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

Search for users matching the given search string

func NewSearchEmailsOK

func NewSearchEmailsOK() *SearchEmailsOK

NewSearchEmailsOK creates a SearchEmailsOK with default headers values

func (*SearchEmailsOK) Error

func (o *SearchEmailsOK) Error() string

func (*SearchEmailsOK) GetPayload

func (o *SearchEmailsOK) GetPayload() []*mono_models.User

type SearchEmailsParams

type SearchEmailsParams struct {

	// Body.
	Body SearchEmailsBody

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

SearchEmailsParams contains all the parameters to send to the API endpoint

for the search emails operation.

Typically these are written to a http.Request.

func NewSearchEmailsParams

func NewSearchEmailsParams() *SearchEmailsParams

NewSearchEmailsParams creates a new SearchEmailsParams 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 NewSearchEmailsParamsWithContext

func NewSearchEmailsParamsWithContext(ctx context.Context) *SearchEmailsParams

NewSearchEmailsParamsWithContext creates a new SearchEmailsParams object with the ability to set a context for a request.

func NewSearchEmailsParamsWithHTTPClient

func NewSearchEmailsParamsWithHTTPClient(client *http.Client) *SearchEmailsParams

NewSearchEmailsParamsWithHTTPClient creates a new SearchEmailsParams object with the ability to set a custom HTTPClient for a request.

func NewSearchEmailsParamsWithTimeout

func NewSearchEmailsParamsWithTimeout(timeout time.Duration) *SearchEmailsParams

NewSearchEmailsParamsWithTimeout creates a new SearchEmailsParams object with the ability to set a timeout on a request.

func (*SearchEmailsParams) SetBody

func (o *SearchEmailsParams) SetBody(body SearchEmailsBody)

SetBody adds the body to the search emails params

func (*SearchEmailsParams) SetContext

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

SetContext adds the context to the search emails params

func (*SearchEmailsParams) SetDefaults

func (o *SearchEmailsParams) SetDefaults()

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

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

func (*SearchEmailsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search emails params

func (*SearchEmailsParams) SetTimeout

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

SetTimeout adds the timeout to the search emails params

func (*SearchEmailsParams) WithBody

WithBody adds the body to the search emails params

func (*SearchEmailsParams) WithContext

WithContext adds the context to the search emails params

func (*SearchEmailsParams) WithDefaults

func (o *SearchEmailsParams) WithDefaults() *SearchEmailsParams

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

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

func (*SearchEmailsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the search emails params

func (*SearchEmailsParams) WithTimeout

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

WithTimeout adds the timeout to the search emails params

func (*SearchEmailsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SearchEmailsReader

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

SearchEmailsReader is a Reader for the SearchEmails structure.

func (*SearchEmailsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SearchUsernamesBody

type SearchUsernamesBody struct {

	// The search query
	Query string `json:"query,omitempty"`
}

SearchUsernamesBody search usernames body swagger:model SearchUsernamesBody

func (*SearchUsernamesBody) ContextValidate

func (o *SearchUsernamesBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this search usernames body based on context it is used

func (*SearchUsernamesBody) MarshalBinary

func (o *SearchUsernamesBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SearchUsernamesBody) UnmarshalBinary

func (o *SearchUsernamesBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SearchUsernamesBody) Validate

func (o *SearchUsernamesBody) Validate(formats strfmt.Registry) error

Validate validates this search usernames body

type SearchUsernamesForbidden

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

Forbidden

func NewSearchUsernamesForbidden

func NewSearchUsernamesForbidden() *SearchUsernamesForbidden

NewSearchUsernamesForbidden creates a SearchUsernamesForbidden with default headers values

func (*SearchUsernamesForbidden) Error

func (o *SearchUsernamesForbidden) Error() string

func (*SearchUsernamesForbidden) GetPayload

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

type SearchUsernamesInternalServerError

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

Server Error

func NewSearchUsernamesInternalServerError

func NewSearchUsernamesInternalServerError() *SearchUsernamesInternalServerError

NewSearchUsernamesInternalServerError creates a SearchUsernamesInternalServerError with default headers values

func (*SearchUsernamesInternalServerError) Error

func (*SearchUsernamesInternalServerError) GetPayload

type SearchUsernamesOK

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

Search for users matching the given search string

func NewSearchUsernamesOK

func NewSearchUsernamesOK() *SearchUsernamesOK

NewSearchUsernamesOK creates a SearchUsernamesOK with default headers values

func (*SearchUsernamesOK) Error

func (o *SearchUsernamesOK) Error() string

func (*SearchUsernamesOK) GetPayload

func (o *SearchUsernamesOK) GetPayload() []*mono_models.User

type SearchUsernamesParams

type SearchUsernamesParams struct {

	// Body.
	Body SearchUsernamesBody

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

SearchUsernamesParams contains all the parameters to send to the API endpoint

for the search usernames operation.

Typically these are written to a http.Request.

func NewSearchUsernamesParams

func NewSearchUsernamesParams() *SearchUsernamesParams

NewSearchUsernamesParams creates a new SearchUsernamesParams 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 NewSearchUsernamesParamsWithContext

func NewSearchUsernamesParamsWithContext(ctx context.Context) *SearchUsernamesParams

NewSearchUsernamesParamsWithContext creates a new SearchUsernamesParams object with the ability to set a context for a request.

func NewSearchUsernamesParamsWithHTTPClient

func NewSearchUsernamesParamsWithHTTPClient(client *http.Client) *SearchUsernamesParams

NewSearchUsernamesParamsWithHTTPClient creates a new SearchUsernamesParams object with the ability to set a custom HTTPClient for a request.

func NewSearchUsernamesParamsWithTimeout

func NewSearchUsernamesParamsWithTimeout(timeout time.Duration) *SearchUsernamesParams

NewSearchUsernamesParamsWithTimeout creates a new SearchUsernamesParams object with the ability to set a timeout on a request.

func (*SearchUsernamesParams) SetBody

func (o *SearchUsernamesParams) SetBody(body SearchUsernamesBody)

SetBody adds the body to the search usernames params

func (*SearchUsernamesParams) SetContext

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

SetContext adds the context to the search usernames params

func (*SearchUsernamesParams) SetDefaults

func (o *SearchUsernamesParams) SetDefaults()

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

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

func (*SearchUsernamesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search usernames params

func (*SearchUsernamesParams) SetTimeout

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

SetTimeout adds the timeout to the search usernames params

func (*SearchUsernamesParams) WithBody

WithBody adds the body to the search usernames params

func (*SearchUsernamesParams) WithContext

WithContext adds the context to the search usernames params

func (*SearchUsernamesParams) WithDefaults

func (o *SearchUsernamesParams) WithDefaults() *SearchUsernamesParams

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

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

func (*SearchUsernamesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the search usernames params

func (*SearchUsernamesParams) WithTimeout

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

WithTimeout adds the timeout to the search usernames params

func (*SearchUsernamesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SearchUsernamesReader

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

SearchUsernamesReader is a Reader for the SearchUsernames structure.

func (*SearchUsernamesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SendEmailVerificationBadRequest

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

Bad Request

func NewSendEmailVerificationBadRequest

func NewSendEmailVerificationBadRequest() *SendEmailVerificationBadRequest

NewSendEmailVerificationBadRequest creates a SendEmailVerificationBadRequest with default headers values

func (*SendEmailVerificationBadRequest) Error

func (*SendEmailVerificationBadRequest) GetPayload

type SendEmailVerificationForbidden

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

Forbidden

func NewSendEmailVerificationForbidden

func NewSendEmailVerificationForbidden() *SendEmailVerificationForbidden

NewSendEmailVerificationForbidden creates a SendEmailVerificationForbidden with default headers values

func (*SendEmailVerificationForbidden) Error

func (*SendEmailVerificationForbidden) GetPayload

type SendEmailVerificationInternalServerError

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

Server Error

func NewSendEmailVerificationInternalServerError

func NewSendEmailVerificationInternalServerError() *SendEmailVerificationInternalServerError

NewSendEmailVerificationInternalServerError creates a SendEmailVerificationInternalServerError with default headers values

func (*SendEmailVerificationInternalServerError) Error

func (*SendEmailVerificationInternalServerError) GetPayload

type SendEmailVerificationNotFound

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

Not Found

func NewSendEmailVerificationNotFound

func NewSendEmailVerificationNotFound() *SendEmailVerificationNotFound

NewSendEmailVerificationNotFound creates a SendEmailVerificationNotFound with default headers values

func (*SendEmailVerificationNotFound) Error

func (*SendEmailVerificationNotFound) GetPayload

type SendEmailVerificationOK

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

Email updated

func NewSendEmailVerificationOK

func NewSendEmailVerificationOK() *SendEmailVerificationOK

NewSendEmailVerificationOK creates a SendEmailVerificationOK with default headers values

func (*SendEmailVerificationOK) Error

func (o *SendEmailVerificationOK) Error() string

func (*SendEmailVerificationOK) GetPayload

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

type SendEmailVerificationParams

type SendEmailVerificationParams struct {

	/* Email.

	   email address to change
	*/
	Email string

	/* Username.

	   username of desired User
	*/
	Username string

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

SendEmailVerificationParams contains all the parameters to send to the API endpoint

for the send email verification operation.

Typically these are written to a http.Request.

func NewSendEmailVerificationParams

func NewSendEmailVerificationParams() *SendEmailVerificationParams

NewSendEmailVerificationParams creates a new SendEmailVerificationParams 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 NewSendEmailVerificationParamsWithContext

func NewSendEmailVerificationParamsWithContext(ctx context.Context) *SendEmailVerificationParams

NewSendEmailVerificationParamsWithContext creates a new SendEmailVerificationParams object with the ability to set a context for a request.

func NewSendEmailVerificationParamsWithHTTPClient

func NewSendEmailVerificationParamsWithHTTPClient(client *http.Client) *SendEmailVerificationParams

NewSendEmailVerificationParamsWithHTTPClient creates a new SendEmailVerificationParams object with the ability to set a custom HTTPClient for a request.

func NewSendEmailVerificationParamsWithTimeout

func NewSendEmailVerificationParamsWithTimeout(timeout time.Duration) *SendEmailVerificationParams

NewSendEmailVerificationParamsWithTimeout creates a new SendEmailVerificationParams object with the ability to set a timeout on a request.

func (*SendEmailVerificationParams) SetContext

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

SetContext adds the context to the send email verification params

func (*SendEmailVerificationParams) SetDefaults

func (o *SendEmailVerificationParams) SetDefaults()

SetDefaults hydrates default values in the send email verification params (not the query body).

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

func (*SendEmailVerificationParams) SetEmail

func (o *SendEmailVerificationParams) SetEmail(email string)

SetEmail adds the email to the send email verification params

func (*SendEmailVerificationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the send email verification params

func (*SendEmailVerificationParams) SetTimeout

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

SetTimeout adds the timeout to the send email verification params

func (*SendEmailVerificationParams) SetUsername

func (o *SendEmailVerificationParams) SetUsername(username string)

SetUsername adds the username to the send email verification params

func (*SendEmailVerificationParams) WithContext

WithContext adds the context to the send email verification params

func (*SendEmailVerificationParams) WithDefaults

WithDefaults hydrates default values in the send email verification params (not the query body).

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

func (*SendEmailVerificationParams) WithEmail

WithEmail adds the email to the send email verification params

func (*SendEmailVerificationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the send email verification params

func (*SendEmailVerificationParams) WithTimeout

WithTimeout adds the timeout to the send email verification params

func (*SendEmailVerificationParams) WithUsername

WithUsername adds the username to the send email verification params

func (*SendEmailVerificationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SendEmailVerificationReader

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

SendEmailVerificationReader is a Reader for the SendEmailVerification structure.

func (*SendEmailVerificationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetPreferredEmailBadRequest

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

Bad Request

func NewSetPreferredEmailBadRequest

func NewSetPreferredEmailBadRequest() *SetPreferredEmailBadRequest

NewSetPreferredEmailBadRequest creates a SetPreferredEmailBadRequest with default headers values

func (*SetPreferredEmailBadRequest) Error

func (*SetPreferredEmailBadRequest) GetPayload

type SetPreferredEmailForbidden

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

Forbidden

func NewSetPreferredEmailForbidden

func NewSetPreferredEmailForbidden() *SetPreferredEmailForbidden

NewSetPreferredEmailForbidden creates a SetPreferredEmailForbidden with default headers values

func (*SetPreferredEmailForbidden) Error

func (*SetPreferredEmailForbidden) GetPayload

type SetPreferredEmailInternalServerError

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

Server Error

func NewSetPreferredEmailInternalServerError

func NewSetPreferredEmailInternalServerError() *SetPreferredEmailInternalServerError

NewSetPreferredEmailInternalServerError creates a SetPreferredEmailInternalServerError with default headers values

func (*SetPreferredEmailInternalServerError) Error

func (*SetPreferredEmailInternalServerError) GetPayload

type SetPreferredEmailNotFound

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

Not Found

func NewSetPreferredEmailNotFound

func NewSetPreferredEmailNotFound() *SetPreferredEmailNotFound

NewSetPreferredEmailNotFound creates a SetPreferredEmailNotFound with default headers values

func (*SetPreferredEmailNotFound) Error

func (o *SetPreferredEmailNotFound) Error() string

func (*SetPreferredEmailNotFound) GetPayload

type SetPreferredEmailOK

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

Email updated

func NewSetPreferredEmailOK

func NewSetPreferredEmailOK() *SetPreferredEmailOK

NewSetPreferredEmailOK creates a SetPreferredEmailOK with default headers values

func (*SetPreferredEmailOK) Error

func (o *SetPreferredEmailOK) Error() string

func (*SetPreferredEmailOK) GetPayload

func (o *SetPreferredEmailOK) GetPayload() *mono_models.Email

type SetPreferredEmailParams

type SetPreferredEmailParams struct {

	/* Email.

	   email address to change
	*/
	Email string

	/* Username.

	   username of desired User
	*/
	Username string

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

SetPreferredEmailParams contains all the parameters to send to the API endpoint

for the set preferred email operation.

Typically these are written to a http.Request.

func NewSetPreferredEmailParams

func NewSetPreferredEmailParams() *SetPreferredEmailParams

NewSetPreferredEmailParams creates a new SetPreferredEmailParams 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 NewSetPreferredEmailParamsWithContext

func NewSetPreferredEmailParamsWithContext(ctx context.Context) *SetPreferredEmailParams

NewSetPreferredEmailParamsWithContext creates a new SetPreferredEmailParams object with the ability to set a context for a request.

func NewSetPreferredEmailParamsWithHTTPClient

func NewSetPreferredEmailParamsWithHTTPClient(client *http.Client) *SetPreferredEmailParams

NewSetPreferredEmailParamsWithHTTPClient creates a new SetPreferredEmailParams object with the ability to set a custom HTTPClient for a request.

func NewSetPreferredEmailParamsWithTimeout

func NewSetPreferredEmailParamsWithTimeout(timeout time.Duration) *SetPreferredEmailParams

NewSetPreferredEmailParamsWithTimeout creates a new SetPreferredEmailParams object with the ability to set a timeout on a request.

func (*SetPreferredEmailParams) SetContext

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

SetContext adds the context to the set preferred email params

func (*SetPreferredEmailParams) SetDefaults

func (o *SetPreferredEmailParams) SetDefaults()

SetDefaults hydrates default values in the set preferred email params (not the query body).

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

func (*SetPreferredEmailParams) SetEmail

func (o *SetPreferredEmailParams) SetEmail(email string)

SetEmail adds the email to the set preferred email params

func (*SetPreferredEmailParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set preferred email params

func (*SetPreferredEmailParams) SetTimeout

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

SetTimeout adds the timeout to the set preferred email params

func (*SetPreferredEmailParams) SetUsername

func (o *SetPreferredEmailParams) SetUsername(username string)

SetUsername adds the username to the set preferred email params

func (*SetPreferredEmailParams) WithContext

WithContext adds the context to the set preferred email params

func (*SetPreferredEmailParams) WithDefaults

WithDefaults hydrates default values in the set preferred email params (not the query body).

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

func (*SetPreferredEmailParams) WithEmail

WithEmail adds the email to the set preferred email params

func (*SetPreferredEmailParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the set preferred email params

func (*SetPreferredEmailParams) WithTimeout

WithTimeout adds the timeout to the set preferred email params

func (*SetPreferredEmailParams) WithUsername

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

WithUsername adds the username to the set preferred email params

func (*SetPreferredEmailParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetPreferredEmailReader

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

SetPreferredEmailReader is a Reader for the SetPreferredEmail structure.

func (*SetPreferredEmailReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UniqueUsernameBadRequest

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

Bad Request

func NewUniqueUsernameBadRequest

func NewUniqueUsernameBadRequest() *UniqueUsernameBadRequest

NewUniqueUsernameBadRequest creates a UniqueUsernameBadRequest with default headers values

func (*UniqueUsernameBadRequest) Error

func (o *UniqueUsernameBadRequest) Error() string

func (*UniqueUsernameBadRequest) GetPayload

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

type UniqueUsernameConflict

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

Username Conflict

func NewUniqueUsernameConflict

func NewUniqueUsernameConflict() *UniqueUsernameConflict

NewUniqueUsernameConflict creates a UniqueUsernameConflict with default headers values

func (*UniqueUsernameConflict) Error

func (o *UniqueUsernameConflict) Error() string

func (*UniqueUsernameConflict) GetPayload

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

type UniqueUsernameOK

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

Username available

func NewUniqueUsernameOK

func NewUniqueUsernameOK() *UniqueUsernameOK

NewUniqueUsernameOK creates a UniqueUsernameOK with default headers values

func (*UniqueUsernameOK) Error

func (o *UniqueUsernameOK) Error() string

func (*UniqueUsernameOK) GetPayload

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

type UniqueUsernameParams

type UniqueUsernameParams struct {

	/* Username.

	   desired Username
	*/
	Username string

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

UniqueUsernameParams contains all the parameters to send to the API endpoint

for the unique username operation.

Typically these are written to a http.Request.

func NewUniqueUsernameParams

func NewUniqueUsernameParams() *UniqueUsernameParams

NewUniqueUsernameParams creates a new UniqueUsernameParams 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 NewUniqueUsernameParamsWithContext

func NewUniqueUsernameParamsWithContext(ctx context.Context) *UniqueUsernameParams

NewUniqueUsernameParamsWithContext creates a new UniqueUsernameParams object with the ability to set a context for a request.

func NewUniqueUsernameParamsWithHTTPClient

func NewUniqueUsernameParamsWithHTTPClient(client *http.Client) *UniqueUsernameParams

NewUniqueUsernameParamsWithHTTPClient creates a new UniqueUsernameParams object with the ability to set a custom HTTPClient for a request.

func NewUniqueUsernameParamsWithTimeout

func NewUniqueUsernameParamsWithTimeout(timeout time.Duration) *UniqueUsernameParams

NewUniqueUsernameParamsWithTimeout creates a new UniqueUsernameParams object with the ability to set a timeout on a request.

func (*UniqueUsernameParams) SetContext

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

SetContext adds the context to the unique username params

func (*UniqueUsernameParams) SetDefaults

func (o *UniqueUsernameParams) SetDefaults()

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

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

func (*UniqueUsernameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the unique username params

func (*UniqueUsernameParams) SetTimeout

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

SetTimeout adds the timeout to the unique username params

func (*UniqueUsernameParams) SetUsername

func (o *UniqueUsernameParams) SetUsername(username string)

SetUsername adds the username to the unique username params

func (*UniqueUsernameParams) WithContext

WithContext adds the context to the unique username params

func (*UniqueUsernameParams) WithDefaults

func (o *UniqueUsernameParams) WithDefaults() *UniqueUsernameParams

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

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

func (*UniqueUsernameParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the unique username params

func (*UniqueUsernameParams) WithTimeout

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

WithTimeout adds the timeout to the unique username params

func (*UniqueUsernameParams) WithUsername

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

WithUsername adds the username to the unique username params

func (*UniqueUsernameParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UniqueUsernameReader

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

UniqueUsernameReader is a Reader for the UniqueUsername structure.

func (*UniqueUsernameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type VerifyEmailBadRequest

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

Invalid Code

func NewVerifyEmailBadRequest

func NewVerifyEmailBadRequest() *VerifyEmailBadRequest

NewVerifyEmailBadRequest creates a VerifyEmailBadRequest with default headers values

func (*VerifyEmailBadRequest) Error

func (o *VerifyEmailBadRequest) Error() string

func (*VerifyEmailBadRequest) GetPayload

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

type VerifyEmailForbidden

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

Forbidden

func NewVerifyEmailForbidden

func NewVerifyEmailForbidden() *VerifyEmailForbidden

NewVerifyEmailForbidden creates a VerifyEmailForbidden with default headers values

func (*VerifyEmailForbidden) Error

func (o *VerifyEmailForbidden) Error() string

func (*VerifyEmailForbidden) GetPayload

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

type VerifyEmailInternalServerError

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

Server Error

func NewVerifyEmailInternalServerError

func NewVerifyEmailInternalServerError() *VerifyEmailInternalServerError

NewVerifyEmailInternalServerError creates a VerifyEmailInternalServerError with default headers values

func (*VerifyEmailInternalServerError) Error

func (*VerifyEmailInternalServerError) GetPayload

type VerifyEmailNotFound

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

Not Found

func NewVerifyEmailNotFound

func NewVerifyEmailNotFound() *VerifyEmailNotFound

NewVerifyEmailNotFound creates a VerifyEmailNotFound with default headers values

func (*VerifyEmailNotFound) Error

func (o *VerifyEmailNotFound) Error() string

func (*VerifyEmailNotFound) GetPayload

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

type VerifyEmailOK

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

Email updated

func NewVerifyEmailOK

func NewVerifyEmailOK() *VerifyEmailOK

NewVerifyEmailOK creates a VerifyEmailOK with default headers values

func (*VerifyEmailOK) Error

func (o *VerifyEmailOK) Error() string

func (*VerifyEmailOK) GetPayload

func (o *VerifyEmailOK) GetPayload() *mono_models.Email

type VerifyEmailParams

type VerifyEmailParams struct {

	/* Email.

	   email address to change
	*/
	Email string

	/* Username.

	   username of desired User
	*/
	Username string

	/* VerifyCode.

	   verification code for email
	*/
	VerifyCode string

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

VerifyEmailParams contains all the parameters to send to the API endpoint

for the verify email operation.

Typically these are written to a http.Request.

func NewVerifyEmailParams

func NewVerifyEmailParams() *VerifyEmailParams

NewVerifyEmailParams creates a new VerifyEmailParams 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 NewVerifyEmailParamsWithContext

func NewVerifyEmailParamsWithContext(ctx context.Context) *VerifyEmailParams

NewVerifyEmailParamsWithContext creates a new VerifyEmailParams object with the ability to set a context for a request.

func NewVerifyEmailParamsWithHTTPClient

func NewVerifyEmailParamsWithHTTPClient(client *http.Client) *VerifyEmailParams

NewVerifyEmailParamsWithHTTPClient creates a new VerifyEmailParams object with the ability to set a custom HTTPClient for a request.

func NewVerifyEmailParamsWithTimeout

func NewVerifyEmailParamsWithTimeout(timeout time.Duration) *VerifyEmailParams

NewVerifyEmailParamsWithTimeout creates a new VerifyEmailParams object with the ability to set a timeout on a request.

func (*VerifyEmailParams) SetContext

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

SetContext adds the context to the verify email params

func (*VerifyEmailParams) SetDefaults

func (o *VerifyEmailParams) SetDefaults()

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

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

func (*VerifyEmailParams) SetEmail

func (o *VerifyEmailParams) SetEmail(email string)

SetEmail adds the email to the verify email params

func (*VerifyEmailParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the verify email params

func (*VerifyEmailParams) SetTimeout

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

SetTimeout adds the timeout to the verify email params

func (*VerifyEmailParams) SetUsername

func (o *VerifyEmailParams) SetUsername(username string)

SetUsername adds the username to the verify email params

func (*VerifyEmailParams) SetVerifyCode

func (o *VerifyEmailParams) SetVerifyCode(verifyCode string)

SetVerifyCode adds the verifyCode to the verify email params

func (*VerifyEmailParams) WithContext

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

WithContext adds the context to the verify email params

func (*VerifyEmailParams) WithDefaults

func (o *VerifyEmailParams) WithDefaults() *VerifyEmailParams

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

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

func (*VerifyEmailParams) WithEmail

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

WithEmail adds the email to the verify email params

func (*VerifyEmailParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the verify email params

func (*VerifyEmailParams) WithTimeout

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

WithTimeout adds the timeout to the verify email params

func (*VerifyEmailParams) WithUsername

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

WithUsername adds the username to the verify email params

func (*VerifyEmailParams) WithVerifyCode

func (o *VerifyEmailParams) WithVerifyCode(verifyCode string) *VerifyEmailParams

WithVerifyCode adds the verifyCode to the verify email params

func (*VerifyEmailParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type VerifyEmailReader

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

VerifyEmailReader is a Reader for the VerifyEmail structure.

func (*VerifyEmailReader) ReadResponse

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