Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetTokenUsingPOSTBadRequest
- type GetTokenUsingPOSTOK
- type GetTokenUsingPOSTParams
- func NewGetTokenUsingPOSTParams() *GetTokenUsingPOSTParams
- func NewGetTokenUsingPOSTParamsWithContext(ctx context.Context) *GetTokenUsingPOSTParams
- func NewGetTokenUsingPOSTParamsWithHTTPClient(client *http.Client) *GetTokenUsingPOSTParams
- func NewGetTokenUsingPOSTParamsWithTimeout(timeout time.Duration) *GetTokenUsingPOSTParams
- func (o *GetTokenUsingPOSTParams) SetContext(ctx context.Context)
- func (o *GetTokenUsingPOSTParams) SetDefaults()
- func (o *GetTokenUsingPOSTParams) SetHTTPClient(client *http.Client)
- func (o *GetTokenUsingPOSTParams) SetTimeout(timeout time.Duration)
- func (o *GetTokenUsingPOSTParams) SetVidmTokenRequest(vidmTokenRequest *models.VIDMTokenRequest)
- func (o *GetTokenUsingPOSTParams) WithContext(ctx context.Context) *GetTokenUsingPOSTParams
- func (o *GetTokenUsingPOSTParams) WithDefaults() *GetTokenUsingPOSTParams
- func (o *GetTokenUsingPOSTParams) WithHTTPClient(client *http.Client) *GetTokenUsingPOSTParams
- func (o *GetTokenUsingPOSTParams) WithTimeout(timeout time.Duration) *GetTokenUsingPOSTParams
- func (o *GetTokenUsingPOSTParams) WithVidmTokenRequest(vidmTokenRequest *models.VIDMTokenRequest) *GetTokenUsingPOSTParams
- func (o *GetTokenUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTokenUsingPOSTReader
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 v id m API
func (*Client) GetTokenUsingPOST ¶
func (a *Client) GetTokenUsingPOST(params *GetTokenUsingPOSTParams, opts ...ClientOption) (*GetTokenUsingPOSTOK, error)
GetTokenUsingPOST gets
Generate authorization token
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v1.2.4
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetTokenUsingPOST(params *GetTokenUsingPOSTParams, opts ...ClientOption) (*GetTokenUsingPOSTOK, 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 v id m API client.
type GetTokenUsingPOSTBadRequest ¶
type GetTokenUsingPOSTBadRequest struct {
Payload *models.ProxyResponseMessage
}
GetTokenUsingPOSTBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewGetTokenUsingPOSTBadRequest ¶
func NewGetTokenUsingPOSTBadRequest() *GetTokenUsingPOSTBadRequest
NewGetTokenUsingPOSTBadRequest creates a GetTokenUsingPOSTBadRequest with default headers values
func (*GetTokenUsingPOSTBadRequest) Error ¶
func (o *GetTokenUsingPOSTBadRequest) Error() string
func (*GetTokenUsingPOSTBadRequest) GetPayload ¶ added in v1.2.0
func (o *GetTokenUsingPOSTBadRequest) GetPayload() *models.ProxyResponseMessage
type GetTokenUsingPOSTOK ¶
type GetTokenUsingPOSTOK struct {
Payload *models.VIDMTokenResponse
}
GetTokenUsingPOSTOK describes a response with status code 200, with default header values.
OK
func NewGetTokenUsingPOSTOK ¶
func NewGetTokenUsingPOSTOK() *GetTokenUsingPOSTOK
NewGetTokenUsingPOSTOK creates a GetTokenUsingPOSTOK with default headers values
func (*GetTokenUsingPOSTOK) Error ¶
func (o *GetTokenUsingPOSTOK) Error() string
func (*GetTokenUsingPOSTOK) GetPayload ¶
func (o *GetTokenUsingPOSTOK) GetPayload() *models.VIDMTokenResponse
type GetTokenUsingPOSTParams ¶
type GetTokenUsingPOSTParams struct { /* VidmTokenRequest. vidmTokenRequest */ VidmTokenRequest *models.VIDMTokenRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTokenUsingPOSTParams contains all the parameters to send to the API endpoint
for the get token using p o s t operation. Typically these are written to a http.Request.
func NewGetTokenUsingPOSTParams ¶
func NewGetTokenUsingPOSTParams() *GetTokenUsingPOSTParams
NewGetTokenUsingPOSTParams creates a new GetTokenUsingPOSTParams 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 NewGetTokenUsingPOSTParamsWithContext ¶
func NewGetTokenUsingPOSTParamsWithContext(ctx context.Context) *GetTokenUsingPOSTParams
NewGetTokenUsingPOSTParamsWithContext creates a new GetTokenUsingPOSTParams object with the ability to set a context for a request.
func NewGetTokenUsingPOSTParamsWithHTTPClient ¶
func NewGetTokenUsingPOSTParamsWithHTTPClient(client *http.Client) *GetTokenUsingPOSTParams
NewGetTokenUsingPOSTParamsWithHTTPClient creates a new GetTokenUsingPOSTParams object with the ability to set a custom HTTPClient for a request.
func NewGetTokenUsingPOSTParamsWithTimeout ¶
func NewGetTokenUsingPOSTParamsWithTimeout(timeout time.Duration) *GetTokenUsingPOSTParams
NewGetTokenUsingPOSTParamsWithTimeout creates a new GetTokenUsingPOSTParams object with the ability to set a timeout on a request.
func (*GetTokenUsingPOSTParams) SetContext ¶
func (o *GetTokenUsingPOSTParams) SetContext(ctx context.Context)
SetContext adds the context to the get token using p o s t params
func (*GetTokenUsingPOSTParams) SetDefaults ¶ added in v1.2.4
func (o *GetTokenUsingPOSTParams) SetDefaults()
SetDefaults hydrates default values in the get token using p o s t params (not the query body).
All values with no default are reset to their zero value.
func (*GetTokenUsingPOSTParams) SetHTTPClient ¶
func (o *GetTokenUsingPOSTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get token using p o s t params
func (*GetTokenUsingPOSTParams) SetTimeout ¶
func (o *GetTokenUsingPOSTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get token using p o s t params
func (*GetTokenUsingPOSTParams) SetVidmTokenRequest ¶
func (o *GetTokenUsingPOSTParams) SetVidmTokenRequest(vidmTokenRequest *models.VIDMTokenRequest)
SetVidmTokenRequest adds the vidmTokenRequest to the get token using p o s t params
func (*GetTokenUsingPOSTParams) WithContext ¶
func (o *GetTokenUsingPOSTParams) WithContext(ctx context.Context) *GetTokenUsingPOSTParams
WithContext adds the context to the get token using p o s t params
func (*GetTokenUsingPOSTParams) WithDefaults ¶ added in v1.2.4
func (o *GetTokenUsingPOSTParams) WithDefaults() *GetTokenUsingPOSTParams
WithDefaults hydrates default values in the get token using p o s t params (not the query body).
All values with no default are reset to their zero value.
func (*GetTokenUsingPOSTParams) WithHTTPClient ¶
func (o *GetTokenUsingPOSTParams) WithHTTPClient(client *http.Client) *GetTokenUsingPOSTParams
WithHTTPClient adds the HTTPClient to the get token using p o s t params
func (*GetTokenUsingPOSTParams) WithTimeout ¶
func (o *GetTokenUsingPOSTParams) WithTimeout(timeout time.Duration) *GetTokenUsingPOSTParams
WithTimeout adds the timeout to the get token using p o s t params
func (*GetTokenUsingPOSTParams) WithVidmTokenRequest ¶
func (o *GetTokenUsingPOSTParams) WithVidmTokenRequest(vidmTokenRequest *models.VIDMTokenRequest) *GetTokenUsingPOSTParams
WithVidmTokenRequest adds the vidmTokenRequest to the get token using p o s t params
func (*GetTokenUsingPOSTParams) WriteToRequest ¶
func (o *GetTokenUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTokenUsingPOSTReader ¶
type GetTokenUsingPOSTReader struct {
// contains filtered or unexported fields
}
GetTokenUsingPOSTReader is a Reader for the GetTokenUsingPOST structure.
func (*GetTokenUsingPOSTReader) ReadResponse ¶
func (o *GetTokenUsingPOSTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.