Documentation ¶
Index ¶
- type Client
- type ClientService
- type GetAccessTokenUsingPOSTCreated
- type GetAccessTokenUsingPOSTForbidden
- type GetAccessTokenUsingPOSTNotFound
- type GetAccessTokenUsingPOSTOK
- type GetAccessTokenUsingPOSTParams
- func NewGetAccessTokenUsingPOSTParams() *GetAccessTokenUsingPOSTParams
- func NewGetAccessTokenUsingPOSTParamsWithContext(ctx context.Context) *GetAccessTokenUsingPOSTParams
- func NewGetAccessTokenUsingPOSTParamsWithHTTPClient(client *http.Client) *GetAccessTokenUsingPOSTParams
- func NewGetAccessTokenUsingPOSTParamsWithTimeout(timeout time.Duration) *GetAccessTokenUsingPOSTParams
- func (o *GetAccessTokenUsingPOSTParams) SetContext(ctx context.Context)
- func (o *GetAccessTokenUsingPOSTParams) SetHTTPClient(client *http.Client)
- func (o *GetAccessTokenUsingPOSTParams) SetRequest(request *models.GetAccessTokenRequest)
- func (o *GetAccessTokenUsingPOSTParams) SetTimeout(timeout time.Duration)
- func (o *GetAccessTokenUsingPOSTParams) WithContext(ctx context.Context) *GetAccessTokenUsingPOSTParams
- func (o *GetAccessTokenUsingPOSTParams) WithHTTPClient(client *http.Client) *GetAccessTokenUsingPOSTParams
- func (o *GetAccessTokenUsingPOSTParams) WithRequest(request *models.GetAccessTokenRequest) *GetAccessTokenUsingPOSTParams
- func (o *GetAccessTokenUsingPOSTParams) WithTimeout(timeout time.Duration) *GetAccessTokenUsingPOSTParams
- func (o *GetAccessTokenUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccessTokenUsingPOSTReader
- type GetAccessTokenUsingPOSTUnauthorized
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 token controller API
func (*Client) GetAccessTokenUsingPOST ¶
func (a *Client) GetAccessTokenUsingPOST(params *GetAccessTokenUsingPOSTParams) (*GetAccessTokenUsingPOSTOK, *GetAccessTokenUsingPOSTCreated, error)
GetAccessTokenUsingPOST gets token
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetAccessTokenUsingPOST(params *GetAccessTokenUsingPOSTParams) (*GetAccessTokenUsingPOSTOK, *GetAccessTokenUsingPOSTCreated, 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 token controller API client.
type GetAccessTokenUsingPOSTCreated ¶
type GetAccessTokenUsingPOSTCreated struct { }
GetAccessTokenUsingPOSTCreated handles this case with default header values.
Created
func NewGetAccessTokenUsingPOSTCreated ¶
func NewGetAccessTokenUsingPOSTCreated() *GetAccessTokenUsingPOSTCreated
NewGetAccessTokenUsingPOSTCreated creates a GetAccessTokenUsingPOSTCreated with default headers values
func (*GetAccessTokenUsingPOSTCreated) Error ¶
func (o *GetAccessTokenUsingPOSTCreated) Error() string
type GetAccessTokenUsingPOSTForbidden ¶
type GetAccessTokenUsingPOSTForbidden struct { }
GetAccessTokenUsingPOSTForbidden handles this case with default header values.
Forbidden
func NewGetAccessTokenUsingPOSTForbidden ¶
func NewGetAccessTokenUsingPOSTForbidden() *GetAccessTokenUsingPOSTForbidden
NewGetAccessTokenUsingPOSTForbidden creates a GetAccessTokenUsingPOSTForbidden with default headers values
func (*GetAccessTokenUsingPOSTForbidden) Error ¶
func (o *GetAccessTokenUsingPOSTForbidden) Error() string
type GetAccessTokenUsingPOSTNotFound ¶
type GetAccessTokenUsingPOSTNotFound struct { }
GetAccessTokenUsingPOSTNotFound handles this case with default header values.
Not Found
func NewGetAccessTokenUsingPOSTNotFound ¶
func NewGetAccessTokenUsingPOSTNotFound() *GetAccessTokenUsingPOSTNotFound
NewGetAccessTokenUsingPOSTNotFound creates a GetAccessTokenUsingPOSTNotFound with default headers values
func (*GetAccessTokenUsingPOSTNotFound) Error ¶
func (o *GetAccessTokenUsingPOSTNotFound) Error() string
type GetAccessTokenUsingPOSTOK ¶
type GetAccessTokenUsingPOSTOK struct {
Payload *models.ResponseWrapperGetAccessTokenResponse
}
GetAccessTokenUsingPOSTOK handles this case with default header values.
OK
func NewGetAccessTokenUsingPOSTOK ¶
func NewGetAccessTokenUsingPOSTOK() *GetAccessTokenUsingPOSTOK
NewGetAccessTokenUsingPOSTOK creates a GetAccessTokenUsingPOSTOK with default headers values
func (*GetAccessTokenUsingPOSTOK) Error ¶
func (o *GetAccessTokenUsingPOSTOK) Error() string
func (*GetAccessTokenUsingPOSTOK) GetPayload ¶
func (o *GetAccessTokenUsingPOSTOK) GetPayload() *models.ResponseWrapperGetAccessTokenResponse
type GetAccessTokenUsingPOSTParams ¶
type GetAccessTokenUsingPOSTParams struct { /*Request request */ Request *models.GetAccessTokenRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAccessTokenUsingPOSTParams contains all the parameters to send to the API endpoint for the get access token using p o s t operation typically these are written to a http.Request
func NewGetAccessTokenUsingPOSTParams ¶
func NewGetAccessTokenUsingPOSTParams() *GetAccessTokenUsingPOSTParams
NewGetAccessTokenUsingPOSTParams creates a new GetAccessTokenUsingPOSTParams object with the default values initialized.
func NewGetAccessTokenUsingPOSTParamsWithContext ¶
func NewGetAccessTokenUsingPOSTParamsWithContext(ctx context.Context) *GetAccessTokenUsingPOSTParams
NewGetAccessTokenUsingPOSTParamsWithContext creates a new GetAccessTokenUsingPOSTParams object with the default values initialized, and the ability to set a context for a request
func NewGetAccessTokenUsingPOSTParamsWithHTTPClient ¶
func NewGetAccessTokenUsingPOSTParamsWithHTTPClient(client *http.Client) *GetAccessTokenUsingPOSTParams
NewGetAccessTokenUsingPOSTParamsWithHTTPClient creates a new GetAccessTokenUsingPOSTParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAccessTokenUsingPOSTParamsWithTimeout ¶
func NewGetAccessTokenUsingPOSTParamsWithTimeout(timeout time.Duration) *GetAccessTokenUsingPOSTParams
NewGetAccessTokenUsingPOSTParamsWithTimeout creates a new GetAccessTokenUsingPOSTParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAccessTokenUsingPOSTParams) SetContext ¶
func (o *GetAccessTokenUsingPOSTParams) SetContext(ctx context.Context)
SetContext adds the context to the get access token using p o s t params
func (*GetAccessTokenUsingPOSTParams) SetHTTPClient ¶
func (o *GetAccessTokenUsingPOSTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get access token using p o s t params
func (*GetAccessTokenUsingPOSTParams) SetRequest ¶
func (o *GetAccessTokenUsingPOSTParams) SetRequest(request *models.GetAccessTokenRequest)
SetRequest adds the request to the get access token using p o s t params
func (*GetAccessTokenUsingPOSTParams) SetTimeout ¶
func (o *GetAccessTokenUsingPOSTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get access token using p o s t params
func (*GetAccessTokenUsingPOSTParams) WithContext ¶
func (o *GetAccessTokenUsingPOSTParams) WithContext(ctx context.Context) *GetAccessTokenUsingPOSTParams
WithContext adds the context to the get access token using p o s t params
func (*GetAccessTokenUsingPOSTParams) WithHTTPClient ¶
func (o *GetAccessTokenUsingPOSTParams) WithHTTPClient(client *http.Client) *GetAccessTokenUsingPOSTParams
WithHTTPClient adds the HTTPClient to the get access token using p o s t params
func (*GetAccessTokenUsingPOSTParams) WithRequest ¶
func (o *GetAccessTokenUsingPOSTParams) WithRequest(request *models.GetAccessTokenRequest) *GetAccessTokenUsingPOSTParams
WithRequest adds the request to the get access token using p o s t params
func (*GetAccessTokenUsingPOSTParams) WithTimeout ¶
func (o *GetAccessTokenUsingPOSTParams) WithTimeout(timeout time.Duration) *GetAccessTokenUsingPOSTParams
WithTimeout adds the timeout to the get access token using p o s t params
func (*GetAccessTokenUsingPOSTParams) WriteToRequest ¶
func (o *GetAccessTokenUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAccessTokenUsingPOSTReader ¶
type GetAccessTokenUsingPOSTReader struct {
// contains filtered or unexported fields
}
GetAccessTokenUsingPOSTReader is a Reader for the GetAccessTokenUsingPOST structure.
func (*GetAccessTokenUsingPOSTReader) ReadResponse ¶
func (o *GetAccessTokenUsingPOSTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAccessTokenUsingPOSTUnauthorized ¶
type GetAccessTokenUsingPOSTUnauthorized struct { }
GetAccessTokenUsingPOSTUnauthorized handles this case with default header values.
Unauthorized
func NewGetAccessTokenUsingPOSTUnauthorized ¶
func NewGetAccessTokenUsingPOSTUnauthorized() *GetAccessTokenUsingPOSTUnauthorized
NewGetAccessTokenUsingPOSTUnauthorized creates a GetAccessTokenUsingPOSTUnauthorized with default headers values
func (*GetAccessTokenUsingPOSTUnauthorized) Error ¶
func (o *GetAccessTokenUsingPOSTUnauthorized) Error() string