Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateContentSelector(params *CreateContentSelectorParams, opts ...ClientOption) (*CreateContentSelectorNoContent, error)
- func (a *Client) DeleteContentSelector(params *DeleteContentSelectorParams, opts ...ClientOption) (*DeleteContentSelectorNoContent, error)
- func (a *Client) GetContentSelector(params *GetContentSelectorParams, opts ...ClientOption) (*GetContentSelectorOK, error)
- func (a *Client) GetContentSelectors(params *GetContentSelectorsParams, opts ...ClientOption) (*GetContentSelectorsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateContentSelector(params *UpdateContentSelectorParams, opts ...ClientOption) (*UpdateContentSelectorNoContent, error)
- type ClientOption
- type ClientService
- type CreateContentSelectorBadRequest
- func (o *CreateContentSelectorBadRequest) Code() int
- func (o *CreateContentSelectorBadRequest) Error() string
- func (o *CreateContentSelectorBadRequest) IsClientError() bool
- func (o *CreateContentSelectorBadRequest) IsCode(code int) bool
- func (o *CreateContentSelectorBadRequest) IsRedirect() bool
- func (o *CreateContentSelectorBadRequest) IsServerError() bool
- func (o *CreateContentSelectorBadRequest) IsSuccess() bool
- func (o *CreateContentSelectorBadRequest) String() string
- type CreateContentSelectorForbidden
- func (o *CreateContentSelectorForbidden) Code() int
- func (o *CreateContentSelectorForbidden) Error() string
- func (o *CreateContentSelectorForbidden) IsClientError() bool
- func (o *CreateContentSelectorForbidden) IsCode(code int) bool
- func (o *CreateContentSelectorForbidden) IsRedirect() bool
- func (o *CreateContentSelectorForbidden) IsServerError() bool
- func (o *CreateContentSelectorForbidden) IsSuccess() bool
- func (o *CreateContentSelectorForbidden) String() string
- type CreateContentSelectorNoContent
- func (o *CreateContentSelectorNoContent) Code() int
- func (o *CreateContentSelectorNoContent) Error() string
- func (o *CreateContentSelectorNoContent) IsClientError() bool
- func (o *CreateContentSelectorNoContent) IsCode(code int) bool
- func (o *CreateContentSelectorNoContent) IsRedirect() bool
- func (o *CreateContentSelectorNoContent) IsServerError() bool
- func (o *CreateContentSelectorNoContent) IsSuccess() bool
- func (o *CreateContentSelectorNoContent) String() string
- type CreateContentSelectorParams
- func NewCreateContentSelectorParams() *CreateContentSelectorParams
- func NewCreateContentSelectorParamsWithContext(ctx context.Context) *CreateContentSelectorParams
- func NewCreateContentSelectorParamsWithHTTPClient(client *http.Client) *CreateContentSelectorParams
- func NewCreateContentSelectorParamsWithTimeout(timeout time.Duration) *CreateContentSelectorParams
- func (o *CreateContentSelectorParams) SetBody(body *models.ContentSelectorAPICreateRequest)
- func (o *CreateContentSelectorParams) SetContext(ctx context.Context)
- func (o *CreateContentSelectorParams) SetDefaults()
- func (o *CreateContentSelectorParams) SetHTTPClient(client *http.Client)
- func (o *CreateContentSelectorParams) SetTimeout(timeout time.Duration)
- func (o *CreateContentSelectorParams) WithBody(body *models.ContentSelectorAPICreateRequest) *CreateContentSelectorParams
- func (o *CreateContentSelectorParams) WithContext(ctx context.Context) *CreateContentSelectorParams
- func (o *CreateContentSelectorParams) WithDefaults() *CreateContentSelectorParams
- func (o *CreateContentSelectorParams) WithHTTPClient(client *http.Client) *CreateContentSelectorParams
- func (o *CreateContentSelectorParams) WithTimeout(timeout time.Duration) *CreateContentSelectorParams
- func (o *CreateContentSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateContentSelectorReader
- type DeleteContentSelectorBadRequest
- func (o *DeleteContentSelectorBadRequest) Code() int
- func (o *DeleteContentSelectorBadRequest) Error() string
- func (o *DeleteContentSelectorBadRequest) IsClientError() bool
- func (o *DeleteContentSelectorBadRequest) IsCode(code int) bool
- func (o *DeleteContentSelectorBadRequest) IsRedirect() bool
- func (o *DeleteContentSelectorBadRequest) IsServerError() bool
- func (o *DeleteContentSelectorBadRequest) IsSuccess() bool
- func (o *DeleteContentSelectorBadRequest) String() string
- type DeleteContentSelectorForbidden
- func (o *DeleteContentSelectorForbidden) Code() int
- func (o *DeleteContentSelectorForbidden) Error() string
- func (o *DeleteContentSelectorForbidden) IsClientError() bool
- func (o *DeleteContentSelectorForbidden) IsCode(code int) bool
- func (o *DeleteContentSelectorForbidden) IsRedirect() bool
- func (o *DeleteContentSelectorForbidden) IsServerError() bool
- func (o *DeleteContentSelectorForbidden) IsSuccess() bool
- func (o *DeleteContentSelectorForbidden) String() string
- type DeleteContentSelectorNoContent
- func (o *DeleteContentSelectorNoContent) Code() int
- func (o *DeleteContentSelectorNoContent) Error() string
- func (o *DeleteContentSelectorNoContent) IsClientError() bool
- func (o *DeleteContentSelectorNoContent) IsCode(code int) bool
- func (o *DeleteContentSelectorNoContent) IsRedirect() bool
- func (o *DeleteContentSelectorNoContent) IsServerError() bool
- func (o *DeleteContentSelectorNoContent) IsSuccess() bool
- func (o *DeleteContentSelectorNoContent) String() string
- type DeleteContentSelectorParams
- func NewDeleteContentSelectorParams() *DeleteContentSelectorParams
- func NewDeleteContentSelectorParamsWithContext(ctx context.Context) *DeleteContentSelectorParams
- func NewDeleteContentSelectorParamsWithHTTPClient(client *http.Client) *DeleteContentSelectorParams
- func NewDeleteContentSelectorParamsWithTimeout(timeout time.Duration) *DeleteContentSelectorParams
- func (o *DeleteContentSelectorParams) SetContext(ctx context.Context)
- func (o *DeleteContentSelectorParams) SetDefaults()
- func (o *DeleteContentSelectorParams) SetHTTPClient(client *http.Client)
- func (o *DeleteContentSelectorParams) SetName(name string)
- func (o *DeleteContentSelectorParams) SetTimeout(timeout time.Duration)
- func (o *DeleteContentSelectorParams) WithContext(ctx context.Context) *DeleteContentSelectorParams
- func (o *DeleteContentSelectorParams) WithDefaults() *DeleteContentSelectorParams
- func (o *DeleteContentSelectorParams) WithHTTPClient(client *http.Client) *DeleteContentSelectorParams
- func (o *DeleteContentSelectorParams) WithName(name string) *DeleteContentSelectorParams
- func (o *DeleteContentSelectorParams) WithTimeout(timeout time.Duration) *DeleteContentSelectorParams
- func (o *DeleteContentSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteContentSelectorReader
- type GetContentSelectorForbidden
- func (o *GetContentSelectorForbidden) Code() int
- func (o *GetContentSelectorForbidden) Error() string
- func (o *GetContentSelectorForbidden) IsClientError() bool
- func (o *GetContentSelectorForbidden) IsCode(code int) bool
- func (o *GetContentSelectorForbidden) IsRedirect() bool
- func (o *GetContentSelectorForbidden) IsServerError() bool
- func (o *GetContentSelectorForbidden) IsSuccess() bool
- func (o *GetContentSelectorForbidden) String() string
- type GetContentSelectorOK
- func (o *GetContentSelectorOK) Code() int
- func (o *GetContentSelectorOK) Error() string
- func (o *GetContentSelectorOK) GetPayload() *models.ContentSelectorAPIResponse
- func (o *GetContentSelectorOK) IsClientError() bool
- func (o *GetContentSelectorOK) IsCode(code int) bool
- func (o *GetContentSelectorOK) IsRedirect() bool
- func (o *GetContentSelectorOK) IsServerError() bool
- func (o *GetContentSelectorOK) IsSuccess() bool
- func (o *GetContentSelectorOK) String() string
- type GetContentSelectorParams
- func NewGetContentSelectorParams() *GetContentSelectorParams
- func NewGetContentSelectorParamsWithContext(ctx context.Context) *GetContentSelectorParams
- func NewGetContentSelectorParamsWithHTTPClient(client *http.Client) *GetContentSelectorParams
- func NewGetContentSelectorParamsWithTimeout(timeout time.Duration) *GetContentSelectorParams
- func (o *GetContentSelectorParams) SetContext(ctx context.Context)
- func (o *GetContentSelectorParams) SetDefaults()
- func (o *GetContentSelectorParams) SetHTTPClient(client *http.Client)
- func (o *GetContentSelectorParams) SetName(name string)
- func (o *GetContentSelectorParams) SetTimeout(timeout time.Duration)
- func (o *GetContentSelectorParams) WithContext(ctx context.Context) *GetContentSelectorParams
- func (o *GetContentSelectorParams) WithDefaults() *GetContentSelectorParams
- func (o *GetContentSelectorParams) WithHTTPClient(client *http.Client) *GetContentSelectorParams
- func (o *GetContentSelectorParams) WithName(name string) *GetContentSelectorParams
- func (o *GetContentSelectorParams) WithTimeout(timeout time.Duration) *GetContentSelectorParams
- func (o *GetContentSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetContentSelectorReader
- type GetContentSelectorsForbidden
- func (o *GetContentSelectorsForbidden) Code() int
- func (o *GetContentSelectorsForbidden) Error() string
- func (o *GetContentSelectorsForbidden) IsClientError() bool
- func (o *GetContentSelectorsForbidden) IsCode(code int) bool
- func (o *GetContentSelectorsForbidden) IsRedirect() bool
- func (o *GetContentSelectorsForbidden) IsServerError() bool
- func (o *GetContentSelectorsForbidden) IsSuccess() bool
- func (o *GetContentSelectorsForbidden) String() string
- type GetContentSelectorsOK
- func (o *GetContentSelectorsOK) Code() int
- func (o *GetContentSelectorsOK) Error() string
- func (o *GetContentSelectorsOK) GetPayload() []*models.ContentSelectorAPIResponse
- func (o *GetContentSelectorsOK) IsClientError() bool
- func (o *GetContentSelectorsOK) IsCode(code int) bool
- func (o *GetContentSelectorsOK) IsRedirect() bool
- func (o *GetContentSelectorsOK) IsServerError() bool
- func (o *GetContentSelectorsOK) IsSuccess() bool
- func (o *GetContentSelectorsOK) String() string
- type GetContentSelectorsParams
- func NewGetContentSelectorsParams() *GetContentSelectorsParams
- func NewGetContentSelectorsParamsWithContext(ctx context.Context) *GetContentSelectorsParams
- func NewGetContentSelectorsParamsWithHTTPClient(client *http.Client) *GetContentSelectorsParams
- func NewGetContentSelectorsParamsWithTimeout(timeout time.Duration) *GetContentSelectorsParams
- func (o *GetContentSelectorsParams) SetContext(ctx context.Context)
- func (o *GetContentSelectorsParams) SetDefaults()
- func (o *GetContentSelectorsParams) SetHTTPClient(client *http.Client)
- func (o *GetContentSelectorsParams) SetTimeout(timeout time.Duration)
- func (o *GetContentSelectorsParams) WithContext(ctx context.Context) *GetContentSelectorsParams
- func (o *GetContentSelectorsParams) WithDefaults() *GetContentSelectorsParams
- func (o *GetContentSelectorsParams) WithHTTPClient(client *http.Client) *GetContentSelectorsParams
- func (o *GetContentSelectorsParams) WithTimeout(timeout time.Duration) *GetContentSelectorsParams
- func (o *GetContentSelectorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetContentSelectorsReader
- type UpdateContentSelectorBadRequest
- func (o *UpdateContentSelectorBadRequest) Code() int
- func (o *UpdateContentSelectorBadRequest) Error() string
- func (o *UpdateContentSelectorBadRequest) IsClientError() bool
- func (o *UpdateContentSelectorBadRequest) IsCode(code int) bool
- func (o *UpdateContentSelectorBadRequest) IsRedirect() bool
- func (o *UpdateContentSelectorBadRequest) IsServerError() bool
- func (o *UpdateContentSelectorBadRequest) IsSuccess() bool
- func (o *UpdateContentSelectorBadRequest) String() string
- type UpdateContentSelectorForbidden
- func (o *UpdateContentSelectorForbidden) Code() int
- func (o *UpdateContentSelectorForbidden) Error() string
- func (o *UpdateContentSelectorForbidden) IsClientError() bool
- func (o *UpdateContentSelectorForbidden) IsCode(code int) bool
- func (o *UpdateContentSelectorForbidden) IsRedirect() bool
- func (o *UpdateContentSelectorForbidden) IsServerError() bool
- func (o *UpdateContentSelectorForbidden) IsSuccess() bool
- func (o *UpdateContentSelectorForbidden) String() string
- type UpdateContentSelectorNoContent
- func (o *UpdateContentSelectorNoContent) Code() int
- func (o *UpdateContentSelectorNoContent) Error() string
- func (o *UpdateContentSelectorNoContent) IsClientError() bool
- func (o *UpdateContentSelectorNoContent) IsCode(code int) bool
- func (o *UpdateContentSelectorNoContent) IsRedirect() bool
- func (o *UpdateContentSelectorNoContent) IsServerError() bool
- func (o *UpdateContentSelectorNoContent) IsSuccess() bool
- func (o *UpdateContentSelectorNoContent) String() string
- type UpdateContentSelectorParams
- func NewUpdateContentSelectorParams() *UpdateContentSelectorParams
- func NewUpdateContentSelectorParamsWithContext(ctx context.Context) *UpdateContentSelectorParams
- func NewUpdateContentSelectorParamsWithHTTPClient(client *http.Client) *UpdateContentSelectorParams
- func NewUpdateContentSelectorParamsWithTimeout(timeout time.Duration) *UpdateContentSelectorParams
- func (o *UpdateContentSelectorParams) SetBody(body *models.ContentSelectorAPIUpdateRequest)
- func (o *UpdateContentSelectorParams) SetContext(ctx context.Context)
- func (o *UpdateContentSelectorParams) SetDefaults()
- func (o *UpdateContentSelectorParams) SetHTTPClient(client *http.Client)
- func (o *UpdateContentSelectorParams) SetName(name string)
- func (o *UpdateContentSelectorParams) SetTimeout(timeout time.Duration)
- func (o *UpdateContentSelectorParams) WithBody(body *models.ContentSelectorAPIUpdateRequest) *UpdateContentSelectorParams
- func (o *UpdateContentSelectorParams) WithContext(ctx context.Context) *UpdateContentSelectorParams
- func (o *UpdateContentSelectorParams) WithDefaults() *UpdateContentSelectorParams
- func (o *UpdateContentSelectorParams) WithHTTPClient(client *http.Client) *UpdateContentSelectorParams
- func (o *UpdateContentSelectorParams) WithName(name string) *UpdateContentSelectorParams
- func (o *UpdateContentSelectorParams) WithTimeout(timeout time.Duration) *UpdateContentSelectorParams
- func (o *UpdateContentSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateContentSelectorReader
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 selectors API
func (*Client) CreateContentSelector ¶
func (a *Client) CreateContentSelector(params *CreateContentSelectorParams, opts ...ClientOption) (*CreateContentSelectorNoContent, error)
CreateContentSelector creates a new content selector
func (*Client) DeleteContentSelector ¶
func (a *Client) DeleteContentSelector(params *DeleteContentSelectorParams, opts ...ClientOption) (*DeleteContentSelectorNoContent, error)
DeleteContentSelector deletes a content selector
func (*Client) GetContentSelector ¶
func (a *Client) GetContentSelector(params *GetContentSelectorParams, opts ...ClientOption) (*GetContentSelectorOK, error)
GetContentSelector gets a content selector by name
func (*Client) GetContentSelectors ¶
func (a *Client) GetContentSelectors(params *GetContentSelectorsParams, opts ...ClientOption) (*GetContentSelectorsOK, error)
GetContentSelectors lists content selectors
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateContentSelector ¶
func (a *Client) UpdateContentSelector(params *UpdateContentSelectorParams, opts ...ClientOption) (*UpdateContentSelectorNoContent, error)
UpdateContentSelector updates a content selector
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateContentSelector(params *CreateContentSelectorParams, opts ...ClientOption) (*CreateContentSelectorNoContent, error) DeleteContentSelector(params *DeleteContentSelectorParams, opts ...ClientOption) (*DeleteContentSelectorNoContent, error) GetContentSelector(params *GetContentSelectorParams, opts ...ClientOption) (*GetContentSelectorOK, error) GetContentSelectors(params *GetContentSelectorsParams, opts ...ClientOption) (*GetContentSelectorsOK, error) UpdateContentSelector(params *UpdateContentSelectorParams, opts ...ClientOption) (*UpdateContentSelectorNoContent, 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 selectors API client.
type CreateContentSelectorBadRequest ¶
type CreateContentSelectorBadRequest struct { }
CreateContentSelectorBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewCreateContentSelectorBadRequest ¶
func NewCreateContentSelectorBadRequest() *CreateContentSelectorBadRequest
NewCreateContentSelectorBadRequest creates a CreateContentSelectorBadRequest with default headers values
func (*CreateContentSelectorBadRequest) Code ¶
func (o *CreateContentSelectorBadRequest) Code() int
Code gets the status code for the create content selector bad request response
func (*CreateContentSelectorBadRequest) Error ¶
func (o *CreateContentSelectorBadRequest) Error() string
func (*CreateContentSelectorBadRequest) IsClientError ¶
func (o *CreateContentSelectorBadRequest) IsClientError() bool
IsClientError returns true when this create content selector bad request response has a 4xx status code
func (*CreateContentSelectorBadRequest) IsCode ¶
func (o *CreateContentSelectorBadRequest) IsCode(code int) bool
IsCode returns true when this create content selector bad request response a status code equal to that given
func (*CreateContentSelectorBadRequest) IsRedirect ¶
func (o *CreateContentSelectorBadRequest) IsRedirect() bool
IsRedirect returns true when this create content selector bad request response has a 3xx status code
func (*CreateContentSelectorBadRequest) IsServerError ¶
func (o *CreateContentSelectorBadRequest) IsServerError() bool
IsServerError returns true when this create content selector bad request response has a 5xx status code
func (*CreateContentSelectorBadRequest) IsSuccess ¶
func (o *CreateContentSelectorBadRequest) IsSuccess() bool
IsSuccess returns true when this create content selector bad request response has a 2xx status code
func (*CreateContentSelectorBadRequest) String ¶
func (o *CreateContentSelectorBadRequest) String() string
type CreateContentSelectorForbidden ¶
type CreateContentSelectorForbidden struct { }
CreateContentSelectorForbidden describes a response with status code 403, with default header values.
Insufficient permissions to create content selectors
func NewCreateContentSelectorForbidden ¶
func NewCreateContentSelectorForbidden() *CreateContentSelectorForbidden
NewCreateContentSelectorForbidden creates a CreateContentSelectorForbidden with default headers values
func (*CreateContentSelectorForbidden) Code ¶
func (o *CreateContentSelectorForbidden) Code() int
Code gets the status code for the create content selector forbidden response
func (*CreateContentSelectorForbidden) Error ¶
func (o *CreateContentSelectorForbidden) Error() string
func (*CreateContentSelectorForbidden) IsClientError ¶
func (o *CreateContentSelectorForbidden) IsClientError() bool
IsClientError returns true when this create content selector forbidden response has a 4xx status code
func (*CreateContentSelectorForbidden) IsCode ¶
func (o *CreateContentSelectorForbidden) IsCode(code int) bool
IsCode returns true when this create content selector forbidden response a status code equal to that given
func (*CreateContentSelectorForbidden) IsRedirect ¶
func (o *CreateContentSelectorForbidden) IsRedirect() bool
IsRedirect returns true when this create content selector forbidden response has a 3xx status code
func (*CreateContentSelectorForbidden) IsServerError ¶
func (o *CreateContentSelectorForbidden) IsServerError() bool
IsServerError returns true when this create content selector forbidden response has a 5xx status code
func (*CreateContentSelectorForbidden) IsSuccess ¶
func (o *CreateContentSelectorForbidden) IsSuccess() bool
IsSuccess returns true when this create content selector forbidden response has a 2xx status code
func (*CreateContentSelectorForbidden) String ¶
func (o *CreateContentSelectorForbidden) String() string
type CreateContentSelectorNoContent ¶
type CreateContentSelectorNoContent struct { }
CreateContentSelectorNoContent describes a response with status code 204, with default header values.
Content selector successfully created
func NewCreateContentSelectorNoContent ¶
func NewCreateContentSelectorNoContent() *CreateContentSelectorNoContent
NewCreateContentSelectorNoContent creates a CreateContentSelectorNoContent with default headers values
func (*CreateContentSelectorNoContent) Code ¶
func (o *CreateContentSelectorNoContent) Code() int
Code gets the status code for the create content selector no content response
func (*CreateContentSelectorNoContent) Error ¶
func (o *CreateContentSelectorNoContent) Error() string
func (*CreateContentSelectorNoContent) IsClientError ¶
func (o *CreateContentSelectorNoContent) IsClientError() bool
IsClientError returns true when this create content selector no content response has a 4xx status code
func (*CreateContentSelectorNoContent) IsCode ¶
func (o *CreateContentSelectorNoContent) IsCode(code int) bool
IsCode returns true when this create content selector no content response a status code equal to that given
func (*CreateContentSelectorNoContent) IsRedirect ¶
func (o *CreateContentSelectorNoContent) IsRedirect() bool
IsRedirect returns true when this create content selector no content response has a 3xx status code
func (*CreateContentSelectorNoContent) IsServerError ¶
func (o *CreateContentSelectorNoContent) IsServerError() bool
IsServerError returns true when this create content selector no content response has a 5xx status code
func (*CreateContentSelectorNoContent) IsSuccess ¶
func (o *CreateContentSelectorNoContent) IsSuccess() bool
IsSuccess returns true when this create content selector no content response has a 2xx status code
func (*CreateContentSelectorNoContent) String ¶
func (o *CreateContentSelectorNoContent) String() string
type CreateContentSelectorParams ¶
type CreateContentSelectorParams struct { // Body. Body *models.ContentSelectorAPICreateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateContentSelectorParams contains all the parameters to send to the API endpoint
for the create content selector operation. Typically these are written to a http.Request.
func NewCreateContentSelectorParams ¶
func NewCreateContentSelectorParams() *CreateContentSelectorParams
NewCreateContentSelectorParams creates a new CreateContentSelectorParams 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 NewCreateContentSelectorParamsWithContext ¶
func NewCreateContentSelectorParamsWithContext(ctx context.Context) *CreateContentSelectorParams
NewCreateContentSelectorParamsWithContext creates a new CreateContentSelectorParams object with the ability to set a context for a request.
func NewCreateContentSelectorParamsWithHTTPClient ¶
func NewCreateContentSelectorParamsWithHTTPClient(client *http.Client) *CreateContentSelectorParams
NewCreateContentSelectorParamsWithHTTPClient creates a new CreateContentSelectorParams object with the ability to set a custom HTTPClient for a request.
func NewCreateContentSelectorParamsWithTimeout ¶
func NewCreateContentSelectorParamsWithTimeout(timeout time.Duration) *CreateContentSelectorParams
NewCreateContentSelectorParamsWithTimeout creates a new CreateContentSelectorParams object with the ability to set a timeout on a request.
func (*CreateContentSelectorParams) SetBody ¶
func (o *CreateContentSelectorParams) SetBody(body *models.ContentSelectorAPICreateRequest)
SetBody adds the body to the create content selector params
func (*CreateContentSelectorParams) SetContext ¶
func (o *CreateContentSelectorParams) SetContext(ctx context.Context)
SetContext adds the context to the create content selector params
func (*CreateContentSelectorParams) SetDefaults ¶
func (o *CreateContentSelectorParams) SetDefaults()
SetDefaults hydrates default values in the create content selector params (not the query body).
All values with no default are reset to their zero value.
func (*CreateContentSelectorParams) SetHTTPClient ¶
func (o *CreateContentSelectorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create content selector params
func (*CreateContentSelectorParams) SetTimeout ¶
func (o *CreateContentSelectorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create content selector params
func (*CreateContentSelectorParams) WithBody ¶
func (o *CreateContentSelectorParams) WithBody(body *models.ContentSelectorAPICreateRequest) *CreateContentSelectorParams
WithBody adds the body to the create content selector params
func (*CreateContentSelectorParams) WithContext ¶
func (o *CreateContentSelectorParams) WithContext(ctx context.Context) *CreateContentSelectorParams
WithContext adds the context to the create content selector params
func (*CreateContentSelectorParams) WithDefaults ¶
func (o *CreateContentSelectorParams) WithDefaults() *CreateContentSelectorParams
WithDefaults hydrates default values in the create content selector params (not the query body).
All values with no default are reset to their zero value.
func (*CreateContentSelectorParams) WithHTTPClient ¶
func (o *CreateContentSelectorParams) WithHTTPClient(client *http.Client) *CreateContentSelectorParams
WithHTTPClient adds the HTTPClient to the create content selector params
func (*CreateContentSelectorParams) WithTimeout ¶
func (o *CreateContentSelectorParams) WithTimeout(timeout time.Duration) *CreateContentSelectorParams
WithTimeout adds the timeout to the create content selector params
func (*CreateContentSelectorParams) WriteToRequest ¶
func (o *CreateContentSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateContentSelectorReader ¶
type CreateContentSelectorReader struct {
// contains filtered or unexported fields
}
CreateContentSelectorReader is a Reader for the CreateContentSelector structure.
func (*CreateContentSelectorReader) ReadResponse ¶
func (o *CreateContentSelectorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteContentSelectorBadRequest ¶
type DeleteContentSelectorBadRequest struct { }
DeleteContentSelectorBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewDeleteContentSelectorBadRequest ¶
func NewDeleteContentSelectorBadRequest() *DeleteContentSelectorBadRequest
NewDeleteContentSelectorBadRequest creates a DeleteContentSelectorBadRequest with default headers values
func (*DeleteContentSelectorBadRequest) Code ¶
func (o *DeleteContentSelectorBadRequest) Code() int
Code gets the status code for the delete content selector bad request response
func (*DeleteContentSelectorBadRequest) Error ¶
func (o *DeleteContentSelectorBadRequest) Error() string
func (*DeleteContentSelectorBadRequest) IsClientError ¶
func (o *DeleteContentSelectorBadRequest) IsClientError() bool
IsClientError returns true when this delete content selector bad request response has a 4xx status code
func (*DeleteContentSelectorBadRequest) IsCode ¶
func (o *DeleteContentSelectorBadRequest) IsCode(code int) bool
IsCode returns true when this delete content selector bad request response a status code equal to that given
func (*DeleteContentSelectorBadRequest) IsRedirect ¶
func (o *DeleteContentSelectorBadRequest) IsRedirect() bool
IsRedirect returns true when this delete content selector bad request response has a 3xx status code
func (*DeleteContentSelectorBadRequest) IsServerError ¶
func (o *DeleteContentSelectorBadRequest) IsServerError() bool
IsServerError returns true when this delete content selector bad request response has a 5xx status code
func (*DeleteContentSelectorBadRequest) IsSuccess ¶
func (o *DeleteContentSelectorBadRequest) IsSuccess() bool
IsSuccess returns true when this delete content selector bad request response has a 2xx status code
func (*DeleteContentSelectorBadRequest) String ¶
func (o *DeleteContentSelectorBadRequest) String() string
type DeleteContentSelectorForbidden ¶
type DeleteContentSelectorForbidden struct { }
DeleteContentSelectorForbidden describes a response with status code 403, with default header values.
Insufficient permissions to delete the content selector
func NewDeleteContentSelectorForbidden ¶
func NewDeleteContentSelectorForbidden() *DeleteContentSelectorForbidden
NewDeleteContentSelectorForbidden creates a DeleteContentSelectorForbidden with default headers values
func (*DeleteContentSelectorForbidden) Code ¶
func (o *DeleteContentSelectorForbidden) Code() int
Code gets the status code for the delete content selector forbidden response
func (*DeleteContentSelectorForbidden) Error ¶
func (o *DeleteContentSelectorForbidden) Error() string
func (*DeleteContentSelectorForbidden) IsClientError ¶
func (o *DeleteContentSelectorForbidden) IsClientError() bool
IsClientError returns true when this delete content selector forbidden response has a 4xx status code
func (*DeleteContentSelectorForbidden) IsCode ¶
func (o *DeleteContentSelectorForbidden) IsCode(code int) bool
IsCode returns true when this delete content selector forbidden response a status code equal to that given
func (*DeleteContentSelectorForbidden) IsRedirect ¶
func (o *DeleteContentSelectorForbidden) IsRedirect() bool
IsRedirect returns true when this delete content selector forbidden response has a 3xx status code
func (*DeleteContentSelectorForbidden) IsServerError ¶
func (o *DeleteContentSelectorForbidden) IsServerError() bool
IsServerError returns true when this delete content selector forbidden response has a 5xx status code
func (*DeleteContentSelectorForbidden) IsSuccess ¶
func (o *DeleteContentSelectorForbidden) IsSuccess() bool
IsSuccess returns true when this delete content selector forbidden response has a 2xx status code
func (*DeleteContentSelectorForbidden) String ¶
func (o *DeleteContentSelectorForbidden) String() string
type DeleteContentSelectorNoContent ¶
type DeleteContentSelectorNoContent struct { }
DeleteContentSelectorNoContent describes a response with status code 204, with default header values.
Content selector deleted successfully
func NewDeleteContentSelectorNoContent ¶
func NewDeleteContentSelectorNoContent() *DeleteContentSelectorNoContent
NewDeleteContentSelectorNoContent creates a DeleteContentSelectorNoContent with default headers values
func (*DeleteContentSelectorNoContent) Code ¶
func (o *DeleteContentSelectorNoContent) Code() int
Code gets the status code for the delete content selector no content response
func (*DeleteContentSelectorNoContent) Error ¶
func (o *DeleteContentSelectorNoContent) Error() string
func (*DeleteContentSelectorNoContent) IsClientError ¶
func (o *DeleteContentSelectorNoContent) IsClientError() bool
IsClientError returns true when this delete content selector no content response has a 4xx status code
func (*DeleteContentSelectorNoContent) IsCode ¶
func (o *DeleteContentSelectorNoContent) IsCode(code int) bool
IsCode returns true when this delete content selector no content response a status code equal to that given
func (*DeleteContentSelectorNoContent) IsRedirect ¶
func (o *DeleteContentSelectorNoContent) IsRedirect() bool
IsRedirect returns true when this delete content selector no content response has a 3xx status code
func (*DeleteContentSelectorNoContent) IsServerError ¶
func (o *DeleteContentSelectorNoContent) IsServerError() bool
IsServerError returns true when this delete content selector no content response has a 5xx status code
func (*DeleteContentSelectorNoContent) IsSuccess ¶
func (o *DeleteContentSelectorNoContent) IsSuccess() bool
IsSuccess returns true when this delete content selector no content response has a 2xx status code
func (*DeleteContentSelectorNoContent) String ¶
func (o *DeleteContentSelectorNoContent) String() string
type DeleteContentSelectorParams ¶
type DeleteContentSelectorParams struct { // Name. Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteContentSelectorParams contains all the parameters to send to the API endpoint
for the delete content selector operation. Typically these are written to a http.Request.
func NewDeleteContentSelectorParams ¶
func NewDeleteContentSelectorParams() *DeleteContentSelectorParams
NewDeleteContentSelectorParams creates a new DeleteContentSelectorParams 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 NewDeleteContentSelectorParamsWithContext ¶
func NewDeleteContentSelectorParamsWithContext(ctx context.Context) *DeleteContentSelectorParams
NewDeleteContentSelectorParamsWithContext creates a new DeleteContentSelectorParams object with the ability to set a context for a request.
func NewDeleteContentSelectorParamsWithHTTPClient ¶
func NewDeleteContentSelectorParamsWithHTTPClient(client *http.Client) *DeleteContentSelectorParams
NewDeleteContentSelectorParamsWithHTTPClient creates a new DeleteContentSelectorParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteContentSelectorParamsWithTimeout ¶
func NewDeleteContentSelectorParamsWithTimeout(timeout time.Duration) *DeleteContentSelectorParams
NewDeleteContentSelectorParamsWithTimeout creates a new DeleteContentSelectorParams object with the ability to set a timeout on a request.
func (*DeleteContentSelectorParams) SetContext ¶
func (o *DeleteContentSelectorParams) SetContext(ctx context.Context)
SetContext adds the context to the delete content selector params
func (*DeleteContentSelectorParams) SetDefaults ¶
func (o *DeleteContentSelectorParams) SetDefaults()
SetDefaults hydrates default values in the delete content selector params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteContentSelectorParams) SetHTTPClient ¶
func (o *DeleteContentSelectorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete content selector params
func (*DeleteContentSelectorParams) SetName ¶
func (o *DeleteContentSelectorParams) SetName(name string)
SetName adds the name to the delete content selector params
func (*DeleteContentSelectorParams) SetTimeout ¶
func (o *DeleteContentSelectorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete content selector params
func (*DeleteContentSelectorParams) WithContext ¶
func (o *DeleteContentSelectorParams) WithContext(ctx context.Context) *DeleteContentSelectorParams
WithContext adds the context to the delete content selector params
func (*DeleteContentSelectorParams) WithDefaults ¶
func (o *DeleteContentSelectorParams) WithDefaults() *DeleteContentSelectorParams
WithDefaults hydrates default values in the delete content selector params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteContentSelectorParams) WithHTTPClient ¶
func (o *DeleteContentSelectorParams) WithHTTPClient(client *http.Client) *DeleteContentSelectorParams
WithHTTPClient adds the HTTPClient to the delete content selector params
func (*DeleteContentSelectorParams) WithName ¶
func (o *DeleteContentSelectorParams) WithName(name string) *DeleteContentSelectorParams
WithName adds the name to the delete content selector params
func (*DeleteContentSelectorParams) WithTimeout ¶
func (o *DeleteContentSelectorParams) WithTimeout(timeout time.Duration) *DeleteContentSelectorParams
WithTimeout adds the timeout to the delete content selector params
func (*DeleteContentSelectorParams) WriteToRequest ¶
func (o *DeleteContentSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteContentSelectorReader ¶
type DeleteContentSelectorReader struct {
// contains filtered or unexported fields
}
DeleteContentSelectorReader is a Reader for the DeleteContentSelector structure.
func (*DeleteContentSelectorReader) ReadResponse ¶
func (o *DeleteContentSelectorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetContentSelectorForbidden ¶
type GetContentSelectorForbidden struct { }
GetContentSelectorForbidden describes a response with status code 403, with default header values.
Insufficient permissions to read the content selector
func NewGetContentSelectorForbidden ¶
func NewGetContentSelectorForbidden() *GetContentSelectorForbidden
NewGetContentSelectorForbidden creates a GetContentSelectorForbidden with default headers values
func (*GetContentSelectorForbidden) Code ¶
func (o *GetContentSelectorForbidden) Code() int
Code gets the status code for the get content selector forbidden response
func (*GetContentSelectorForbidden) Error ¶
func (o *GetContentSelectorForbidden) Error() string
func (*GetContentSelectorForbidden) IsClientError ¶
func (o *GetContentSelectorForbidden) IsClientError() bool
IsClientError returns true when this get content selector forbidden response has a 4xx status code
func (*GetContentSelectorForbidden) IsCode ¶
func (o *GetContentSelectorForbidden) IsCode(code int) bool
IsCode returns true when this get content selector forbidden response a status code equal to that given
func (*GetContentSelectorForbidden) IsRedirect ¶
func (o *GetContentSelectorForbidden) IsRedirect() bool
IsRedirect returns true when this get content selector forbidden response has a 3xx status code
func (*GetContentSelectorForbidden) IsServerError ¶
func (o *GetContentSelectorForbidden) IsServerError() bool
IsServerError returns true when this get content selector forbidden response has a 5xx status code
func (*GetContentSelectorForbidden) IsSuccess ¶
func (o *GetContentSelectorForbidden) IsSuccess() bool
IsSuccess returns true when this get content selector forbidden response has a 2xx status code
func (*GetContentSelectorForbidden) String ¶
func (o *GetContentSelectorForbidden) String() string
type GetContentSelectorOK ¶
type GetContentSelectorOK struct {
Payload *models.ContentSelectorAPIResponse
}
GetContentSelectorOK describes a response with status code 200, with default header values.
successful operation
func NewGetContentSelectorOK ¶
func NewGetContentSelectorOK() *GetContentSelectorOK
NewGetContentSelectorOK creates a GetContentSelectorOK with default headers values
func (*GetContentSelectorOK) Code ¶
func (o *GetContentSelectorOK) Code() int
Code gets the status code for the get content selector o k response
func (*GetContentSelectorOK) Error ¶
func (o *GetContentSelectorOK) Error() string
func (*GetContentSelectorOK) GetPayload ¶
func (o *GetContentSelectorOK) GetPayload() *models.ContentSelectorAPIResponse
func (*GetContentSelectorOK) IsClientError ¶
func (o *GetContentSelectorOK) IsClientError() bool
IsClientError returns true when this get content selector o k response has a 4xx status code
func (*GetContentSelectorOK) IsCode ¶
func (o *GetContentSelectorOK) IsCode(code int) bool
IsCode returns true when this get content selector o k response a status code equal to that given
func (*GetContentSelectorOK) IsRedirect ¶
func (o *GetContentSelectorOK) IsRedirect() bool
IsRedirect returns true when this get content selector o k response has a 3xx status code
func (*GetContentSelectorOK) IsServerError ¶
func (o *GetContentSelectorOK) IsServerError() bool
IsServerError returns true when this get content selector o k response has a 5xx status code
func (*GetContentSelectorOK) IsSuccess ¶
func (o *GetContentSelectorOK) IsSuccess() bool
IsSuccess returns true when this get content selector o k response has a 2xx status code
func (*GetContentSelectorOK) String ¶
func (o *GetContentSelectorOK) String() string
type GetContentSelectorParams ¶
type GetContentSelectorParams struct { /* Name. The content selector name */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetContentSelectorParams contains all the parameters to send to the API endpoint
for the get content selector operation. Typically these are written to a http.Request.
func NewGetContentSelectorParams ¶
func NewGetContentSelectorParams() *GetContentSelectorParams
NewGetContentSelectorParams creates a new GetContentSelectorParams 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 NewGetContentSelectorParamsWithContext ¶
func NewGetContentSelectorParamsWithContext(ctx context.Context) *GetContentSelectorParams
NewGetContentSelectorParamsWithContext creates a new GetContentSelectorParams object with the ability to set a context for a request.
func NewGetContentSelectorParamsWithHTTPClient ¶
func NewGetContentSelectorParamsWithHTTPClient(client *http.Client) *GetContentSelectorParams
NewGetContentSelectorParamsWithHTTPClient creates a new GetContentSelectorParams object with the ability to set a custom HTTPClient for a request.
func NewGetContentSelectorParamsWithTimeout ¶
func NewGetContentSelectorParamsWithTimeout(timeout time.Duration) *GetContentSelectorParams
NewGetContentSelectorParamsWithTimeout creates a new GetContentSelectorParams object with the ability to set a timeout on a request.
func (*GetContentSelectorParams) SetContext ¶
func (o *GetContentSelectorParams) SetContext(ctx context.Context)
SetContext adds the context to the get content selector params
func (*GetContentSelectorParams) SetDefaults ¶
func (o *GetContentSelectorParams) SetDefaults()
SetDefaults hydrates default values in the get content selector params (not the query body).
All values with no default are reset to their zero value.
func (*GetContentSelectorParams) SetHTTPClient ¶
func (o *GetContentSelectorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get content selector params
func (*GetContentSelectorParams) SetName ¶
func (o *GetContentSelectorParams) SetName(name string)
SetName adds the name to the get content selector params
func (*GetContentSelectorParams) SetTimeout ¶
func (o *GetContentSelectorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get content selector params
func (*GetContentSelectorParams) WithContext ¶
func (o *GetContentSelectorParams) WithContext(ctx context.Context) *GetContentSelectorParams
WithContext adds the context to the get content selector params
func (*GetContentSelectorParams) WithDefaults ¶
func (o *GetContentSelectorParams) WithDefaults() *GetContentSelectorParams
WithDefaults hydrates default values in the get content selector params (not the query body).
All values with no default are reset to their zero value.
func (*GetContentSelectorParams) WithHTTPClient ¶
func (o *GetContentSelectorParams) WithHTTPClient(client *http.Client) *GetContentSelectorParams
WithHTTPClient adds the HTTPClient to the get content selector params
func (*GetContentSelectorParams) WithName ¶
func (o *GetContentSelectorParams) WithName(name string) *GetContentSelectorParams
WithName adds the name to the get content selector params
func (*GetContentSelectorParams) WithTimeout ¶
func (o *GetContentSelectorParams) WithTimeout(timeout time.Duration) *GetContentSelectorParams
WithTimeout adds the timeout to the get content selector params
func (*GetContentSelectorParams) WriteToRequest ¶
func (o *GetContentSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetContentSelectorReader ¶
type GetContentSelectorReader struct {
// contains filtered or unexported fields
}
GetContentSelectorReader is a Reader for the GetContentSelector structure.
func (*GetContentSelectorReader) ReadResponse ¶
func (o *GetContentSelectorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetContentSelectorsForbidden ¶
type GetContentSelectorsForbidden struct { }
GetContentSelectorsForbidden describes a response with status code 403, with default header values.
Insufficient permissions to read content selectors
func NewGetContentSelectorsForbidden ¶
func NewGetContentSelectorsForbidden() *GetContentSelectorsForbidden
NewGetContentSelectorsForbidden creates a GetContentSelectorsForbidden with default headers values
func (*GetContentSelectorsForbidden) Code ¶
func (o *GetContentSelectorsForbidden) Code() int
Code gets the status code for the get content selectors forbidden response
func (*GetContentSelectorsForbidden) Error ¶
func (o *GetContentSelectorsForbidden) Error() string
func (*GetContentSelectorsForbidden) IsClientError ¶
func (o *GetContentSelectorsForbidden) IsClientError() bool
IsClientError returns true when this get content selectors forbidden response has a 4xx status code
func (*GetContentSelectorsForbidden) IsCode ¶
func (o *GetContentSelectorsForbidden) IsCode(code int) bool
IsCode returns true when this get content selectors forbidden response a status code equal to that given
func (*GetContentSelectorsForbidden) IsRedirect ¶
func (o *GetContentSelectorsForbidden) IsRedirect() bool
IsRedirect returns true when this get content selectors forbidden response has a 3xx status code
func (*GetContentSelectorsForbidden) IsServerError ¶
func (o *GetContentSelectorsForbidden) IsServerError() bool
IsServerError returns true when this get content selectors forbidden response has a 5xx status code
func (*GetContentSelectorsForbidden) IsSuccess ¶
func (o *GetContentSelectorsForbidden) IsSuccess() bool
IsSuccess returns true when this get content selectors forbidden response has a 2xx status code
func (*GetContentSelectorsForbidden) String ¶
func (o *GetContentSelectorsForbidden) String() string
type GetContentSelectorsOK ¶
type GetContentSelectorsOK struct {
Payload []*models.ContentSelectorAPIResponse
}
GetContentSelectorsOK describes a response with status code 200, with default header values.
successful operation
func NewGetContentSelectorsOK ¶
func NewGetContentSelectorsOK() *GetContentSelectorsOK
NewGetContentSelectorsOK creates a GetContentSelectorsOK with default headers values
func (*GetContentSelectorsOK) Code ¶
func (o *GetContentSelectorsOK) Code() int
Code gets the status code for the get content selectors o k response
func (*GetContentSelectorsOK) Error ¶
func (o *GetContentSelectorsOK) Error() string
func (*GetContentSelectorsOK) GetPayload ¶
func (o *GetContentSelectorsOK) GetPayload() []*models.ContentSelectorAPIResponse
func (*GetContentSelectorsOK) IsClientError ¶
func (o *GetContentSelectorsOK) IsClientError() bool
IsClientError returns true when this get content selectors o k response has a 4xx status code
func (*GetContentSelectorsOK) IsCode ¶
func (o *GetContentSelectorsOK) IsCode(code int) bool
IsCode returns true when this get content selectors o k response a status code equal to that given
func (*GetContentSelectorsOK) IsRedirect ¶
func (o *GetContentSelectorsOK) IsRedirect() bool
IsRedirect returns true when this get content selectors o k response has a 3xx status code
func (*GetContentSelectorsOK) IsServerError ¶
func (o *GetContentSelectorsOK) IsServerError() bool
IsServerError returns true when this get content selectors o k response has a 5xx status code
func (*GetContentSelectorsOK) IsSuccess ¶
func (o *GetContentSelectorsOK) IsSuccess() bool
IsSuccess returns true when this get content selectors o k response has a 2xx status code
func (*GetContentSelectorsOK) String ¶
func (o *GetContentSelectorsOK) String() string
type GetContentSelectorsParams ¶
type GetContentSelectorsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetContentSelectorsParams contains all the parameters to send to the API endpoint
for the get content selectors operation. Typically these are written to a http.Request.
func NewGetContentSelectorsParams ¶
func NewGetContentSelectorsParams() *GetContentSelectorsParams
NewGetContentSelectorsParams creates a new GetContentSelectorsParams 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 NewGetContentSelectorsParamsWithContext ¶
func NewGetContentSelectorsParamsWithContext(ctx context.Context) *GetContentSelectorsParams
NewGetContentSelectorsParamsWithContext creates a new GetContentSelectorsParams object with the ability to set a context for a request.
func NewGetContentSelectorsParamsWithHTTPClient ¶
func NewGetContentSelectorsParamsWithHTTPClient(client *http.Client) *GetContentSelectorsParams
NewGetContentSelectorsParamsWithHTTPClient creates a new GetContentSelectorsParams object with the ability to set a custom HTTPClient for a request.
func NewGetContentSelectorsParamsWithTimeout ¶
func NewGetContentSelectorsParamsWithTimeout(timeout time.Duration) *GetContentSelectorsParams
NewGetContentSelectorsParamsWithTimeout creates a new GetContentSelectorsParams object with the ability to set a timeout on a request.
func (*GetContentSelectorsParams) SetContext ¶
func (o *GetContentSelectorsParams) SetContext(ctx context.Context)
SetContext adds the context to the get content selectors params
func (*GetContentSelectorsParams) SetDefaults ¶
func (o *GetContentSelectorsParams) SetDefaults()
SetDefaults hydrates default values in the get content selectors params (not the query body).
All values with no default are reset to their zero value.
func (*GetContentSelectorsParams) SetHTTPClient ¶
func (o *GetContentSelectorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get content selectors params
func (*GetContentSelectorsParams) SetTimeout ¶
func (o *GetContentSelectorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get content selectors params
func (*GetContentSelectorsParams) WithContext ¶
func (o *GetContentSelectorsParams) WithContext(ctx context.Context) *GetContentSelectorsParams
WithContext adds the context to the get content selectors params
func (*GetContentSelectorsParams) WithDefaults ¶
func (o *GetContentSelectorsParams) WithDefaults() *GetContentSelectorsParams
WithDefaults hydrates default values in the get content selectors params (not the query body).
All values with no default are reset to their zero value.
func (*GetContentSelectorsParams) WithHTTPClient ¶
func (o *GetContentSelectorsParams) WithHTTPClient(client *http.Client) *GetContentSelectorsParams
WithHTTPClient adds the HTTPClient to the get content selectors params
func (*GetContentSelectorsParams) WithTimeout ¶
func (o *GetContentSelectorsParams) WithTimeout(timeout time.Duration) *GetContentSelectorsParams
WithTimeout adds the timeout to the get content selectors params
func (*GetContentSelectorsParams) WriteToRequest ¶
func (o *GetContentSelectorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetContentSelectorsReader ¶
type GetContentSelectorsReader struct {
// contains filtered or unexported fields
}
GetContentSelectorsReader is a Reader for the GetContentSelectors structure.
func (*GetContentSelectorsReader) ReadResponse ¶
func (o *GetContentSelectorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateContentSelectorBadRequest ¶
type UpdateContentSelectorBadRequest struct { }
UpdateContentSelectorBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewUpdateContentSelectorBadRequest ¶
func NewUpdateContentSelectorBadRequest() *UpdateContentSelectorBadRequest
NewUpdateContentSelectorBadRequest creates a UpdateContentSelectorBadRequest with default headers values
func (*UpdateContentSelectorBadRequest) Code ¶
func (o *UpdateContentSelectorBadRequest) Code() int
Code gets the status code for the update content selector bad request response
func (*UpdateContentSelectorBadRequest) Error ¶
func (o *UpdateContentSelectorBadRequest) Error() string
func (*UpdateContentSelectorBadRequest) IsClientError ¶
func (o *UpdateContentSelectorBadRequest) IsClientError() bool
IsClientError returns true when this update content selector bad request response has a 4xx status code
func (*UpdateContentSelectorBadRequest) IsCode ¶
func (o *UpdateContentSelectorBadRequest) IsCode(code int) bool
IsCode returns true when this update content selector bad request response a status code equal to that given
func (*UpdateContentSelectorBadRequest) IsRedirect ¶
func (o *UpdateContentSelectorBadRequest) IsRedirect() bool
IsRedirect returns true when this update content selector bad request response has a 3xx status code
func (*UpdateContentSelectorBadRequest) IsServerError ¶
func (o *UpdateContentSelectorBadRequest) IsServerError() bool
IsServerError returns true when this update content selector bad request response has a 5xx status code
func (*UpdateContentSelectorBadRequest) IsSuccess ¶
func (o *UpdateContentSelectorBadRequest) IsSuccess() bool
IsSuccess returns true when this update content selector bad request response has a 2xx status code
func (*UpdateContentSelectorBadRequest) String ¶
func (o *UpdateContentSelectorBadRequest) String() string
type UpdateContentSelectorForbidden ¶
type UpdateContentSelectorForbidden struct { }
UpdateContentSelectorForbidden describes a response with status code 403, with default header values.
Insufficient permissions to update the content selector
func NewUpdateContentSelectorForbidden ¶
func NewUpdateContentSelectorForbidden() *UpdateContentSelectorForbidden
NewUpdateContentSelectorForbidden creates a UpdateContentSelectorForbidden with default headers values
func (*UpdateContentSelectorForbidden) Code ¶
func (o *UpdateContentSelectorForbidden) Code() int
Code gets the status code for the update content selector forbidden response
func (*UpdateContentSelectorForbidden) Error ¶
func (o *UpdateContentSelectorForbidden) Error() string
func (*UpdateContentSelectorForbidden) IsClientError ¶
func (o *UpdateContentSelectorForbidden) IsClientError() bool
IsClientError returns true when this update content selector forbidden response has a 4xx status code
func (*UpdateContentSelectorForbidden) IsCode ¶
func (o *UpdateContentSelectorForbidden) IsCode(code int) bool
IsCode returns true when this update content selector forbidden response a status code equal to that given
func (*UpdateContentSelectorForbidden) IsRedirect ¶
func (o *UpdateContentSelectorForbidden) IsRedirect() bool
IsRedirect returns true when this update content selector forbidden response has a 3xx status code
func (*UpdateContentSelectorForbidden) IsServerError ¶
func (o *UpdateContentSelectorForbidden) IsServerError() bool
IsServerError returns true when this update content selector forbidden response has a 5xx status code
func (*UpdateContentSelectorForbidden) IsSuccess ¶
func (o *UpdateContentSelectorForbidden) IsSuccess() bool
IsSuccess returns true when this update content selector forbidden response has a 2xx status code
func (*UpdateContentSelectorForbidden) String ¶
func (o *UpdateContentSelectorForbidden) String() string
type UpdateContentSelectorNoContent ¶
type UpdateContentSelectorNoContent struct { }
UpdateContentSelectorNoContent describes a response with status code 204, with default header values.
Content selector updated successfully
func NewUpdateContentSelectorNoContent ¶
func NewUpdateContentSelectorNoContent() *UpdateContentSelectorNoContent
NewUpdateContentSelectorNoContent creates a UpdateContentSelectorNoContent with default headers values
func (*UpdateContentSelectorNoContent) Code ¶
func (o *UpdateContentSelectorNoContent) Code() int
Code gets the status code for the update content selector no content response
func (*UpdateContentSelectorNoContent) Error ¶
func (o *UpdateContentSelectorNoContent) Error() string
func (*UpdateContentSelectorNoContent) IsClientError ¶
func (o *UpdateContentSelectorNoContent) IsClientError() bool
IsClientError returns true when this update content selector no content response has a 4xx status code
func (*UpdateContentSelectorNoContent) IsCode ¶
func (o *UpdateContentSelectorNoContent) IsCode(code int) bool
IsCode returns true when this update content selector no content response a status code equal to that given
func (*UpdateContentSelectorNoContent) IsRedirect ¶
func (o *UpdateContentSelectorNoContent) IsRedirect() bool
IsRedirect returns true when this update content selector no content response has a 3xx status code
func (*UpdateContentSelectorNoContent) IsServerError ¶
func (o *UpdateContentSelectorNoContent) IsServerError() bool
IsServerError returns true when this update content selector no content response has a 5xx status code
func (*UpdateContentSelectorNoContent) IsSuccess ¶
func (o *UpdateContentSelectorNoContent) IsSuccess() bool
IsSuccess returns true when this update content selector no content response has a 2xx status code
func (*UpdateContentSelectorNoContent) String ¶
func (o *UpdateContentSelectorNoContent) String() string
type UpdateContentSelectorParams ¶
type UpdateContentSelectorParams struct { // Body. Body *models.ContentSelectorAPIUpdateRequest /* Name. The content selector name */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateContentSelectorParams contains all the parameters to send to the API endpoint
for the update content selector operation. Typically these are written to a http.Request.
func NewUpdateContentSelectorParams ¶
func NewUpdateContentSelectorParams() *UpdateContentSelectorParams
NewUpdateContentSelectorParams creates a new UpdateContentSelectorParams 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 NewUpdateContentSelectorParamsWithContext ¶
func NewUpdateContentSelectorParamsWithContext(ctx context.Context) *UpdateContentSelectorParams
NewUpdateContentSelectorParamsWithContext creates a new UpdateContentSelectorParams object with the ability to set a context for a request.
func NewUpdateContentSelectorParamsWithHTTPClient ¶
func NewUpdateContentSelectorParamsWithHTTPClient(client *http.Client) *UpdateContentSelectorParams
NewUpdateContentSelectorParamsWithHTTPClient creates a new UpdateContentSelectorParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateContentSelectorParamsWithTimeout ¶
func NewUpdateContentSelectorParamsWithTimeout(timeout time.Duration) *UpdateContentSelectorParams
NewUpdateContentSelectorParamsWithTimeout creates a new UpdateContentSelectorParams object with the ability to set a timeout on a request.
func (*UpdateContentSelectorParams) SetBody ¶
func (o *UpdateContentSelectorParams) SetBody(body *models.ContentSelectorAPIUpdateRequest)
SetBody adds the body to the update content selector params
func (*UpdateContentSelectorParams) SetContext ¶
func (o *UpdateContentSelectorParams) SetContext(ctx context.Context)
SetContext adds the context to the update content selector params
func (*UpdateContentSelectorParams) SetDefaults ¶
func (o *UpdateContentSelectorParams) SetDefaults()
SetDefaults hydrates default values in the update content selector params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateContentSelectorParams) SetHTTPClient ¶
func (o *UpdateContentSelectorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update content selector params
func (*UpdateContentSelectorParams) SetName ¶
func (o *UpdateContentSelectorParams) SetName(name string)
SetName adds the name to the update content selector params
func (*UpdateContentSelectorParams) SetTimeout ¶
func (o *UpdateContentSelectorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update content selector params
func (*UpdateContentSelectorParams) WithBody ¶
func (o *UpdateContentSelectorParams) WithBody(body *models.ContentSelectorAPIUpdateRequest) *UpdateContentSelectorParams
WithBody adds the body to the update content selector params
func (*UpdateContentSelectorParams) WithContext ¶
func (o *UpdateContentSelectorParams) WithContext(ctx context.Context) *UpdateContentSelectorParams
WithContext adds the context to the update content selector params
func (*UpdateContentSelectorParams) WithDefaults ¶
func (o *UpdateContentSelectorParams) WithDefaults() *UpdateContentSelectorParams
WithDefaults hydrates default values in the update content selector params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateContentSelectorParams) WithHTTPClient ¶
func (o *UpdateContentSelectorParams) WithHTTPClient(client *http.Client) *UpdateContentSelectorParams
WithHTTPClient adds the HTTPClient to the update content selector params
func (*UpdateContentSelectorParams) WithName ¶
func (o *UpdateContentSelectorParams) WithName(name string) *UpdateContentSelectorParams
WithName adds the name to the update content selector params
func (*UpdateContentSelectorParams) WithTimeout ¶
func (o *UpdateContentSelectorParams) WithTimeout(timeout time.Duration) *UpdateContentSelectorParams
WithTimeout adds the timeout to the update content selector params
func (*UpdateContentSelectorParams) WriteToRequest ¶
func (o *UpdateContentSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateContentSelectorReader ¶
type UpdateContentSelectorReader struct {
// contains filtered or unexported fields
}
UpdateContentSelectorReader is a Reader for the UpdateContentSelector structure.
func (*UpdateContentSelectorReader) ReadResponse ¶
func (o *UpdateContentSelectorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- content_selectors_client.go
- create_content_selector_parameters.go
- create_content_selector_responses.go
- delete_content_selector_parameters.go
- delete_content_selector_responses.go
- get_content_selector_parameters.go
- get_content_selector_responses.go
- get_content_selectors_parameters.go
- get_content_selectors_responses.go
- update_content_selector_parameters.go
- update_content_selector_responses.go