svt_image

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: ISC 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 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 *models.ErrorBody
}
GetSvtImagesBadRequest describes a response with status code 400, with default header values.

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() *models.ErrorBody

type GetSvtImagesConnectionBadRequest

type GetSvtImagesConnectionBadRequest struct {
	Payload *models.ErrorBody
}
GetSvtImagesConnectionBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetSvtImagesConnectionBadRequest

func NewGetSvtImagesConnectionBadRequest() *GetSvtImagesConnectionBadRequest

NewGetSvtImagesConnectionBadRequest creates a GetSvtImagesConnectionBadRequest with default headers values

func (*GetSvtImagesConnectionBadRequest) Error

func (*GetSvtImagesConnectionBadRequest) GetPayload

type GetSvtImagesConnectionInternalServerError added in v1.10.0

type GetSvtImagesConnectionInternalServerError struct {
	Payload *models.ErrorBody
}
GetSvtImagesConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetSvtImagesConnectionInternalServerError added in v1.10.0

func NewGetSvtImagesConnectionInternalServerError() *GetSvtImagesConnectionInternalServerError

NewGetSvtImagesConnectionInternalServerError creates a GetSvtImagesConnectionInternalServerError with default headers values

func (*GetSvtImagesConnectionInternalServerError) Error added in v1.10.0

func (*GetSvtImagesConnectionInternalServerError) GetPayload added in v1.10.0

type GetSvtImagesConnectionNotFound added in v1.10.0

type GetSvtImagesConnectionNotFound struct {
	Payload *models.ErrorBody
}
GetSvtImagesConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetSvtImagesConnectionNotFound added in v1.10.0

func NewGetSvtImagesConnectionNotFound() *GetSvtImagesConnectionNotFound

NewGetSvtImagesConnectionNotFound creates a GetSvtImagesConnectionNotFound with default headers values

func (*GetSvtImagesConnectionNotFound) Error added in v1.10.0

func (*GetSvtImagesConnectionNotFound) GetPayload added in v1.10.0

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

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

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

WithContext adds the context to the get svt images connection params

func (*GetSvtImagesConnectionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get svt images connection params

func (*GetSvtImagesConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get svt images connection params

func (*GetSvtImagesConnectionParams) WithTimeout

WithTimeout adds the timeout to the get svt images connection params

func (*GetSvtImagesConnectionParams) WriteToRequest

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 GetSvtImagesInternalServerError added in v1.10.0

type GetSvtImagesInternalServerError struct {
	Payload *models.ErrorBody
}
GetSvtImagesInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetSvtImagesInternalServerError added in v1.10.0

func NewGetSvtImagesInternalServerError() *GetSvtImagesInternalServerError

NewGetSvtImagesInternalServerError creates a GetSvtImagesInternalServerError with default headers values

func (*GetSvtImagesInternalServerError) Error added in v1.10.0

func (*GetSvtImagesInternalServerError) GetPayload added in v1.10.0

type GetSvtImagesNotFound added in v1.10.0

type GetSvtImagesNotFound struct {
	Payload *models.ErrorBody
}
GetSvtImagesNotFound describes a response with status code 404, with default header values.

Not found

func NewGetSvtImagesNotFound added in v1.10.0

func NewGetSvtImagesNotFound() *GetSvtImagesNotFound

NewGetSvtImagesNotFound creates a GetSvtImagesNotFound with default headers values

func (*GetSvtImagesNotFound) Error added in v1.10.0

func (o *GetSvtImagesNotFound) Error() string

func (*GetSvtImagesNotFound) GetPayload added in v1.10.0

func (o *GetSvtImagesNotFound) GetPayload() *models.ErrorBody

type GetSvtImagesOK

type GetSvtImagesOK struct {
	Payload []*models.SvtImage
}
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

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.

Jump to

Keyboard shortcuts

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