content_library_image

package
v0.0.0-...-67cd95e Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for 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 (*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 (*GetContentLibraryImagesConnectionBadRequest) GetPayload

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 (*GetContentLibraryImagesConnectionOK) GetPayload

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

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

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

WithContentLanguage adds the contentLanguage to the get content library images connection params

func (*GetContentLibraryImagesConnectionParams) WithContext

WithContext adds the context to the get content library images connection params

func (*GetContentLibraryImagesConnectionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get content library images connection params

func (*GetContentLibraryImagesConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get content library images connection params

func (*GetContentLibraryImagesConnectionParams) WithTimeout

WithTimeout adds the timeout to the get content library images connection params

func (*GetContentLibraryImagesConnectionParams) WriteToRequest

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

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

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

WithContext adds the context to the get content library images params

func (*GetContentLibraryImagesParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get content library images params

func (*GetContentLibraryImagesParams) WithRequestBody

WithRequestBody adds the requestBody to the get content library images params

func (*GetContentLibraryImagesParams) WithTimeout

WithTimeout adds the timeout to the get content library images params

func (*GetContentLibraryImagesParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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