Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateReadOnlySession(params *CreateReadOnlySessionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateReadOnlySessionOK, error)
- func (a *Client) CreateReadWriteSession(params *CreateReadWriteSessionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateReadWriteSessionOK, error)
- func (a *Client) GetWhoami(params *GetWhoamiParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetWhoamiOK, error)
- func (a *Client) OauthLogin(params *OauthLoginParams, authInfo runtime.ClientAuthInfoWriter, ...) (*OauthLoginOK, error)
- func (a *Client) OtpLogin(params *OtpLoginParams, authInfo runtime.ClientAuthInfoWriter, ...) (*OtpLoginOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) StampLogin(params *StampLoginParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StampLoginOK, error)
- type ClientOption
- type ClientService
- type CreateReadOnlySessionOK
- func (o *CreateReadOnlySessionOK) Code() int
- func (o *CreateReadOnlySessionOK) Error() string
- func (o *CreateReadOnlySessionOK) GetPayload() *models.ActivityResponse
- func (o *CreateReadOnlySessionOK) IsClientError() bool
- func (o *CreateReadOnlySessionOK) IsCode(code int) bool
- func (o *CreateReadOnlySessionOK) IsRedirect() bool
- func (o *CreateReadOnlySessionOK) IsServerError() bool
- func (o *CreateReadOnlySessionOK) IsSuccess() bool
- func (o *CreateReadOnlySessionOK) String() string
- type CreateReadOnlySessionParams
- func NewCreateReadOnlySessionParams() *CreateReadOnlySessionParams
- func NewCreateReadOnlySessionParamsWithContext(ctx context.Context) *CreateReadOnlySessionParams
- func NewCreateReadOnlySessionParamsWithHTTPClient(client *http.Client) *CreateReadOnlySessionParams
- func NewCreateReadOnlySessionParamsWithTimeout(timeout time.Duration) *CreateReadOnlySessionParams
- func (o *CreateReadOnlySessionParams) SetBody(body *models.CreateReadOnlySessionRequest)
- func (o *CreateReadOnlySessionParams) SetContext(ctx context.Context)
- func (o *CreateReadOnlySessionParams) SetDefaults()
- func (o *CreateReadOnlySessionParams) SetHTTPClient(client *http.Client)
- func (o *CreateReadOnlySessionParams) SetTimeout(timeout time.Duration)
- func (o *CreateReadOnlySessionParams) WithBody(body *models.CreateReadOnlySessionRequest) *CreateReadOnlySessionParams
- func (o *CreateReadOnlySessionParams) WithContext(ctx context.Context) *CreateReadOnlySessionParams
- func (o *CreateReadOnlySessionParams) WithDefaults() *CreateReadOnlySessionParams
- func (o *CreateReadOnlySessionParams) WithHTTPClient(client *http.Client) *CreateReadOnlySessionParams
- func (o *CreateReadOnlySessionParams) WithTimeout(timeout time.Duration) *CreateReadOnlySessionParams
- func (o *CreateReadOnlySessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateReadOnlySessionReader
- type CreateReadWriteSessionOK
- func (o *CreateReadWriteSessionOK) Code() int
- func (o *CreateReadWriteSessionOK) Error() string
- func (o *CreateReadWriteSessionOK) GetPayload() *models.ActivityResponse
- func (o *CreateReadWriteSessionOK) IsClientError() bool
- func (o *CreateReadWriteSessionOK) IsCode(code int) bool
- func (o *CreateReadWriteSessionOK) IsRedirect() bool
- func (o *CreateReadWriteSessionOK) IsServerError() bool
- func (o *CreateReadWriteSessionOK) IsSuccess() bool
- func (o *CreateReadWriteSessionOK) String() string
- type CreateReadWriteSessionParams
- func NewCreateReadWriteSessionParams() *CreateReadWriteSessionParams
- func NewCreateReadWriteSessionParamsWithContext(ctx context.Context) *CreateReadWriteSessionParams
- func NewCreateReadWriteSessionParamsWithHTTPClient(client *http.Client) *CreateReadWriteSessionParams
- func NewCreateReadWriteSessionParamsWithTimeout(timeout time.Duration) *CreateReadWriteSessionParams
- func (o *CreateReadWriteSessionParams) SetBody(body *models.CreateReadWriteSessionRequest)
- func (o *CreateReadWriteSessionParams) SetContext(ctx context.Context)
- func (o *CreateReadWriteSessionParams) SetDefaults()
- func (o *CreateReadWriteSessionParams) SetHTTPClient(client *http.Client)
- func (o *CreateReadWriteSessionParams) SetTimeout(timeout time.Duration)
- func (o *CreateReadWriteSessionParams) WithBody(body *models.CreateReadWriteSessionRequest) *CreateReadWriteSessionParams
- func (o *CreateReadWriteSessionParams) WithContext(ctx context.Context) *CreateReadWriteSessionParams
- func (o *CreateReadWriteSessionParams) WithDefaults() *CreateReadWriteSessionParams
- func (o *CreateReadWriteSessionParams) WithHTTPClient(client *http.Client) *CreateReadWriteSessionParams
- func (o *CreateReadWriteSessionParams) WithTimeout(timeout time.Duration) *CreateReadWriteSessionParams
- func (o *CreateReadWriteSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateReadWriteSessionReader
- type GetWhoamiOK
- func (o *GetWhoamiOK) Code() int
- func (o *GetWhoamiOK) Error() string
- func (o *GetWhoamiOK) GetPayload() *models.GetWhoamiResponse
- func (o *GetWhoamiOK) IsClientError() bool
- func (o *GetWhoamiOK) IsCode(code int) bool
- func (o *GetWhoamiOK) IsRedirect() bool
- func (o *GetWhoamiOK) IsServerError() bool
- func (o *GetWhoamiOK) IsSuccess() bool
- func (o *GetWhoamiOK) String() string
- type GetWhoamiParams
- func (o *GetWhoamiParams) SetBody(body *models.GetWhoamiRequest)
- func (o *GetWhoamiParams) SetContext(ctx context.Context)
- func (o *GetWhoamiParams) SetDefaults()
- func (o *GetWhoamiParams) SetHTTPClient(client *http.Client)
- func (o *GetWhoamiParams) SetTimeout(timeout time.Duration)
- func (o *GetWhoamiParams) WithBody(body *models.GetWhoamiRequest) *GetWhoamiParams
- func (o *GetWhoamiParams) WithContext(ctx context.Context) *GetWhoamiParams
- func (o *GetWhoamiParams) WithDefaults() *GetWhoamiParams
- func (o *GetWhoamiParams) WithHTTPClient(client *http.Client) *GetWhoamiParams
- func (o *GetWhoamiParams) WithTimeout(timeout time.Duration) *GetWhoamiParams
- func (o *GetWhoamiParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWhoamiReader
- type OauthLoginOK
- func (o *OauthLoginOK) Code() int
- func (o *OauthLoginOK) Error() string
- func (o *OauthLoginOK) GetPayload() *models.ActivityResponse
- func (o *OauthLoginOK) IsClientError() bool
- func (o *OauthLoginOK) IsCode(code int) bool
- func (o *OauthLoginOK) IsRedirect() bool
- func (o *OauthLoginOK) IsServerError() bool
- func (o *OauthLoginOK) IsSuccess() bool
- func (o *OauthLoginOK) String() string
- type OauthLoginParams
- func (o *OauthLoginParams) SetBody(body *models.OauthLoginRequest)
- func (o *OauthLoginParams) SetContext(ctx context.Context)
- func (o *OauthLoginParams) SetDefaults()
- func (o *OauthLoginParams) SetHTTPClient(client *http.Client)
- func (o *OauthLoginParams) SetTimeout(timeout time.Duration)
- func (o *OauthLoginParams) WithBody(body *models.OauthLoginRequest) *OauthLoginParams
- func (o *OauthLoginParams) WithContext(ctx context.Context) *OauthLoginParams
- func (o *OauthLoginParams) WithDefaults() *OauthLoginParams
- func (o *OauthLoginParams) WithHTTPClient(client *http.Client) *OauthLoginParams
- func (o *OauthLoginParams) WithTimeout(timeout time.Duration) *OauthLoginParams
- func (o *OauthLoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OauthLoginReader
- type OtpLoginOK
- func (o *OtpLoginOK) Code() int
- func (o *OtpLoginOK) Error() string
- func (o *OtpLoginOK) GetPayload() *models.ActivityResponse
- func (o *OtpLoginOK) IsClientError() bool
- func (o *OtpLoginOK) IsCode(code int) bool
- func (o *OtpLoginOK) IsRedirect() bool
- func (o *OtpLoginOK) IsServerError() bool
- func (o *OtpLoginOK) IsSuccess() bool
- func (o *OtpLoginOK) String() string
- type OtpLoginParams
- func (o *OtpLoginParams) SetBody(body *models.OtpLoginRequest)
- func (o *OtpLoginParams) SetContext(ctx context.Context)
- func (o *OtpLoginParams) SetDefaults()
- func (o *OtpLoginParams) SetHTTPClient(client *http.Client)
- func (o *OtpLoginParams) SetTimeout(timeout time.Duration)
- func (o *OtpLoginParams) WithBody(body *models.OtpLoginRequest) *OtpLoginParams
- func (o *OtpLoginParams) WithContext(ctx context.Context) *OtpLoginParams
- func (o *OtpLoginParams) WithDefaults() *OtpLoginParams
- func (o *OtpLoginParams) WithHTTPClient(client *http.Client) *OtpLoginParams
- func (o *OtpLoginParams) WithTimeout(timeout time.Duration) *OtpLoginParams
- func (o *OtpLoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OtpLoginReader
- type StampLoginOK
- func (o *StampLoginOK) Code() int
- func (o *StampLoginOK) Error() string
- func (o *StampLoginOK) GetPayload() *models.ActivityResponse
- func (o *StampLoginOK) IsClientError() bool
- func (o *StampLoginOK) IsCode(code int) bool
- func (o *StampLoginOK) IsRedirect() bool
- func (o *StampLoginOK) IsServerError() bool
- func (o *StampLoginOK) IsSuccess() bool
- func (o *StampLoginOK) String() string
- type StampLoginParams
- func (o *StampLoginParams) SetBody(body *models.StampLoginRequest)
- func (o *StampLoginParams) SetContext(ctx context.Context)
- func (o *StampLoginParams) SetDefaults()
- func (o *StampLoginParams) SetHTTPClient(client *http.Client)
- func (o *StampLoginParams) SetTimeout(timeout time.Duration)
- func (o *StampLoginParams) WithBody(body *models.StampLoginRequest) *StampLoginParams
- func (o *StampLoginParams) WithContext(ctx context.Context) *StampLoginParams
- func (o *StampLoginParams) WithDefaults() *StampLoginParams
- func (o *StampLoginParams) WithHTTPClient(client *http.Client) *StampLoginParams
- func (o *StampLoginParams) WithTimeout(timeout time.Duration) *StampLoginParams
- func (o *StampLoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StampLoginReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for sessions API
func (*Client) CreateReadOnlySession ¶
func (a *Client) CreateReadOnlySession(params *CreateReadOnlySessionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateReadOnlySessionOK, error)
CreateReadOnlySession creates read only session
Create a read only session for a user (valid for 1 hour).
func (*Client) CreateReadWriteSession ¶
func (a *Client) CreateReadWriteSession(params *CreateReadWriteSessionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateReadWriteSessionOK, error)
CreateReadWriteSession creates read write session
Create a read write session for a user.
func (*Client) GetWhoami ¶
func (a *Client) GetWhoami(params *GetWhoamiParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetWhoamiOK, error)
GetWhoami whos am i
Get basic information about your current API or WebAuthN user and their organization. Affords sub-organization look ups via parent organization for WebAuthN or API key users.
func (*Client) OauthLogin ¶ added in v0.5.0
func (a *Client) OauthLogin(params *OauthLoginParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OauthLoginOK, error)
OauthLogin logins with oauth
Create an Oauth session for a user.
func (*Client) OtpLogin ¶ added in v0.5.0
func (a *Client) OtpLogin(params *OtpLoginParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OtpLoginOK, error)
OtpLogin logins with o t p
Create an OTP session for a user.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) StampLogin ¶ added in v0.5.0
func (a *Client) StampLogin(params *StampLoginParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StampLoginOK, error)
StampLogin logins with a stamp
Create a session for a user through stamping client side (API key, wallet client, or passkey client).
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface {
CreateReadOnlySession(params *CreateReadOnlySessionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateReadOnlySessionOK, error)
CreateReadWriteSession(params *CreateReadWriteSessionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateReadWriteSessionOK, error)
GetWhoami(params *GetWhoamiParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetWhoamiOK, error)
OauthLogin(params *OauthLoginParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OauthLoginOK, error)
OtpLogin(params *OtpLoginParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OtpLoginOK, error)
StampLogin(params *StampLoginParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StampLoginOK, 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 sessions API client.
type CreateReadOnlySessionOK ¶
type CreateReadOnlySessionOK struct {
Payload *models.ActivityResponse
}
CreateReadOnlySessionOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateReadOnlySessionOK ¶
func NewCreateReadOnlySessionOK() *CreateReadOnlySessionOK
NewCreateReadOnlySessionOK creates a CreateReadOnlySessionOK with default headers values
func (*CreateReadOnlySessionOK) Code ¶
func (o *CreateReadOnlySessionOK) Code() int
Code gets the status code for the create read only session o k response
func (*CreateReadOnlySessionOK) Error ¶
func (o *CreateReadOnlySessionOK) Error() string
func (*CreateReadOnlySessionOK) GetPayload ¶
func (o *CreateReadOnlySessionOK) GetPayload() *models.ActivityResponse
func (*CreateReadOnlySessionOK) IsClientError ¶
func (o *CreateReadOnlySessionOK) IsClientError() bool
IsClientError returns true when this create read only session o k response has a 4xx status code
func (*CreateReadOnlySessionOK) IsCode ¶
func (o *CreateReadOnlySessionOK) IsCode(code int) bool
IsCode returns true when this create read only session o k response a status code equal to that given
func (*CreateReadOnlySessionOK) IsRedirect ¶
func (o *CreateReadOnlySessionOK) IsRedirect() bool
IsRedirect returns true when this create read only session o k response has a 3xx status code
func (*CreateReadOnlySessionOK) IsServerError ¶
func (o *CreateReadOnlySessionOK) IsServerError() bool
IsServerError returns true when this create read only session o k response has a 5xx status code
func (*CreateReadOnlySessionOK) IsSuccess ¶
func (o *CreateReadOnlySessionOK) IsSuccess() bool
IsSuccess returns true when this create read only session o k response has a 2xx status code
func (*CreateReadOnlySessionOK) String ¶
func (o *CreateReadOnlySessionOK) String() string
type CreateReadOnlySessionParams ¶
type CreateReadOnlySessionParams struct {
// Body.
Body *models.CreateReadOnlySessionRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateReadOnlySessionParams contains all the parameters to send to the API endpoint
for the create read only session operation. Typically these are written to a http.Request.
func NewCreateReadOnlySessionParams ¶
func NewCreateReadOnlySessionParams() *CreateReadOnlySessionParams
NewCreateReadOnlySessionParams creates a new CreateReadOnlySessionParams 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 NewCreateReadOnlySessionParamsWithContext ¶
func NewCreateReadOnlySessionParamsWithContext(ctx context.Context) *CreateReadOnlySessionParams
NewCreateReadOnlySessionParamsWithContext creates a new CreateReadOnlySessionParams object with the ability to set a context for a request.
func NewCreateReadOnlySessionParamsWithHTTPClient ¶
func NewCreateReadOnlySessionParamsWithHTTPClient(client *http.Client) *CreateReadOnlySessionParams
NewCreateReadOnlySessionParamsWithHTTPClient creates a new CreateReadOnlySessionParams object with the ability to set a custom HTTPClient for a request.
func NewCreateReadOnlySessionParamsWithTimeout ¶
func NewCreateReadOnlySessionParamsWithTimeout(timeout time.Duration) *CreateReadOnlySessionParams
NewCreateReadOnlySessionParamsWithTimeout creates a new CreateReadOnlySessionParams object with the ability to set a timeout on a request.
func (*CreateReadOnlySessionParams) SetBody ¶
func (o *CreateReadOnlySessionParams) SetBody(body *models.CreateReadOnlySessionRequest)
SetBody adds the body to the create read only session params
func (*CreateReadOnlySessionParams) SetContext ¶
func (o *CreateReadOnlySessionParams) SetContext(ctx context.Context)
SetContext adds the context to the create read only session params
func (*CreateReadOnlySessionParams) SetDefaults ¶
func (o *CreateReadOnlySessionParams) SetDefaults()
SetDefaults hydrates default values in the create read only session params (not the query body).
All values with no default are reset to their zero value.
func (*CreateReadOnlySessionParams) SetHTTPClient ¶
func (o *CreateReadOnlySessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create read only session params
func (*CreateReadOnlySessionParams) SetTimeout ¶
func (o *CreateReadOnlySessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create read only session params
func (*CreateReadOnlySessionParams) WithBody ¶
func (o *CreateReadOnlySessionParams) WithBody(body *models.CreateReadOnlySessionRequest) *CreateReadOnlySessionParams
WithBody adds the body to the create read only session params
func (*CreateReadOnlySessionParams) WithContext ¶
func (o *CreateReadOnlySessionParams) WithContext(ctx context.Context) *CreateReadOnlySessionParams
WithContext adds the context to the create read only session params
func (*CreateReadOnlySessionParams) WithDefaults ¶
func (o *CreateReadOnlySessionParams) WithDefaults() *CreateReadOnlySessionParams
WithDefaults hydrates default values in the create read only session params (not the query body).
All values with no default are reset to their zero value.
func (*CreateReadOnlySessionParams) WithHTTPClient ¶
func (o *CreateReadOnlySessionParams) WithHTTPClient(client *http.Client) *CreateReadOnlySessionParams
WithHTTPClient adds the HTTPClient to the create read only session params
func (*CreateReadOnlySessionParams) WithTimeout ¶
func (o *CreateReadOnlySessionParams) WithTimeout(timeout time.Duration) *CreateReadOnlySessionParams
WithTimeout adds the timeout to the create read only session params
func (*CreateReadOnlySessionParams) WriteToRequest ¶
func (o *CreateReadOnlySessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateReadOnlySessionReader ¶
type CreateReadOnlySessionReader struct {
// contains filtered or unexported fields
}
CreateReadOnlySessionReader is a Reader for the CreateReadOnlySession structure.
func (*CreateReadOnlySessionReader) ReadResponse ¶
func (o *CreateReadOnlySessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateReadWriteSessionOK ¶
type CreateReadWriteSessionOK struct {
Payload *models.ActivityResponse
}
CreateReadWriteSessionOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateReadWriteSessionOK ¶
func NewCreateReadWriteSessionOK() *CreateReadWriteSessionOK
NewCreateReadWriteSessionOK creates a CreateReadWriteSessionOK with default headers values
func (*CreateReadWriteSessionOK) Code ¶
func (o *CreateReadWriteSessionOK) Code() int
Code gets the status code for the create read write session o k response
func (*CreateReadWriteSessionOK) Error ¶
func (o *CreateReadWriteSessionOK) Error() string
func (*CreateReadWriteSessionOK) GetPayload ¶
func (o *CreateReadWriteSessionOK) GetPayload() *models.ActivityResponse
func (*CreateReadWriteSessionOK) IsClientError ¶
func (o *CreateReadWriteSessionOK) IsClientError() bool
IsClientError returns true when this create read write session o k response has a 4xx status code
func (*CreateReadWriteSessionOK) IsCode ¶
func (o *CreateReadWriteSessionOK) IsCode(code int) bool
IsCode returns true when this create read write session o k response a status code equal to that given
func (*CreateReadWriteSessionOK) IsRedirect ¶
func (o *CreateReadWriteSessionOK) IsRedirect() bool
IsRedirect returns true when this create read write session o k response has a 3xx status code
func (*CreateReadWriteSessionOK) IsServerError ¶
func (o *CreateReadWriteSessionOK) IsServerError() bool
IsServerError returns true when this create read write session o k response has a 5xx status code
func (*CreateReadWriteSessionOK) IsSuccess ¶
func (o *CreateReadWriteSessionOK) IsSuccess() bool
IsSuccess returns true when this create read write session o k response has a 2xx status code
func (*CreateReadWriteSessionOK) String ¶
func (o *CreateReadWriteSessionOK) String() string
type CreateReadWriteSessionParams ¶
type CreateReadWriteSessionParams struct {
// Body.
Body *models.CreateReadWriteSessionRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateReadWriteSessionParams contains all the parameters to send to the API endpoint
for the create read write session operation. Typically these are written to a http.Request.
func NewCreateReadWriteSessionParams ¶
func NewCreateReadWriteSessionParams() *CreateReadWriteSessionParams
NewCreateReadWriteSessionParams creates a new CreateReadWriteSessionParams 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 NewCreateReadWriteSessionParamsWithContext ¶
func NewCreateReadWriteSessionParamsWithContext(ctx context.Context) *CreateReadWriteSessionParams
NewCreateReadWriteSessionParamsWithContext creates a new CreateReadWriteSessionParams object with the ability to set a context for a request.
func NewCreateReadWriteSessionParamsWithHTTPClient ¶
func NewCreateReadWriteSessionParamsWithHTTPClient(client *http.Client) *CreateReadWriteSessionParams
NewCreateReadWriteSessionParamsWithHTTPClient creates a new CreateReadWriteSessionParams object with the ability to set a custom HTTPClient for a request.
func NewCreateReadWriteSessionParamsWithTimeout ¶
func NewCreateReadWriteSessionParamsWithTimeout(timeout time.Duration) *CreateReadWriteSessionParams
NewCreateReadWriteSessionParamsWithTimeout creates a new CreateReadWriteSessionParams object with the ability to set a timeout on a request.
func (*CreateReadWriteSessionParams) SetBody ¶
func (o *CreateReadWriteSessionParams) SetBody(body *models.CreateReadWriteSessionRequest)
SetBody adds the body to the create read write session params
func (*CreateReadWriteSessionParams) SetContext ¶
func (o *CreateReadWriteSessionParams) SetContext(ctx context.Context)
SetContext adds the context to the create read write session params
func (*CreateReadWriteSessionParams) SetDefaults ¶
func (o *CreateReadWriteSessionParams) SetDefaults()
SetDefaults hydrates default values in the create read write session params (not the query body).
All values with no default are reset to their zero value.
func (*CreateReadWriteSessionParams) SetHTTPClient ¶
func (o *CreateReadWriteSessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create read write session params
func (*CreateReadWriteSessionParams) SetTimeout ¶
func (o *CreateReadWriteSessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create read write session params
func (*CreateReadWriteSessionParams) WithBody ¶
func (o *CreateReadWriteSessionParams) WithBody(body *models.CreateReadWriteSessionRequest) *CreateReadWriteSessionParams
WithBody adds the body to the create read write session params
func (*CreateReadWriteSessionParams) WithContext ¶
func (o *CreateReadWriteSessionParams) WithContext(ctx context.Context) *CreateReadWriteSessionParams
WithContext adds the context to the create read write session params
func (*CreateReadWriteSessionParams) WithDefaults ¶
func (o *CreateReadWriteSessionParams) WithDefaults() *CreateReadWriteSessionParams
WithDefaults hydrates default values in the create read write session params (not the query body).
All values with no default are reset to their zero value.
func (*CreateReadWriteSessionParams) WithHTTPClient ¶
func (o *CreateReadWriteSessionParams) WithHTTPClient(client *http.Client) *CreateReadWriteSessionParams
WithHTTPClient adds the HTTPClient to the create read write session params
func (*CreateReadWriteSessionParams) WithTimeout ¶
func (o *CreateReadWriteSessionParams) WithTimeout(timeout time.Duration) *CreateReadWriteSessionParams
WithTimeout adds the timeout to the create read write session params
func (*CreateReadWriteSessionParams) WriteToRequest ¶
func (o *CreateReadWriteSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateReadWriteSessionReader ¶
type CreateReadWriteSessionReader struct {
// contains filtered or unexported fields
}
CreateReadWriteSessionReader is a Reader for the CreateReadWriteSession structure.
func (*CreateReadWriteSessionReader) ReadResponse ¶
func (o *CreateReadWriteSessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetWhoamiOK ¶
type GetWhoamiOK struct {
Payload *models.GetWhoamiResponse
}
GetWhoamiOK describes a response with status code 200, with default header values.
A successful response.
func NewGetWhoamiOK ¶
func NewGetWhoamiOK() *GetWhoamiOK
NewGetWhoamiOK creates a GetWhoamiOK with default headers values
func (*GetWhoamiOK) Code ¶
func (o *GetWhoamiOK) Code() int
Code gets the status code for the get whoami o k response
func (*GetWhoamiOK) Error ¶
func (o *GetWhoamiOK) Error() string
func (*GetWhoamiOK) GetPayload ¶
func (o *GetWhoamiOK) GetPayload() *models.GetWhoamiResponse
func (*GetWhoamiOK) IsClientError ¶
func (o *GetWhoamiOK) IsClientError() bool
IsClientError returns true when this get whoami o k response has a 4xx status code
func (*GetWhoamiOK) IsCode ¶
func (o *GetWhoamiOK) IsCode(code int) bool
IsCode returns true when this get whoami o k response a status code equal to that given
func (*GetWhoamiOK) IsRedirect ¶
func (o *GetWhoamiOK) IsRedirect() bool
IsRedirect returns true when this get whoami o k response has a 3xx status code
func (*GetWhoamiOK) IsServerError ¶
func (o *GetWhoamiOK) IsServerError() bool
IsServerError returns true when this get whoami o k response has a 5xx status code
func (*GetWhoamiOK) IsSuccess ¶
func (o *GetWhoamiOK) IsSuccess() bool
IsSuccess returns true when this get whoami o k response has a 2xx status code
func (*GetWhoamiOK) String ¶
func (o *GetWhoamiOK) String() string
type GetWhoamiParams ¶
type GetWhoamiParams struct {
// Body.
Body *models.GetWhoamiRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetWhoamiParams contains all the parameters to send to the API endpoint
for the get whoami operation. Typically these are written to a http.Request.
func NewGetWhoamiParams ¶
func NewGetWhoamiParams() *GetWhoamiParams
NewGetWhoamiParams creates a new GetWhoamiParams 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 NewGetWhoamiParamsWithContext ¶
func NewGetWhoamiParamsWithContext(ctx context.Context) *GetWhoamiParams
NewGetWhoamiParamsWithContext creates a new GetWhoamiParams object with the ability to set a context for a request.
func NewGetWhoamiParamsWithHTTPClient ¶
func NewGetWhoamiParamsWithHTTPClient(client *http.Client) *GetWhoamiParams
NewGetWhoamiParamsWithHTTPClient creates a new GetWhoamiParams object with the ability to set a custom HTTPClient for a request.
func NewGetWhoamiParamsWithTimeout ¶
func NewGetWhoamiParamsWithTimeout(timeout time.Duration) *GetWhoamiParams
NewGetWhoamiParamsWithTimeout creates a new GetWhoamiParams object with the ability to set a timeout on a request.
func (*GetWhoamiParams) SetBody ¶
func (o *GetWhoamiParams) SetBody(body *models.GetWhoamiRequest)
SetBody adds the body to the get whoami params
func (*GetWhoamiParams) SetContext ¶
func (o *GetWhoamiParams) SetContext(ctx context.Context)
SetContext adds the context to the get whoami params
func (*GetWhoamiParams) SetDefaults ¶
func (o *GetWhoamiParams) SetDefaults()
SetDefaults hydrates default values in the get whoami params (not the query body).
All values with no default are reset to their zero value.
func (*GetWhoamiParams) SetHTTPClient ¶
func (o *GetWhoamiParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get whoami params
func (*GetWhoamiParams) SetTimeout ¶
func (o *GetWhoamiParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get whoami params
func (*GetWhoamiParams) WithBody ¶
func (o *GetWhoamiParams) WithBody(body *models.GetWhoamiRequest) *GetWhoamiParams
WithBody adds the body to the get whoami params
func (*GetWhoamiParams) WithContext ¶
func (o *GetWhoamiParams) WithContext(ctx context.Context) *GetWhoamiParams
WithContext adds the context to the get whoami params
func (*GetWhoamiParams) WithDefaults ¶
func (o *GetWhoamiParams) WithDefaults() *GetWhoamiParams
WithDefaults hydrates default values in the get whoami params (not the query body).
All values with no default are reset to their zero value.
func (*GetWhoamiParams) WithHTTPClient ¶
func (o *GetWhoamiParams) WithHTTPClient(client *http.Client) *GetWhoamiParams
WithHTTPClient adds the HTTPClient to the get whoami params
func (*GetWhoamiParams) WithTimeout ¶
func (o *GetWhoamiParams) WithTimeout(timeout time.Duration) *GetWhoamiParams
WithTimeout adds the timeout to the get whoami params
func (*GetWhoamiParams) WriteToRequest ¶
func (o *GetWhoamiParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetWhoamiReader ¶
type GetWhoamiReader struct {
// contains filtered or unexported fields
}
GetWhoamiReader is a Reader for the GetWhoami structure.
func (*GetWhoamiReader) ReadResponse ¶
func (o *GetWhoamiReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OauthLoginOK ¶ added in v0.5.0
type OauthLoginOK struct {
Payload *models.ActivityResponse
}
OauthLoginOK describes a response with status code 200, with default header values.
A successful response.
func NewOauthLoginOK ¶ added in v0.5.0
func NewOauthLoginOK() *OauthLoginOK
NewOauthLoginOK creates a OauthLoginOK with default headers values
func (*OauthLoginOK) Code ¶ added in v0.5.0
func (o *OauthLoginOK) Code() int
Code gets the status code for the oauth login o k response
func (*OauthLoginOK) Error ¶ added in v0.5.0
func (o *OauthLoginOK) Error() string
func (*OauthLoginOK) GetPayload ¶ added in v0.5.0
func (o *OauthLoginOK) GetPayload() *models.ActivityResponse
func (*OauthLoginOK) IsClientError ¶ added in v0.5.0
func (o *OauthLoginOK) IsClientError() bool
IsClientError returns true when this oauth login o k response has a 4xx status code
func (*OauthLoginOK) IsCode ¶ added in v0.5.0
func (o *OauthLoginOK) IsCode(code int) bool
IsCode returns true when this oauth login o k response a status code equal to that given
func (*OauthLoginOK) IsRedirect ¶ added in v0.5.0
func (o *OauthLoginOK) IsRedirect() bool
IsRedirect returns true when this oauth login o k response has a 3xx status code
func (*OauthLoginOK) IsServerError ¶ added in v0.5.0
func (o *OauthLoginOK) IsServerError() bool
IsServerError returns true when this oauth login o k response has a 5xx status code
func (*OauthLoginOK) IsSuccess ¶ added in v0.5.0
func (o *OauthLoginOK) IsSuccess() bool
IsSuccess returns true when this oauth login o k response has a 2xx status code
func (*OauthLoginOK) String ¶ added in v0.5.0
func (o *OauthLoginOK) String() string
type OauthLoginParams ¶ added in v0.5.0
type OauthLoginParams struct {
// Body.
Body *models.OauthLoginRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
OauthLoginParams contains all the parameters to send to the API endpoint
for the oauth login operation. Typically these are written to a http.Request.
func NewOauthLoginParams ¶ added in v0.5.0
func NewOauthLoginParams() *OauthLoginParams
NewOauthLoginParams creates a new OauthLoginParams 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 NewOauthLoginParamsWithContext ¶ added in v0.5.0
func NewOauthLoginParamsWithContext(ctx context.Context) *OauthLoginParams
NewOauthLoginParamsWithContext creates a new OauthLoginParams object with the ability to set a context for a request.
func NewOauthLoginParamsWithHTTPClient ¶ added in v0.5.0
func NewOauthLoginParamsWithHTTPClient(client *http.Client) *OauthLoginParams
NewOauthLoginParamsWithHTTPClient creates a new OauthLoginParams object with the ability to set a custom HTTPClient for a request.
func NewOauthLoginParamsWithTimeout ¶ added in v0.5.0
func NewOauthLoginParamsWithTimeout(timeout time.Duration) *OauthLoginParams
NewOauthLoginParamsWithTimeout creates a new OauthLoginParams object with the ability to set a timeout on a request.
func (*OauthLoginParams) SetBody ¶ added in v0.5.0
func (o *OauthLoginParams) SetBody(body *models.OauthLoginRequest)
SetBody adds the body to the oauth login params
func (*OauthLoginParams) SetContext ¶ added in v0.5.0
func (o *OauthLoginParams) SetContext(ctx context.Context)
SetContext adds the context to the oauth login params
func (*OauthLoginParams) SetDefaults ¶ added in v0.5.0
func (o *OauthLoginParams) SetDefaults()
SetDefaults hydrates default values in the oauth login params (not the query body).
All values with no default are reset to their zero value.
func (*OauthLoginParams) SetHTTPClient ¶ added in v0.5.0
func (o *OauthLoginParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the oauth login params
func (*OauthLoginParams) SetTimeout ¶ added in v0.5.0
func (o *OauthLoginParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the oauth login params
func (*OauthLoginParams) WithBody ¶ added in v0.5.0
func (o *OauthLoginParams) WithBody(body *models.OauthLoginRequest) *OauthLoginParams
WithBody adds the body to the oauth login params
func (*OauthLoginParams) WithContext ¶ added in v0.5.0
func (o *OauthLoginParams) WithContext(ctx context.Context) *OauthLoginParams
WithContext adds the context to the oauth login params
func (*OauthLoginParams) WithDefaults ¶ added in v0.5.0
func (o *OauthLoginParams) WithDefaults() *OauthLoginParams
WithDefaults hydrates default values in the oauth login params (not the query body).
All values with no default are reset to their zero value.
func (*OauthLoginParams) WithHTTPClient ¶ added in v0.5.0
func (o *OauthLoginParams) WithHTTPClient(client *http.Client) *OauthLoginParams
WithHTTPClient adds the HTTPClient to the oauth login params
func (*OauthLoginParams) WithTimeout ¶ added in v0.5.0
func (o *OauthLoginParams) WithTimeout(timeout time.Duration) *OauthLoginParams
WithTimeout adds the timeout to the oauth login params
func (*OauthLoginParams) WriteToRequest ¶ added in v0.5.0
func (o *OauthLoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OauthLoginReader ¶ added in v0.5.0
type OauthLoginReader struct {
// contains filtered or unexported fields
}
OauthLoginReader is a Reader for the OauthLogin structure.
func (*OauthLoginReader) ReadResponse ¶ added in v0.5.0
func (o *OauthLoginReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OtpLoginOK ¶ added in v0.5.0
type OtpLoginOK struct {
Payload *models.ActivityResponse
}
OtpLoginOK describes a response with status code 200, with default header values.
A successful response.
func NewOtpLoginOK ¶ added in v0.5.0
func NewOtpLoginOK() *OtpLoginOK
NewOtpLoginOK creates a OtpLoginOK with default headers values
func (*OtpLoginOK) Code ¶ added in v0.5.0
func (o *OtpLoginOK) Code() int
Code gets the status code for the otp login o k response
func (*OtpLoginOK) Error ¶ added in v0.5.0
func (o *OtpLoginOK) Error() string
func (*OtpLoginOK) GetPayload ¶ added in v0.5.0
func (o *OtpLoginOK) GetPayload() *models.ActivityResponse
func (*OtpLoginOK) IsClientError ¶ added in v0.5.0
func (o *OtpLoginOK) IsClientError() bool
IsClientError returns true when this otp login o k response has a 4xx status code
func (*OtpLoginOK) IsCode ¶ added in v0.5.0
func (o *OtpLoginOK) IsCode(code int) bool
IsCode returns true when this otp login o k response a status code equal to that given
func (*OtpLoginOK) IsRedirect ¶ added in v0.5.0
func (o *OtpLoginOK) IsRedirect() bool
IsRedirect returns true when this otp login o k response has a 3xx status code
func (*OtpLoginOK) IsServerError ¶ added in v0.5.0
func (o *OtpLoginOK) IsServerError() bool
IsServerError returns true when this otp login o k response has a 5xx status code
func (*OtpLoginOK) IsSuccess ¶ added in v0.5.0
func (o *OtpLoginOK) IsSuccess() bool
IsSuccess returns true when this otp login o k response has a 2xx status code
func (*OtpLoginOK) String ¶ added in v0.5.0
func (o *OtpLoginOK) String() string
type OtpLoginParams ¶ added in v0.5.0
type OtpLoginParams struct {
// Body.
Body *models.OtpLoginRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
OtpLoginParams contains all the parameters to send to the API endpoint
for the otp login operation. Typically these are written to a http.Request.
func NewOtpLoginParams ¶ added in v0.5.0
func NewOtpLoginParams() *OtpLoginParams
NewOtpLoginParams creates a new OtpLoginParams 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 NewOtpLoginParamsWithContext ¶ added in v0.5.0
func NewOtpLoginParamsWithContext(ctx context.Context) *OtpLoginParams
NewOtpLoginParamsWithContext creates a new OtpLoginParams object with the ability to set a context for a request.
func NewOtpLoginParamsWithHTTPClient ¶ added in v0.5.0
func NewOtpLoginParamsWithHTTPClient(client *http.Client) *OtpLoginParams
NewOtpLoginParamsWithHTTPClient creates a new OtpLoginParams object with the ability to set a custom HTTPClient for a request.
func NewOtpLoginParamsWithTimeout ¶ added in v0.5.0
func NewOtpLoginParamsWithTimeout(timeout time.Duration) *OtpLoginParams
NewOtpLoginParamsWithTimeout creates a new OtpLoginParams object with the ability to set a timeout on a request.
func (*OtpLoginParams) SetBody ¶ added in v0.5.0
func (o *OtpLoginParams) SetBody(body *models.OtpLoginRequest)
SetBody adds the body to the otp login params
func (*OtpLoginParams) SetContext ¶ added in v0.5.0
func (o *OtpLoginParams) SetContext(ctx context.Context)
SetContext adds the context to the otp login params
func (*OtpLoginParams) SetDefaults ¶ added in v0.5.0
func (o *OtpLoginParams) SetDefaults()
SetDefaults hydrates default values in the otp login params (not the query body).
All values with no default are reset to their zero value.
func (*OtpLoginParams) SetHTTPClient ¶ added in v0.5.0
func (o *OtpLoginParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the otp login params
func (*OtpLoginParams) SetTimeout ¶ added in v0.5.0
func (o *OtpLoginParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the otp login params
func (*OtpLoginParams) WithBody ¶ added in v0.5.0
func (o *OtpLoginParams) WithBody(body *models.OtpLoginRequest) *OtpLoginParams
WithBody adds the body to the otp login params
func (*OtpLoginParams) WithContext ¶ added in v0.5.0
func (o *OtpLoginParams) WithContext(ctx context.Context) *OtpLoginParams
WithContext adds the context to the otp login params
func (*OtpLoginParams) WithDefaults ¶ added in v0.5.0
func (o *OtpLoginParams) WithDefaults() *OtpLoginParams
WithDefaults hydrates default values in the otp login params (not the query body).
All values with no default are reset to their zero value.
func (*OtpLoginParams) WithHTTPClient ¶ added in v0.5.0
func (o *OtpLoginParams) WithHTTPClient(client *http.Client) *OtpLoginParams
WithHTTPClient adds the HTTPClient to the otp login params
func (*OtpLoginParams) WithTimeout ¶ added in v0.5.0
func (o *OtpLoginParams) WithTimeout(timeout time.Duration) *OtpLoginParams
WithTimeout adds the timeout to the otp login params
func (*OtpLoginParams) WriteToRequest ¶ added in v0.5.0
func (o *OtpLoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OtpLoginReader ¶ added in v0.5.0
type OtpLoginReader struct {
// contains filtered or unexported fields
}
OtpLoginReader is a Reader for the OtpLogin structure.
func (*OtpLoginReader) ReadResponse ¶ added in v0.5.0
func (o *OtpLoginReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StampLoginOK ¶ added in v0.5.0
type StampLoginOK struct {
Payload *models.ActivityResponse
}
StampLoginOK describes a response with status code 200, with default header values.
A successful response.
func NewStampLoginOK ¶ added in v0.5.0
func NewStampLoginOK() *StampLoginOK
NewStampLoginOK creates a StampLoginOK with default headers values
func (*StampLoginOK) Code ¶ added in v0.5.0
func (o *StampLoginOK) Code() int
Code gets the status code for the stamp login o k response
func (*StampLoginOK) Error ¶ added in v0.5.0
func (o *StampLoginOK) Error() string
func (*StampLoginOK) GetPayload ¶ added in v0.5.0
func (o *StampLoginOK) GetPayload() *models.ActivityResponse
func (*StampLoginOK) IsClientError ¶ added in v0.5.0
func (o *StampLoginOK) IsClientError() bool
IsClientError returns true when this stamp login o k response has a 4xx status code
func (*StampLoginOK) IsCode ¶ added in v0.5.0
func (o *StampLoginOK) IsCode(code int) bool
IsCode returns true when this stamp login o k response a status code equal to that given
func (*StampLoginOK) IsRedirect ¶ added in v0.5.0
func (o *StampLoginOK) IsRedirect() bool
IsRedirect returns true when this stamp login o k response has a 3xx status code
func (*StampLoginOK) IsServerError ¶ added in v0.5.0
func (o *StampLoginOK) IsServerError() bool
IsServerError returns true when this stamp login o k response has a 5xx status code
func (*StampLoginOK) IsSuccess ¶ added in v0.5.0
func (o *StampLoginOK) IsSuccess() bool
IsSuccess returns true when this stamp login o k response has a 2xx status code
func (*StampLoginOK) String ¶ added in v0.5.0
func (o *StampLoginOK) String() string
type StampLoginParams ¶ added in v0.5.0
type StampLoginParams struct {
// Body.
Body *models.StampLoginRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
StampLoginParams contains all the parameters to send to the API endpoint
for the stamp login operation. Typically these are written to a http.Request.
func NewStampLoginParams ¶ added in v0.5.0
func NewStampLoginParams() *StampLoginParams
NewStampLoginParams creates a new StampLoginParams 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 NewStampLoginParamsWithContext ¶ added in v0.5.0
func NewStampLoginParamsWithContext(ctx context.Context) *StampLoginParams
NewStampLoginParamsWithContext creates a new StampLoginParams object with the ability to set a context for a request.
func NewStampLoginParamsWithHTTPClient ¶ added in v0.5.0
func NewStampLoginParamsWithHTTPClient(client *http.Client) *StampLoginParams
NewStampLoginParamsWithHTTPClient creates a new StampLoginParams object with the ability to set a custom HTTPClient for a request.
func NewStampLoginParamsWithTimeout ¶ added in v0.5.0
func NewStampLoginParamsWithTimeout(timeout time.Duration) *StampLoginParams
NewStampLoginParamsWithTimeout creates a new StampLoginParams object with the ability to set a timeout on a request.
func (*StampLoginParams) SetBody ¶ added in v0.5.0
func (o *StampLoginParams) SetBody(body *models.StampLoginRequest)
SetBody adds the body to the stamp login params
func (*StampLoginParams) SetContext ¶ added in v0.5.0
func (o *StampLoginParams) SetContext(ctx context.Context)
SetContext adds the context to the stamp login params
func (*StampLoginParams) SetDefaults ¶ added in v0.5.0
func (o *StampLoginParams) SetDefaults()
SetDefaults hydrates default values in the stamp login params (not the query body).
All values with no default are reset to their zero value.
func (*StampLoginParams) SetHTTPClient ¶ added in v0.5.0
func (o *StampLoginParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stamp login params
func (*StampLoginParams) SetTimeout ¶ added in v0.5.0
func (o *StampLoginParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stamp login params
func (*StampLoginParams) WithBody ¶ added in v0.5.0
func (o *StampLoginParams) WithBody(body *models.StampLoginRequest) *StampLoginParams
WithBody adds the body to the stamp login params
func (*StampLoginParams) WithContext ¶ added in v0.5.0
func (o *StampLoginParams) WithContext(ctx context.Context) *StampLoginParams
WithContext adds the context to the stamp login params
func (*StampLoginParams) WithDefaults ¶ added in v0.5.0
func (o *StampLoginParams) WithDefaults() *StampLoginParams
WithDefaults hydrates default values in the stamp login params (not the query body).
All values with no default are reset to their zero value.
func (*StampLoginParams) WithHTTPClient ¶ added in v0.5.0
func (o *StampLoginParams) WithHTTPClient(client *http.Client) *StampLoginParams
WithHTTPClient adds the HTTPClient to the stamp login params
func (*StampLoginParams) WithTimeout ¶ added in v0.5.0
func (o *StampLoginParams) WithTimeout(timeout time.Duration) *StampLoginParams
WithTimeout adds the timeout to the stamp login params
func (*StampLoginParams) WriteToRequest ¶ added in v0.5.0
func (o *StampLoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StampLoginReader ¶ added in v0.5.0
type StampLoginReader struct {
// contains filtered or unexported fields
}
StampLoginReader is a Reader for the StampLogin structure.
func (*StampLoginReader) ReadResponse ¶ added in v0.5.0
func (o *StampLoginReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_read_only_session_parameters.go
- create_read_only_session_responses.go
- create_read_write_session_parameters.go
- create_read_write_session_responses.go
- get_whoami_parameters.go
- get_whoami_responses.go
- oauth_login_parameters.go
- oauth_login_responses.go
- otp_login_parameters.go
- otp_login_responses.go
- sessions_client.go
- stamp_login_parameters.go
- stamp_login_responses.go