Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateContentLibraryImage(params *CreateContentLibraryImageParams, opts ...ClientOption) (*CreateContentLibraryImageOK, error)
- func (a *Client) DeleteContentLibraryImage(params *DeleteContentLibraryImageParams, opts ...ClientOption) (*DeleteContentLibraryImageOK, error)
- func (a *Client) DistributeContentLibraryImageClusters(params *DistributeContentLibraryImageClustersParams, opts ...ClientOption) (*DistributeContentLibraryImageClustersOK, error)
- func (a *Client) GetContentLibraryImages(params *GetContentLibraryImagesParams, opts ...ClientOption) (*GetContentLibraryImagesOK, error)
- func (a *Client) GetContentLibraryImagesConnection(params *GetContentLibraryImagesConnectionParams, opts ...ClientOption) (*GetContentLibraryImagesConnectionOK, error)
- func (a *Client) ImportContentLibraryImage(params *ImportContentLibraryImageParams, opts ...ClientOption) (*ImportContentLibraryImageOK, error)
- func (a *Client) RemoveContentLibraryImageClusters(params *RemoveContentLibraryImageClustersParams, opts ...ClientOption) (*RemoveContentLibraryImageClustersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateContentLibraryImage(params *UpdateContentLibraryImageParams, opts ...ClientOption) (*UpdateContentLibraryImageOK, error)
- type ClientOption
- type ClientService
- type CreateContentLibraryImageBadRequest
- type CreateContentLibraryImageInternalServerError
- type CreateContentLibraryImageNotFound
- type CreateContentLibraryImageNotModified
- type CreateContentLibraryImageOK
- type CreateContentLibraryImageParams
- func NewCreateContentLibraryImageParams() *CreateContentLibraryImageParams
- func NewCreateContentLibraryImageParamsWithContext(ctx context.Context) *CreateContentLibraryImageParams
- func NewCreateContentLibraryImageParamsWithHTTPClient(client *http.Client) *CreateContentLibraryImageParams
- func NewCreateContentLibraryImageParamsWithTimeout(timeout time.Duration) *CreateContentLibraryImageParams
- func (o *CreateContentLibraryImageParams) SetClusters(clusters string)
- func (o *CreateContentLibraryImageParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateContentLibraryImageParams) SetContext(ctx context.Context)
- func (o *CreateContentLibraryImageParams) SetDefaults()
- func (o *CreateContentLibraryImageParams) SetDescription(description *string)
- func (o *CreateContentLibraryImageParams) SetFile(file runtime.NamedReadCloser)
- func (o *CreateContentLibraryImageParams) SetHTTPClient(client *http.Client)
- func (o *CreateContentLibraryImageParams) SetName(name *string)
- func (o *CreateContentLibraryImageParams) SetSize(size *string)
- func (o *CreateContentLibraryImageParams) SetSizeUnit(sizeUnit *string)
- func (o *CreateContentLibraryImageParams) SetTimeout(timeout time.Duration)
- func (o *CreateContentLibraryImageParams) SetUploadTaskID(uploadTaskID *string)
- func (o *CreateContentLibraryImageParams) WithClusters(clusters string) *CreateContentLibraryImageParams
- func (o *CreateContentLibraryImageParams) WithContentLanguage(contentLanguage *string) *CreateContentLibraryImageParams
- func (o *CreateContentLibraryImageParams) WithContext(ctx context.Context) *CreateContentLibraryImageParams
- func (o *CreateContentLibraryImageParams) WithDefaults() *CreateContentLibraryImageParams
- func (o *CreateContentLibraryImageParams) WithDescription(description *string) *CreateContentLibraryImageParams
- func (o *CreateContentLibraryImageParams) WithFile(file runtime.NamedReadCloser) *CreateContentLibraryImageParams
- func (o *CreateContentLibraryImageParams) WithHTTPClient(client *http.Client) *CreateContentLibraryImageParams
- func (o *CreateContentLibraryImageParams) WithName(name *string) *CreateContentLibraryImageParams
- func (o *CreateContentLibraryImageParams) WithSize(size *string) *CreateContentLibraryImageParams
- func (o *CreateContentLibraryImageParams) WithSizeUnit(sizeUnit *string) *CreateContentLibraryImageParams
- func (o *CreateContentLibraryImageParams) WithTimeout(timeout time.Duration) *CreateContentLibraryImageParams
- func (o *CreateContentLibraryImageParams) WithUploadTaskID(uploadTaskID *string) *CreateContentLibraryImageParams
- func (o *CreateContentLibraryImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateContentLibraryImageReader
- type DeleteContentLibraryImageBadRequest
- type DeleteContentLibraryImageInternalServerError
- type DeleteContentLibraryImageNotFound
- type DeleteContentLibraryImageOK
- type DeleteContentLibraryImageParams
- func NewDeleteContentLibraryImageParams() *DeleteContentLibraryImageParams
- func NewDeleteContentLibraryImageParamsWithContext(ctx context.Context) *DeleteContentLibraryImageParams
- func NewDeleteContentLibraryImageParamsWithHTTPClient(client *http.Client) *DeleteContentLibraryImageParams
- func NewDeleteContentLibraryImageParamsWithTimeout(timeout time.Duration) *DeleteContentLibraryImageParams
- func (o *DeleteContentLibraryImageParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteContentLibraryImageParams) SetContext(ctx context.Context)
- func (o *DeleteContentLibraryImageParams) SetDefaults()
- func (o *DeleteContentLibraryImageParams) SetHTTPClient(client *http.Client)
- func (o *DeleteContentLibraryImageParams) SetRequestBody(requestBody *models.ContentLibraryImageDeletionParams)
- func (o *DeleteContentLibraryImageParams) SetTimeout(timeout time.Duration)
- func (o *DeleteContentLibraryImageParams) WithContentLanguage(contentLanguage *string) *DeleteContentLibraryImageParams
- func (o *DeleteContentLibraryImageParams) WithContext(ctx context.Context) *DeleteContentLibraryImageParams
- func (o *DeleteContentLibraryImageParams) WithDefaults() *DeleteContentLibraryImageParams
- func (o *DeleteContentLibraryImageParams) WithHTTPClient(client *http.Client) *DeleteContentLibraryImageParams
- func (o *DeleteContentLibraryImageParams) WithRequestBody(requestBody *models.ContentLibraryImageDeletionParams) *DeleteContentLibraryImageParams
- func (o *DeleteContentLibraryImageParams) WithTimeout(timeout time.Duration) *DeleteContentLibraryImageParams
- func (o *DeleteContentLibraryImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteContentLibraryImageReader
- type DistributeContentLibraryImageClustersBadRequest
- type DistributeContentLibraryImageClustersInternalServerError
- type DistributeContentLibraryImageClustersNotFound
- type DistributeContentLibraryImageClustersOK
- type DistributeContentLibraryImageClustersParams
- func NewDistributeContentLibraryImageClustersParams() *DistributeContentLibraryImageClustersParams
- func NewDistributeContentLibraryImageClustersParamsWithContext(ctx context.Context) *DistributeContentLibraryImageClustersParams
- func NewDistributeContentLibraryImageClustersParamsWithHTTPClient(client *http.Client) *DistributeContentLibraryImageClustersParams
- func NewDistributeContentLibraryImageClustersParamsWithTimeout(timeout time.Duration) *DistributeContentLibraryImageClustersParams
- func (o *DistributeContentLibraryImageClustersParams) SetContentLanguage(contentLanguage *string)
- func (o *DistributeContentLibraryImageClustersParams) SetContext(ctx context.Context)
- func (o *DistributeContentLibraryImageClustersParams) SetDefaults()
- func (o *DistributeContentLibraryImageClustersParams) SetHTTPClient(client *http.Client)
- func (o *DistributeContentLibraryImageClustersParams) SetRequestBody(requestBody *models.ContentLibraryImageUpdationClusterParams)
- func (o *DistributeContentLibraryImageClustersParams) SetTimeout(timeout time.Duration)
- func (o *DistributeContentLibraryImageClustersParams) WithContentLanguage(contentLanguage *string) *DistributeContentLibraryImageClustersParams
- func (o *DistributeContentLibraryImageClustersParams) WithContext(ctx context.Context) *DistributeContentLibraryImageClustersParams
- func (o *DistributeContentLibraryImageClustersParams) WithDefaults() *DistributeContentLibraryImageClustersParams
- func (o *DistributeContentLibraryImageClustersParams) WithHTTPClient(client *http.Client) *DistributeContentLibraryImageClustersParams
- func (o *DistributeContentLibraryImageClustersParams) WithRequestBody(requestBody *models.ContentLibraryImageUpdationClusterParams) *DistributeContentLibraryImageClustersParams
- func (o *DistributeContentLibraryImageClustersParams) WithTimeout(timeout time.Duration) *DistributeContentLibraryImageClustersParams
- func (o *DistributeContentLibraryImageClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DistributeContentLibraryImageClustersReader
- type GetContentLibraryImagesBadRequest
- type GetContentLibraryImagesConnectionBadRequest
- type GetContentLibraryImagesConnectionInternalServerError
- type GetContentLibraryImagesConnectionNotFound
- type GetContentLibraryImagesConnectionOK
- type GetContentLibraryImagesConnectionParams
- func NewGetContentLibraryImagesConnectionParams() *GetContentLibraryImagesConnectionParams
- func NewGetContentLibraryImagesConnectionParamsWithContext(ctx context.Context) *GetContentLibraryImagesConnectionParams
- func NewGetContentLibraryImagesConnectionParamsWithHTTPClient(client *http.Client) *GetContentLibraryImagesConnectionParams
- func NewGetContentLibraryImagesConnectionParamsWithTimeout(timeout time.Duration) *GetContentLibraryImagesConnectionParams
- func (o *GetContentLibraryImagesConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetContentLibraryImagesConnectionParams) SetContext(ctx context.Context)
- func (o *GetContentLibraryImagesConnectionParams) SetDefaults()
- func (o *GetContentLibraryImagesConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetContentLibraryImagesConnectionParams) SetRequestBody(requestBody *models.GetContentLibraryImagesConnectionRequestBody)
- func (o *GetContentLibraryImagesConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetContentLibraryImagesConnectionParams) WithContentLanguage(contentLanguage *string) *GetContentLibraryImagesConnectionParams
- func (o *GetContentLibraryImagesConnectionParams) WithContext(ctx context.Context) *GetContentLibraryImagesConnectionParams
- func (o *GetContentLibraryImagesConnectionParams) WithDefaults() *GetContentLibraryImagesConnectionParams
- func (o *GetContentLibraryImagesConnectionParams) WithHTTPClient(client *http.Client) *GetContentLibraryImagesConnectionParams
- func (o *GetContentLibraryImagesConnectionParams) WithRequestBody(requestBody *models.GetContentLibraryImagesConnectionRequestBody) *GetContentLibraryImagesConnectionParams
- func (o *GetContentLibraryImagesConnectionParams) WithTimeout(timeout time.Duration) *GetContentLibraryImagesConnectionParams
- func (o *GetContentLibraryImagesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetContentLibraryImagesConnectionReader
- type GetContentLibraryImagesInternalServerError
- type GetContentLibraryImagesNotFound
- type GetContentLibraryImagesOK
- type GetContentLibraryImagesParams
- func NewGetContentLibraryImagesParams() *GetContentLibraryImagesParams
- func NewGetContentLibraryImagesParamsWithContext(ctx context.Context) *GetContentLibraryImagesParams
- func NewGetContentLibraryImagesParamsWithHTTPClient(client *http.Client) *GetContentLibraryImagesParams
- func NewGetContentLibraryImagesParamsWithTimeout(timeout time.Duration) *GetContentLibraryImagesParams
- func (o *GetContentLibraryImagesParams) SetContentLanguage(contentLanguage *string)
- func (o *GetContentLibraryImagesParams) SetContext(ctx context.Context)
- func (o *GetContentLibraryImagesParams) SetDefaults()
- func (o *GetContentLibraryImagesParams) SetHTTPClient(client *http.Client)
- func (o *GetContentLibraryImagesParams) SetRequestBody(requestBody *models.GetContentLibraryImagesRequestBody)
- func (o *GetContentLibraryImagesParams) SetTimeout(timeout time.Duration)
- func (o *GetContentLibraryImagesParams) WithContentLanguage(contentLanguage *string) *GetContentLibraryImagesParams
- func (o *GetContentLibraryImagesParams) WithContext(ctx context.Context) *GetContentLibraryImagesParams
- func (o *GetContentLibraryImagesParams) WithDefaults() *GetContentLibraryImagesParams
- func (o *GetContentLibraryImagesParams) WithHTTPClient(client *http.Client) *GetContentLibraryImagesParams
- func (o *GetContentLibraryImagesParams) WithRequestBody(requestBody *models.GetContentLibraryImagesRequestBody) *GetContentLibraryImagesParams
- func (o *GetContentLibraryImagesParams) WithTimeout(timeout time.Duration) *GetContentLibraryImagesParams
- func (o *GetContentLibraryImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetContentLibraryImagesReader
- type ImportContentLibraryImageBadRequest
- type ImportContentLibraryImageInternalServerError
- type ImportContentLibraryImageNotFound
- type ImportContentLibraryImageOK
- type ImportContentLibraryImageParams
- func NewImportContentLibraryImageParams() *ImportContentLibraryImageParams
- func NewImportContentLibraryImageParamsWithContext(ctx context.Context) *ImportContentLibraryImageParams
- func NewImportContentLibraryImageParamsWithHTTPClient(client *http.Client) *ImportContentLibraryImageParams
- func NewImportContentLibraryImageParamsWithTimeout(timeout time.Duration) *ImportContentLibraryImageParams
- func (o *ImportContentLibraryImageParams) SetContentLanguage(contentLanguage *string)
- func (o *ImportContentLibraryImageParams) SetContext(ctx context.Context)
- func (o *ImportContentLibraryImageParams) SetDefaults()
- func (o *ImportContentLibraryImageParams) SetHTTPClient(client *http.Client)
- func (o *ImportContentLibraryImageParams) SetRequestBody(requestBody *models.ContentLibraryImageImportParams)
- func (o *ImportContentLibraryImageParams) SetTimeout(timeout time.Duration)
- func (o *ImportContentLibraryImageParams) WithContentLanguage(contentLanguage *string) *ImportContentLibraryImageParams
- func (o *ImportContentLibraryImageParams) WithContext(ctx context.Context) *ImportContentLibraryImageParams
- func (o *ImportContentLibraryImageParams) WithDefaults() *ImportContentLibraryImageParams
- func (o *ImportContentLibraryImageParams) WithHTTPClient(client *http.Client) *ImportContentLibraryImageParams
- func (o *ImportContentLibraryImageParams) WithRequestBody(requestBody *models.ContentLibraryImageImportParams) *ImportContentLibraryImageParams
- func (o *ImportContentLibraryImageParams) WithTimeout(timeout time.Duration) *ImportContentLibraryImageParams
- func (o *ImportContentLibraryImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImportContentLibraryImageReader
- type RemoveContentLibraryImageClustersBadRequest
- type RemoveContentLibraryImageClustersInternalServerError
- type RemoveContentLibraryImageClustersNotFound
- type RemoveContentLibraryImageClustersOK
- type RemoveContentLibraryImageClustersParams
- func NewRemoveContentLibraryImageClustersParams() *RemoveContentLibraryImageClustersParams
- func NewRemoveContentLibraryImageClustersParamsWithContext(ctx context.Context) *RemoveContentLibraryImageClustersParams
- func NewRemoveContentLibraryImageClustersParamsWithHTTPClient(client *http.Client) *RemoveContentLibraryImageClustersParams
- func NewRemoveContentLibraryImageClustersParamsWithTimeout(timeout time.Duration) *RemoveContentLibraryImageClustersParams
- func (o *RemoveContentLibraryImageClustersParams) SetContentLanguage(contentLanguage *string)
- func (o *RemoveContentLibraryImageClustersParams) SetContext(ctx context.Context)
- func (o *RemoveContentLibraryImageClustersParams) SetDefaults()
- func (o *RemoveContentLibraryImageClustersParams) SetHTTPClient(client *http.Client)
- func (o *RemoveContentLibraryImageClustersParams) SetRequestBody(requestBody *models.ContentLibraryImageUpdationClusterParams)
- func (o *RemoveContentLibraryImageClustersParams) SetTimeout(timeout time.Duration)
- func (o *RemoveContentLibraryImageClustersParams) WithContentLanguage(contentLanguage *string) *RemoveContentLibraryImageClustersParams
- func (o *RemoveContentLibraryImageClustersParams) WithContext(ctx context.Context) *RemoveContentLibraryImageClustersParams
- func (o *RemoveContentLibraryImageClustersParams) WithDefaults() *RemoveContentLibraryImageClustersParams
- func (o *RemoveContentLibraryImageClustersParams) WithHTTPClient(client *http.Client) *RemoveContentLibraryImageClustersParams
- func (o *RemoveContentLibraryImageClustersParams) WithRequestBody(requestBody *models.ContentLibraryImageUpdationClusterParams) *RemoveContentLibraryImageClustersParams
- func (o *RemoveContentLibraryImageClustersParams) WithTimeout(timeout time.Duration) *RemoveContentLibraryImageClustersParams
- func (o *RemoveContentLibraryImageClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveContentLibraryImageClustersReader
- type UpdateContentLibraryImageBadRequest
- type UpdateContentLibraryImageInternalServerError
- type UpdateContentLibraryImageNotFound
- type UpdateContentLibraryImageOK
- type UpdateContentLibraryImageParams
- func NewUpdateContentLibraryImageParams() *UpdateContentLibraryImageParams
- func NewUpdateContentLibraryImageParamsWithContext(ctx context.Context) *UpdateContentLibraryImageParams
- func NewUpdateContentLibraryImageParamsWithHTTPClient(client *http.Client) *UpdateContentLibraryImageParams
- func NewUpdateContentLibraryImageParamsWithTimeout(timeout time.Duration) *UpdateContentLibraryImageParams
- func (o *UpdateContentLibraryImageParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateContentLibraryImageParams) SetContext(ctx context.Context)
- func (o *UpdateContentLibraryImageParams) SetDefaults()
- func (o *UpdateContentLibraryImageParams) SetHTTPClient(client *http.Client)
- func (o *UpdateContentLibraryImageParams) SetRequestBody(requestBody *models.ContentLibraryImageUpdationParams)
- func (o *UpdateContentLibraryImageParams) SetTimeout(timeout time.Duration)
- func (o *UpdateContentLibraryImageParams) WithContentLanguage(contentLanguage *string) *UpdateContentLibraryImageParams
- func (o *UpdateContentLibraryImageParams) WithContext(ctx context.Context) *UpdateContentLibraryImageParams
- func (o *UpdateContentLibraryImageParams) WithDefaults() *UpdateContentLibraryImageParams
- func (o *UpdateContentLibraryImageParams) WithHTTPClient(client *http.Client) *UpdateContentLibraryImageParams
- func (o *UpdateContentLibraryImageParams) WithRequestBody(requestBody *models.ContentLibraryImageUpdationParams) *UpdateContentLibraryImageParams
- func (o *UpdateContentLibraryImageParams) WithTimeout(timeout time.Duration) *UpdateContentLibraryImageParams
- func (o *UpdateContentLibraryImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateContentLibraryImageReader
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 content library image API
func (*Client) CreateContentLibraryImage ¶
func (a *Client) CreateContentLibraryImage(params *CreateContentLibraryImageParams, opts ...ClientOption) (*CreateContentLibraryImageOK, error)
CreateContentLibraryImage create content library image API
func (*Client) DeleteContentLibraryImage ¶
func (a *Client) DeleteContentLibraryImage(params *DeleteContentLibraryImageParams, opts ...ClientOption) (*DeleteContentLibraryImageOK, error)
DeleteContentLibraryImage delete content library image API
func (*Client) DistributeContentLibraryImageClusters ¶
func (a *Client) DistributeContentLibraryImageClusters(params *DistributeContentLibraryImageClustersParams, opts ...ClientOption) (*DistributeContentLibraryImageClustersOK, error)
DistributeContentLibraryImageClusters distribute content library image clusters API
func (*Client) GetContentLibraryImages ¶
func (a *Client) GetContentLibraryImages(params *GetContentLibraryImagesParams, opts ...ClientOption) (*GetContentLibraryImagesOK, error)
GetContentLibraryImages get content library images API
func (*Client) GetContentLibraryImagesConnection ¶
func (a *Client) GetContentLibraryImagesConnection(params *GetContentLibraryImagesConnectionParams, opts ...ClientOption) (*GetContentLibraryImagesConnectionOK, error)
GetContentLibraryImagesConnection get content library images connection API
func (*Client) ImportContentLibraryImage ¶ added in v2.14.0
func (a *Client) ImportContentLibraryImage(params *ImportContentLibraryImageParams, opts ...ClientOption) (*ImportContentLibraryImageOK, error)
ImportContentLibraryImage import content library image API
func (*Client) RemoveContentLibraryImageClusters ¶
func (a *Client) RemoveContentLibraryImageClusters(params *RemoveContentLibraryImageClustersParams, opts ...ClientOption) (*RemoveContentLibraryImageClustersOK, error)
RemoveContentLibraryImageClusters remove content library image clusters API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateContentLibraryImage ¶
func (a *Client) UpdateContentLibraryImage(params *UpdateContentLibraryImageParams, opts ...ClientOption) (*UpdateContentLibraryImageOK, error)
UpdateContentLibraryImage update content library image API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateContentLibraryImage(params *CreateContentLibraryImageParams, opts ...ClientOption) (*CreateContentLibraryImageOK, error) DeleteContentLibraryImage(params *DeleteContentLibraryImageParams, opts ...ClientOption) (*DeleteContentLibraryImageOK, error) DistributeContentLibraryImageClusters(params *DistributeContentLibraryImageClustersParams, opts ...ClientOption) (*DistributeContentLibraryImageClustersOK, error) GetContentLibraryImages(params *GetContentLibraryImagesParams, opts ...ClientOption) (*GetContentLibraryImagesOK, error) GetContentLibraryImagesConnection(params *GetContentLibraryImagesConnectionParams, opts ...ClientOption) (*GetContentLibraryImagesConnectionOK, error) ImportContentLibraryImage(params *ImportContentLibraryImageParams, opts ...ClientOption) (*ImportContentLibraryImageOK, error) RemoveContentLibraryImageClusters(params *RemoveContentLibraryImageClustersParams, opts ...ClientOption) (*RemoveContentLibraryImageClustersOK, error) UpdateContentLibraryImage(params *UpdateContentLibraryImageParams, opts ...ClientOption) (*UpdateContentLibraryImageOK, 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 content library image API client.
type CreateContentLibraryImageBadRequest ¶
type CreateContentLibraryImageBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
CreateContentLibraryImageBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateContentLibraryImageBadRequest ¶
func NewCreateContentLibraryImageBadRequest() *CreateContentLibraryImageBadRequest
NewCreateContentLibraryImageBadRequest creates a CreateContentLibraryImageBadRequest with default headers values
func (*CreateContentLibraryImageBadRequest) Error ¶
func (o *CreateContentLibraryImageBadRequest) Error() string
func (*CreateContentLibraryImageBadRequest) GetPayload ¶
func (o *CreateContentLibraryImageBadRequest) GetPayload() *models.ErrorBody
type CreateContentLibraryImageInternalServerError ¶
type CreateContentLibraryImageInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
CreateContentLibraryImageInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCreateContentLibraryImageInternalServerError ¶
func NewCreateContentLibraryImageInternalServerError() *CreateContentLibraryImageInternalServerError
NewCreateContentLibraryImageInternalServerError creates a CreateContentLibraryImageInternalServerError with default headers values
func (*CreateContentLibraryImageInternalServerError) Error ¶
func (o *CreateContentLibraryImageInternalServerError) Error() string
func (*CreateContentLibraryImageInternalServerError) GetPayload ¶
func (o *CreateContentLibraryImageInternalServerError) GetPayload() *models.ErrorBody
type CreateContentLibraryImageNotFound ¶
CreateContentLibraryImageNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateContentLibraryImageNotFound ¶
func NewCreateContentLibraryImageNotFound() *CreateContentLibraryImageNotFound
NewCreateContentLibraryImageNotFound creates a CreateContentLibraryImageNotFound with default headers values
func (*CreateContentLibraryImageNotFound) Error ¶
func (o *CreateContentLibraryImageNotFound) Error() string
func (*CreateContentLibraryImageNotFound) GetPayload ¶
func (o *CreateContentLibraryImageNotFound) GetPayload() *models.ErrorBody
type CreateContentLibraryImageNotModified ¶
type CreateContentLibraryImageNotModified struct { }
CreateContentLibraryImageNotModified describes a response with status code 304, with default header values.
Not modified
func NewCreateContentLibraryImageNotModified ¶
func NewCreateContentLibraryImageNotModified() *CreateContentLibraryImageNotModified
NewCreateContentLibraryImageNotModified creates a CreateContentLibraryImageNotModified with default headers values
func (*CreateContentLibraryImageNotModified) Error ¶
func (o *CreateContentLibraryImageNotModified) Error() string
type CreateContentLibraryImageOK ¶
type CreateContentLibraryImageOK struct { XTowerRequestID string Payload []*models.UploadTask }
CreateContentLibraryImageOK describes a response with status code 200, with default header values.
CreateContentLibraryImageOK create content library image o k
func NewCreateContentLibraryImageOK ¶
func NewCreateContentLibraryImageOK() *CreateContentLibraryImageOK
NewCreateContentLibraryImageOK creates a CreateContentLibraryImageOK with default headers values
func (*CreateContentLibraryImageOK) Error ¶
func (o *CreateContentLibraryImageOK) Error() string
func (*CreateContentLibraryImageOK) GetPayload ¶
func (o *CreateContentLibraryImageOK) GetPayload() []*models.UploadTask
type CreateContentLibraryImageParams ¶
type CreateContentLibraryImageParams struct { // Clusters. Clusters string // ContentLanguage. // // Default: "en-US" ContentLanguage *string // Description. Description *string // File. File runtime.NamedReadCloser // Name. Name *string // Size. Size *string // SizeUnit. SizeUnit *string // UploadTaskID. UploadTaskID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateContentLibraryImageParams contains all the parameters to send to the API endpoint
for the create content library image operation. Typically these are written to a http.Request.
func NewCreateContentLibraryImageParams ¶
func NewCreateContentLibraryImageParams() *CreateContentLibraryImageParams
NewCreateContentLibraryImageParams creates a new CreateContentLibraryImageParams 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 NewCreateContentLibraryImageParamsWithContext ¶
func NewCreateContentLibraryImageParamsWithContext(ctx context.Context) *CreateContentLibraryImageParams
NewCreateContentLibraryImageParamsWithContext creates a new CreateContentLibraryImageParams object with the ability to set a context for a request.
func NewCreateContentLibraryImageParamsWithHTTPClient ¶
func NewCreateContentLibraryImageParamsWithHTTPClient(client *http.Client) *CreateContentLibraryImageParams
NewCreateContentLibraryImageParamsWithHTTPClient creates a new CreateContentLibraryImageParams object with the ability to set a custom HTTPClient for a request.
func NewCreateContentLibraryImageParamsWithTimeout ¶
func NewCreateContentLibraryImageParamsWithTimeout(timeout time.Duration) *CreateContentLibraryImageParams
NewCreateContentLibraryImageParamsWithTimeout creates a new CreateContentLibraryImageParams object with the ability to set a timeout on a request.
func (*CreateContentLibraryImageParams) SetClusters ¶
func (o *CreateContentLibraryImageParams) SetClusters(clusters string)
SetClusters adds the clusters to the create content library image params
func (*CreateContentLibraryImageParams) SetContentLanguage ¶
func (o *CreateContentLibraryImageParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the create content library image params
func (*CreateContentLibraryImageParams) SetContext ¶
func (o *CreateContentLibraryImageParams) SetContext(ctx context.Context)
SetContext adds the context to the create content library image params
func (*CreateContentLibraryImageParams) SetDefaults ¶
func (o *CreateContentLibraryImageParams) SetDefaults()
SetDefaults hydrates default values in the create content library image params (not the query body).
All values with no default are reset to their zero value.
func (*CreateContentLibraryImageParams) SetDescription ¶
func (o *CreateContentLibraryImageParams) SetDescription(description *string)
SetDescription adds the description to the create content library image params
func (*CreateContentLibraryImageParams) SetFile ¶
func (o *CreateContentLibraryImageParams) SetFile(file runtime.NamedReadCloser)
SetFile adds the file to the create content library image params
func (*CreateContentLibraryImageParams) SetHTTPClient ¶
func (o *CreateContentLibraryImageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create content library image params
func (*CreateContentLibraryImageParams) SetName ¶
func (o *CreateContentLibraryImageParams) SetName(name *string)
SetName adds the name to the create content library image params
func (*CreateContentLibraryImageParams) SetSize ¶
func (o *CreateContentLibraryImageParams) SetSize(size *string)
SetSize adds the size to the create content library image params
func (*CreateContentLibraryImageParams) SetSizeUnit ¶ added in v2.4.0
func (o *CreateContentLibraryImageParams) SetSizeUnit(sizeUnit *string)
SetSizeUnit adds the sizeUnit to the create content library image params
func (*CreateContentLibraryImageParams) SetTimeout ¶
func (o *CreateContentLibraryImageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create content library image params
func (*CreateContentLibraryImageParams) SetUploadTaskID ¶
func (o *CreateContentLibraryImageParams) SetUploadTaskID(uploadTaskID *string)
SetUploadTaskID adds the uploadTaskId to the create content library image params
func (*CreateContentLibraryImageParams) WithClusters ¶
func (o *CreateContentLibraryImageParams) WithClusters(clusters string) *CreateContentLibraryImageParams
WithClusters adds the clusters to the create content library image params
func (*CreateContentLibraryImageParams) WithContentLanguage ¶
func (o *CreateContentLibraryImageParams) WithContentLanguage(contentLanguage *string) *CreateContentLibraryImageParams
WithContentLanguage adds the contentLanguage to the create content library image params
func (*CreateContentLibraryImageParams) WithContext ¶
func (o *CreateContentLibraryImageParams) WithContext(ctx context.Context) *CreateContentLibraryImageParams
WithContext adds the context to the create content library image params
func (*CreateContentLibraryImageParams) WithDefaults ¶
func (o *CreateContentLibraryImageParams) WithDefaults() *CreateContentLibraryImageParams
WithDefaults hydrates default values in the create content library image params (not the query body).
All values with no default are reset to their zero value.
func (*CreateContentLibraryImageParams) WithDescription ¶
func (o *CreateContentLibraryImageParams) WithDescription(description *string) *CreateContentLibraryImageParams
WithDescription adds the description to the create content library image params
func (*CreateContentLibraryImageParams) WithFile ¶
func (o *CreateContentLibraryImageParams) WithFile(file runtime.NamedReadCloser) *CreateContentLibraryImageParams
WithFile adds the file to the create content library image params
func (*CreateContentLibraryImageParams) WithHTTPClient ¶
func (o *CreateContentLibraryImageParams) WithHTTPClient(client *http.Client) *CreateContentLibraryImageParams
WithHTTPClient adds the HTTPClient to the create content library image params
func (*CreateContentLibraryImageParams) WithName ¶
func (o *CreateContentLibraryImageParams) WithName(name *string) *CreateContentLibraryImageParams
WithName adds the name to the create content library image params
func (*CreateContentLibraryImageParams) WithSize ¶
func (o *CreateContentLibraryImageParams) WithSize(size *string) *CreateContentLibraryImageParams
WithSize adds the size to the create content library image params
func (*CreateContentLibraryImageParams) WithSizeUnit ¶ added in v2.4.0
func (o *CreateContentLibraryImageParams) WithSizeUnit(sizeUnit *string) *CreateContentLibraryImageParams
WithSizeUnit adds the sizeUnit to the create content library image params
func (*CreateContentLibraryImageParams) WithTimeout ¶
func (o *CreateContentLibraryImageParams) WithTimeout(timeout time.Duration) *CreateContentLibraryImageParams
WithTimeout adds the timeout to the create content library image params
func (*CreateContentLibraryImageParams) WithUploadTaskID ¶
func (o *CreateContentLibraryImageParams) WithUploadTaskID(uploadTaskID *string) *CreateContentLibraryImageParams
WithUploadTaskID adds the uploadTaskID to the create content library image params
func (*CreateContentLibraryImageParams) WriteToRequest ¶
func (o *CreateContentLibraryImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateContentLibraryImageReader ¶
type CreateContentLibraryImageReader struct {
// contains filtered or unexported fields
}
CreateContentLibraryImageReader is a Reader for the CreateContentLibraryImage structure.
func (*CreateContentLibraryImageReader) ReadResponse ¶
func (o *CreateContentLibraryImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteContentLibraryImageBadRequest ¶
type DeleteContentLibraryImageBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
DeleteContentLibraryImageBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteContentLibraryImageBadRequest ¶
func NewDeleteContentLibraryImageBadRequest() *DeleteContentLibraryImageBadRequest
NewDeleteContentLibraryImageBadRequest creates a DeleteContentLibraryImageBadRequest with default headers values
func (*DeleteContentLibraryImageBadRequest) Error ¶
func (o *DeleteContentLibraryImageBadRequest) Error() string
func (*DeleteContentLibraryImageBadRequest) GetPayload ¶
func (o *DeleteContentLibraryImageBadRequest) GetPayload() *models.ErrorBody
type DeleteContentLibraryImageInternalServerError ¶
type DeleteContentLibraryImageInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
DeleteContentLibraryImageInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDeleteContentLibraryImageInternalServerError ¶
func NewDeleteContentLibraryImageInternalServerError() *DeleteContentLibraryImageInternalServerError
NewDeleteContentLibraryImageInternalServerError creates a DeleteContentLibraryImageInternalServerError with default headers values
func (*DeleteContentLibraryImageInternalServerError) Error ¶
func (o *DeleteContentLibraryImageInternalServerError) Error() string
func (*DeleteContentLibraryImageInternalServerError) GetPayload ¶
func (o *DeleteContentLibraryImageInternalServerError) GetPayload() *models.ErrorBody
type DeleteContentLibraryImageNotFound ¶
DeleteContentLibraryImageNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteContentLibraryImageNotFound ¶
func NewDeleteContentLibraryImageNotFound() *DeleteContentLibraryImageNotFound
NewDeleteContentLibraryImageNotFound creates a DeleteContentLibraryImageNotFound with default headers values
func (*DeleteContentLibraryImageNotFound) Error ¶
func (o *DeleteContentLibraryImageNotFound) Error() string
func (*DeleteContentLibraryImageNotFound) GetPayload ¶
func (o *DeleteContentLibraryImageNotFound) GetPayload() *models.ErrorBody
type DeleteContentLibraryImageOK ¶
type DeleteContentLibraryImageOK struct { XTowerRequestID string Payload []*models.WithTaskDeleteContentLibraryImage }
DeleteContentLibraryImageOK describes a response with status code 200, with default header values.
DeleteContentLibraryImageOK delete content library image o k
func NewDeleteContentLibraryImageOK ¶
func NewDeleteContentLibraryImageOK() *DeleteContentLibraryImageOK
NewDeleteContentLibraryImageOK creates a DeleteContentLibraryImageOK with default headers values
func (*DeleteContentLibraryImageOK) Error ¶
func (o *DeleteContentLibraryImageOK) Error() string
func (*DeleteContentLibraryImageOK) GetPayload ¶
func (o *DeleteContentLibraryImageOK) GetPayload() []*models.WithTaskDeleteContentLibraryImage
type DeleteContentLibraryImageParams ¶
type DeleteContentLibraryImageParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.ContentLibraryImageDeletionParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteContentLibraryImageParams contains all the parameters to send to the API endpoint
for the delete content library image operation. Typically these are written to a http.Request.
func NewDeleteContentLibraryImageParams ¶
func NewDeleteContentLibraryImageParams() *DeleteContentLibraryImageParams
NewDeleteContentLibraryImageParams creates a new DeleteContentLibraryImageParams 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 NewDeleteContentLibraryImageParamsWithContext ¶
func NewDeleteContentLibraryImageParamsWithContext(ctx context.Context) *DeleteContentLibraryImageParams
NewDeleteContentLibraryImageParamsWithContext creates a new DeleteContentLibraryImageParams object with the ability to set a context for a request.
func NewDeleteContentLibraryImageParamsWithHTTPClient ¶
func NewDeleteContentLibraryImageParamsWithHTTPClient(client *http.Client) *DeleteContentLibraryImageParams
NewDeleteContentLibraryImageParamsWithHTTPClient creates a new DeleteContentLibraryImageParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteContentLibraryImageParamsWithTimeout ¶
func NewDeleteContentLibraryImageParamsWithTimeout(timeout time.Duration) *DeleteContentLibraryImageParams
NewDeleteContentLibraryImageParamsWithTimeout creates a new DeleteContentLibraryImageParams object with the ability to set a timeout on a request.
func (*DeleteContentLibraryImageParams) SetContentLanguage ¶
func (o *DeleteContentLibraryImageParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the delete content library image params
func (*DeleteContentLibraryImageParams) SetContext ¶
func (o *DeleteContentLibraryImageParams) SetContext(ctx context.Context)
SetContext adds the context to the delete content library image params
func (*DeleteContentLibraryImageParams) SetDefaults ¶
func (o *DeleteContentLibraryImageParams) SetDefaults()
SetDefaults hydrates default values in the delete content library image params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteContentLibraryImageParams) SetHTTPClient ¶
func (o *DeleteContentLibraryImageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete content library image params
func (*DeleteContentLibraryImageParams) SetRequestBody ¶
func (o *DeleteContentLibraryImageParams) SetRequestBody(requestBody *models.ContentLibraryImageDeletionParams)
SetRequestBody adds the requestBody to the delete content library image params
func (*DeleteContentLibraryImageParams) SetTimeout ¶
func (o *DeleteContentLibraryImageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete content library image params
func (*DeleteContentLibraryImageParams) WithContentLanguage ¶
func (o *DeleteContentLibraryImageParams) WithContentLanguage(contentLanguage *string) *DeleteContentLibraryImageParams
WithContentLanguage adds the contentLanguage to the delete content library image params
func (*DeleteContentLibraryImageParams) WithContext ¶
func (o *DeleteContentLibraryImageParams) WithContext(ctx context.Context) *DeleteContentLibraryImageParams
WithContext adds the context to the delete content library image params
func (*DeleteContentLibraryImageParams) WithDefaults ¶
func (o *DeleteContentLibraryImageParams) WithDefaults() *DeleteContentLibraryImageParams
WithDefaults hydrates default values in the delete content library image params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteContentLibraryImageParams) WithHTTPClient ¶
func (o *DeleteContentLibraryImageParams) WithHTTPClient(client *http.Client) *DeleteContentLibraryImageParams
WithHTTPClient adds the HTTPClient to the delete content library image params
func (*DeleteContentLibraryImageParams) WithRequestBody ¶
func (o *DeleteContentLibraryImageParams) WithRequestBody(requestBody *models.ContentLibraryImageDeletionParams) *DeleteContentLibraryImageParams
WithRequestBody adds the requestBody to the delete content library image params
func (*DeleteContentLibraryImageParams) WithTimeout ¶
func (o *DeleteContentLibraryImageParams) WithTimeout(timeout time.Duration) *DeleteContentLibraryImageParams
WithTimeout adds the timeout to the delete content library image params
func (*DeleteContentLibraryImageParams) WriteToRequest ¶
func (o *DeleteContentLibraryImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteContentLibraryImageReader ¶
type DeleteContentLibraryImageReader struct {
// contains filtered or unexported fields
}
DeleteContentLibraryImageReader is a Reader for the DeleteContentLibraryImage structure.
func (*DeleteContentLibraryImageReader) ReadResponse ¶
func (o *DeleteContentLibraryImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DistributeContentLibraryImageClustersBadRequest ¶
type DistributeContentLibraryImageClustersBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
DistributeContentLibraryImageClustersBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDistributeContentLibraryImageClustersBadRequest ¶
func NewDistributeContentLibraryImageClustersBadRequest() *DistributeContentLibraryImageClustersBadRequest
NewDistributeContentLibraryImageClustersBadRequest creates a DistributeContentLibraryImageClustersBadRequest with default headers values
func (*DistributeContentLibraryImageClustersBadRequest) Error ¶
func (o *DistributeContentLibraryImageClustersBadRequest) Error() string
func (*DistributeContentLibraryImageClustersBadRequest) GetPayload ¶
func (o *DistributeContentLibraryImageClustersBadRequest) GetPayload() *models.ErrorBody
type DistributeContentLibraryImageClustersInternalServerError ¶
type DistributeContentLibraryImageClustersInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
DistributeContentLibraryImageClustersInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDistributeContentLibraryImageClustersInternalServerError ¶
func NewDistributeContentLibraryImageClustersInternalServerError() *DistributeContentLibraryImageClustersInternalServerError
NewDistributeContentLibraryImageClustersInternalServerError creates a DistributeContentLibraryImageClustersInternalServerError with default headers values
func (*DistributeContentLibraryImageClustersInternalServerError) Error ¶
func (o *DistributeContentLibraryImageClustersInternalServerError) Error() string
func (*DistributeContentLibraryImageClustersInternalServerError) GetPayload ¶
func (o *DistributeContentLibraryImageClustersInternalServerError) GetPayload() *models.ErrorBody
type DistributeContentLibraryImageClustersNotFound ¶
type DistributeContentLibraryImageClustersNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
DistributeContentLibraryImageClustersNotFound describes a response with status code 404, with default header values.
Not found
func NewDistributeContentLibraryImageClustersNotFound ¶
func NewDistributeContentLibraryImageClustersNotFound() *DistributeContentLibraryImageClustersNotFound
NewDistributeContentLibraryImageClustersNotFound creates a DistributeContentLibraryImageClustersNotFound with default headers values
func (*DistributeContentLibraryImageClustersNotFound) Error ¶
func (o *DistributeContentLibraryImageClustersNotFound) Error() string
func (*DistributeContentLibraryImageClustersNotFound) GetPayload ¶
func (o *DistributeContentLibraryImageClustersNotFound) GetPayload() *models.ErrorBody
type DistributeContentLibraryImageClustersOK ¶
type DistributeContentLibraryImageClustersOK struct { XTowerRequestID string Payload []*models.WithTaskContentLibraryImage }
DistributeContentLibraryImageClustersOK describes a response with status code 200, with default header values.
DistributeContentLibraryImageClustersOK distribute content library image clusters o k
func NewDistributeContentLibraryImageClustersOK ¶
func NewDistributeContentLibraryImageClustersOK() *DistributeContentLibraryImageClustersOK
NewDistributeContentLibraryImageClustersOK creates a DistributeContentLibraryImageClustersOK with default headers values
func (*DistributeContentLibraryImageClustersOK) Error ¶
func (o *DistributeContentLibraryImageClustersOK) Error() string
func (*DistributeContentLibraryImageClustersOK) GetPayload ¶
func (o *DistributeContentLibraryImageClustersOK) GetPayload() []*models.WithTaskContentLibraryImage
type DistributeContentLibraryImageClustersParams ¶
type DistributeContentLibraryImageClustersParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.ContentLibraryImageUpdationClusterParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DistributeContentLibraryImageClustersParams contains all the parameters to send to the API endpoint
for the distribute content library image clusters operation. Typically these are written to a http.Request.
func NewDistributeContentLibraryImageClustersParams ¶
func NewDistributeContentLibraryImageClustersParams() *DistributeContentLibraryImageClustersParams
NewDistributeContentLibraryImageClustersParams creates a new DistributeContentLibraryImageClustersParams 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 NewDistributeContentLibraryImageClustersParamsWithContext ¶
func NewDistributeContentLibraryImageClustersParamsWithContext(ctx context.Context) *DistributeContentLibraryImageClustersParams
NewDistributeContentLibraryImageClustersParamsWithContext creates a new DistributeContentLibraryImageClustersParams object with the ability to set a context for a request.
func NewDistributeContentLibraryImageClustersParamsWithHTTPClient ¶
func NewDistributeContentLibraryImageClustersParamsWithHTTPClient(client *http.Client) *DistributeContentLibraryImageClustersParams
NewDistributeContentLibraryImageClustersParamsWithHTTPClient creates a new DistributeContentLibraryImageClustersParams object with the ability to set a custom HTTPClient for a request.
func NewDistributeContentLibraryImageClustersParamsWithTimeout ¶
func NewDistributeContentLibraryImageClustersParamsWithTimeout(timeout time.Duration) *DistributeContentLibraryImageClustersParams
NewDistributeContentLibraryImageClustersParamsWithTimeout creates a new DistributeContentLibraryImageClustersParams object with the ability to set a timeout on a request.
func (*DistributeContentLibraryImageClustersParams) SetContentLanguage ¶
func (o *DistributeContentLibraryImageClustersParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the distribute content library image clusters params
func (*DistributeContentLibraryImageClustersParams) SetContext ¶
func (o *DistributeContentLibraryImageClustersParams) SetContext(ctx context.Context)
SetContext adds the context to the distribute content library image clusters params
func (*DistributeContentLibraryImageClustersParams) SetDefaults ¶
func (o *DistributeContentLibraryImageClustersParams) SetDefaults()
SetDefaults hydrates default values in the distribute content library image clusters params (not the query body).
All values with no default are reset to their zero value.
func (*DistributeContentLibraryImageClustersParams) SetHTTPClient ¶
func (o *DistributeContentLibraryImageClustersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the distribute content library image clusters params
func (*DistributeContentLibraryImageClustersParams) SetRequestBody ¶
func (o *DistributeContentLibraryImageClustersParams) SetRequestBody(requestBody *models.ContentLibraryImageUpdationClusterParams)
SetRequestBody adds the requestBody to the distribute content library image clusters params
func (*DistributeContentLibraryImageClustersParams) SetTimeout ¶
func (o *DistributeContentLibraryImageClustersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the distribute content library image clusters params
func (*DistributeContentLibraryImageClustersParams) WithContentLanguage ¶
func (o *DistributeContentLibraryImageClustersParams) WithContentLanguage(contentLanguage *string) *DistributeContentLibraryImageClustersParams
WithContentLanguage adds the contentLanguage to the distribute content library image clusters params
func (*DistributeContentLibraryImageClustersParams) WithContext ¶
func (o *DistributeContentLibraryImageClustersParams) WithContext(ctx context.Context) *DistributeContentLibraryImageClustersParams
WithContext adds the context to the distribute content library image clusters params
func (*DistributeContentLibraryImageClustersParams) WithDefaults ¶
func (o *DistributeContentLibraryImageClustersParams) WithDefaults() *DistributeContentLibraryImageClustersParams
WithDefaults hydrates default values in the distribute content library image clusters params (not the query body).
All values with no default are reset to their zero value.
func (*DistributeContentLibraryImageClustersParams) WithHTTPClient ¶
func (o *DistributeContentLibraryImageClustersParams) WithHTTPClient(client *http.Client) *DistributeContentLibraryImageClustersParams
WithHTTPClient adds the HTTPClient to the distribute content library image clusters params
func (*DistributeContentLibraryImageClustersParams) WithRequestBody ¶
func (o *DistributeContentLibraryImageClustersParams) WithRequestBody(requestBody *models.ContentLibraryImageUpdationClusterParams) *DistributeContentLibraryImageClustersParams
WithRequestBody adds the requestBody to the distribute content library image clusters params
func (*DistributeContentLibraryImageClustersParams) WithTimeout ¶
func (o *DistributeContentLibraryImageClustersParams) WithTimeout(timeout time.Duration) *DistributeContentLibraryImageClustersParams
WithTimeout adds the timeout to the distribute content library image clusters params
func (*DistributeContentLibraryImageClustersParams) WriteToRequest ¶
func (o *DistributeContentLibraryImageClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DistributeContentLibraryImageClustersReader ¶
type DistributeContentLibraryImageClustersReader struct {
// contains filtered or unexported fields
}
DistributeContentLibraryImageClustersReader is a Reader for the DistributeContentLibraryImageClusters structure.
func (*DistributeContentLibraryImageClustersReader) ReadResponse ¶
func (o *DistributeContentLibraryImageClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetContentLibraryImagesBadRequest ¶
GetContentLibraryImagesBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetContentLibraryImagesBadRequest ¶
func NewGetContentLibraryImagesBadRequest() *GetContentLibraryImagesBadRequest
NewGetContentLibraryImagesBadRequest creates a GetContentLibraryImagesBadRequest with default headers values
func (*GetContentLibraryImagesBadRequest) Error ¶
func (o *GetContentLibraryImagesBadRequest) Error() string
func (*GetContentLibraryImagesBadRequest) GetPayload ¶
func (o *GetContentLibraryImagesBadRequest) GetPayload() *models.ErrorBody
type GetContentLibraryImagesConnectionBadRequest ¶
type GetContentLibraryImagesConnectionBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
GetContentLibraryImagesConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetContentLibraryImagesConnectionBadRequest ¶
func NewGetContentLibraryImagesConnectionBadRequest() *GetContentLibraryImagesConnectionBadRequest
NewGetContentLibraryImagesConnectionBadRequest creates a GetContentLibraryImagesConnectionBadRequest with default headers values
func (*GetContentLibraryImagesConnectionBadRequest) Error ¶
func (o *GetContentLibraryImagesConnectionBadRequest) Error() string
func (*GetContentLibraryImagesConnectionBadRequest) GetPayload ¶
func (o *GetContentLibraryImagesConnectionBadRequest) GetPayload() *models.ErrorBody
type GetContentLibraryImagesConnectionInternalServerError ¶
type GetContentLibraryImagesConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetContentLibraryImagesConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetContentLibraryImagesConnectionInternalServerError ¶
func NewGetContentLibraryImagesConnectionInternalServerError() *GetContentLibraryImagesConnectionInternalServerError
NewGetContentLibraryImagesConnectionInternalServerError creates a GetContentLibraryImagesConnectionInternalServerError with default headers values
func (*GetContentLibraryImagesConnectionInternalServerError) Error ¶
func (o *GetContentLibraryImagesConnectionInternalServerError) Error() string
func (*GetContentLibraryImagesConnectionInternalServerError) GetPayload ¶
func (o *GetContentLibraryImagesConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetContentLibraryImagesConnectionNotFound ¶
type GetContentLibraryImagesConnectionNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
GetContentLibraryImagesConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetContentLibraryImagesConnectionNotFound ¶
func NewGetContentLibraryImagesConnectionNotFound() *GetContentLibraryImagesConnectionNotFound
NewGetContentLibraryImagesConnectionNotFound creates a GetContentLibraryImagesConnectionNotFound with default headers values
func (*GetContentLibraryImagesConnectionNotFound) Error ¶
func (o *GetContentLibraryImagesConnectionNotFound) Error() string
func (*GetContentLibraryImagesConnectionNotFound) GetPayload ¶
func (o *GetContentLibraryImagesConnectionNotFound) GetPayload() *models.ErrorBody
type GetContentLibraryImagesConnectionOK ¶
type GetContentLibraryImagesConnectionOK struct { XTowerRequestID string Payload *models.ContentLibraryImageConnection }
GetContentLibraryImagesConnectionOK describes a response with status code 200, with default header values.
GetContentLibraryImagesConnectionOK get content library images connection o k
func NewGetContentLibraryImagesConnectionOK ¶
func NewGetContentLibraryImagesConnectionOK() *GetContentLibraryImagesConnectionOK
NewGetContentLibraryImagesConnectionOK creates a GetContentLibraryImagesConnectionOK with default headers values
func (*GetContentLibraryImagesConnectionOK) Error ¶
func (o *GetContentLibraryImagesConnectionOK) Error() string
func (*GetContentLibraryImagesConnectionOK) GetPayload ¶
func (o *GetContentLibraryImagesConnectionOK) GetPayload() *models.ContentLibraryImageConnection
type GetContentLibraryImagesConnectionParams ¶
type GetContentLibraryImagesConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetContentLibraryImagesConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetContentLibraryImagesConnectionParams contains all the parameters to send to the API endpoint
for the get content library images connection operation. Typically these are written to a http.Request.
func NewGetContentLibraryImagesConnectionParams ¶
func NewGetContentLibraryImagesConnectionParams() *GetContentLibraryImagesConnectionParams
NewGetContentLibraryImagesConnectionParams creates a new GetContentLibraryImagesConnectionParams 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 NewGetContentLibraryImagesConnectionParamsWithContext ¶
func NewGetContentLibraryImagesConnectionParamsWithContext(ctx context.Context) *GetContentLibraryImagesConnectionParams
NewGetContentLibraryImagesConnectionParamsWithContext creates a new GetContentLibraryImagesConnectionParams object with the ability to set a context for a request.
func NewGetContentLibraryImagesConnectionParamsWithHTTPClient ¶
func NewGetContentLibraryImagesConnectionParamsWithHTTPClient(client *http.Client) *GetContentLibraryImagesConnectionParams
NewGetContentLibraryImagesConnectionParamsWithHTTPClient creates a new GetContentLibraryImagesConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetContentLibraryImagesConnectionParamsWithTimeout ¶
func NewGetContentLibraryImagesConnectionParamsWithTimeout(timeout time.Duration) *GetContentLibraryImagesConnectionParams
NewGetContentLibraryImagesConnectionParamsWithTimeout creates a new GetContentLibraryImagesConnectionParams object with the ability to set a timeout on a request.
func (*GetContentLibraryImagesConnectionParams) SetContentLanguage ¶
func (o *GetContentLibraryImagesConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get content library images connection params
func (*GetContentLibraryImagesConnectionParams) SetContext ¶
func (o *GetContentLibraryImagesConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get content library images connection params
func (*GetContentLibraryImagesConnectionParams) SetDefaults ¶
func (o *GetContentLibraryImagesConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get content library images connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetContentLibraryImagesConnectionParams) SetHTTPClient ¶
func (o *GetContentLibraryImagesConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get content library images connection params
func (*GetContentLibraryImagesConnectionParams) SetRequestBody ¶
func (o *GetContentLibraryImagesConnectionParams) SetRequestBody(requestBody *models.GetContentLibraryImagesConnectionRequestBody)
SetRequestBody adds the requestBody to the get content library images connection params
func (*GetContentLibraryImagesConnectionParams) SetTimeout ¶
func (o *GetContentLibraryImagesConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get content library images connection params
func (*GetContentLibraryImagesConnectionParams) WithContentLanguage ¶
func (o *GetContentLibraryImagesConnectionParams) WithContentLanguage(contentLanguage *string) *GetContentLibraryImagesConnectionParams
WithContentLanguage adds the contentLanguage to the get content library images connection params
func (*GetContentLibraryImagesConnectionParams) WithContext ¶
func (o *GetContentLibraryImagesConnectionParams) WithContext(ctx context.Context) *GetContentLibraryImagesConnectionParams
WithContext adds the context to the get content library images connection params
func (*GetContentLibraryImagesConnectionParams) WithDefaults ¶
func (o *GetContentLibraryImagesConnectionParams) WithDefaults() *GetContentLibraryImagesConnectionParams
WithDefaults hydrates default values in the get content library images connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetContentLibraryImagesConnectionParams) WithHTTPClient ¶
func (o *GetContentLibraryImagesConnectionParams) WithHTTPClient(client *http.Client) *GetContentLibraryImagesConnectionParams
WithHTTPClient adds the HTTPClient to the get content library images connection params
func (*GetContentLibraryImagesConnectionParams) WithRequestBody ¶
func (o *GetContentLibraryImagesConnectionParams) WithRequestBody(requestBody *models.GetContentLibraryImagesConnectionRequestBody) *GetContentLibraryImagesConnectionParams
WithRequestBody adds the requestBody to the get content library images connection params
func (*GetContentLibraryImagesConnectionParams) WithTimeout ¶
func (o *GetContentLibraryImagesConnectionParams) WithTimeout(timeout time.Duration) *GetContentLibraryImagesConnectionParams
WithTimeout adds the timeout to the get content library images connection params
func (*GetContentLibraryImagesConnectionParams) WriteToRequest ¶
func (o *GetContentLibraryImagesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetContentLibraryImagesConnectionReader ¶
type GetContentLibraryImagesConnectionReader struct {
// contains filtered or unexported fields
}
GetContentLibraryImagesConnectionReader is a Reader for the GetContentLibraryImagesConnection structure.
func (*GetContentLibraryImagesConnectionReader) ReadResponse ¶
func (o *GetContentLibraryImagesConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetContentLibraryImagesInternalServerError ¶
type GetContentLibraryImagesInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetContentLibraryImagesInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetContentLibraryImagesInternalServerError ¶
func NewGetContentLibraryImagesInternalServerError() *GetContentLibraryImagesInternalServerError
NewGetContentLibraryImagesInternalServerError creates a GetContentLibraryImagesInternalServerError with default headers values
func (*GetContentLibraryImagesInternalServerError) Error ¶
func (o *GetContentLibraryImagesInternalServerError) Error() string
func (*GetContentLibraryImagesInternalServerError) GetPayload ¶
func (o *GetContentLibraryImagesInternalServerError) GetPayload() *models.ErrorBody
type GetContentLibraryImagesNotFound ¶
GetContentLibraryImagesNotFound describes a response with status code 404, with default header values.
Not found
func NewGetContentLibraryImagesNotFound ¶
func NewGetContentLibraryImagesNotFound() *GetContentLibraryImagesNotFound
NewGetContentLibraryImagesNotFound creates a GetContentLibraryImagesNotFound with default headers values
func (*GetContentLibraryImagesNotFound) Error ¶
func (o *GetContentLibraryImagesNotFound) Error() string
func (*GetContentLibraryImagesNotFound) GetPayload ¶
func (o *GetContentLibraryImagesNotFound) GetPayload() *models.ErrorBody
type GetContentLibraryImagesOK ¶
type GetContentLibraryImagesOK struct { XTowerRequestID string Payload []*models.ContentLibraryImage }
GetContentLibraryImagesOK describes a response with status code 200, with default header values.
GetContentLibraryImagesOK get content library images o k
func NewGetContentLibraryImagesOK ¶
func NewGetContentLibraryImagesOK() *GetContentLibraryImagesOK
NewGetContentLibraryImagesOK creates a GetContentLibraryImagesOK with default headers values
func (*GetContentLibraryImagesOK) Error ¶
func (o *GetContentLibraryImagesOK) Error() string
func (*GetContentLibraryImagesOK) GetPayload ¶
func (o *GetContentLibraryImagesOK) GetPayload() []*models.ContentLibraryImage
type GetContentLibraryImagesParams ¶
type GetContentLibraryImagesParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetContentLibraryImagesRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetContentLibraryImagesParams contains all the parameters to send to the API endpoint
for the get content library images operation. Typically these are written to a http.Request.
func NewGetContentLibraryImagesParams ¶
func NewGetContentLibraryImagesParams() *GetContentLibraryImagesParams
NewGetContentLibraryImagesParams creates a new GetContentLibraryImagesParams 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 NewGetContentLibraryImagesParamsWithContext ¶
func NewGetContentLibraryImagesParamsWithContext(ctx context.Context) *GetContentLibraryImagesParams
NewGetContentLibraryImagesParamsWithContext creates a new GetContentLibraryImagesParams object with the ability to set a context for a request.
func NewGetContentLibraryImagesParamsWithHTTPClient ¶
func NewGetContentLibraryImagesParamsWithHTTPClient(client *http.Client) *GetContentLibraryImagesParams
NewGetContentLibraryImagesParamsWithHTTPClient creates a new GetContentLibraryImagesParams object with the ability to set a custom HTTPClient for a request.
func NewGetContentLibraryImagesParamsWithTimeout ¶
func NewGetContentLibraryImagesParamsWithTimeout(timeout time.Duration) *GetContentLibraryImagesParams
NewGetContentLibraryImagesParamsWithTimeout creates a new GetContentLibraryImagesParams object with the ability to set a timeout on a request.
func (*GetContentLibraryImagesParams) SetContentLanguage ¶
func (o *GetContentLibraryImagesParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get content library images params
func (*GetContentLibraryImagesParams) SetContext ¶
func (o *GetContentLibraryImagesParams) SetContext(ctx context.Context)
SetContext adds the context to the get content library images params
func (*GetContentLibraryImagesParams) SetDefaults ¶
func (o *GetContentLibraryImagesParams) SetDefaults()
SetDefaults hydrates default values in the get content library images params (not the query body).
All values with no default are reset to their zero value.
func (*GetContentLibraryImagesParams) SetHTTPClient ¶
func (o *GetContentLibraryImagesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get content library images params
func (*GetContentLibraryImagesParams) SetRequestBody ¶
func (o *GetContentLibraryImagesParams) SetRequestBody(requestBody *models.GetContentLibraryImagesRequestBody)
SetRequestBody adds the requestBody to the get content library images params
func (*GetContentLibraryImagesParams) SetTimeout ¶
func (o *GetContentLibraryImagesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get content library images params
func (*GetContentLibraryImagesParams) WithContentLanguage ¶
func (o *GetContentLibraryImagesParams) WithContentLanguage(contentLanguage *string) *GetContentLibraryImagesParams
WithContentLanguage adds the contentLanguage to the get content library images params
func (*GetContentLibraryImagesParams) WithContext ¶
func (o *GetContentLibraryImagesParams) WithContext(ctx context.Context) *GetContentLibraryImagesParams
WithContext adds the context to the get content library images params
func (*GetContentLibraryImagesParams) WithDefaults ¶
func (o *GetContentLibraryImagesParams) WithDefaults() *GetContentLibraryImagesParams
WithDefaults hydrates default values in the get content library images params (not the query body).
All values with no default are reset to their zero value.
func (*GetContentLibraryImagesParams) WithHTTPClient ¶
func (o *GetContentLibraryImagesParams) WithHTTPClient(client *http.Client) *GetContentLibraryImagesParams
WithHTTPClient adds the HTTPClient to the get content library images params
func (*GetContentLibraryImagesParams) WithRequestBody ¶
func (o *GetContentLibraryImagesParams) WithRequestBody(requestBody *models.GetContentLibraryImagesRequestBody) *GetContentLibraryImagesParams
WithRequestBody adds the requestBody to the get content library images params
func (*GetContentLibraryImagesParams) WithTimeout ¶
func (o *GetContentLibraryImagesParams) WithTimeout(timeout time.Duration) *GetContentLibraryImagesParams
WithTimeout adds the timeout to the get content library images params
func (*GetContentLibraryImagesParams) WriteToRequest ¶
func (o *GetContentLibraryImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetContentLibraryImagesReader ¶
type GetContentLibraryImagesReader struct {
// contains filtered or unexported fields
}
GetContentLibraryImagesReader is a Reader for the GetContentLibraryImages structure.
func (*GetContentLibraryImagesReader) ReadResponse ¶
func (o *GetContentLibraryImagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ImportContentLibraryImageBadRequest ¶ added in v2.14.0
type ImportContentLibraryImageBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
ImportContentLibraryImageBadRequest describes a response with status code 400, with default header values.
Bad request
func NewImportContentLibraryImageBadRequest ¶ added in v2.14.0
func NewImportContentLibraryImageBadRequest() *ImportContentLibraryImageBadRequest
NewImportContentLibraryImageBadRequest creates a ImportContentLibraryImageBadRequest with default headers values
func (*ImportContentLibraryImageBadRequest) Error ¶ added in v2.14.0
func (o *ImportContentLibraryImageBadRequest) Error() string
func (*ImportContentLibraryImageBadRequest) GetPayload ¶ added in v2.14.0
func (o *ImportContentLibraryImageBadRequest) GetPayload() *models.ErrorBody
type ImportContentLibraryImageInternalServerError ¶ added in v2.14.0
type ImportContentLibraryImageInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
ImportContentLibraryImageInternalServerError describes a response with status code 500, with default header values.
Server error
func NewImportContentLibraryImageInternalServerError ¶ added in v2.14.0
func NewImportContentLibraryImageInternalServerError() *ImportContentLibraryImageInternalServerError
NewImportContentLibraryImageInternalServerError creates a ImportContentLibraryImageInternalServerError with default headers values
func (*ImportContentLibraryImageInternalServerError) Error ¶ added in v2.14.0
func (o *ImportContentLibraryImageInternalServerError) Error() string
func (*ImportContentLibraryImageInternalServerError) GetPayload ¶ added in v2.14.0
func (o *ImportContentLibraryImageInternalServerError) GetPayload() *models.ErrorBody
type ImportContentLibraryImageNotFound ¶ added in v2.14.0
ImportContentLibraryImageNotFound describes a response with status code 404, with default header values.
Not found
func NewImportContentLibraryImageNotFound ¶ added in v2.14.0
func NewImportContentLibraryImageNotFound() *ImportContentLibraryImageNotFound
NewImportContentLibraryImageNotFound creates a ImportContentLibraryImageNotFound with default headers values
func (*ImportContentLibraryImageNotFound) Error ¶ added in v2.14.0
func (o *ImportContentLibraryImageNotFound) Error() string
func (*ImportContentLibraryImageNotFound) GetPayload ¶ added in v2.14.0
func (o *ImportContentLibraryImageNotFound) GetPayload() *models.ErrorBody
type ImportContentLibraryImageOK ¶ added in v2.14.0
type ImportContentLibraryImageOK struct { XTowerRequestID string Payload *models.UploadTask }
ImportContentLibraryImageOK describes a response with status code 200, with default header values.
ImportContentLibraryImageOK import content library image o k
func NewImportContentLibraryImageOK ¶ added in v2.14.0
func NewImportContentLibraryImageOK() *ImportContentLibraryImageOK
NewImportContentLibraryImageOK creates a ImportContentLibraryImageOK with default headers values
func (*ImportContentLibraryImageOK) Error ¶ added in v2.14.0
func (o *ImportContentLibraryImageOK) Error() string
func (*ImportContentLibraryImageOK) GetPayload ¶ added in v2.14.0
func (o *ImportContentLibraryImageOK) GetPayload() *models.UploadTask
type ImportContentLibraryImageParams ¶ added in v2.14.0
type ImportContentLibraryImageParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.ContentLibraryImageImportParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ImportContentLibraryImageParams contains all the parameters to send to the API endpoint
for the import content library image operation. Typically these are written to a http.Request.
func NewImportContentLibraryImageParams ¶ added in v2.14.0
func NewImportContentLibraryImageParams() *ImportContentLibraryImageParams
NewImportContentLibraryImageParams creates a new ImportContentLibraryImageParams 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 NewImportContentLibraryImageParamsWithContext ¶ added in v2.14.0
func NewImportContentLibraryImageParamsWithContext(ctx context.Context) *ImportContentLibraryImageParams
NewImportContentLibraryImageParamsWithContext creates a new ImportContentLibraryImageParams object with the ability to set a context for a request.
func NewImportContentLibraryImageParamsWithHTTPClient ¶ added in v2.14.0
func NewImportContentLibraryImageParamsWithHTTPClient(client *http.Client) *ImportContentLibraryImageParams
NewImportContentLibraryImageParamsWithHTTPClient creates a new ImportContentLibraryImageParams object with the ability to set a custom HTTPClient for a request.
func NewImportContentLibraryImageParamsWithTimeout ¶ added in v2.14.0
func NewImportContentLibraryImageParamsWithTimeout(timeout time.Duration) *ImportContentLibraryImageParams
NewImportContentLibraryImageParamsWithTimeout creates a new ImportContentLibraryImageParams object with the ability to set a timeout on a request.
func (*ImportContentLibraryImageParams) SetContentLanguage ¶ added in v2.14.0
func (o *ImportContentLibraryImageParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the import content library image params
func (*ImportContentLibraryImageParams) SetContext ¶ added in v2.14.0
func (o *ImportContentLibraryImageParams) SetContext(ctx context.Context)
SetContext adds the context to the import content library image params
func (*ImportContentLibraryImageParams) SetDefaults ¶ added in v2.14.0
func (o *ImportContentLibraryImageParams) SetDefaults()
SetDefaults hydrates default values in the import content library image params (not the query body).
All values with no default are reset to their zero value.
func (*ImportContentLibraryImageParams) SetHTTPClient ¶ added in v2.14.0
func (o *ImportContentLibraryImageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the import content library image params
func (*ImportContentLibraryImageParams) SetRequestBody ¶ added in v2.14.0
func (o *ImportContentLibraryImageParams) SetRequestBody(requestBody *models.ContentLibraryImageImportParams)
SetRequestBody adds the requestBody to the import content library image params
func (*ImportContentLibraryImageParams) SetTimeout ¶ added in v2.14.0
func (o *ImportContentLibraryImageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the import content library image params
func (*ImportContentLibraryImageParams) WithContentLanguage ¶ added in v2.14.0
func (o *ImportContentLibraryImageParams) WithContentLanguage(contentLanguage *string) *ImportContentLibraryImageParams
WithContentLanguage adds the contentLanguage to the import content library image params
func (*ImportContentLibraryImageParams) WithContext ¶ added in v2.14.0
func (o *ImportContentLibraryImageParams) WithContext(ctx context.Context) *ImportContentLibraryImageParams
WithContext adds the context to the import content library image params
func (*ImportContentLibraryImageParams) WithDefaults ¶ added in v2.14.0
func (o *ImportContentLibraryImageParams) WithDefaults() *ImportContentLibraryImageParams
WithDefaults hydrates default values in the import content library image params (not the query body).
All values with no default are reset to their zero value.
func (*ImportContentLibraryImageParams) WithHTTPClient ¶ added in v2.14.0
func (o *ImportContentLibraryImageParams) WithHTTPClient(client *http.Client) *ImportContentLibraryImageParams
WithHTTPClient adds the HTTPClient to the import content library image params
func (*ImportContentLibraryImageParams) WithRequestBody ¶ added in v2.14.0
func (o *ImportContentLibraryImageParams) WithRequestBody(requestBody *models.ContentLibraryImageImportParams) *ImportContentLibraryImageParams
WithRequestBody adds the requestBody to the import content library image params
func (*ImportContentLibraryImageParams) WithTimeout ¶ added in v2.14.0
func (o *ImportContentLibraryImageParams) WithTimeout(timeout time.Duration) *ImportContentLibraryImageParams
WithTimeout adds the timeout to the import content library image params
func (*ImportContentLibraryImageParams) WriteToRequest ¶ added in v2.14.0
func (o *ImportContentLibraryImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ImportContentLibraryImageReader ¶ added in v2.14.0
type ImportContentLibraryImageReader struct {
// contains filtered or unexported fields
}
ImportContentLibraryImageReader is a Reader for the ImportContentLibraryImage structure.
func (*ImportContentLibraryImageReader) ReadResponse ¶ added in v2.14.0
func (o *ImportContentLibraryImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveContentLibraryImageClustersBadRequest ¶
type RemoveContentLibraryImageClustersBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
RemoveContentLibraryImageClustersBadRequest describes a response with status code 400, with default header values.
Bad request
func NewRemoveContentLibraryImageClustersBadRequest ¶
func NewRemoveContentLibraryImageClustersBadRequest() *RemoveContentLibraryImageClustersBadRequest
NewRemoveContentLibraryImageClustersBadRequest creates a RemoveContentLibraryImageClustersBadRequest with default headers values
func (*RemoveContentLibraryImageClustersBadRequest) Error ¶
func (o *RemoveContentLibraryImageClustersBadRequest) Error() string
func (*RemoveContentLibraryImageClustersBadRequest) GetPayload ¶
func (o *RemoveContentLibraryImageClustersBadRequest) GetPayload() *models.ErrorBody
type RemoveContentLibraryImageClustersInternalServerError ¶
type RemoveContentLibraryImageClustersInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
RemoveContentLibraryImageClustersInternalServerError describes a response with status code 500, with default header values.
Server error
func NewRemoveContentLibraryImageClustersInternalServerError ¶
func NewRemoveContentLibraryImageClustersInternalServerError() *RemoveContentLibraryImageClustersInternalServerError
NewRemoveContentLibraryImageClustersInternalServerError creates a RemoveContentLibraryImageClustersInternalServerError with default headers values
func (*RemoveContentLibraryImageClustersInternalServerError) Error ¶
func (o *RemoveContentLibraryImageClustersInternalServerError) Error() string
func (*RemoveContentLibraryImageClustersInternalServerError) GetPayload ¶
func (o *RemoveContentLibraryImageClustersInternalServerError) GetPayload() *models.ErrorBody
type RemoveContentLibraryImageClustersNotFound ¶
type RemoveContentLibraryImageClustersNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
RemoveContentLibraryImageClustersNotFound describes a response with status code 404, with default header values.
Not found
func NewRemoveContentLibraryImageClustersNotFound ¶
func NewRemoveContentLibraryImageClustersNotFound() *RemoveContentLibraryImageClustersNotFound
NewRemoveContentLibraryImageClustersNotFound creates a RemoveContentLibraryImageClustersNotFound with default headers values
func (*RemoveContentLibraryImageClustersNotFound) Error ¶
func (o *RemoveContentLibraryImageClustersNotFound) Error() string
func (*RemoveContentLibraryImageClustersNotFound) GetPayload ¶
func (o *RemoveContentLibraryImageClustersNotFound) GetPayload() *models.ErrorBody
type RemoveContentLibraryImageClustersOK ¶
type RemoveContentLibraryImageClustersOK struct { XTowerRequestID string Payload []*models.WithTaskContentLibraryImage }
RemoveContentLibraryImageClustersOK describes a response with status code 200, with default header values.
RemoveContentLibraryImageClustersOK remove content library image clusters o k
func NewRemoveContentLibraryImageClustersOK ¶
func NewRemoveContentLibraryImageClustersOK() *RemoveContentLibraryImageClustersOK
NewRemoveContentLibraryImageClustersOK creates a RemoveContentLibraryImageClustersOK with default headers values
func (*RemoveContentLibraryImageClustersOK) Error ¶
func (o *RemoveContentLibraryImageClustersOK) Error() string
func (*RemoveContentLibraryImageClustersOK) GetPayload ¶
func (o *RemoveContentLibraryImageClustersOK) GetPayload() []*models.WithTaskContentLibraryImage
type RemoveContentLibraryImageClustersParams ¶
type RemoveContentLibraryImageClustersParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.ContentLibraryImageUpdationClusterParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveContentLibraryImageClustersParams contains all the parameters to send to the API endpoint
for the remove content library image clusters operation. Typically these are written to a http.Request.
func NewRemoveContentLibraryImageClustersParams ¶
func NewRemoveContentLibraryImageClustersParams() *RemoveContentLibraryImageClustersParams
NewRemoveContentLibraryImageClustersParams creates a new RemoveContentLibraryImageClustersParams 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 NewRemoveContentLibraryImageClustersParamsWithContext ¶
func NewRemoveContentLibraryImageClustersParamsWithContext(ctx context.Context) *RemoveContentLibraryImageClustersParams
NewRemoveContentLibraryImageClustersParamsWithContext creates a new RemoveContentLibraryImageClustersParams object with the ability to set a context for a request.
func NewRemoveContentLibraryImageClustersParamsWithHTTPClient ¶
func NewRemoveContentLibraryImageClustersParamsWithHTTPClient(client *http.Client) *RemoveContentLibraryImageClustersParams
NewRemoveContentLibraryImageClustersParamsWithHTTPClient creates a new RemoveContentLibraryImageClustersParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveContentLibraryImageClustersParamsWithTimeout ¶
func NewRemoveContentLibraryImageClustersParamsWithTimeout(timeout time.Duration) *RemoveContentLibraryImageClustersParams
NewRemoveContentLibraryImageClustersParamsWithTimeout creates a new RemoveContentLibraryImageClustersParams object with the ability to set a timeout on a request.
func (*RemoveContentLibraryImageClustersParams) SetContentLanguage ¶
func (o *RemoveContentLibraryImageClustersParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the remove content library image clusters params
func (*RemoveContentLibraryImageClustersParams) SetContext ¶
func (o *RemoveContentLibraryImageClustersParams) SetContext(ctx context.Context)
SetContext adds the context to the remove content library image clusters params
func (*RemoveContentLibraryImageClustersParams) SetDefaults ¶
func (o *RemoveContentLibraryImageClustersParams) SetDefaults()
SetDefaults hydrates default values in the remove content library image clusters params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveContentLibraryImageClustersParams) SetHTTPClient ¶
func (o *RemoveContentLibraryImageClustersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove content library image clusters params
func (*RemoveContentLibraryImageClustersParams) SetRequestBody ¶
func (o *RemoveContentLibraryImageClustersParams) SetRequestBody(requestBody *models.ContentLibraryImageUpdationClusterParams)
SetRequestBody adds the requestBody to the remove content library image clusters params
func (*RemoveContentLibraryImageClustersParams) SetTimeout ¶
func (o *RemoveContentLibraryImageClustersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove content library image clusters params
func (*RemoveContentLibraryImageClustersParams) WithContentLanguage ¶
func (o *RemoveContentLibraryImageClustersParams) WithContentLanguage(contentLanguage *string) *RemoveContentLibraryImageClustersParams
WithContentLanguage adds the contentLanguage to the remove content library image clusters params
func (*RemoveContentLibraryImageClustersParams) WithContext ¶
func (o *RemoveContentLibraryImageClustersParams) WithContext(ctx context.Context) *RemoveContentLibraryImageClustersParams
WithContext adds the context to the remove content library image clusters params
func (*RemoveContentLibraryImageClustersParams) WithDefaults ¶
func (o *RemoveContentLibraryImageClustersParams) WithDefaults() *RemoveContentLibraryImageClustersParams
WithDefaults hydrates default values in the remove content library image clusters params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveContentLibraryImageClustersParams) WithHTTPClient ¶
func (o *RemoveContentLibraryImageClustersParams) WithHTTPClient(client *http.Client) *RemoveContentLibraryImageClustersParams
WithHTTPClient adds the HTTPClient to the remove content library image clusters params
func (*RemoveContentLibraryImageClustersParams) WithRequestBody ¶
func (o *RemoveContentLibraryImageClustersParams) WithRequestBody(requestBody *models.ContentLibraryImageUpdationClusterParams) *RemoveContentLibraryImageClustersParams
WithRequestBody adds the requestBody to the remove content library image clusters params
func (*RemoveContentLibraryImageClustersParams) WithTimeout ¶
func (o *RemoveContentLibraryImageClustersParams) WithTimeout(timeout time.Duration) *RemoveContentLibraryImageClustersParams
WithTimeout adds the timeout to the remove content library image clusters params
func (*RemoveContentLibraryImageClustersParams) WriteToRequest ¶
func (o *RemoveContentLibraryImageClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveContentLibraryImageClustersReader ¶
type RemoveContentLibraryImageClustersReader struct {
// contains filtered or unexported fields
}
RemoveContentLibraryImageClustersReader is a Reader for the RemoveContentLibraryImageClusters structure.
func (*RemoveContentLibraryImageClustersReader) ReadResponse ¶
func (o *RemoveContentLibraryImageClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateContentLibraryImageBadRequest ¶
type UpdateContentLibraryImageBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
UpdateContentLibraryImageBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateContentLibraryImageBadRequest ¶
func NewUpdateContentLibraryImageBadRequest() *UpdateContentLibraryImageBadRequest
NewUpdateContentLibraryImageBadRequest creates a UpdateContentLibraryImageBadRequest with default headers values
func (*UpdateContentLibraryImageBadRequest) Error ¶
func (o *UpdateContentLibraryImageBadRequest) Error() string
func (*UpdateContentLibraryImageBadRequest) GetPayload ¶
func (o *UpdateContentLibraryImageBadRequest) GetPayload() *models.ErrorBody
type UpdateContentLibraryImageInternalServerError ¶
type UpdateContentLibraryImageInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
UpdateContentLibraryImageInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateContentLibraryImageInternalServerError ¶
func NewUpdateContentLibraryImageInternalServerError() *UpdateContentLibraryImageInternalServerError
NewUpdateContentLibraryImageInternalServerError creates a UpdateContentLibraryImageInternalServerError with default headers values
func (*UpdateContentLibraryImageInternalServerError) Error ¶
func (o *UpdateContentLibraryImageInternalServerError) Error() string
func (*UpdateContentLibraryImageInternalServerError) GetPayload ¶
func (o *UpdateContentLibraryImageInternalServerError) GetPayload() *models.ErrorBody
type UpdateContentLibraryImageNotFound ¶
UpdateContentLibraryImageNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateContentLibraryImageNotFound ¶
func NewUpdateContentLibraryImageNotFound() *UpdateContentLibraryImageNotFound
NewUpdateContentLibraryImageNotFound creates a UpdateContentLibraryImageNotFound with default headers values
func (*UpdateContentLibraryImageNotFound) Error ¶
func (o *UpdateContentLibraryImageNotFound) Error() string
func (*UpdateContentLibraryImageNotFound) GetPayload ¶
func (o *UpdateContentLibraryImageNotFound) GetPayload() *models.ErrorBody
type UpdateContentLibraryImageOK ¶
type UpdateContentLibraryImageOK struct { XTowerRequestID string Payload []*models.WithTaskContentLibraryImage }
UpdateContentLibraryImageOK describes a response with status code 200, with default header values.
UpdateContentLibraryImageOK update content library image o k
func NewUpdateContentLibraryImageOK ¶
func NewUpdateContentLibraryImageOK() *UpdateContentLibraryImageOK
NewUpdateContentLibraryImageOK creates a UpdateContentLibraryImageOK with default headers values
func (*UpdateContentLibraryImageOK) Error ¶
func (o *UpdateContentLibraryImageOK) Error() string
func (*UpdateContentLibraryImageOK) GetPayload ¶
func (o *UpdateContentLibraryImageOK) GetPayload() []*models.WithTaskContentLibraryImage
type UpdateContentLibraryImageParams ¶
type UpdateContentLibraryImageParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.ContentLibraryImageUpdationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateContentLibraryImageParams contains all the parameters to send to the API endpoint
for the update content library image operation. Typically these are written to a http.Request.
func NewUpdateContentLibraryImageParams ¶
func NewUpdateContentLibraryImageParams() *UpdateContentLibraryImageParams
NewUpdateContentLibraryImageParams creates a new UpdateContentLibraryImageParams 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 NewUpdateContentLibraryImageParamsWithContext ¶
func NewUpdateContentLibraryImageParamsWithContext(ctx context.Context) *UpdateContentLibraryImageParams
NewUpdateContentLibraryImageParamsWithContext creates a new UpdateContentLibraryImageParams object with the ability to set a context for a request.
func NewUpdateContentLibraryImageParamsWithHTTPClient ¶
func NewUpdateContentLibraryImageParamsWithHTTPClient(client *http.Client) *UpdateContentLibraryImageParams
NewUpdateContentLibraryImageParamsWithHTTPClient creates a new UpdateContentLibraryImageParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateContentLibraryImageParamsWithTimeout ¶
func NewUpdateContentLibraryImageParamsWithTimeout(timeout time.Duration) *UpdateContentLibraryImageParams
NewUpdateContentLibraryImageParamsWithTimeout creates a new UpdateContentLibraryImageParams object with the ability to set a timeout on a request.
func (*UpdateContentLibraryImageParams) SetContentLanguage ¶
func (o *UpdateContentLibraryImageParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update content library image params
func (*UpdateContentLibraryImageParams) SetContext ¶
func (o *UpdateContentLibraryImageParams) SetContext(ctx context.Context)
SetContext adds the context to the update content library image params
func (*UpdateContentLibraryImageParams) SetDefaults ¶
func (o *UpdateContentLibraryImageParams) SetDefaults()
SetDefaults hydrates default values in the update content library image params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateContentLibraryImageParams) SetHTTPClient ¶
func (o *UpdateContentLibraryImageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update content library image params
func (*UpdateContentLibraryImageParams) SetRequestBody ¶
func (o *UpdateContentLibraryImageParams) SetRequestBody(requestBody *models.ContentLibraryImageUpdationParams)
SetRequestBody adds the requestBody to the update content library image params
func (*UpdateContentLibraryImageParams) SetTimeout ¶
func (o *UpdateContentLibraryImageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update content library image params
func (*UpdateContentLibraryImageParams) WithContentLanguage ¶
func (o *UpdateContentLibraryImageParams) WithContentLanguage(contentLanguage *string) *UpdateContentLibraryImageParams
WithContentLanguage adds the contentLanguage to the update content library image params
func (*UpdateContentLibraryImageParams) WithContext ¶
func (o *UpdateContentLibraryImageParams) WithContext(ctx context.Context) *UpdateContentLibraryImageParams
WithContext adds the context to the update content library image params
func (*UpdateContentLibraryImageParams) WithDefaults ¶
func (o *UpdateContentLibraryImageParams) WithDefaults() *UpdateContentLibraryImageParams
WithDefaults hydrates default values in the update content library image params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateContentLibraryImageParams) WithHTTPClient ¶
func (o *UpdateContentLibraryImageParams) WithHTTPClient(client *http.Client) *UpdateContentLibraryImageParams
WithHTTPClient adds the HTTPClient to the update content library image params
func (*UpdateContentLibraryImageParams) WithRequestBody ¶
func (o *UpdateContentLibraryImageParams) WithRequestBody(requestBody *models.ContentLibraryImageUpdationParams) *UpdateContentLibraryImageParams
WithRequestBody adds the requestBody to the update content library image params
func (*UpdateContentLibraryImageParams) WithTimeout ¶
func (o *UpdateContentLibraryImageParams) WithTimeout(timeout time.Duration) *UpdateContentLibraryImageParams
WithTimeout adds the timeout to the update content library image params
func (*UpdateContentLibraryImageParams) WriteToRequest ¶
func (o *UpdateContentLibraryImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateContentLibraryImageReader ¶
type UpdateContentLibraryImageReader struct {
// contains filtered or unexported fields
}
UpdateContentLibraryImageReader is a Reader for the UpdateContentLibraryImage structure.
func (*UpdateContentLibraryImageReader) ReadResponse ¶
func (o *UpdateContentLibraryImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- content_library_image_client.go
- create_content_library_image_parameters.go
- create_content_library_image_responses.go
- delete_content_library_image_parameters.go
- delete_content_library_image_responses.go
- distribute_content_library_image_clusters_parameters.go
- distribute_content_library_image_clusters_responses.go
- get_content_library_images_connection_parameters.go
- get_content_library_images_connection_responses.go
- get_content_library_images_parameters.go
- get_content_library_images_responses.go
- import_content_library_image_parameters.go
- import_content_library_image_responses.go
- remove_content_library_image_clusters_parameters.go
- remove_content_library_image_clusters_responses.go
- update_content_library_image_parameters.go
- update_content_library_image_responses.go