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)
- func (a *Client) UploadSvtImage(params *UploadSvtImageParams, opts ...ClientOption) (*UploadSvtImageOK, error)
- type ClientOption
- type ClientService
- type GetSvtImagesBadRequest
- type GetSvtImagesConnectionBadRequest
- type GetSvtImagesConnectionInternalServerError
- type GetSvtImagesConnectionNotFound
- 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 GetSvtImagesInternalServerError
- type GetSvtImagesNotFound
- 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
- type UploadSvtImageBadRequest
- type UploadSvtImageInternalServerError
- type UploadSvtImageNotFound
- type UploadSvtImageOK
- type UploadSvtImageParams
- func NewUploadSvtImageParams() *UploadSvtImageParams
- func NewUploadSvtImageParamsWithContext(ctx context.Context) *UploadSvtImageParams
- func NewUploadSvtImageParamsWithHTTPClient(client *http.Client) *UploadSvtImageParams
- func NewUploadSvtImageParamsWithTimeout(timeout time.Duration) *UploadSvtImageParams
- func (o *UploadSvtImageParams) SetClusterID(clusterID *string)
- func (o *UploadSvtImageParams) SetContentLanguage(contentLanguage *string)
- func (o *UploadSvtImageParams) SetContext(ctx context.Context)
- func (o *UploadSvtImageParams) SetDefaults()
- func (o *UploadSvtImageParams) SetFile(file runtime.NamedReadCloser)
- func (o *UploadSvtImageParams) SetHTTPClient(client *http.Client)
- func (o *UploadSvtImageParams) SetName(name *string)
- func (o *UploadSvtImageParams) SetSize(size *string)
- func (o *UploadSvtImageParams) SetSizeUnit(sizeUnit *string)
- func (o *UploadSvtImageParams) SetTimeout(timeout time.Duration)
- func (o *UploadSvtImageParams) SetUploadTaskID(uploadTaskID *string)
- func (o *UploadSvtImageParams) SetVersion(version *string)
- func (o *UploadSvtImageParams) WithClusterID(clusterID *string) *UploadSvtImageParams
- func (o *UploadSvtImageParams) WithContentLanguage(contentLanguage *string) *UploadSvtImageParams
- func (o *UploadSvtImageParams) WithContext(ctx context.Context) *UploadSvtImageParams
- func (o *UploadSvtImageParams) WithDefaults() *UploadSvtImageParams
- func (o *UploadSvtImageParams) WithFile(file runtime.NamedReadCloser) *UploadSvtImageParams
- func (o *UploadSvtImageParams) WithHTTPClient(client *http.Client) *UploadSvtImageParams
- func (o *UploadSvtImageParams) WithName(name *string) *UploadSvtImageParams
- func (o *UploadSvtImageParams) WithSize(size *string) *UploadSvtImageParams
- func (o *UploadSvtImageParams) WithSizeUnit(sizeUnit *string) *UploadSvtImageParams
- func (o *UploadSvtImageParams) WithTimeout(timeout time.Duration) *UploadSvtImageParams
- func (o *UploadSvtImageParams) WithUploadTaskID(uploadTaskID *string) *UploadSvtImageParams
- func (o *UploadSvtImageParams) WithVersion(version *string) *UploadSvtImageParams
- func (o *UploadSvtImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadSvtImageReader
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
func (*Client) UploadSvtImage ¶ added in v2.1.0
func (a *Client) UploadSvtImage(params *UploadSvtImageParams, opts ...ClientOption) (*UploadSvtImageOK, error)
UploadSvtImage upload svt image API
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) UploadSvtImage(params *UploadSvtImageParams, opts ...ClientOption) (*UploadSvtImageOK, 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 ¶
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 ¶
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 (o *GetSvtImagesConnectionBadRequest) Error() string
func (*GetSvtImagesConnectionBadRequest) GetPayload ¶
func (o *GetSvtImagesConnectionBadRequest) GetPayload() *models.ErrorBody
type GetSvtImagesConnectionInternalServerError ¶
type GetSvtImagesConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetSvtImagesConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetSvtImagesConnectionInternalServerError ¶
func NewGetSvtImagesConnectionInternalServerError() *GetSvtImagesConnectionInternalServerError
NewGetSvtImagesConnectionInternalServerError creates a GetSvtImagesConnectionInternalServerError with default headers values
func (*GetSvtImagesConnectionInternalServerError) Error ¶
func (o *GetSvtImagesConnectionInternalServerError) Error() string
func (*GetSvtImagesConnectionInternalServerError) GetPayload ¶
func (o *GetSvtImagesConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetSvtImagesConnectionNotFound ¶
GetSvtImagesConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetSvtImagesConnectionNotFound ¶
func NewGetSvtImagesConnectionNotFound() *GetSvtImagesConnectionNotFound
NewGetSvtImagesConnectionNotFound creates a GetSvtImagesConnectionNotFound with default headers values
func (*GetSvtImagesConnectionNotFound) Error ¶
func (o *GetSvtImagesConnectionNotFound) Error() string
func (*GetSvtImagesConnectionNotFound) GetPayload ¶
func (o *GetSvtImagesConnectionNotFound) GetPayload() *models.ErrorBody
type GetSvtImagesConnectionOK ¶
type GetSvtImagesConnectionOK struct { XTowerRequestID string Payload *models.SvtImageConnection }
GetSvtImagesConnectionOK describes a response with status code 200, with default header values.
GetSvtImagesConnectionOK get svt images connection o k
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 GetSvtImagesInternalServerError ¶
GetSvtImagesInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetSvtImagesInternalServerError ¶
func NewGetSvtImagesInternalServerError() *GetSvtImagesInternalServerError
NewGetSvtImagesInternalServerError creates a GetSvtImagesInternalServerError with default headers values
func (*GetSvtImagesInternalServerError) Error ¶
func (o *GetSvtImagesInternalServerError) Error() string
func (*GetSvtImagesInternalServerError) GetPayload ¶
func (o *GetSvtImagesInternalServerError) GetPayload() *models.ErrorBody
type GetSvtImagesNotFound ¶
GetSvtImagesNotFound describes a response with status code 404, with default header values.
Not found
func NewGetSvtImagesNotFound ¶
func NewGetSvtImagesNotFound() *GetSvtImagesNotFound
NewGetSvtImagesNotFound creates a GetSvtImagesNotFound with default headers values
func (*GetSvtImagesNotFound) Error ¶
func (o *GetSvtImagesNotFound) Error() string
func (*GetSvtImagesNotFound) GetPayload ¶
func (o *GetSvtImagesNotFound) GetPayload() *models.ErrorBody
type GetSvtImagesOK ¶
GetSvtImagesOK describes a response with status code 200, with default header values.
GetSvtImagesOK get svt images o k
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.
type UploadSvtImageBadRequest ¶ added in v2.1.0
UploadSvtImageBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUploadSvtImageBadRequest ¶ added in v2.1.0
func NewUploadSvtImageBadRequest() *UploadSvtImageBadRequest
NewUploadSvtImageBadRequest creates a UploadSvtImageBadRequest with default headers values
func (*UploadSvtImageBadRequest) Error ¶ added in v2.1.0
func (o *UploadSvtImageBadRequest) Error() string
func (*UploadSvtImageBadRequest) GetPayload ¶ added in v2.1.0
func (o *UploadSvtImageBadRequest) GetPayload() *models.ErrorBody
type UploadSvtImageInternalServerError ¶ added in v2.1.0
UploadSvtImageInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUploadSvtImageInternalServerError ¶ added in v2.1.0
func NewUploadSvtImageInternalServerError() *UploadSvtImageInternalServerError
NewUploadSvtImageInternalServerError creates a UploadSvtImageInternalServerError with default headers values
func (*UploadSvtImageInternalServerError) Error ¶ added in v2.1.0
func (o *UploadSvtImageInternalServerError) Error() string
func (*UploadSvtImageInternalServerError) GetPayload ¶ added in v2.1.0
func (o *UploadSvtImageInternalServerError) GetPayload() *models.ErrorBody
type UploadSvtImageNotFound ¶ added in v2.1.0
UploadSvtImageNotFound describes a response with status code 404, with default header values.
Not found
func NewUploadSvtImageNotFound ¶ added in v2.1.0
func NewUploadSvtImageNotFound() *UploadSvtImageNotFound
NewUploadSvtImageNotFound creates a UploadSvtImageNotFound with default headers values
func (*UploadSvtImageNotFound) Error ¶ added in v2.1.0
func (o *UploadSvtImageNotFound) Error() string
func (*UploadSvtImageNotFound) GetPayload ¶ added in v2.1.0
func (o *UploadSvtImageNotFound) GetPayload() *models.ErrorBody
type UploadSvtImageOK ¶ added in v2.1.0
type UploadSvtImageOK struct { XTowerRequestID string Payload []*models.UploadTask }
UploadSvtImageOK describes a response with status code 200, with default header values.
UploadSvtImageOK upload svt image o k
func NewUploadSvtImageOK ¶ added in v2.1.0
func NewUploadSvtImageOK() *UploadSvtImageOK
NewUploadSvtImageOK creates a UploadSvtImageOK with default headers values
func (*UploadSvtImageOK) Error ¶ added in v2.1.0
func (o *UploadSvtImageOK) Error() string
func (*UploadSvtImageOK) GetPayload ¶ added in v2.1.0
func (o *UploadSvtImageOK) GetPayload() []*models.UploadTask
type UploadSvtImageParams ¶ added in v2.1.0
type UploadSvtImageParams struct { // ClusterID. ClusterID *string // ContentLanguage. // // Default: "en-US" ContentLanguage *string // File. File runtime.NamedReadCloser // Name. Name *string // Size. Size *string // SizeUnit. SizeUnit *string // UploadTaskID. UploadTaskID *string // Version. Version *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UploadSvtImageParams contains all the parameters to send to the API endpoint
for the upload svt image operation. Typically these are written to a http.Request.
func NewUploadSvtImageParams ¶ added in v2.1.0
func NewUploadSvtImageParams() *UploadSvtImageParams
NewUploadSvtImageParams creates a new UploadSvtImageParams 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 NewUploadSvtImageParamsWithContext ¶ added in v2.1.0
func NewUploadSvtImageParamsWithContext(ctx context.Context) *UploadSvtImageParams
NewUploadSvtImageParamsWithContext creates a new UploadSvtImageParams object with the ability to set a context for a request.
func NewUploadSvtImageParamsWithHTTPClient ¶ added in v2.1.0
func NewUploadSvtImageParamsWithHTTPClient(client *http.Client) *UploadSvtImageParams
NewUploadSvtImageParamsWithHTTPClient creates a new UploadSvtImageParams object with the ability to set a custom HTTPClient for a request.
func NewUploadSvtImageParamsWithTimeout ¶ added in v2.1.0
func NewUploadSvtImageParamsWithTimeout(timeout time.Duration) *UploadSvtImageParams
NewUploadSvtImageParamsWithTimeout creates a new UploadSvtImageParams object with the ability to set a timeout on a request.
func (*UploadSvtImageParams) SetClusterID ¶ added in v2.1.0
func (o *UploadSvtImageParams) SetClusterID(clusterID *string)
SetClusterID adds the clusterId to the upload svt image params
func (*UploadSvtImageParams) SetContentLanguage ¶ added in v2.1.0
func (o *UploadSvtImageParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the upload svt image params
func (*UploadSvtImageParams) SetContext ¶ added in v2.1.0
func (o *UploadSvtImageParams) SetContext(ctx context.Context)
SetContext adds the context to the upload svt image params
func (*UploadSvtImageParams) SetDefaults ¶ added in v2.1.0
func (o *UploadSvtImageParams) SetDefaults()
SetDefaults hydrates default values in the upload svt image params (not the query body).
All values with no default are reset to their zero value.
func (*UploadSvtImageParams) SetFile ¶ added in v2.1.0
func (o *UploadSvtImageParams) SetFile(file runtime.NamedReadCloser)
SetFile adds the file to the upload svt image params
func (*UploadSvtImageParams) SetHTTPClient ¶ added in v2.1.0
func (o *UploadSvtImageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upload svt image params
func (*UploadSvtImageParams) SetName ¶ added in v2.1.0
func (o *UploadSvtImageParams) SetName(name *string)
SetName adds the name to the upload svt image params
func (*UploadSvtImageParams) SetSize ¶ added in v2.1.0
func (o *UploadSvtImageParams) SetSize(size *string)
SetSize adds the size to the upload svt image params
func (*UploadSvtImageParams) SetSizeUnit ¶ added in v2.4.0
func (o *UploadSvtImageParams) SetSizeUnit(sizeUnit *string)
SetSizeUnit adds the sizeUnit to the upload svt image params
func (*UploadSvtImageParams) SetTimeout ¶ added in v2.1.0
func (o *UploadSvtImageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upload svt image params
func (*UploadSvtImageParams) SetUploadTaskID ¶ added in v2.1.0
func (o *UploadSvtImageParams) SetUploadTaskID(uploadTaskID *string)
SetUploadTaskID adds the uploadTaskId to the upload svt image params
func (*UploadSvtImageParams) SetVersion ¶ added in v2.1.0
func (o *UploadSvtImageParams) SetVersion(version *string)
SetVersion adds the version to the upload svt image params
func (*UploadSvtImageParams) WithClusterID ¶ added in v2.1.0
func (o *UploadSvtImageParams) WithClusterID(clusterID *string) *UploadSvtImageParams
WithClusterID adds the clusterID to the upload svt image params
func (*UploadSvtImageParams) WithContentLanguage ¶ added in v2.1.0
func (o *UploadSvtImageParams) WithContentLanguage(contentLanguage *string) *UploadSvtImageParams
WithContentLanguage adds the contentLanguage to the upload svt image params
func (*UploadSvtImageParams) WithContext ¶ added in v2.1.0
func (o *UploadSvtImageParams) WithContext(ctx context.Context) *UploadSvtImageParams
WithContext adds the context to the upload svt image params
func (*UploadSvtImageParams) WithDefaults ¶ added in v2.1.0
func (o *UploadSvtImageParams) WithDefaults() *UploadSvtImageParams
WithDefaults hydrates default values in the upload svt image params (not the query body).
All values with no default are reset to their zero value.
func (*UploadSvtImageParams) WithFile ¶ added in v2.1.0
func (o *UploadSvtImageParams) WithFile(file runtime.NamedReadCloser) *UploadSvtImageParams
WithFile adds the file to the upload svt image params
func (*UploadSvtImageParams) WithHTTPClient ¶ added in v2.1.0
func (o *UploadSvtImageParams) WithHTTPClient(client *http.Client) *UploadSvtImageParams
WithHTTPClient adds the HTTPClient to the upload svt image params
func (*UploadSvtImageParams) WithName ¶ added in v2.1.0
func (o *UploadSvtImageParams) WithName(name *string) *UploadSvtImageParams
WithName adds the name to the upload svt image params
func (*UploadSvtImageParams) WithSize ¶ added in v2.1.0
func (o *UploadSvtImageParams) WithSize(size *string) *UploadSvtImageParams
WithSize adds the size to the upload svt image params
func (*UploadSvtImageParams) WithSizeUnit ¶ added in v2.4.0
func (o *UploadSvtImageParams) WithSizeUnit(sizeUnit *string) *UploadSvtImageParams
WithSizeUnit adds the sizeUnit to the upload svt image params
func (*UploadSvtImageParams) WithTimeout ¶ added in v2.1.0
func (o *UploadSvtImageParams) WithTimeout(timeout time.Duration) *UploadSvtImageParams
WithTimeout adds the timeout to the upload svt image params
func (*UploadSvtImageParams) WithUploadTaskID ¶ added in v2.1.0
func (o *UploadSvtImageParams) WithUploadTaskID(uploadTaskID *string) *UploadSvtImageParams
WithUploadTaskID adds the uploadTaskID to the upload svt image params
func (*UploadSvtImageParams) WithVersion ¶ added in v2.1.0
func (o *UploadSvtImageParams) WithVersion(version *string) *UploadSvtImageParams
WithVersion adds the version to the upload svt image params
func (*UploadSvtImageParams) WriteToRequest ¶ added in v2.1.0
func (o *UploadSvtImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UploadSvtImageReader ¶ added in v2.1.0
type UploadSvtImageReader struct {
// contains filtered or unexported fields
}
UploadSvtImageReader is a Reader for the UploadSvtImage structure.
func (*UploadSvtImageReader) ReadResponse ¶ added in v2.1.0
func (o *UploadSvtImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.