Documentation
¶
Index ¶
- type Client
- func (a *Client) GetSvtImages(params *GetSvtImagesParams, opts ...ClientOption) (*GetSvtImagesOK, error)
- func (a *Client) GetSvtImagesConnection(params *GetSvtImagesConnectionParams, opts ...ClientOption) (*GetSvtImagesConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetSvtImagesBadRequest
- type GetSvtImagesConnectionBadRequest
- type GetSvtImagesConnectionOK
- type GetSvtImagesConnectionParams
- func NewGetSvtImagesConnectionParams() *GetSvtImagesConnectionParams
- func NewGetSvtImagesConnectionParamsWithContext(ctx context.Context) *GetSvtImagesConnectionParams
- func NewGetSvtImagesConnectionParamsWithHTTPClient(client *http.Client) *GetSvtImagesConnectionParams
- func NewGetSvtImagesConnectionParamsWithTimeout(timeout time.Duration) *GetSvtImagesConnectionParams
- func (o *GetSvtImagesConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetSvtImagesConnectionParams) SetContext(ctx context.Context)
- func (o *GetSvtImagesConnectionParams) SetDefaults()
- func (o *GetSvtImagesConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetSvtImagesConnectionParams) SetRequestBody(requestBody *models.GetSvtImagesConnectionRequestBody)
- func (o *GetSvtImagesConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetSvtImagesConnectionParams) WithContentLanguage(contentLanguage *string) *GetSvtImagesConnectionParams
- func (o *GetSvtImagesConnectionParams) WithContext(ctx context.Context) *GetSvtImagesConnectionParams
- func (o *GetSvtImagesConnectionParams) WithDefaults() *GetSvtImagesConnectionParams
- func (o *GetSvtImagesConnectionParams) WithHTTPClient(client *http.Client) *GetSvtImagesConnectionParams
- func (o *GetSvtImagesConnectionParams) WithRequestBody(requestBody *models.GetSvtImagesConnectionRequestBody) *GetSvtImagesConnectionParams
- func (o *GetSvtImagesConnectionParams) WithTimeout(timeout time.Duration) *GetSvtImagesConnectionParams
- func (o *GetSvtImagesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSvtImagesConnectionReader
- type GetSvtImagesOK
- type GetSvtImagesParams
- func (o *GetSvtImagesParams) SetContentLanguage(contentLanguage *string)
- func (o *GetSvtImagesParams) SetContext(ctx context.Context)
- func (o *GetSvtImagesParams) SetDefaults()
- func (o *GetSvtImagesParams) SetHTTPClient(client *http.Client)
- func (o *GetSvtImagesParams) SetRequestBody(requestBody *models.GetSvtImagesRequestBody)
- func (o *GetSvtImagesParams) SetTimeout(timeout time.Duration)
- func (o *GetSvtImagesParams) WithContentLanguage(contentLanguage *string) *GetSvtImagesParams
- func (o *GetSvtImagesParams) WithContext(ctx context.Context) *GetSvtImagesParams
- func (o *GetSvtImagesParams) WithDefaults() *GetSvtImagesParams
- func (o *GetSvtImagesParams) WithHTTPClient(client *http.Client) *GetSvtImagesParams
- func (o *GetSvtImagesParams) WithRequestBody(requestBody *models.GetSvtImagesRequestBody) *GetSvtImagesParams
- func (o *GetSvtImagesParams) WithTimeout(timeout time.Duration) *GetSvtImagesParams
- func (o *GetSvtImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSvtImagesReader
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 svt image API
func (*Client) GetSvtImages ¶
func (a *Client) GetSvtImages(params *GetSvtImagesParams, opts ...ClientOption) (*GetSvtImagesOK, error)
GetSvtImages get svt images API
func (*Client) GetSvtImagesConnection ¶
func (a *Client) GetSvtImagesConnection(params *GetSvtImagesConnectionParams, opts ...ClientOption) (*GetSvtImagesConnectionOK, error)
GetSvtImagesConnection get svt images connection API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetSvtImages(params *GetSvtImagesParams, opts ...ClientOption) (*GetSvtImagesOK, error) GetSvtImagesConnection(params *GetSvtImagesConnectionParams, opts ...ClientOption) (*GetSvtImagesConnectionOK, 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 svt image API client.
type GetSvtImagesBadRequest ¶
type GetSvtImagesBadRequest struct {
Payload string
}
GetSvtImagesBadRequest describes a response with status code 400, with default header values.
GetSvtImagesBadRequest get svt images bad request
func NewGetSvtImagesBadRequest ¶
func NewGetSvtImagesBadRequest() *GetSvtImagesBadRequest
NewGetSvtImagesBadRequest creates a GetSvtImagesBadRequest with default headers values
func (*GetSvtImagesBadRequest) Error ¶
func (o *GetSvtImagesBadRequest) Error() string
func (*GetSvtImagesBadRequest) GetPayload ¶
func (o *GetSvtImagesBadRequest) GetPayload() string
type GetSvtImagesConnectionBadRequest ¶
type GetSvtImagesConnectionBadRequest struct {
Payload string
}
GetSvtImagesConnectionBadRequest describes a response with status code 400, with default header values.
GetSvtImagesConnectionBadRequest get svt images connection bad request
func NewGetSvtImagesConnectionBadRequest ¶
func NewGetSvtImagesConnectionBadRequest() *GetSvtImagesConnectionBadRequest
NewGetSvtImagesConnectionBadRequest creates a GetSvtImagesConnectionBadRequest with default headers values
func (*GetSvtImagesConnectionBadRequest) Error ¶
func (o *GetSvtImagesConnectionBadRequest) Error() string
func (*GetSvtImagesConnectionBadRequest) GetPayload ¶
func (o *GetSvtImagesConnectionBadRequest) GetPayload() string
type GetSvtImagesConnectionOK ¶
type GetSvtImagesConnectionOK struct {
Payload *models.SvtImageConnection
}
GetSvtImagesConnectionOK describes a response with status code 200, with default header values.
Ok
func NewGetSvtImagesConnectionOK ¶
func NewGetSvtImagesConnectionOK() *GetSvtImagesConnectionOK
NewGetSvtImagesConnectionOK creates a GetSvtImagesConnectionOK with default headers values
func (*GetSvtImagesConnectionOK) Error ¶
func (o *GetSvtImagesConnectionOK) Error() string
func (*GetSvtImagesConnectionOK) GetPayload ¶
func (o *GetSvtImagesConnectionOK) GetPayload() *models.SvtImageConnection
type GetSvtImagesConnectionParams ¶
type GetSvtImagesConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetSvtImagesConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSvtImagesConnectionParams contains all the parameters to send to the API endpoint
for the get svt images connection operation. Typically these are written to a http.Request.
func NewGetSvtImagesConnectionParams ¶
func NewGetSvtImagesConnectionParams() *GetSvtImagesConnectionParams
NewGetSvtImagesConnectionParams creates a new GetSvtImagesConnectionParams 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 NewGetSvtImagesConnectionParamsWithContext ¶
func NewGetSvtImagesConnectionParamsWithContext(ctx context.Context) *GetSvtImagesConnectionParams
NewGetSvtImagesConnectionParamsWithContext creates a new GetSvtImagesConnectionParams object with the ability to set a context for a request.
func NewGetSvtImagesConnectionParamsWithHTTPClient ¶
func NewGetSvtImagesConnectionParamsWithHTTPClient(client *http.Client) *GetSvtImagesConnectionParams
NewGetSvtImagesConnectionParamsWithHTTPClient creates a new GetSvtImagesConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetSvtImagesConnectionParamsWithTimeout ¶
func NewGetSvtImagesConnectionParamsWithTimeout(timeout time.Duration) *GetSvtImagesConnectionParams
NewGetSvtImagesConnectionParamsWithTimeout creates a new GetSvtImagesConnectionParams object with the ability to set a timeout on a request.
func (*GetSvtImagesConnectionParams) SetContentLanguage ¶
func (o *GetSvtImagesConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get svt images connection params
func (*GetSvtImagesConnectionParams) SetContext ¶
func (o *GetSvtImagesConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get svt images connection params
func (*GetSvtImagesConnectionParams) SetDefaults ¶
func (o *GetSvtImagesConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get svt images connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetSvtImagesConnectionParams) SetHTTPClient ¶
func (o *GetSvtImagesConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get svt images connection params
func (*GetSvtImagesConnectionParams) SetRequestBody ¶
func (o *GetSvtImagesConnectionParams) SetRequestBody(requestBody *models.GetSvtImagesConnectionRequestBody)
SetRequestBody adds the requestBody to the get svt images connection params
func (*GetSvtImagesConnectionParams) SetTimeout ¶
func (o *GetSvtImagesConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get svt images connection params
func (*GetSvtImagesConnectionParams) WithContentLanguage ¶
func (o *GetSvtImagesConnectionParams) WithContentLanguage(contentLanguage *string) *GetSvtImagesConnectionParams
WithContentLanguage adds the contentLanguage to the get svt images connection params
func (*GetSvtImagesConnectionParams) WithContext ¶
func (o *GetSvtImagesConnectionParams) WithContext(ctx context.Context) *GetSvtImagesConnectionParams
WithContext adds the context to the get svt images connection params
func (*GetSvtImagesConnectionParams) WithDefaults ¶
func (o *GetSvtImagesConnectionParams) WithDefaults() *GetSvtImagesConnectionParams
WithDefaults hydrates default values in the get svt images connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetSvtImagesConnectionParams) WithHTTPClient ¶
func (o *GetSvtImagesConnectionParams) WithHTTPClient(client *http.Client) *GetSvtImagesConnectionParams
WithHTTPClient adds the HTTPClient to the get svt images connection params
func (*GetSvtImagesConnectionParams) WithRequestBody ¶
func (o *GetSvtImagesConnectionParams) WithRequestBody(requestBody *models.GetSvtImagesConnectionRequestBody) *GetSvtImagesConnectionParams
WithRequestBody adds the requestBody to the get svt images connection params
func (*GetSvtImagesConnectionParams) WithTimeout ¶
func (o *GetSvtImagesConnectionParams) WithTimeout(timeout time.Duration) *GetSvtImagesConnectionParams
WithTimeout adds the timeout to the get svt images connection params
func (*GetSvtImagesConnectionParams) WriteToRequest ¶
func (o *GetSvtImagesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSvtImagesConnectionReader ¶
type GetSvtImagesConnectionReader struct {
// contains filtered or unexported fields
}
GetSvtImagesConnectionReader is a Reader for the GetSvtImagesConnection structure.
func (*GetSvtImagesConnectionReader) ReadResponse ¶
func (o *GetSvtImagesConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSvtImagesOK ¶
GetSvtImagesOK describes a response with status code 200, with default header values.
Ok
func NewGetSvtImagesOK ¶
func NewGetSvtImagesOK() *GetSvtImagesOK
NewGetSvtImagesOK creates a GetSvtImagesOK with default headers values
func (*GetSvtImagesOK) Error ¶
func (o *GetSvtImagesOK) Error() string
func (*GetSvtImagesOK) GetPayload ¶
func (o *GetSvtImagesOK) GetPayload() []*models.SvtImage
type GetSvtImagesParams ¶
type GetSvtImagesParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetSvtImagesRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSvtImagesParams contains all the parameters to send to the API endpoint
for the get svt images operation. Typically these are written to a http.Request.
func NewGetSvtImagesParams ¶
func NewGetSvtImagesParams() *GetSvtImagesParams
NewGetSvtImagesParams creates a new GetSvtImagesParams 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 NewGetSvtImagesParamsWithContext ¶
func NewGetSvtImagesParamsWithContext(ctx context.Context) *GetSvtImagesParams
NewGetSvtImagesParamsWithContext creates a new GetSvtImagesParams object with the ability to set a context for a request.
func NewGetSvtImagesParamsWithHTTPClient ¶
func NewGetSvtImagesParamsWithHTTPClient(client *http.Client) *GetSvtImagesParams
NewGetSvtImagesParamsWithHTTPClient creates a new GetSvtImagesParams object with the ability to set a custom HTTPClient for a request.
func NewGetSvtImagesParamsWithTimeout ¶
func NewGetSvtImagesParamsWithTimeout(timeout time.Duration) *GetSvtImagesParams
NewGetSvtImagesParamsWithTimeout creates a new GetSvtImagesParams object with the ability to set a timeout on a request.
func (*GetSvtImagesParams) SetContentLanguage ¶
func (o *GetSvtImagesParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get svt images params
func (*GetSvtImagesParams) SetContext ¶
func (o *GetSvtImagesParams) SetContext(ctx context.Context)
SetContext adds the context to the get svt images params
func (*GetSvtImagesParams) SetDefaults ¶
func (o *GetSvtImagesParams) SetDefaults()
SetDefaults hydrates default values in the get svt images params (not the query body).
All values with no default are reset to their zero value.
func (*GetSvtImagesParams) SetHTTPClient ¶
func (o *GetSvtImagesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get svt images params
func (*GetSvtImagesParams) SetRequestBody ¶
func (o *GetSvtImagesParams) SetRequestBody(requestBody *models.GetSvtImagesRequestBody)
SetRequestBody adds the requestBody to the get svt images params
func (*GetSvtImagesParams) SetTimeout ¶
func (o *GetSvtImagesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get svt images params
func (*GetSvtImagesParams) WithContentLanguage ¶
func (o *GetSvtImagesParams) WithContentLanguage(contentLanguage *string) *GetSvtImagesParams
WithContentLanguage adds the contentLanguage to the get svt images params
func (*GetSvtImagesParams) WithContext ¶
func (o *GetSvtImagesParams) WithContext(ctx context.Context) *GetSvtImagesParams
WithContext adds the context to the get svt images params
func (*GetSvtImagesParams) WithDefaults ¶
func (o *GetSvtImagesParams) WithDefaults() *GetSvtImagesParams
WithDefaults hydrates default values in the get svt images params (not the query body).
All values with no default are reset to their zero value.
func (*GetSvtImagesParams) WithHTTPClient ¶
func (o *GetSvtImagesParams) WithHTTPClient(client *http.Client) *GetSvtImagesParams
WithHTTPClient adds the HTTPClient to the get svt images params
func (*GetSvtImagesParams) WithRequestBody ¶
func (o *GetSvtImagesParams) WithRequestBody(requestBody *models.GetSvtImagesRequestBody) *GetSvtImagesParams
WithRequestBody adds the requestBody to the get svt images params
func (*GetSvtImagesParams) WithTimeout ¶
func (o *GetSvtImagesParams) WithTimeout(timeout time.Duration) *GetSvtImagesParams
WithTimeout adds the timeout to the get svt images params
func (*GetSvtImagesParams) WriteToRequest ¶
func (o *GetSvtImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSvtImagesReader ¶
type GetSvtImagesReader struct {
// contains filtered or unexported fields
}
GetSvtImagesReader is a Reader for the GetSvtImages structure.
func (*GetSvtImagesReader) ReadResponse ¶
func (o *GetSvtImagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.