profil

package
v0.0.2-beta Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivateUserDefault

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

ActivateUserDefault describes a response with status code -1, with default header values.

successful operation

func NewActivateUserDefault

func NewActivateUserDefault(code int) *ActivateUserDefault

NewActivateUserDefault creates a ActivateUserDefault with default headers values

func (*ActivateUserDefault) Code

func (o *ActivateUserDefault) Code() int

Code gets the status code for the activate user default response

func (*ActivateUserDefault) Error

func (o *ActivateUserDefault) Error() string

func (*ActivateUserDefault) IsClientError

func (o *ActivateUserDefault) IsClientError() bool

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

func (*ActivateUserDefault) IsCode

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

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

func (*ActivateUserDefault) IsRedirect

func (o *ActivateUserDefault) IsRedirect() bool

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

func (*ActivateUserDefault) IsServerError

func (o *ActivateUserDefault) IsServerError() bool

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

func (*ActivateUserDefault) IsSuccess

func (o *ActivateUserDefault) IsSuccess() bool

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

func (*ActivateUserDefault) String

func (o *ActivateUserDefault) String() string

type ActivateUserParams

type ActivateUserParams struct {

	// ActivationKey.
	ActivationKey string

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

ActivateUserParams contains all the parameters to send to the API endpoint

for the activate user operation.

Typically these are written to a http.Request.

func NewActivateUserParams

func NewActivateUserParams() *ActivateUserParams

NewActivateUserParams creates a new ActivateUserParams 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 NewActivateUserParamsWithContext

func NewActivateUserParamsWithContext(ctx context.Context) *ActivateUserParams

NewActivateUserParamsWithContext creates a new ActivateUserParams object with the ability to set a context for a request.

func NewActivateUserParamsWithHTTPClient

func NewActivateUserParamsWithHTTPClient(client *http.Client) *ActivateUserParams

NewActivateUserParamsWithHTTPClient creates a new ActivateUserParams object with the ability to set a custom HTTPClient for a request.

func NewActivateUserParamsWithTimeout

func NewActivateUserParamsWithTimeout(timeout time.Duration) *ActivateUserParams

NewActivateUserParamsWithTimeout creates a new ActivateUserParams object with the ability to set a timeout on a request.

func (*ActivateUserParams) SetActivationKey

func (o *ActivateUserParams) SetActivationKey(activationKey string)

SetActivationKey adds the activationKey to the activate user params

func (*ActivateUserParams) SetContext

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

SetContext adds the context to the activate user params

func (*ActivateUserParams) SetDefaults

func (o *ActivateUserParams) SetDefaults()

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

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

func (*ActivateUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the activate user params

func (*ActivateUserParams) SetTimeout

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

SetTimeout adds the timeout to the activate user params

func (*ActivateUserParams) WithActivationKey

func (o *ActivateUserParams) WithActivationKey(activationKey string) *ActivateUserParams

WithActivationKey adds the activationKey to the activate user params

func (*ActivateUserParams) WithContext

WithContext adds the context to the activate user params

func (*ActivateUserParams) WithDefaults

func (o *ActivateUserParams) WithDefaults() *ActivateUserParams

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

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

func (*ActivateUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the activate user params

func (*ActivateUserParams) WithTimeout

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

WithTimeout adds the timeout to the activate user params

func (*ActivateUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ActivateUserReader

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

ActivateUserReader is a Reader for the ActivateUser structure.

func (*ActivateUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChangePasswordDefault

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

ChangePasswordDefault describes a response with status code -1, with default header values.

successful operation

func NewChangePasswordDefault

func NewChangePasswordDefault(code int) *ChangePasswordDefault

NewChangePasswordDefault creates a ChangePasswordDefault with default headers values

func (*ChangePasswordDefault) Code

func (o *ChangePasswordDefault) Code() int

Code gets the status code for the change password default response

func (*ChangePasswordDefault) Error

func (o *ChangePasswordDefault) Error() string

func (*ChangePasswordDefault) IsClientError

func (o *ChangePasswordDefault) IsClientError() bool

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

func (*ChangePasswordDefault) IsCode

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

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

func (*ChangePasswordDefault) IsRedirect

func (o *ChangePasswordDefault) IsRedirect() bool

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

func (*ChangePasswordDefault) IsServerError

func (o *ChangePasswordDefault) IsServerError() bool

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

func (*ChangePasswordDefault) IsSuccess

func (o *ChangePasswordDefault) IsSuccess() bool

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

func (*ChangePasswordDefault) String

func (o *ChangePasswordDefault) String() string

type ChangePasswordParams

type ChangePasswordParams struct {

	// Body.
	Body *models.ChangePasswordData

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

ChangePasswordParams contains all the parameters to send to the API endpoint

for the change password operation.

Typically these are written to a http.Request.

func NewChangePasswordParams

func NewChangePasswordParams() *ChangePasswordParams

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

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

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

func NewChangePasswordParamsWithContext

func NewChangePasswordParamsWithContext(ctx context.Context) *ChangePasswordParams

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

func NewChangePasswordParamsWithHTTPClient

func NewChangePasswordParamsWithHTTPClient(client *http.Client) *ChangePasswordParams

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

func NewChangePasswordParamsWithTimeout

func NewChangePasswordParamsWithTimeout(timeout time.Duration) *ChangePasswordParams

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

func (*ChangePasswordParams) SetBody

SetBody adds the body to the change password params

func (*ChangePasswordParams) SetContext

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

SetContext adds the context to the change password params

func (*ChangePasswordParams) SetDefaults

func (o *ChangePasswordParams) SetDefaults()

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

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

func (*ChangePasswordParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the change password params

func (*ChangePasswordParams) SetTimeout

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

SetTimeout adds the timeout to the change password params

func (*ChangePasswordParams) WithBody

WithBody adds the body to the change password params

func (*ChangePasswordParams) WithContext

WithContext adds the context to the change password params

func (*ChangePasswordParams) WithDefaults

func (o *ChangePasswordParams) WithDefaults() *ChangePasswordParams

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

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

func (*ChangePasswordParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the change password params

func (*ChangePasswordParams) WithTimeout

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

WithTimeout adds the timeout to the change password params

func (*ChangePasswordParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ChangePasswordReader

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

ChangePasswordReader is a Reader for the ChangePassword structure.

func (*ChangePasswordReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CheckResetPasswordDefault

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

CheckResetPasswordDefault describes a response with status code -1, with default header values.

successful operation

func NewCheckResetPasswordDefault

func NewCheckResetPasswordDefault(code int) *CheckResetPasswordDefault

NewCheckResetPasswordDefault creates a CheckResetPasswordDefault with default headers values

func (*CheckResetPasswordDefault) Code

func (o *CheckResetPasswordDefault) Code() int

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

func (*CheckResetPasswordDefault) Error

func (o *CheckResetPasswordDefault) Error() string

func (*CheckResetPasswordDefault) IsClientError

func (o *CheckResetPasswordDefault) IsClientError() bool

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

func (*CheckResetPasswordDefault) IsCode

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

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

func (*CheckResetPasswordDefault) IsRedirect

func (o *CheckResetPasswordDefault) IsRedirect() bool

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

func (*CheckResetPasswordDefault) IsServerError

func (o *CheckResetPasswordDefault) IsServerError() bool

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

func (*CheckResetPasswordDefault) IsSuccess

func (o *CheckResetPasswordDefault) IsSuccess() bool

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

func (*CheckResetPasswordDefault) String

func (o *CheckResetPasswordDefault) String() string

type CheckResetPasswordParams

type CheckResetPasswordParams struct {

	// ResetKey.
	ResetKey string

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

CheckResetPasswordParams contains all the parameters to send to the API endpoint

for the check reset password operation.

Typically these are written to a http.Request.

func NewCheckResetPasswordParams

func NewCheckResetPasswordParams() *CheckResetPasswordParams

NewCheckResetPasswordParams creates a new CheckResetPasswordParams 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 NewCheckResetPasswordParamsWithContext

func NewCheckResetPasswordParamsWithContext(ctx context.Context) *CheckResetPasswordParams

NewCheckResetPasswordParamsWithContext creates a new CheckResetPasswordParams object with the ability to set a context for a request.

func NewCheckResetPasswordParamsWithHTTPClient

func NewCheckResetPasswordParamsWithHTTPClient(client *http.Client) *CheckResetPasswordParams

NewCheckResetPasswordParamsWithHTTPClient creates a new CheckResetPasswordParams object with the ability to set a custom HTTPClient for a request.

func NewCheckResetPasswordParamsWithTimeout

func NewCheckResetPasswordParamsWithTimeout(timeout time.Duration) *CheckResetPasswordParams

NewCheckResetPasswordParamsWithTimeout creates a new CheckResetPasswordParams object with the ability to set a timeout on a request.

func (*CheckResetPasswordParams) SetContext

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

SetContext adds the context to the check reset password params

func (*CheckResetPasswordParams) SetDefaults

func (o *CheckResetPasswordParams) SetDefaults()

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

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

func (*CheckResetPasswordParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the check reset password params

func (*CheckResetPasswordParams) SetResetKey

func (o *CheckResetPasswordParams) SetResetKey(resetKey string)

SetResetKey adds the resetKey to the check reset password params

func (*CheckResetPasswordParams) SetTimeout

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

SetTimeout adds the timeout to the check reset password params

func (*CheckResetPasswordParams) WithContext

WithContext adds the context to the check reset password params

func (*CheckResetPasswordParams) WithDefaults

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

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

func (*CheckResetPasswordParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the check reset password params

func (*CheckResetPasswordParams) WithResetKey

func (o *CheckResetPasswordParams) WithResetKey(resetKey string) *CheckResetPasswordParams

WithResetKey adds the resetKey to the check reset password params

func (*CheckResetPasswordParams) WithTimeout

WithTimeout adds the timeout to the check reset password params

func (*CheckResetPasswordParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CheckResetPasswordReader

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

CheckResetPasswordReader is a Reader for the CheckResetPassword structure.

func (*CheckResetPasswordReader) ReadResponse

func (o *CheckResetPasswordReader) 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 profil API

func (*Client) ActivateUser

func (a *Client) ActivateUser(params *ActivateUserParams, opts ...ClientOption) error

ActivateUser activate user API

func (*Client) ChangePassword

func (a *Client) ChangePassword(params *ChangePasswordParams, opts ...ClientOption) error

ChangePassword change password API

func (*Client) CheckResetPassword

func (a *Client) CheckResetPassword(params *CheckResetPasswordParams, opts ...ClientOption) error

CheckResetPassword prüfens eines reset token und bedingtes weiterleiten auf die react anwendung

func (*Client) CreateToken1

func (a *Client) CreateToken1(params *CreateToken1Params, opts ...ClientOption) error

CreateToken1 erzeugts einen neuen API token für den nutzer

func (*Client) GetAbos

func (a *Client) GetAbos(params *GetAbosParams, opts ...ClientOption) error

GetAbos gibts die abonnements des aktuell angemeldeten nutzers zurück

func (*Client) GetProfile

func (a *Client) GetProfile(params *GetProfileParams, opts ...ClientOption) error

GetProfile gibts die daten des akktuellen nutzers zurück

func (*Client) InitResetPassword

func (a *Client) InitResetPassword(params *InitResetPasswordParams, opts ...ClientOption) error

InitResetPassword init reset password API

func (*Client) Register

func (a *Client) Register(params *RegisterParams, opts ...ClientOption) error

Register register API

func (*Client) ResetPassword

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

ResetPassword zurücksetzens eines passworts

func (*Client) RevokeToken1

func (a *Client) RevokeToken1(params *RevokeToken1Params, opts ...ClientOption) error

RevokeToken1 invalidierts einen API token für den nutzer

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateProfil

func (a *Client) UpdateProfil(params *UpdateProfilParams, opts ...ClientOption) error

UpdateProfil aktualisierungs der metadatendes des eigenen profils

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ActivateUser(params *ActivateUserParams, opts ...ClientOption) error

	ChangePassword(params *ChangePasswordParams, opts ...ClientOption) error

	CheckResetPassword(params *CheckResetPasswordParams, opts ...ClientOption) error

	CreateToken1(params *CreateToken1Params, opts ...ClientOption) error

	GetAbos(params *GetAbosParams, opts ...ClientOption) error

	GetProfile(params *GetProfileParams, opts ...ClientOption) error

	InitResetPassword(params *InitResetPasswordParams, opts ...ClientOption) error

	Register(params *RegisterParams, opts ...ClientOption) error

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

	RevokeToken1(params *RevokeToken1Params, opts ...ClientOption) error

	UpdateProfil(params *UpdateProfilParams, opts ...ClientOption) 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 profil API client.

type CreateToken1Default

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

CreateToken1Default describes a response with status code -1, with default header values.

successful operation

func NewCreateToken1Default

func NewCreateToken1Default(code int) *CreateToken1Default

NewCreateToken1Default creates a CreateToken1Default with default headers values

func (*CreateToken1Default) Code

func (o *CreateToken1Default) Code() int

Code gets the status code for the create token 1 default response

func (*CreateToken1Default) Error

func (o *CreateToken1Default) Error() string

func (*CreateToken1Default) IsClientError

func (o *CreateToken1Default) IsClientError() bool

IsClientError returns true when this create token 1 default response has a 4xx status code

func (*CreateToken1Default) IsCode

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

IsCode returns true when this create token 1 default response a status code equal to that given

func (*CreateToken1Default) IsRedirect

func (o *CreateToken1Default) IsRedirect() bool

IsRedirect returns true when this create token 1 default response has a 3xx status code

func (*CreateToken1Default) IsServerError

func (o *CreateToken1Default) IsServerError() bool

IsServerError returns true when this create token 1 default response has a 5xx status code

func (*CreateToken1Default) IsSuccess

func (o *CreateToken1Default) IsSuccess() bool

IsSuccess returns true when this create token 1 default response has a 2xx status code

func (*CreateToken1Default) String

func (o *CreateToken1Default) String() string

type CreateToken1Params

type CreateToken1Params struct {

	// Name.
	Name string

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

CreateToken1Params contains all the parameters to send to the API endpoint

for the create token 1 operation.

Typically these are written to a http.Request.

func NewCreateToken1Params

func NewCreateToken1Params() *CreateToken1Params

NewCreateToken1Params creates a new CreateToken1Params 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 NewCreateToken1ParamsWithContext

func NewCreateToken1ParamsWithContext(ctx context.Context) *CreateToken1Params

NewCreateToken1ParamsWithContext creates a new CreateToken1Params object with the ability to set a context for a request.

func NewCreateToken1ParamsWithHTTPClient

func NewCreateToken1ParamsWithHTTPClient(client *http.Client) *CreateToken1Params

NewCreateToken1ParamsWithHTTPClient creates a new CreateToken1Params object with the ability to set a custom HTTPClient for a request.

func NewCreateToken1ParamsWithTimeout

func NewCreateToken1ParamsWithTimeout(timeout time.Duration) *CreateToken1Params

NewCreateToken1ParamsWithTimeout creates a new CreateToken1Params object with the ability to set a timeout on a request.

func (*CreateToken1Params) SetContext

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

SetContext adds the context to the create token 1 params

func (*CreateToken1Params) SetDefaults

func (o *CreateToken1Params) SetDefaults()

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

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

func (*CreateToken1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create token 1 params

func (*CreateToken1Params) SetName

func (o *CreateToken1Params) SetName(name string)

SetName adds the name to the create token 1 params

func (*CreateToken1Params) SetTimeout

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

SetTimeout adds the timeout to the create token 1 params

func (*CreateToken1Params) WithContext

WithContext adds the context to the create token 1 params

func (*CreateToken1Params) WithDefaults

func (o *CreateToken1Params) WithDefaults() *CreateToken1Params

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

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

func (*CreateToken1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create token 1 params

func (*CreateToken1Params) WithName

func (o *CreateToken1Params) WithName(name string) *CreateToken1Params

WithName adds the name to the create token 1 params

func (*CreateToken1Params) WithTimeout

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

WithTimeout adds the timeout to the create token 1 params

func (*CreateToken1Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateToken1Reader

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

CreateToken1Reader is a Reader for the CreateToken1 structure.

func (*CreateToken1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAbosDefault

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

GetAbosDefault describes a response with status code -1, with default header values.

successful operation

func NewGetAbosDefault

func NewGetAbosDefault(code int) *GetAbosDefault

NewGetAbosDefault creates a GetAbosDefault with default headers values

func (*GetAbosDefault) Code

func (o *GetAbosDefault) Code() int

Code gets the status code for the get abos default response

func (*GetAbosDefault) Error

func (o *GetAbosDefault) Error() string

func (*GetAbosDefault) IsClientError

func (o *GetAbosDefault) IsClientError() bool

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

func (*GetAbosDefault) IsCode

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

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

func (*GetAbosDefault) IsRedirect

func (o *GetAbosDefault) IsRedirect() bool

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

func (*GetAbosDefault) IsServerError

func (o *GetAbosDefault) IsServerError() bool

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

func (*GetAbosDefault) IsSuccess

func (o *GetAbosDefault) IsSuccess() bool

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

func (*GetAbosDefault) String

func (o *GetAbosDefault) String() string

type GetAbosParams

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

GetAbosParams contains all the parameters to send to the API endpoint

for the get abos operation.

Typically these are written to a http.Request.

func NewGetAbosParams

func NewGetAbosParams() *GetAbosParams

NewGetAbosParams creates a new GetAbosParams 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 NewGetAbosParamsWithContext

func NewGetAbosParamsWithContext(ctx context.Context) *GetAbosParams

NewGetAbosParamsWithContext creates a new GetAbosParams object with the ability to set a context for a request.

func NewGetAbosParamsWithHTTPClient

func NewGetAbosParamsWithHTTPClient(client *http.Client) *GetAbosParams

NewGetAbosParamsWithHTTPClient creates a new GetAbosParams object with the ability to set a custom HTTPClient for a request.

func NewGetAbosParamsWithTimeout

func NewGetAbosParamsWithTimeout(timeout time.Duration) *GetAbosParams

NewGetAbosParamsWithTimeout creates a new GetAbosParams object with the ability to set a timeout on a request.

func (*GetAbosParams) SetContext

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

SetContext adds the context to the get abos params

func (*GetAbosParams) SetDefaults

func (o *GetAbosParams) SetDefaults()

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

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

func (*GetAbosParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get abos params

func (*GetAbosParams) SetTimeout

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

SetTimeout adds the timeout to the get abos params

func (*GetAbosParams) WithContext

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

WithContext adds the context to the get abos params

func (*GetAbosParams) WithDefaults

func (o *GetAbosParams) WithDefaults() *GetAbosParams

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

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

func (*GetAbosParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get abos params

func (*GetAbosParams) WithTimeout

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

WithTimeout adds the timeout to the get abos params

func (*GetAbosParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAbosReader

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

GetAbosReader is a Reader for the GetAbos structure.

func (*GetAbosReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetProfileDefault

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

GetProfileDefault describes a response with status code -1, with default header values.

successful operation

func NewGetProfileDefault

func NewGetProfileDefault(code int) *GetProfileDefault

NewGetProfileDefault creates a GetProfileDefault with default headers values

func (*GetProfileDefault) Code

func (o *GetProfileDefault) Code() int

Code gets the status code for the get profile default response

func (*GetProfileDefault) Error

func (o *GetProfileDefault) Error() string

func (*GetProfileDefault) IsClientError

func (o *GetProfileDefault) IsClientError() bool

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

func (*GetProfileDefault) IsCode

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

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

func (*GetProfileDefault) IsRedirect

func (o *GetProfileDefault) IsRedirect() bool

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

func (*GetProfileDefault) IsServerError

func (o *GetProfileDefault) IsServerError() bool

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

func (*GetProfileDefault) IsSuccess

func (o *GetProfileDefault) IsSuccess() bool

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

func (*GetProfileDefault) String

func (o *GetProfileDefault) String() string

type GetProfileParams

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

GetProfileParams contains all the parameters to send to the API endpoint

for the get profile operation.

Typically these are written to a http.Request.

func NewGetProfileParams

func NewGetProfileParams() *GetProfileParams

NewGetProfileParams creates a new GetProfileParams 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 NewGetProfileParamsWithContext

func NewGetProfileParamsWithContext(ctx context.Context) *GetProfileParams

NewGetProfileParamsWithContext creates a new GetProfileParams object with the ability to set a context for a request.

func NewGetProfileParamsWithHTTPClient

func NewGetProfileParamsWithHTTPClient(client *http.Client) *GetProfileParams

NewGetProfileParamsWithHTTPClient creates a new GetProfileParams object with the ability to set a custom HTTPClient for a request.

func NewGetProfileParamsWithTimeout

func NewGetProfileParamsWithTimeout(timeout time.Duration) *GetProfileParams

NewGetProfileParamsWithTimeout creates a new GetProfileParams object with the ability to set a timeout on a request.

func (*GetProfileParams) SetContext

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

SetContext adds the context to the get profile params

func (*GetProfileParams) SetDefaults

func (o *GetProfileParams) SetDefaults()

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

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

func (*GetProfileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get profile params

func (*GetProfileParams) SetTimeout

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

SetTimeout adds the timeout to the get profile params

func (*GetProfileParams) WithContext

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

WithContext adds the context to the get profile params

func (*GetProfileParams) WithDefaults

func (o *GetProfileParams) WithDefaults() *GetProfileParams

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

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

func (*GetProfileParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get profile params

func (*GetProfileParams) WithTimeout

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

WithTimeout adds the timeout to the get profile params

func (*GetProfileParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetProfileReader

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

GetProfileReader is a Reader for the GetProfile structure.

func (*GetProfileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InitResetPasswordDefault

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

InitResetPasswordDefault describes a response with status code -1, with default header values.

successful operation

func NewInitResetPasswordDefault

func NewInitResetPasswordDefault(code int) *InitResetPasswordDefault

NewInitResetPasswordDefault creates a InitResetPasswordDefault with default headers values

func (*InitResetPasswordDefault) Code

func (o *InitResetPasswordDefault) Code() int

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

func (*InitResetPasswordDefault) Error

func (o *InitResetPasswordDefault) Error() string

func (*InitResetPasswordDefault) IsClientError

func (o *InitResetPasswordDefault) IsClientError() bool

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

func (*InitResetPasswordDefault) IsCode

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

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

func (*InitResetPasswordDefault) IsRedirect

func (o *InitResetPasswordDefault) IsRedirect() bool

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

func (*InitResetPasswordDefault) IsServerError

func (o *InitResetPasswordDefault) IsServerError() bool

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

func (*InitResetPasswordDefault) IsSuccess

func (o *InitResetPasswordDefault) IsSuccess() bool

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

func (*InitResetPasswordDefault) String

func (o *InitResetPasswordDefault) String() string

type InitResetPasswordParams

type InitResetPasswordParams struct {

	// Body.
	Body *models.PasswordResetRequest

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

InitResetPasswordParams contains all the parameters to send to the API endpoint

for the init reset password operation.

Typically these are written to a http.Request.

func NewInitResetPasswordParams

func NewInitResetPasswordParams() *InitResetPasswordParams

NewInitResetPasswordParams creates a new InitResetPasswordParams 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 NewInitResetPasswordParamsWithContext

func NewInitResetPasswordParamsWithContext(ctx context.Context) *InitResetPasswordParams

NewInitResetPasswordParamsWithContext creates a new InitResetPasswordParams object with the ability to set a context for a request.

func NewInitResetPasswordParamsWithHTTPClient

func NewInitResetPasswordParamsWithHTTPClient(client *http.Client) *InitResetPasswordParams

NewInitResetPasswordParamsWithHTTPClient creates a new InitResetPasswordParams object with the ability to set a custom HTTPClient for a request.

func NewInitResetPasswordParamsWithTimeout

func NewInitResetPasswordParamsWithTimeout(timeout time.Duration) *InitResetPasswordParams

NewInitResetPasswordParamsWithTimeout creates a new InitResetPasswordParams object with the ability to set a timeout on a request.

func (*InitResetPasswordParams) SetBody

SetBody adds the body to the init reset password params

func (*InitResetPasswordParams) SetContext

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

SetContext adds the context to the init reset password params

func (*InitResetPasswordParams) SetDefaults

func (o *InitResetPasswordParams) SetDefaults()

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

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

func (*InitResetPasswordParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the init reset password params

func (*InitResetPasswordParams) SetTimeout

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

SetTimeout adds the timeout to the init reset password params

func (*InitResetPasswordParams) WithBody

WithBody adds the body to the init reset password params

func (*InitResetPasswordParams) WithContext

WithContext adds the context to the init reset password params

func (*InitResetPasswordParams) WithDefaults

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

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

func (*InitResetPasswordParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the init reset password params

func (*InitResetPasswordParams) WithTimeout

WithTimeout adds the timeout to the init reset password params

func (*InitResetPasswordParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InitResetPasswordReader

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

InitResetPasswordReader is a Reader for the InitResetPassword structure.

func (*InitResetPasswordReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RegisterDefault

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

RegisterDefault describes a response with status code -1, with default header values.

successful operation

func NewRegisterDefault

func NewRegisterDefault(code int) *RegisterDefault

NewRegisterDefault creates a RegisterDefault with default headers values

func (*RegisterDefault) Code

func (o *RegisterDefault) Code() int

Code gets the status code for the register default response

func (*RegisterDefault) Error

func (o *RegisterDefault) Error() string

func (*RegisterDefault) IsClientError

func (o *RegisterDefault) IsClientError() bool

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

func (*RegisterDefault) IsCode

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

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

func (*RegisterDefault) IsRedirect

func (o *RegisterDefault) IsRedirect() bool

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

func (*RegisterDefault) IsServerError

func (o *RegisterDefault) IsServerError() bool

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

func (*RegisterDefault) IsSuccess

func (o *RegisterDefault) IsSuccess() bool

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

func (*RegisterDefault) String

func (o *RegisterDefault) String() string

type RegisterParams

type RegisterParams struct {

	// Body.
	Body *models.RegistrationData

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

RegisterParams contains all the parameters to send to the API endpoint

for the register operation.

Typically these are written to a http.Request.

func NewRegisterParams

func NewRegisterParams() *RegisterParams

NewRegisterParams creates a new RegisterParams object, with the default timeout for this client.

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

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

func NewRegisterParamsWithContext

func NewRegisterParamsWithContext(ctx context.Context) *RegisterParams

NewRegisterParamsWithContext creates a new RegisterParams object with the ability to set a context for a request.

func NewRegisterParamsWithHTTPClient

func NewRegisterParamsWithHTTPClient(client *http.Client) *RegisterParams

NewRegisterParamsWithHTTPClient creates a new RegisterParams object with the ability to set a custom HTTPClient for a request.

func NewRegisterParamsWithTimeout

func NewRegisterParamsWithTimeout(timeout time.Duration) *RegisterParams

NewRegisterParamsWithTimeout creates a new RegisterParams object with the ability to set a timeout on a request.

func (*RegisterParams) SetBody

func (o *RegisterParams) SetBody(body *models.RegistrationData)

SetBody adds the body to the register params

func (*RegisterParams) SetContext

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

SetContext adds the context to the register params

func (*RegisterParams) SetDefaults

func (o *RegisterParams) SetDefaults()

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

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

func (*RegisterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the register params

func (*RegisterParams) SetTimeout

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

SetTimeout adds the timeout to the register params

func (*RegisterParams) WithBody

WithBody adds the body to the register params

func (*RegisterParams) WithContext

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

WithContext adds the context to the register params

func (*RegisterParams) WithDefaults

func (o *RegisterParams) WithDefaults() *RegisterParams

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

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

func (*RegisterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the register params

func (*RegisterParams) WithTimeout

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

WithTimeout adds the timeout to the register params

func (*RegisterParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RegisterReader

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

RegisterReader is a Reader for the Register structure.

func (*RegisterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResetPasswordDefault

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

ResetPasswordDefault describes a response with status code -1, with default header values.

successful operation

func NewResetPasswordDefault

func NewResetPasswordDefault(code int) *ResetPasswordDefault

NewResetPasswordDefault creates a ResetPasswordDefault with default headers values

func (*ResetPasswordDefault) Code

func (o *ResetPasswordDefault) Code() int

Code gets the status code for the reset password default response

func (*ResetPasswordDefault) Error

func (o *ResetPasswordDefault) Error() string

func (*ResetPasswordDefault) IsClientError

func (o *ResetPasswordDefault) IsClientError() bool

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

func (*ResetPasswordDefault) IsCode

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

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

func (*ResetPasswordDefault) IsRedirect

func (o *ResetPasswordDefault) IsRedirect() bool

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

func (*ResetPasswordDefault) IsServerError

func (o *ResetPasswordDefault) IsServerError() bool

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

func (*ResetPasswordDefault) IsSuccess

func (o *ResetPasswordDefault) IsSuccess() bool

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

func (*ResetPasswordDefault) String

func (o *ResetPasswordDefault) String() string

type ResetPasswordParams

type ResetPasswordParams struct {

	// Body.
	Body *models.ResetPasswordData

	// ResetKey.
	ResetKey string

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

ResetPasswordParams contains all the parameters to send to the API endpoint

for the reset password operation.

Typically these are written to a http.Request.

func NewResetPasswordParams

func NewResetPasswordParams() *ResetPasswordParams

NewResetPasswordParams creates a new ResetPasswordParams object, with the default timeout for this client.

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

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

func NewResetPasswordParamsWithContext

func NewResetPasswordParamsWithContext(ctx context.Context) *ResetPasswordParams

NewResetPasswordParamsWithContext creates a new ResetPasswordParams object with the ability to set a context for a request.

func NewResetPasswordParamsWithHTTPClient

func NewResetPasswordParamsWithHTTPClient(client *http.Client) *ResetPasswordParams

NewResetPasswordParamsWithHTTPClient creates a new ResetPasswordParams object with the ability to set a custom HTTPClient for a request.

func NewResetPasswordParamsWithTimeout

func NewResetPasswordParamsWithTimeout(timeout time.Duration) *ResetPasswordParams

NewResetPasswordParamsWithTimeout creates a new ResetPasswordParams object with the ability to set a timeout on a request.

func (*ResetPasswordParams) SetBody

func (o *ResetPasswordParams) SetBody(body *models.ResetPasswordData)

SetBody adds the body to the reset password params

func (*ResetPasswordParams) SetContext

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

SetContext adds the context to the reset password params

func (*ResetPasswordParams) SetDefaults

func (o *ResetPasswordParams) SetDefaults()

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

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

func (*ResetPasswordParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the reset password params

func (*ResetPasswordParams) SetResetKey

func (o *ResetPasswordParams) SetResetKey(resetKey string)

SetResetKey adds the resetKey to the reset password params

func (*ResetPasswordParams) SetTimeout

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

SetTimeout adds the timeout to the reset password params

func (*ResetPasswordParams) WithBody

WithBody adds the body to the reset password params

func (*ResetPasswordParams) WithContext

WithContext adds the context to the reset password params

func (*ResetPasswordParams) WithDefaults

func (o *ResetPasswordParams) WithDefaults() *ResetPasswordParams

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

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

func (*ResetPasswordParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the reset password params

func (*ResetPasswordParams) WithResetKey

func (o *ResetPasswordParams) WithResetKey(resetKey string) *ResetPasswordParams

WithResetKey adds the resetKey to the reset password params

func (*ResetPasswordParams) WithTimeout

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

WithTimeout adds the timeout to the reset password params

func (*ResetPasswordParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ResetPasswordReader

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

ResetPasswordReader is a Reader for the ResetPassword structure.

func (*ResetPasswordReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RevokeToken1Default

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

RevokeToken1Default describes a response with status code -1, with default header values.

successful operation

func NewRevokeToken1Default

func NewRevokeToken1Default(code int) *RevokeToken1Default

NewRevokeToken1Default creates a RevokeToken1Default with default headers values

func (*RevokeToken1Default) Code

func (o *RevokeToken1Default) Code() int

Code gets the status code for the revoke token 1 default response

func (*RevokeToken1Default) Error

func (o *RevokeToken1Default) Error() string

func (*RevokeToken1Default) IsClientError

func (o *RevokeToken1Default) IsClientError() bool

IsClientError returns true when this revoke token 1 default response has a 4xx status code

func (*RevokeToken1Default) IsCode

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

IsCode returns true when this revoke token 1 default response a status code equal to that given

func (*RevokeToken1Default) IsRedirect

func (o *RevokeToken1Default) IsRedirect() bool

IsRedirect returns true when this revoke token 1 default response has a 3xx status code

func (*RevokeToken1Default) IsServerError

func (o *RevokeToken1Default) IsServerError() bool

IsServerError returns true when this revoke token 1 default response has a 5xx status code

func (*RevokeToken1Default) IsSuccess

func (o *RevokeToken1Default) IsSuccess() bool

IsSuccess returns true when this revoke token 1 default response has a 2xx status code

func (*RevokeToken1Default) String

func (o *RevokeToken1Default) String() string

type RevokeToken1Params

type RevokeToken1Params struct {

	// Name.
	Name string

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

RevokeToken1Params contains all the parameters to send to the API endpoint

for the revoke token 1 operation.

Typically these are written to a http.Request.

func NewRevokeToken1Params

func NewRevokeToken1Params() *RevokeToken1Params

NewRevokeToken1Params creates a new RevokeToken1Params 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 NewRevokeToken1ParamsWithContext

func NewRevokeToken1ParamsWithContext(ctx context.Context) *RevokeToken1Params

NewRevokeToken1ParamsWithContext creates a new RevokeToken1Params object with the ability to set a context for a request.

func NewRevokeToken1ParamsWithHTTPClient

func NewRevokeToken1ParamsWithHTTPClient(client *http.Client) *RevokeToken1Params

NewRevokeToken1ParamsWithHTTPClient creates a new RevokeToken1Params object with the ability to set a custom HTTPClient for a request.

func NewRevokeToken1ParamsWithTimeout

func NewRevokeToken1ParamsWithTimeout(timeout time.Duration) *RevokeToken1Params

NewRevokeToken1ParamsWithTimeout creates a new RevokeToken1Params object with the ability to set a timeout on a request.

func (*RevokeToken1Params) SetContext

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

SetContext adds the context to the revoke token 1 params

func (*RevokeToken1Params) SetDefaults

func (o *RevokeToken1Params) SetDefaults()

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

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

func (*RevokeToken1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the revoke token 1 params

func (*RevokeToken1Params) SetName

func (o *RevokeToken1Params) SetName(name string)

SetName adds the name to the revoke token 1 params

func (*RevokeToken1Params) SetTimeout

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

SetTimeout adds the timeout to the revoke token 1 params

func (*RevokeToken1Params) WithContext

WithContext adds the context to the revoke token 1 params

func (*RevokeToken1Params) WithDefaults

func (o *RevokeToken1Params) WithDefaults() *RevokeToken1Params

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

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

func (*RevokeToken1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the revoke token 1 params

func (*RevokeToken1Params) WithName

func (o *RevokeToken1Params) WithName(name string) *RevokeToken1Params

WithName adds the name to the revoke token 1 params

func (*RevokeToken1Params) WithTimeout

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

WithTimeout adds the timeout to the revoke token 1 params

func (*RevokeToken1Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RevokeToken1Reader

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

RevokeToken1Reader is a Reader for the RevokeToken1 structure.

func (*RevokeToken1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateProfilDefault

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

UpdateProfilDefault describes a response with status code -1, with default header values.

successful operation

func NewUpdateProfilDefault

func NewUpdateProfilDefault(code int) *UpdateProfilDefault

NewUpdateProfilDefault creates a UpdateProfilDefault with default headers values

func (*UpdateProfilDefault) Code

func (o *UpdateProfilDefault) Code() int

Code gets the status code for the update profil default response

func (*UpdateProfilDefault) Error

func (o *UpdateProfilDefault) Error() string

func (*UpdateProfilDefault) IsClientError

func (o *UpdateProfilDefault) IsClientError() bool

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

func (*UpdateProfilDefault) IsCode

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

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

func (*UpdateProfilDefault) IsRedirect

func (o *UpdateProfilDefault) IsRedirect() bool

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

func (*UpdateProfilDefault) IsServerError

func (o *UpdateProfilDefault) IsServerError() bool

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

func (*UpdateProfilDefault) IsSuccess

func (o *UpdateProfilDefault) IsSuccess() bool

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

func (*UpdateProfilDefault) String

func (o *UpdateProfilDefault) String() string

type UpdateProfilParams

type UpdateProfilParams struct {

	// Body.
	Body *models.NutzerData

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

UpdateProfilParams contains all the parameters to send to the API endpoint

for the update profil operation.

Typically these are written to a http.Request.

func NewUpdateProfilParams

func NewUpdateProfilParams() *UpdateProfilParams

NewUpdateProfilParams creates a new UpdateProfilParams 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 NewUpdateProfilParamsWithContext

func NewUpdateProfilParamsWithContext(ctx context.Context) *UpdateProfilParams

NewUpdateProfilParamsWithContext creates a new UpdateProfilParams object with the ability to set a context for a request.

func NewUpdateProfilParamsWithHTTPClient

func NewUpdateProfilParamsWithHTTPClient(client *http.Client) *UpdateProfilParams

NewUpdateProfilParamsWithHTTPClient creates a new UpdateProfilParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateProfilParamsWithTimeout

func NewUpdateProfilParamsWithTimeout(timeout time.Duration) *UpdateProfilParams

NewUpdateProfilParamsWithTimeout creates a new UpdateProfilParams object with the ability to set a timeout on a request.

func (*UpdateProfilParams) SetBody

func (o *UpdateProfilParams) SetBody(body *models.NutzerData)

SetBody adds the body to the update profil params

func (*UpdateProfilParams) SetContext

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

SetContext adds the context to the update profil params

func (*UpdateProfilParams) SetDefaults

func (o *UpdateProfilParams) SetDefaults()

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

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

func (*UpdateProfilParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update profil params

func (*UpdateProfilParams) SetTimeout

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

SetTimeout adds the timeout to the update profil params

func (*UpdateProfilParams) WithBody

WithBody adds the body to the update profil params

func (*UpdateProfilParams) WithContext

WithContext adds the context to the update profil params

func (*UpdateProfilParams) WithDefaults

func (o *UpdateProfilParams) WithDefaults() *UpdateProfilParams

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

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

func (*UpdateProfilParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update profil params

func (*UpdateProfilParams) WithTimeout

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

WithTimeout adds the timeout to the update profil params

func (*UpdateProfilParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateProfilReader

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

UpdateProfilReader is a Reader for the UpdateProfil structure.

func (*UpdateProfilReader) ReadResponse

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