Documentation ¶
Index ¶
- type Client
- func (a *Client) GetContentLibraryImages(params *GetContentLibraryImagesParams, opts ...ClientOption) (*GetContentLibraryImagesOK, error)
- func (a *Client) GetContentLibraryImagesConnection(params *GetContentLibraryImagesConnectionParams, opts ...ClientOption) (*GetContentLibraryImagesConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetContentLibraryImagesBadRequest
- type GetContentLibraryImagesConnectionBadRequest
- 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 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
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) 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) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetContentLibraryImages(params *GetContentLibraryImagesParams, opts ...ClientOption) (*GetContentLibraryImagesOK, error) GetContentLibraryImagesConnection(params *GetContentLibraryImagesConnectionParams, opts ...ClientOption) (*GetContentLibraryImagesConnectionOK, 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 GetContentLibraryImagesBadRequest ¶
type GetContentLibraryImagesBadRequest struct {
Payload string
}
GetContentLibraryImagesBadRequest describes a response with status code 400, with default header values.
GetContentLibraryImagesBadRequest get content library images 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() string
type GetContentLibraryImagesConnectionBadRequest ¶
type GetContentLibraryImagesConnectionBadRequest struct {
Payload string
}
GetContentLibraryImagesConnectionBadRequest describes a response with status code 400, with default header values.
GetContentLibraryImagesConnectionBadRequest get content library images connection 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() string
type GetContentLibraryImagesConnectionOK ¶
type GetContentLibraryImagesConnectionOK struct {
Payload *models.ContentLibraryImageConnection
}
GetContentLibraryImagesConnectionOK describes a response with status code 200, with default header values.
Ok
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 GetContentLibraryImagesOK ¶
type GetContentLibraryImagesOK struct {
Payload []*models.ContentLibraryImage
}
GetContentLibraryImagesOK describes a response with status code 200, with default header values.
Ok
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.