v_id_m

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 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 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 (*GetTokenUsingPOSTBadRequest) GetPayload added in v1.2.0

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

WithContext adds the context to the get token using p o s t params

func (*GetTokenUsingPOSTParams) WithDefaults added in v1.2.4

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

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

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.

Jump to

Keyboard shortcuts

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