entity_filter

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 entity filter API

func (*Client) CreateEntityFilter

func (a *Client) CreateEntityFilter(params *CreateEntityFilterParams, opts ...ClientOption) (*CreateEntityFilterOK, error)

CreateEntityFilter create entity filter API

func (*Client) DeleteEntityFilter

func (a *Client) DeleteEntityFilter(params *DeleteEntityFilterParams, opts ...ClientOption) (*DeleteEntityFilterOK, error)

DeleteEntityFilter delete entity filter API

func (*Client) GetEntityFilters

func (a *Client) GetEntityFilters(params *GetEntityFiltersParams, opts ...ClientOption) (*GetEntityFiltersOK, error)

GetEntityFilters get entity filters API

func (*Client) GetEntityFiltersConnection

func (a *Client) GetEntityFiltersConnection(params *GetEntityFiltersConnectionParams, opts ...ClientOption) (*GetEntityFiltersConnectionOK, error)

GetEntityFiltersConnection get entity filters connection API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateEntityFilter

func (a *Client) UpdateEntityFilter(params *UpdateEntityFilterParams, opts ...ClientOption) (*UpdateEntityFilterOK, error)

UpdateEntityFilter update entity filter API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateEntityFilter(params *CreateEntityFilterParams, opts ...ClientOption) (*CreateEntityFilterOK, error)

	DeleteEntityFilter(params *DeleteEntityFilterParams, opts ...ClientOption) (*DeleteEntityFilterOK, error)

	GetEntityFilters(params *GetEntityFiltersParams, opts ...ClientOption) (*GetEntityFiltersOK, error)

	GetEntityFiltersConnection(params *GetEntityFiltersConnectionParams, opts ...ClientOption) (*GetEntityFiltersConnectionOK, error)

	UpdateEntityFilter(params *UpdateEntityFilterParams, opts ...ClientOption) (*UpdateEntityFilterOK, 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 entity filter API client.

type CreateEntityFilterBadRequest

type CreateEntityFilterBadRequest struct {
	Payload string
}
CreateEntityFilterBadRequest describes a response with status code 400, with default header values.

CreateEntityFilterBadRequest create entity filter bad request

func NewCreateEntityFilterBadRequest

func NewCreateEntityFilterBadRequest() *CreateEntityFilterBadRequest

NewCreateEntityFilterBadRequest creates a CreateEntityFilterBadRequest with default headers values

func (*CreateEntityFilterBadRequest) Error

func (*CreateEntityFilterBadRequest) GetPayload

func (o *CreateEntityFilterBadRequest) GetPayload() string

type CreateEntityFilterOK

type CreateEntityFilterOK struct {
	Payload []*models.WithTaskEntityFilter
}
CreateEntityFilterOK describes a response with status code 200, with default header values.

Ok

func NewCreateEntityFilterOK

func NewCreateEntityFilterOK() *CreateEntityFilterOK

NewCreateEntityFilterOK creates a CreateEntityFilterOK with default headers values

func (*CreateEntityFilterOK) Error

func (o *CreateEntityFilterOK) Error() string

func (*CreateEntityFilterOK) GetPayload

type CreateEntityFilterParams

type CreateEntityFilterParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody []*models.EntityFilterCreationParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateEntityFilterParams contains all the parameters to send to the API endpoint

for the create entity filter operation.

Typically these are written to a http.Request.

func NewCreateEntityFilterParams

func NewCreateEntityFilterParams() *CreateEntityFilterParams

NewCreateEntityFilterParams creates a new CreateEntityFilterParams 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 NewCreateEntityFilterParamsWithContext

func NewCreateEntityFilterParamsWithContext(ctx context.Context) *CreateEntityFilterParams

NewCreateEntityFilterParamsWithContext creates a new CreateEntityFilterParams object with the ability to set a context for a request.

func NewCreateEntityFilterParamsWithHTTPClient

func NewCreateEntityFilterParamsWithHTTPClient(client *http.Client) *CreateEntityFilterParams

NewCreateEntityFilterParamsWithHTTPClient creates a new CreateEntityFilterParams object with the ability to set a custom HTTPClient for a request.

func NewCreateEntityFilterParamsWithTimeout

func NewCreateEntityFilterParamsWithTimeout(timeout time.Duration) *CreateEntityFilterParams

NewCreateEntityFilterParamsWithTimeout creates a new CreateEntityFilterParams object with the ability to set a timeout on a request.

func (*CreateEntityFilterParams) SetContentLanguage

func (o *CreateEntityFilterParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the create entity filter params

func (*CreateEntityFilterParams) SetContext

func (o *CreateEntityFilterParams) SetContext(ctx context.Context)

SetContext adds the context to the create entity filter params

func (*CreateEntityFilterParams) SetDefaults

func (o *CreateEntityFilterParams) SetDefaults()

SetDefaults hydrates default values in the create entity filter params (not the query body).

All values with no default are reset to their zero value.

func (*CreateEntityFilterParams) SetHTTPClient

func (o *CreateEntityFilterParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create entity filter params

func (*CreateEntityFilterParams) SetRequestBody

func (o *CreateEntityFilterParams) SetRequestBody(requestBody []*models.EntityFilterCreationParams)

SetRequestBody adds the requestBody to the create entity filter params

func (*CreateEntityFilterParams) SetTimeout

func (o *CreateEntityFilterParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create entity filter params

func (*CreateEntityFilterParams) WithContentLanguage

func (o *CreateEntityFilterParams) WithContentLanguage(contentLanguage *string) *CreateEntityFilterParams

WithContentLanguage adds the contentLanguage to the create entity filter params

func (*CreateEntityFilterParams) WithContext

WithContext adds the context to the create entity filter params

func (*CreateEntityFilterParams) WithDefaults

WithDefaults hydrates default values in the create entity filter params (not the query body).

All values with no default are reset to their zero value.

func (*CreateEntityFilterParams) WithHTTPClient

func (o *CreateEntityFilterParams) WithHTTPClient(client *http.Client) *CreateEntityFilterParams

WithHTTPClient adds the HTTPClient to the create entity filter params

func (*CreateEntityFilterParams) WithRequestBody

WithRequestBody adds the requestBody to the create entity filter params

func (*CreateEntityFilterParams) WithTimeout

WithTimeout adds the timeout to the create entity filter params

func (*CreateEntityFilterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateEntityFilterReader

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

CreateEntityFilterReader is a Reader for the CreateEntityFilter structure.

func (*CreateEntityFilterReader) ReadResponse

func (o *CreateEntityFilterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteEntityFilterBadRequest

type DeleteEntityFilterBadRequest struct {
	Payload string
}
DeleteEntityFilterBadRequest describes a response with status code 400, with default header values.

DeleteEntityFilterBadRequest delete entity filter bad request

func NewDeleteEntityFilterBadRequest

func NewDeleteEntityFilterBadRequest() *DeleteEntityFilterBadRequest

NewDeleteEntityFilterBadRequest creates a DeleteEntityFilterBadRequest with default headers values

func (*DeleteEntityFilterBadRequest) Error

func (*DeleteEntityFilterBadRequest) GetPayload

func (o *DeleteEntityFilterBadRequest) GetPayload() string

type DeleteEntityFilterOK

type DeleteEntityFilterOK struct {
	Payload []*models.WithTaskDeleteEntityFilter
}
DeleteEntityFilterOK describes a response with status code 200, with default header values.

Ok

func NewDeleteEntityFilterOK

func NewDeleteEntityFilterOK() *DeleteEntityFilterOK

NewDeleteEntityFilterOK creates a DeleteEntityFilterOK with default headers values

func (*DeleteEntityFilterOK) Error

func (o *DeleteEntityFilterOK) Error() string

func (*DeleteEntityFilterOK) GetPayload

type DeleteEntityFilterParams

type DeleteEntityFilterParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.EntityFilterDeletionParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteEntityFilterParams contains all the parameters to send to the API endpoint

for the delete entity filter operation.

Typically these are written to a http.Request.

func NewDeleteEntityFilterParams

func NewDeleteEntityFilterParams() *DeleteEntityFilterParams

NewDeleteEntityFilterParams creates a new DeleteEntityFilterParams 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 NewDeleteEntityFilterParamsWithContext

func NewDeleteEntityFilterParamsWithContext(ctx context.Context) *DeleteEntityFilterParams

NewDeleteEntityFilterParamsWithContext creates a new DeleteEntityFilterParams object with the ability to set a context for a request.

func NewDeleteEntityFilterParamsWithHTTPClient

func NewDeleteEntityFilterParamsWithHTTPClient(client *http.Client) *DeleteEntityFilterParams

NewDeleteEntityFilterParamsWithHTTPClient creates a new DeleteEntityFilterParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteEntityFilterParamsWithTimeout

func NewDeleteEntityFilterParamsWithTimeout(timeout time.Duration) *DeleteEntityFilterParams

NewDeleteEntityFilterParamsWithTimeout creates a new DeleteEntityFilterParams object with the ability to set a timeout on a request.

func (*DeleteEntityFilterParams) SetContentLanguage

func (o *DeleteEntityFilterParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the delete entity filter params

func (*DeleteEntityFilterParams) SetContext

func (o *DeleteEntityFilterParams) SetContext(ctx context.Context)

SetContext adds the context to the delete entity filter params

func (*DeleteEntityFilterParams) SetDefaults

func (o *DeleteEntityFilterParams) SetDefaults()

SetDefaults hydrates default values in the delete entity filter params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteEntityFilterParams) SetHTTPClient

func (o *DeleteEntityFilterParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete entity filter params

func (*DeleteEntityFilterParams) SetRequestBody

func (o *DeleteEntityFilterParams) SetRequestBody(requestBody *models.EntityFilterDeletionParams)

SetRequestBody adds the requestBody to the delete entity filter params

func (*DeleteEntityFilterParams) SetTimeout

func (o *DeleteEntityFilterParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete entity filter params

func (*DeleteEntityFilterParams) WithContentLanguage

func (o *DeleteEntityFilterParams) WithContentLanguage(contentLanguage *string) *DeleteEntityFilterParams

WithContentLanguage adds the contentLanguage to the delete entity filter params

func (*DeleteEntityFilterParams) WithContext

WithContext adds the context to the delete entity filter params

func (*DeleteEntityFilterParams) WithDefaults

WithDefaults hydrates default values in the delete entity filter params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteEntityFilterParams) WithHTTPClient

func (o *DeleteEntityFilterParams) WithHTTPClient(client *http.Client) *DeleteEntityFilterParams

WithHTTPClient adds the HTTPClient to the delete entity filter params

func (*DeleteEntityFilterParams) WithRequestBody

WithRequestBody adds the requestBody to the delete entity filter params

func (*DeleteEntityFilterParams) WithTimeout

WithTimeout adds the timeout to the delete entity filter params

func (*DeleteEntityFilterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteEntityFilterReader

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

DeleteEntityFilterReader is a Reader for the DeleteEntityFilter structure.

func (*DeleteEntityFilterReader) ReadResponse

func (o *DeleteEntityFilterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetEntityFiltersBadRequest

type GetEntityFiltersBadRequest struct {
	Payload string
}
GetEntityFiltersBadRequest describes a response with status code 400, with default header values.

GetEntityFiltersBadRequest get entity filters bad request

func NewGetEntityFiltersBadRequest

func NewGetEntityFiltersBadRequest() *GetEntityFiltersBadRequest

NewGetEntityFiltersBadRequest creates a GetEntityFiltersBadRequest with default headers values

func (*GetEntityFiltersBadRequest) Error

func (*GetEntityFiltersBadRequest) GetPayload

func (o *GetEntityFiltersBadRequest) GetPayload() string

type GetEntityFiltersConnectionBadRequest

type GetEntityFiltersConnectionBadRequest struct {
	Payload string
}
GetEntityFiltersConnectionBadRequest describes a response with status code 400, with default header values.

GetEntityFiltersConnectionBadRequest get entity filters connection bad request

func NewGetEntityFiltersConnectionBadRequest

func NewGetEntityFiltersConnectionBadRequest() *GetEntityFiltersConnectionBadRequest

NewGetEntityFiltersConnectionBadRequest creates a GetEntityFiltersConnectionBadRequest with default headers values

func (*GetEntityFiltersConnectionBadRequest) Error

func (*GetEntityFiltersConnectionBadRequest) GetPayload

type GetEntityFiltersConnectionOK

type GetEntityFiltersConnectionOK struct {
	Payload *models.EntityFilterConnection
}
GetEntityFiltersConnectionOK describes a response with status code 200, with default header values.

Ok

func NewGetEntityFiltersConnectionOK

func NewGetEntityFiltersConnectionOK() *GetEntityFiltersConnectionOK

NewGetEntityFiltersConnectionOK creates a GetEntityFiltersConnectionOK with default headers values

func (*GetEntityFiltersConnectionOK) Error

func (*GetEntityFiltersConnectionOK) GetPayload

type GetEntityFiltersConnectionParams

type GetEntityFiltersConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetEntityFiltersConnectionRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetEntityFiltersConnectionParams contains all the parameters to send to the API endpoint

for the get entity filters connection operation.

Typically these are written to a http.Request.

func NewGetEntityFiltersConnectionParams

func NewGetEntityFiltersConnectionParams() *GetEntityFiltersConnectionParams

NewGetEntityFiltersConnectionParams creates a new GetEntityFiltersConnectionParams 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 NewGetEntityFiltersConnectionParamsWithContext

func NewGetEntityFiltersConnectionParamsWithContext(ctx context.Context) *GetEntityFiltersConnectionParams

NewGetEntityFiltersConnectionParamsWithContext creates a new GetEntityFiltersConnectionParams object with the ability to set a context for a request.

func NewGetEntityFiltersConnectionParamsWithHTTPClient

func NewGetEntityFiltersConnectionParamsWithHTTPClient(client *http.Client) *GetEntityFiltersConnectionParams

NewGetEntityFiltersConnectionParamsWithHTTPClient creates a new GetEntityFiltersConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetEntityFiltersConnectionParamsWithTimeout

func NewGetEntityFiltersConnectionParamsWithTimeout(timeout time.Duration) *GetEntityFiltersConnectionParams

NewGetEntityFiltersConnectionParamsWithTimeout creates a new GetEntityFiltersConnectionParams object with the ability to set a timeout on a request.

func (*GetEntityFiltersConnectionParams) SetContentLanguage

func (o *GetEntityFiltersConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get entity filters connection params

func (*GetEntityFiltersConnectionParams) SetContext

SetContext adds the context to the get entity filters connection params

func (*GetEntityFiltersConnectionParams) SetDefaults

func (o *GetEntityFiltersConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get entity filters connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetEntityFiltersConnectionParams) SetHTTPClient

func (o *GetEntityFiltersConnectionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get entity filters connection params

func (*GetEntityFiltersConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get entity filters connection params

func (*GetEntityFiltersConnectionParams) SetTimeout

func (o *GetEntityFiltersConnectionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get entity filters connection params

func (*GetEntityFiltersConnectionParams) WithContentLanguage

func (o *GetEntityFiltersConnectionParams) WithContentLanguage(contentLanguage *string) *GetEntityFiltersConnectionParams

WithContentLanguage adds the contentLanguage to the get entity filters connection params

func (*GetEntityFiltersConnectionParams) WithContext

WithContext adds the context to the get entity filters connection params

func (*GetEntityFiltersConnectionParams) WithDefaults

WithDefaults hydrates default values in the get entity filters connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetEntityFiltersConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get entity filters connection params

func (*GetEntityFiltersConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get entity filters connection params

func (*GetEntityFiltersConnectionParams) WithTimeout

WithTimeout adds the timeout to the get entity filters connection params

func (*GetEntityFiltersConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEntityFiltersConnectionReader

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

GetEntityFiltersConnectionReader is a Reader for the GetEntityFiltersConnection structure.

func (*GetEntityFiltersConnectionReader) ReadResponse

func (o *GetEntityFiltersConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetEntityFiltersOK

type GetEntityFiltersOK struct {
	Payload []*models.EntityFilter
}
GetEntityFiltersOK describes a response with status code 200, with default header values.

Ok

func NewGetEntityFiltersOK

func NewGetEntityFiltersOK() *GetEntityFiltersOK

NewGetEntityFiltersOK creates a GetEntityFiltersOK with default headers values

func (*GetEntityFiltersOK) Error

func (o *GetEntityFiltersOK) Error() string

func (*GetEntityFiltersOK) GetPayload

func (o *GetEntityFiltersOK) GetPayload() []*models.EntityFilter

type GetEntityFiltersParams

type GetEntityFiltersParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetEntityFiltersRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetEntityFiltersParams contains all the parameters to send to the API endpoint

for the get entity filters operation.

Typically these are written to a http.Request.

func NewGetEntityFiltersParams

func NewGetEntityFiltersParams() *GetEntityFiltersParams

NewGetEntityFiltersParams creates a new GetEntityFiltersParams 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 NewGetEntityFiltersParamsWithContext

func NewGetEntityFiltersParamsWithContext(ctx context.Context) *GetEntityFiltersParams

NewGetEntityFiltersParamsWithContext creates a new GetEntityFiltersParams object with the ability to set a context for a request.

func NewGetEntityFiltersParamsWithHTTPClient

func NewGetEntityFiltersParamsWithHTTPClient(client *http.Client) *GetEntityFiltersParams

NewGetEntityFiltersParamsWithHTTPClient creates a new GetEntityFiltersParams object with the ability to set a custom HTTPClient for a request.

func NewGetEntityFiltersParamsWithTimeout

func NewGetEntityFiltersParamsWithTimeout(timeout time.Duration) *GetEntityFiltersParams

NewGetEntityFiltersParamsWithTimeout creates a new GetEntityFiltersParams object with the ability to set a timeout on a request.

func (*GetEntityFiltersParams) SetContentLanguage

func (o *GetEntityFiltersParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get entity filters params

func (*GetEntityFiltersParams) SetContext

func (o *GetEntityFiltersParams) SetContext(ctx context.Context)

SetContext adds the context to the get entity filters params

func (*GetEntityFiltersParams) SetDefaults

func (o *GetEntityFiltersParams) SetDefaults()

SetDefaults hydrates default values in the get entity filters params (not the query body).

All values with no default are reset to their zero value.

func (*GetEntityFiltersParams) SetHTTPClient

func (o *GetEntityFiltersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get entity filters params

func (*GetEntityFiltersParams) SetRequestBody

func (o *GetEntityFiltersParams) SetRequestBody(requestBody *models.GetEntityFiltersRequestBody)

SetRequestBody adds the requestBody to the get entity filters params

func (*GetEntityFiltersParams) SetTimeout

func (o *GetEntityFiltersParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get entity filters params

func (*GetEntityFiltersParams) WithContentLanguage

func (o *GetEntityFiltersParams) WithContentLanguage(contentLanguage *string) *GetEntityFiltersParams

WithContentLanguage adds the contentLanguage to the get entity filters params

func (*GetEntityFiltersParams) WithContext

WithContext adds the context to the get entity filters params

func (*GetEntityFiltersParams) WithDefaults

WithDefaults hydrates default values in the get entity filters params (not the query body).

All values with no default are reset to their zero value.

func (*GetEntityFiltersParams) WithHTTPClient

func (o *GetEntityFiltersParams) WithHTTPClient(client *http.Client) *GetEntityFiltersParams

WithHTTPClient adds the HTTPClient to the get entity filters params

func (*GetEntityFiltersParams) WithRequestBody

WithRequestBody adds the requestBody to the get entity filters params

func (*GetEntityFiltersParams) WithTimeout

WithTimeout adds the timeout to the get entity filters params

func (*GetEntityFiltersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEntityFiltersReader

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

GetEntityFiltersReader is a Reader for the GetEntityFilters structure.

func (*GetEntityFiltersReader) ReadResponse

func (o *GetEntityFiltersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateEntityFilterBadRequest

type UpdateEntityFilterBadRequest struct {
	Payload string
}
UpdateEntityFilterBadRequest describes a response with status code 400, with default header values.

UpdateEntityFilterBadRequest update entity filter bad request

func NewUpdateEntityFilterBadRequest

func NewUpdateEntityFilterBadRequest() *UpdateEntityFilterBadRequest

NewUpdateEntityFilterBadRequest creates a UpdateEntityFilterBadRequest with default headers values

func (*UpdateEntityFilterBadRequest) Error

func (*UpdateEntityFilterBadRequest) GetPayload

func (o *UpdateEntityFilterBadRequest) GetPayload() string

type UpdateEntityFilterOK

type UpdateEntityFilterOK struct {
	Payload []*models.WithTaskEntityFilter
}
UpdateEntityFilterOK describes a response with status code 200, with default header values.

Ok

func NewUpdateEntityFilterOK

func NewUpdateEntityFilterOK() *UpdateEntityFilterOK

NewUpdateEntityFilterOK creates a UpdateEntityFilterOK with default headers values

func (*UpdateEntityFilterOK) Error

func (o *UpdateEntityFilterOK) Error() string

func (*UpdateEntityFilterOK) GetPayload

type UpdateEntityFilterParams

type UpdateEntityFilterParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.EntityFilterUpdationParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateEntityFilterParams contains all the parameters to send to the API endpoint

for the update entity filter operation.

Typically these are written to a http.Request.

func NewUpdateEntityFilterParams

func NewUpdateEntityFilterParams() *UpdateEntityFilterParams

NewUpdateEntityFilterParams creates a new UpdateEntityFilterParams 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 NewUpdateEntityFilterParamsWithContext

func NewUpdateEntityFilterParamsWithContext(ctx context.Context) *UpdateEntityFilterParams

NewUpdateEntityFilterParamsWithContext creates a new UpdateEntityFilterParams object with the ability to set a context for a request.

func NewUpdateEntityFilterParamsWithHTTPClient

func NewUpdateEntityFilterParamsWithHTTPClient(client *http.Client) *UpdateEntityFilterParams

NewUpdateEntityFilterParamsWithHTTPClient creates a new UpdateEntityFilterParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateEntityFilterParamsWithTimeout

func NewUpdateEntityFilterParamsWithTimeout(timeout time.Duration) *UpdateEntityFilterParams

NewUpdateEntityFilterParamsWithTimeout creates a new UpdateEntityFilterParams object with the ability to set a timeout on a request.

func (*UpdateEntityFilterParams) SetContentLanguage

func (o *UpdateEntityFilterParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update entity filter params

func (*UpdateEntityFilterParams) SetContext

func (o *UpdateEntityFilterParams) SetContext(ctx context.Context)

SetContext adds the context to the update entity filter params

func (*UpdateEntityFilterParams) SetDefaults

func (o *UpdateEntityFilterParams) SetDefaults()

SetDefaults hydrates default values in the update entity filter params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateEntityFilterParams) SetHTTPClient

func (o *UpdateEntityFilterParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update entity filter params

func (*UpdateEntityFilterParams) SetRequestBody

func (o *UpdateEntityFilterParams) SetRequestBody(requestBody *models.EntityFilterUpdationParams)

SetRequestBody adds the requestBody to the update entity filter params

func (*UpdateEntityFilterParams) SetTimeout

func (o *UpdateEntityFilterParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update entity filter params

func (*UpdateEntityFilterParams) WithContentLanguage

func (o *UpdateEntityFilterParams) WithContentLanguage(contentLanguage *string) *UpdateEntityFilterParams

WithContentLanguage adds the contentLanguage to the update entity filter params

func (*UpdateEntityFilterParams) WithContext

WithContext adds the context to the update entity filter params

func (*UpdateEntityFilterParams) WithDefaults

WithDefaults hydrates default values in the update entity filter params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateEntityFilterParams) WithHTTPClient

func (o *UpdateEntityFilterParams) WithHTTPClient(client *http.Client) *UpdateEntityFilterParams

WithHTTPClient adds the HTTPClient to the update entity filter params

func (*UpdateEntityFilterParams) WithRequestBody

WithRequestBody adds the requestBody to the update entity filter params

func (*UpdateEntityFilterParams) WithTimeout

WithTimeout adds the timeout to the update entity filter params

func (*UpdateEntityFilterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateEntityFilterReader

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

UpdateEntityFilterReader is a Reader for the UpdateEntityFilter structure.

func (*UpdateEntityFilterReader) ReadResponse

func (o *UpdateEntityFilterReader) 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