users

package
v0.0.0-...-dff6c84 Latest Latest
Warning

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

Go to latest
Published: May 15, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

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

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

WithTimeout adds the timeout to the public user login post params

func (*PublicUserLoginPostParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL