Documentation ¶
Index ¶
- type Client
- type PublicUserLoginPostOK
- type PublicUserLoginPostParams
- func NewPublicUserLoginPostParams() *PublicUserLoginPostParams
- func NewPublicUserLoginPostParamsWithContext(ctx context.Context) *PublicUserLoginPostParams
- func NewPublicUserLoginPostParamsWithHTTPClient(client *http.Client) *PublicUserLoginPostParams
- func NewPublicUserLoginPostParamsWithTimeout(timeout time.Duration) *PublicUserLoginPostParams
- func (o *PublicUserLoginPostParams) SetBody(body *models.LoginRequest)
- func (o *PublicUserLoginPostParams) SetContentType(contentType string)
- func (o *PublicUserLoginPostParams) SetContext(ctx context.Context)
- func (o *PublicUserLoginPostParams) SetHTTPClient(client *http.Client)
- func (o *PublicUserLoginPostParams) SetTimeout(timeout time.Duration)
- func (o *PublicUserLoginPostParams) WithBody(body *models.LoginRequest) *PublicUserLoginPostParams
- func (o *PublicUserLoginPostParams) WithContentType(contentType string) *PublicUserLoginPostParams
- func (o *PublicUserLoginPostParams) WithContext(ctx context.Context) *PublicUserLoginPostParams
- func (o *PublicUserLoginPostParams) WithHTTPClient(client *http.Client) *PublicUserLoginPostParams
- func (o *PublicUserLoginPostParams) WithTimeout(timeout time.Duration) *PublicUserLoginPostParams
- func (o *PublicUserLoginPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicUserLoginPostReader
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 users API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new users API client.
func (*Client) PublicUserLoginPost ¶
func (a *Client) PublicUserLoginPost(params *PublicUserLoginPostParams) (*PublicUserLoginPostOK, error)
PublicUserLoginPost logins
Authenticate User, returns X-Auth-Token
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type PublicUserLoginPostOK ¶
type PublicUserLoginPostOK struct { AccessControlAllowHeaders string AccessControlAllowMethods string AccessControlAllowOrigin string ContentLength string Date string Server string Payload *models.OriginalAuth }
PublicUserLoginPostOK handles this case with default header values.
PublicUserLoginPostOK public user login post o k
func NewPublicUserLoginPostOK ¶
func NewPublicUserLoginPostOK() *PublicUserLoginPostOK
NewPublicUserLoginPostOK creates a PublicUserLoginPostOK with default headers values
func (*PublicUserLoginPostOK) Error ¶
func (o *PublicUserLoginPostOK) Error() string
type PublicUserLoginPostParams ¶
type PublicUserLoginPostParams struct { /*Body*/ Body *models.LoginRequest /*ContentType*/ ContentType string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicUserLoginPostParams contains all the parameters to send to the API endpoint for the public user login post operation typically these are written to a http.Request
func NewPublicUserLoginPostParams ¶
func NewPublicUserLoginPostParams() *PublicUserLoginPostParams
NewPublicUserLoginPostParams creates a new PublicUserLoginPostParams object with the default values initialized.
func NewPublicUserLoginPostParamsWithContext ¶
func NewPublicUserLoginPostParamsWithContext(ctx context.Context) *PublicUserLoginPostParams
NewPublicUserLoginPostParamsWithContext creates a new PublicUserLoginPostParams object with the default values initialized, and the ability to set a context for a request
func NewPublicUserLoginPostParamsWithHTTPClient ¶
func NewPublicUserLoginPostParamsWithHTTPClient(client *http.Client) *PublicUserLoginPostParams
NewPublicUserLoginPostParamsWithHTTPClient creates a new PublicUserLoginPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicUserLoginPostParamsWithTimeout ¶
func NewPublicUserLoginPostParamsWithTimeout(timeout time.Duration) *PublicUserLoginPostParams
NewPublicUserLoginPostParamsWithTimeout creates a new PublicUserLoginPostParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicUserLoginPostParams) SetBody ¶
func (o *PublicUserLoginPostParams) SetBody(body *models.LoginRequest)
SetBody adds the body to the public user login post params
func (*PublicUserLoginPostParams) SetContentType ¶
func (o *PublicUserLoginPostParams) SetContentType(contentType string)
SetContentType adds the contentType to the public user login post params
func (*PublicUserLoginPostParams) SetContext ¶
func (o *PublicUserLoginPostParams) SetContext(ctx context.Context)
SetContext adds the context to the public user login post params
func (*PublicUserLoginPostParams) SetHTTPClient ¶
func (o *PublicUserLoginPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public user login post params
func (*PublicUserLoginPostParams) SetTimeout ¶
func (o *PublicUserLoginPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public user login post params
func (*PublicUserLoginPostParams) WithBody ¶
func (o *PublicUserLoginPostParams) WithBody(body *models.LoginRequest) *PublicUserLoginPostParams
WithBody adds the body to the public user login post params
func (*PublicUserLoginPostParams) WithContentType ¶
func (o *PublicUserLoginPostParams) WithContentType(contentType string) *PublicUserLoginPostParams
WithContentType adds the contentType to the public user login post params
func (*PublicUserLoginPostParams) WithContext ¶
func (o *PublicUserLoginPostParams) WithContext(ctx context.Context) *PublicUserLoginPostParams
WithContext adds the context to the public user login post params
func (*PublicUserLoginPostParams) WithHTTPClient ¶
func (o *PublicUserLoginPostParams) WithHTTPClient(client *http.Client) *PublicUserLoginPostParams
WithHTTPClient adds the HTTPClient to the public user login post params
func (*PublicUserLoginPostParams) WithTimeout ¶
func (o *PublicUserLoginPostParams) WithTimeout(timeout time.Duration) *PublicUserLoginPostParams
WithTimeout adds the timeout to the public user login post params
func (*PublicUserLoginPostParams) WriteToRequest ¶
func (o *PublicUserLoginPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicUserLoginPostReader ¶
type PublicUserLoginPostReader struct {
// contains filtered or unexported fields
}
PublicUserLoginPostReader is a Reader for the PublicUserLoginPost structure.
func (*PublicUserLoginPostReader) ReadResponse ¶
func (o *PublicUserLoginPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.