filter

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 12 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 filter API

func (*Client) CreateFilter

CreateFilter adds a new filter

Adds a new Filter of the specified type in the specified parent.

func (*Client) DeleteFilter

DeleteFilter deletes a filter

Deletes a Filter configuration by it's index from the specified parent.

func (*Client) GetFilter

func (a *Client) GetFilter(params *GetFilterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFilterOK, error)

GetFilter returns one filter

Returns one Filter configuration by it's index in the specified parent.

func (*Client) GetFilters

func (a *Client) GetFilters(params *GetFiltersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFiltersOK, error)

GetFilters returns an array of all filters

Returns all Filters that are configured in specified parent.

func (*Client) ReplaceFilter

ReplaceFilter replaces a filter

Replaces a Filter configuration by it's index in the specified parent.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateFilter(params *CreateFilterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateFilterCreated, *CreateFilterAccepted, error)

	DeleteFilter(params *DeleteFilterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteFilterAccepted, *DeleteFilterNoContent, error)

	GetFilter(params *GetFilterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFilterOK, error)

	GetFilters(params *GetFiltersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFiltersOK, error)

	ReplaceFilter(params *ReplaceFilterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceFilterOK, *ReplaceFilterAccepted, 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 filter API client.

type CreateFilterAccepted

type CreateFilterAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string

	Payload *models.Filter
}

CreateFilterAccepted describes a response with status code 202, with default header values.

Configuration change accepted and reload requested

func NewCreateFilterAccepted

func NewCreateFilterAccepted() *CreateFilterAccepted

NewCreateFilterAccepted creates a CreateFilterAccepted with default headers values

func (*CreateFilterAccepted) Code added in v1.1.5

func (o *CreateFilterAccepted) Code() int

Code gets the status code for the create filter accepted response

func (*CreateFilterAccepted) Error

func (o *CreateFilterAccepted) Error() string

func (*CreateFilterAccepted) GetPayload

func (o *CreateFilterAccepted) GetPayload() *models.Filter

func (*CreateFilterAccepted) IsClientError added in v1.1.0

func (o *CreateFilterAccepted) IsClientError() bool

IsClientError returns true when this create filter accepted response has a 4xx status code

func (*CreateFilterAccepted) IsCode added in v1.1.0

func (o *CreateFilterAccepted) IsCode(code int) bool

IsCode returns true when this create filter accepted response a status code equal to that given

func (*CreateFilterAccepted) IsRedirect added in v1.1.0

func (o *CreateFilterAccepted) IsRedirect() bool

IsRedirect returns true when this create filter accepted response has a 3xx status code

func (*CreateFilterAccepted) IsServerError added in v1.1.0

func (o *CreateFilterAccepted) IsServerError() bool

IsServerError returns true when this create filter accepted response has a 5xx status code

func (*CreateFilterAccepted) IsSuccess added in v1.1.0

func (o *CreateFilterAccepted) IsSuccess() bool

IsSuccess returns true when this create filter accepted response has a 2xx status code

func (*CreateFilterAccepted) String added in v1.1.0

func (o *CreateFilterAccepted) String() string

type CreateFilterBadRequest

type CreateFilterBadRequest struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

CreateFilterBadRequest describes a response with status code 400, with default header values.

Bad request

func NewCreateFilterBadRequest

func NewCreateFilterBadRequest() *CreateFilterBadRequest

NewCreateFilterBadRequest creates a CreateFilterBadRequest with default headers values

func (*CreateFilterBadRequest) Code added in v1.1.5

func (o *CreateFilterBadRequest) Code() int

Code gets the status code for the create filter bad request response

func (*CreateFilterBadRequest) Error

func (o *CreateFilterBadRequest) Error() string

func (*CreateFilterBadRequest) GetPayload

func (o *CreateFilterBadRequest) GetPayload() *models.Error

func (*CreateFilterBadRequest) IsClientError added in v1.1.0

func (o *CreateFilterBadRequest) IsClientError() bool

IsClientError returns true when this create filter bad request response has a 4xx status code

func (*CreateFilterBadRequest) IsCode added in v1.1.0

func (o *CreateFilterBadRequest) IsCode(code int) bool

IsCode returns true when this create filter bad request response a status code equal to that given

func (*CreateFilterBadRequest) IsRedirect added in v1.1.0

func (o *CreateFilterBadRequest) IsRedirect() bool

IsRedirect returns true when this create filter bad request response has a 3xx status code

func (*CreateFilterBadRequest) IsServerError added in v1.1.0

func (o *CreateFilterBadRequest) IsServerError() bool

IsServerError returns true when this create filter bad request response has a 5xx status code

func (*CreateFilterBadRequest) IsSuccess added in v1.1.0

func (o *CreateFilterBadRequest) IsSuccess() bool

IsSuccess returns true when this create filter bad request response has a 2xx status code

func (*CreateFilterBadRequest) String added in v1.1.0

func (o *CreateFilterBadRequest) String() string

type CreateFilterConflict

type CreateFilterConflict struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

CreateFilterConflict describes a response with status code 409, with default header values.

The specified resource already exists

func NewCreateFilterConflict

func NewCreateFilterConflict() *CreateFilterConflict

NewCreateFilterConflict creates a CreateFilterConflict with default headers values

func (*CreateFilterConflict) Code added in v1.1.5

func (o *CreateFilterConflict) Code() int

Code gets the status code for the create filter conflict response

func (*CreateFilterConflict) Error

func (o *CreateFilterConflict) Error() string

func (*CreateFilterConflict) GetPayload

func (o *CreateFilterConflict) GetPayload() *models.Error

func (*CreateFilterConflict) IsClientError added in v1.1.0

func (o *CreateFilterConflict) IsClientError() bool

IsClientError returns true when this create filter conflict response has a 4xx status code

func (*CreateFilterConflict) IsCode added in v1.1.0

func (o *CreateFilterConflict) IsCode(code int) bool

IsCode returns true when this create filter conflict response a status code equal to that given

func (*CreateFilterConflict) IsRedirect added in v1.1.0

func (o *CreateFilterConflict) IsRedirect() bool

IsRedirect returns true when this create filter conflict response has a 3xx status code

func (*CreateFilterConflict) IsServerError added in v1.1.0

func (o *CreateFilterConflict) IsServerError() bool

IsServerError returns true when this create filter conflict response has a 5xx status code

func (*CreateFilterConflict) IsSuccess added in v1.1.0

func (o *CreateFilterConflict) IsSuccess() bool

IsSuccess returns true when this create filter conflict response has a 2xx status code

func (*CreateFilterConflict) String added in v1.1.0

func (o *CreateFilterConflict) String() string

type CreateFilterCreated

type CreateFilterCreated struct {
	Payload *models.Filter
}

CreateFilterCreated describes a response with status code 201, with default header values.

Filter created

func NewCreateFilterCreated

func NewCreateFilterCreated() *CreateFilterCreated

NewCreateFilterCreated creates a CreateFilterCreated with default headers values

func (*CreateFilterCreated) Code added in v1.1.5

func (o *CreateFilterCreated) Code() int

Code gets the status code for the create filter created response

func (*CreateFilterCreated) Error

func (o *CreateFilterCreated) Error() string

func (*CreateFilterCreated) GetPayload

func (o *CreateFilterCreated) GetPayload() *models.Filter

func (*CreateFilterCreated) IsClientError added in v1.1.0

func (o *CreateFilterCreated) IsClientError() bool

IsClientError returns true when this create filter created response has a 4xx status code

func (*CreateFilterCreated) IsCode added in v1.1.0

func (o *CreateFilterCreated) IsCode(code int) bool

IsCode returns true when this create filter created response a status code equal to that given

func (*CreateFilterCreated) IsRedirect added in v1.1.0

func (o *CreateFilterCreated) IsRedirect() bool

IsRedirect returns true when this create filter created response has a 3xx status code

func (*CreateFilterCreated) IsServerError added in v1.1.0

func (o *CreateFilterCreated) IsServerError() bool

IsServerError returns true when this create filter created response has a 5xx status code

func (*CreateFilterCreated) IsSuccess added in v1.1.0

func (o *CreateFilterCreated) IsSuccess() bool

IsSuccess returns true when this create filter created response has a 2xx status code

func (*CreateFilterCreated) String added in v1.1.0

func (o *CreateFilterCreated) String() string

type CreateFilterDefault

type CreateFilterDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

CreateFilterDefault describes a response with status code -1, with default header values.

General Error

func NewCreateFilterDefault

func NewCreateFilterDefault(code int) *CreateFilterDefault

NewCreateFilterDefault creates a CreateFilterDefault with default headers values

func (*CreateFilterDefault) Code

func (o *CreateFilterDefault) Code() int

Code gets the status code for the create filter default response

func (*CreateFilterDefault) Error

func (o *CreateFilterDefault) Error() string

func (*CreateFilterDefault) GetPayload

func (o *CreateFilterDefault) GetPayload() *models.Error

func (*CreateFilterDefault) IsClientError added in v1.1.0

func (o *CreateFilterDefault) IsClientError() bool

IsClientError returns true when this create filter default response has a 4xx status code

func (*CreateFilterDefault) IsCode added in v1.1.0

func (o *CreateFilterDefault) IsCode(code int) bool

IsCode returns true when this create filter default response a status code equal to that given

func (*CreateFilterDefault) IsRedirect added in v1.1.0

func (o *CreateFilterDefault) IsRedirect() bool

IsRedirect returns true when this create filter default response has a 3xx status code

func (*CreateFilterDefault) IsServerError added in v1.1.0

func (o *CreateFilterDefault) IsServerError() bool

IsServerError returns true when this create filter default response has a 5xx status code

func (*CreateFilterDefault) IsSuccess added in v1.1.0

func (o *CreateFilterDefault) IsSuccess() bool

IsSuccess returns true when this create filter default response has a 2xx status code

func (*CreateFilterDefault) String added in v1.1.0

func (o *CreateFilterDefault) String() string

type CreateFilterParams

type CreateFilterParams struct {

	// Data.
	Data *models.Filter

	/* ForceReload.

	   If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	*/
	ForceReload *bool

	/* ParentName.

	   Parent name
	*/
	ParentName string

	/* ParentType.

	   Parent type
	*/
	ParentType string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

	/* Version.

	   Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version.
	*/
	Version *int64

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

CreateFilterParams contains all the parameters to send to the API endpoint

for the create filter operation.

Typically these are written to a http.Request.

func NewCreateFilterParams

func NewCreateFilterParams() *CreateFilterParams

NewCreateFilterParams creates a new CreateFilterParams 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 NewCreateFilterParamsWithContext

func NewCreateFilterParamsWithContext(ctx context.Context) *CreateFilterParams

NewCreateFilterParamsWithContext creates a new CreateFilterParams object with the ability to set a context for a request.

func NewCreateFilterParamsWithHTTPClient

func NewCreateFilterParamsWithHTTPClient(client *http.Client) *CreateFilterParams

NewCreateFilterParamsWithHTTPClient creates a new CreateFilterParams object with the ability to set a custom HTTPClient for a request.

func NewCreateFilterParamsWithTimeout

func NewCreateFilterParamsWithTimeout(timeout time.Duration) *CreateFilterParams

NewCreateFilterParamsWithTimeout creates a new CreateFilterParams object with the ability to set a timeout on a request.

func (*CreateFilterParams) SetContext

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

SetContext adds the context to the create filter params

func (*CreateFilterParams) SetData

func (o *CreateFilterParams) SetData(data *models.Filter)

SetData adds the data to the create filter params

func (*CreateFilterParams) SetDefaults

func (o *CreateFilterParams) SetDefaults()

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

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

func (*CreateFilterParams) SetForceReload

func (o *CreateFilterParams) SetForceReload(forceReload *bool)

SetForceReload adds the forceReload to the create filter params

func (*CreateFilterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create filter params

func (*CreateFilterParams) SetParentName

func (o *CreateFilterParams) SetParentName(parentName string)

SetParentName adds the parentName to the create filter params

func (*CreateFilterParams) SetParentType

func (o *CreateFilterParams) SetParentType(parentType string)

SetParentType adds the parentType to the create filter params

func (*CreateFilterParams) SetTimeout

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

SetTimeout adds the timeout to the create filter params

func (*CreateFilterParams) SetTransactionID

func (o *CreateFilterParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the create filter params

func (*CreateFilterParams) SetVersion

func (o *CreateFilterParams) SetVersion(version *int64)

SetVersion adds the version to the create filter params

func (*CreateFilterParams) WithContext

WithContext adds the context to the create filter params

func (*CreateFilterParams) WithData

func (o *CreateFilterParams) WithData(data *models.Filter) *CreateFilterParams

WithData adds the data to the create filter params

func (*CreateFilterParams) WithDefaults

func (o *CreateFilterParams) WithDefaults() *CreateFilterParams

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

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

func (*CreateFilterParams) WithForceReload

func (o *CreateFilterParams) WithForceReload(forceReload *bool) *CreateFilterParams

WithForceReload adds the forceReload to the create filter params

func (*CreateFilterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create filter params

func (*CreateFilterParams) WithParentName

func (o *CreateFilterParams) WithParentName(parentName string) *CreateFilterParams

WithParentName adds the parentName to the create filter params

func (*CreateFilterParams) WithParentType

func (o *CreateFilterParams) WithParentType(parentType string) *CreateFilterParams

WithParentType adds the parentType to the create filter params

func (*CreateFilterParams) WithTimeout

func (o *CreateFilterParams) WithTimeout(timeout time.Duration) *CreateFilterParams

WithTimeout adds the timeout to the create filter params

func (*CreateFilterParams) WithTransactionID

func (o *CreateFilterParams) WithTransactionID(transactionID *string) *CreateFilterParams

WithTransactionID adds the transactionID to the create filter params

func (*CreateFilterParams) WithVersion

func (o *CreateFilterParams) WithVersion(version *int64) *CreateFilterParams

WithVersion adds the version to the create filter params

func (*CreateFilterParams) WriteToRequest

func (o *CreateFilterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateFilterReader

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

CreateFilterReader is a Reader for the CreateFilter structure.

func (*CreateFilterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteFilterAccepted

type DeleteFilterAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string
}

DeleteFilterAccepted describes a response with status code 202, with default header values.

Configuration change accepted and reload requested

func NewDeleteFilterAccepted

func NewDeleteFilterAccepted() *DeleteFilterAccepted

NewDeleteFilterAccepted creates a DeleteFilterAccepted with default headers values

func (*DeleteFilterAccepted) Code added in v1.1.5

func (o *DeleteFilterAccepted) Code() int

Code gets the status code for the delete filter accepted response

func (*DeleteFilterAccepted) Error

func (o *DeleteFilterAccepted) Error() string

func (*DeleteFilterAccepted) IsClientError added in v1.1.0

func (o *DeleteFilterAccepted) IsClientError() bool

IsClientError returns true when this delete filter accepted response has a 4xx status code

func (*DeleteFilterAccepted) IsCode added in v1.1.0

func (o *DeleteFilterAccepted) IsCode(code int) bool

IsCode returns true when this delete filter accepted response a status code equal to that given

func (*DeleteFilterAccepted) IsRedirect added in v1.1.0

func (o *DeleteFilterAccepted) IsRedirect() bool

IsRedirect returns true when this delete filter accepted response has a 3xx status code

func (*DeleteFilterAccepted) IsServerError added in v1.1.0

func (o *DeleteFilterAccepted) IsServerError() bool

IsServerError returns true when this delete filter accepted response has a 5xx status code

func (*DeleteFilterAccepted) IsSuccess added in v1.1.0

func (o *DeleteFilterAccepted) IsSuccess() bool

IsSuccess returns true when this delete filter accepted response has a 2xx status code

func (*DeleteFilterAccepted) String added in v1.1.0

func (o *DeleteFilterAccepted) String() string

type DeleteFilterDefault

type DeleteFilterDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

DeleteFilterDefault describes a response with status code -1, with default header values.

General Error

func NewDeleteFilterDefault

func NewDeleteFilterDefault(code int) *DeleteFilterDefault

NewDeleteFilterDefault creates a DeleteFilterDefault with default headers values

func (*DeleteFilterDefault) Code

func (o *DeleteFilterDefault) Code() int

Code gets the status code for the delete filter default response

func (*DeleteFilterDefault) Error

func (o *DeleteFilterDefault) Error() string

func (*DeleteFilterDefault) GetPayload

func (o *DeleteFilterDefault) GetPayload() *models.Error

func (*DeleteFilterDefault) IsClientError added in v1.1.0

func (o *DeleteFilterDefault) IsClientError() bool

IsClientError returns true when this delete filter default response has a 4xx status code

func (*DeleteFilterDefault) IsCode added in v1.1.0

func (o *DeleteFilterDefault) IsCode(code int) bool

IsCode returns true when this delete filter default response a status code equal to that given

func (*DeleteFilterDefault) IsRedirect added in v1.1.0

func (o *DeleteFilterDefault) IsRedirect() bool

IsRedirect returns true when this delete filter default response has a 3xx status code

func (*DeleteFilterDefault) IsServerError added in v1.1.0

func (o *DeleteFilterDefault) IsServerError() bool

IsServerError returns true when this delete filter default response has a 5xx status code

func (*DeleteFilterDefault) IsSuccess added in v1.1.0

func (o *DeleteFilterDefault) IsSuccess() bool

IsSuccess returns true when this delete filter default response has a 2xx status code

func (*DeleteFilterDefault) String added in v1.1.0

func (o *DeleteFilterDefault) String() string

type DeleteFilterNoContent

type DeleteFilterNoContent struct {
}

DeleteFilterNoContent describes a response with status code 204, with default header values.

Filter deleted

func NewDeleteFilterNoContent

func NewDeleteFilterNoContent() *DeleteFilterNoContent

NewDeleteFilterNoContent creates a DeleteFilterNoContent with default headers values

func (*DeleteFilterNoContent) Code added in v1.1.5

func (o *DeleteFilterNoContent) Code() int

Code gets the status code for the delete filter no content response

func (*DeleteFilterNoContent) Error

func (o *DeleteFilterNoContent) Error() string

func (*DeleteFilterNoContent) IsClientError added in v1.1.0

func (o *DeleteFilterNoContent) IsClientError() bool

IsClientError returns true when this delete filter no content response has a 4xx status code

func (*DeleteFilterNoContent) IsCode added in v1.1.0

func (o *DeleteFilterNoContent) IsCode(code int) bool

IsCode returns true when this delete filter no content response a status code equal to that given

func (*DeleteFilterNoContent) IsRedirect added in v1.1.0

func (o *DeleteFilterNoContent) IsRedirect() bool

IsRedirect returns true when this delete filter no content response has a 3xx status code

func (*DeleteFilterNoContent) IsServerError added in v1.1.0

func (o *DeleteFilterNoContent) IsServerError() bool

IsServerError returns true when this delete filter no content response has a 5xx status code

func (*DeleteFilterNoContent) IsSuccess added in v1.1.0

func (o *DeleteFilterNoContent) IsSuccess() bool

IsSuccess returns true when this delete filter no content response has a 2xx status code

func (*DeleteFilterNoContent) String added in v1.1.0

func (o *DeleteFilterNoContent) String() string

type DeleteFilterNotFound

type DeleteFilterNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

DeleteFilterNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewDeleteFilterNotFound

func NewDeleteFilterNotFound() *DeleteFilterNotFound

NewDeleteFilterNotFound creates a DeleteFilterNotFound with default headers values

func (*DeleteFilterNotFound) Code added in v1.1.5

func (o *DeleteFilterNotFound) Code() int

Code gets the status code for the delete filter not found response

func (*DeleteFilterNotFound) Error

func (o *DeleteFilterNotFound) Error() string

func (*DeleteFilterNotFound) GetPayload

func (o *DeleteFilterNotFound) GetPayload() *models.Error

func (*DeleteFilterNotFound) IsClientError added in v1.1.0

func (o *DeleteFilterNotFound) IsClientError() bool

IsClientError returns true when this delete filter not found response has a 4xx status code

func (*DeleteFilterNotFound) IsCode added in v1.1.0

func (o *DeleteFilterNotFound) IsCode(code int) bool

IsCode returns true when this delete filter not found response a status code equal to that given

func (*DeleteFilterNotFound) IsRedirect added in v1.1.0

func (o *DeleteFilterNotFound) IsRedirect() bool

IsRedirect returns true when this delete filter not found response has a 3xx status code

func (*DeleteFilterNotFound) IsServerError added in v1.1.0

func (o *DeleteFilterNotFound) IsServerError() bool

IsServerError returns true when this delete filter not found response has a 5xx status code

func (*DeleteFilterNotFound) IsSuccess added in v1.1.0

func (o *DeleteFilterNotFound) IsSuccess() bool

IsSuccess returns true when this delete filter not found response has a 2xx status code

func (*DeleteFilterNotFound) String added in v1.1.0

func (o *DeleteFilterNotFound) String() string

type DeleteFilterParams

type DeleteFilterParams struct {

	/* ForceReload.

	   If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	*/
	ForceReload *bool

	/* Index.

	   Filter Index
	*/
	Index int64

	/* ParentName.

	   Parent name
	*/
	ParentName string

	/* ParentType.

	   Parent type
	*/
	ParentType string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

	/* Version.

	   Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version.
	*/
	Version *int64

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

DeleteFilterParams contains all the parameters to send to the API endpoint

for the delete filter operation.

Typically these are written to a http.Request.

func NewDeleteFilterParams

func NewDeleteFilterParams() *DeleteFilterParams

NewDeleteFilterParams creates a new DeleteFilterParams 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 NewDeleteFilterParamsWithContext

func NewDeleteFilterParamsWithContext(ctx context.Context) *DeleteFilterParams

NewDeleteFilterParamsWithContext creates a new DeleteFilterParams object with the ability to set a context for a request.

func NewDeleteFilterParamsWithHTTPClient

func NewDeleteFilterParamsWithHTTPClient(client *http.Client) *DeleteFilterParams

NewDeleteFilterParamsWithHTTPClient creates a new DeleteFilterParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteFilterParamsWithTimeout

func NewDeleteFilterParamsWithTimeout(timeout time.Duration) *DeleteFilterParams

NewDeleteFilterParamsWithTimeout creates a new DeleteFilterParams object with the ability to set a timeout on a request.

func (*DeleteFilterParams) SetContext

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

SetContext adds the context to the delete filter params

func (*DeleteFilterParams) SetDefaults

func (o *DeleteFilterParams) SetDefaults()

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

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

func (*DeleteFilterParams) SetForceReload

func (o *DeleteFilterParams) SetForceReload(forceReload *bool)

SetForceReload adds the forceReload to the delete filter params

func (*DeleteFilterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete filter params

func (*DeleteFilterParams) SetIndex

func (o *DeleteFilterParams) SetIndex(index int64)

SetIndex adds the index to the delete filter params

func (*DeleteFilterParams) SetParentName

func (o *DeleteFilterParams) SetParentName(parentName string)

SetParentName adds the parentName to the delete filter params

func (*DeleteFilterParams) SetParentType

func (o *DeleteFilterParams) SetParentType(parentType string)

SetParentType adds the parentType to the delete filter params

func (*DeleteFilterParams) SetTimeout

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

SetTimeout adds the timeout to the delete filter params

func (*DeleteFilterParams) SetTransactionID

func (o *DeleteFilterParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the delete filter params

func (*DeleteFilterParams) SetVersion

func (o *DeleteFilterParams) SetVersion(version *int64)

SetVersion adds the version to the delete filter params

func (*DeleteFilterParams) WithContext

WithContext adds the context to the delete filter params

func (*DeleteFilterParams) WithDefaults

func (o *DeleteFilterParams) WithDefaults() *DeleteFilterParams

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

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

func (*DeleteFilterParams) WithForceReload

func (o *DeleteFilterParams) WithForceReload(forceReload *bool) *DeleteFilterParams

WithForceReload adds the forceReload to the delete filter params

func (*DeleteFilterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete filter params

func (*DeleteFilterParams) WithIndex

func (o *DeleteFilterParams) WithIndex(index int64) *DeleteFilterParams

WithIndex adds the index to the delete filter params

func (*DeleteFilterParams) WithParentName

func (o *DeleteFilterParams) WithParentName(parentName string) *DeleteFilterParams

WithParentName adds the parentName to the delete filter params

func (*DeleteFilterParams) WithParentType

func (o *DeleteFilterParams) WithParentType(parentType string) *DeleteFilterParams

WithParentType adds the parentType to the delete filter params

func (*DeleteFilterParams) WithTimeout

func (o *DeleteFilterParams) WithTimeout(timeout time.Duration) *DeleteFilterParams

WithTimeout adds the timeout to the delete filter params

func (*DeleteFilterParams) WithTransactionID

func (o *DeleteFilterParams) WithTransactionID(transactionID *string) *DeleteFilterParams

WithTransactionID adds the transactionID to the delete filter params

func (*DeleteFilterParams) WithVersion

func (o *DeleteFilterParams) WithVersion(version *int64) *DeleteFilterParams

WithVersion adds the version to the delete filter params

func (*DeleteFilterParams) WriteToRequest

func (o *DeleteFilterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteFilterReader

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

DeleteFilterReader is a Reader for the DeleteFilter structure.

func (*DeleteFilterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetFilterDefault

type GetFilterDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

GetFilterDefault describes a response with status code -1, with default header values.

General Error

func NewGetFilterDefault

func NewGetFilterDefault(code int) *GetFilterDefault

NewGetFilterDefault creates a GetFilterDefault with default headers values

func (*GetFilterDefault) Code

func (o *GetFilterDefault) Code() int

Code gets the status code for the get filter default response

func (*GetFilterDefault) Error

func (o *GetFilterDefault) Error() string

func (*GetFilterDefault) GetPayload

func (o *GetFilterDefault) GetPayload() *models.Error

func (*GetFilterDefault) IsClientError added in v1.1.0

func (o *GetFilterDefault) IsClientError() bool

IsClientError returns true when this get filter default response has a 4xx status code

func (*GetFilterDefault) IsCode added in v1.1.0

func (o *GetFilterDefault) IsCode(code int) bool

IsCode returns true when this get filter default response a status code equal to that given

func (*GetFilterDefault) IsRedirect added in v1.1.0

func (o *GetFilterDefault) IsRedirect() bool

IsRedirect returns true when this get filter default response has a 3xx status code

func (*GetFilterDefault) IsServerError added in v1.1.0

func (o *GetFilterDefault) IsServerError() bool

IsServerError returns true when this get filter default response has a 5xx status code

func (*GetFilterDefault) IsSuccess added in v1.1.0

func (o *GetFilterDefault) IsSuccess() bool

IsSuccess returns true when this get filter default response has a 2xx status code

func (*GetFilterDefault) String added in v1.1.0

func (o *GetFilterDefault) String() string

type GetFilterNotFound

type GetFilterNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

GetFilterNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewGetFilterNotFound

func NewGetFilterNotFound() *GetFilterNotFound

NewGetFilterNotFound creates a GetFilterNotFound with default headers values

func (*GetFilterNotFound) Code added in v1.1.5

func (o *GetFilterNotFound) Code() int

Code gets the status code for the get filter not found response

func (*GetFilterNotFound) Error

func (o *GetFilterNotFound) Error() string

func (*GetFilterNotFound) GetPayload

func (o *GetFilterNotFound) GetPayload() *models.Error

func (*GetFilterNotFound) IsClientError added in v1.1.0

func (o *GetFilterNotFound) IsClientError() bool

IsClientError returns true when this get filter not found response has a 4xx status code

func (*GetFilterNotFound) IsCode added in v1.1.0

func (o *GetFilterNotFound) IsCode(code int) bool

IsCode returns true when this get filter not found response a status code equal to that given

func (*GetFilterNotFound) IsRedirect added in v1.1.0

func (o *GetFilterNotFound) IsRedirect() bool

IsRedirect returns true when this get filter not found response has a 3xx status code

func (*GetFilterNotFound) IsServerError added in v1.1.0

func (o *GetFilterNotFound) IsServerError() bool

IsServerError returns true when this get filter not found response has a 5xx status code

func (*GetFilterNotFound) IsSuccess added in v1.1.0

func (o *GetFilterNotFound) IsSuccess() bool

IsSuccess returns true when this get filter not found response has a 2xx status code

func (*GetFilterNotFound) String added in v1.1.0

func (o *GetFilterNotFound) String() string

type GetFilterOK

type GetFilterOK struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *GetFilterOKBody
}

GetFilterOK describes a response with status code 200, with default header values.

Successful operation

func NewGetFilterOK

func NewGetFilterOK() *GetFilterOK

NewGetFilterOK creates a GetFilterOK with default headers values

func (*GetFilterOK) Code added in v1.1.5

func (o *GetFilterOK) Code() int

Code gets the status code for the get filter o k response

func (*GetFilterOK) Error

func (o *GetFilterOK) Error() string

func (*GetFilterOK) GetPayload

func (o *GetFilterOK) GetPayload() *GetFilterOKBody

func (*GetFilterOK) IsClientError added in v1.1.0

func (o *GetFilterOK) IsClientError() bool

IsClientError returns true when this get filter o k response has a 4xx status code

func (*GetFilterOK) IsCode added in v1.1.0

func (o *GetFilterOK) IsCode(code int) bool

IsCode returns true when this get filter o k response a status code equal to that given

func (*GetFilterOK) IsRedirect added in v1.1.0

func (o *GetFilterOK) IsRedirect() bool

IsRedirect returns true when this get filter o k response has a 3xx status code

func (*GetFilterOK) IsServerError added in v1.1.0

func (o *GetFilterOK) IsServerError() bool

IsServerError returns true when this get filter o k response has a 5xx status code

func (*GetFilterOK) IsSuccess added in v1.1.0

func (o *GetFilterOK) IsSuccess() bool

IsSuccess returns true when this get filter o k response has a 2xx status code

func (*GetFilterOK) String added in v1.1.0

func (o *GetFilterOK) String() string

type GetFilterOKBody

type GetFilterOKBody struct {

	// version
	Version int64 `json:"_version,omitempty"`

	// data
	Data *models.Filter `json:"data,omitempty"`
}

GetFilterOKBody get filter o k body swagger:model GetFilterOKBody

func (*GetFilterOKBody) ContextValidate

func (o *GetFilterOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get filter o k body based on the context it is used

func (*GetFilterOKBody) MarshalBinary

func (o *GetFilterOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetFilterOKBody) UnmarshalBinary

func (o *GetFilterOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetFilterOKBody) Validate

func (o *GetFilterOKBody) Validate(formats strfmt.Registry) error

Validate validates this get filter o k body

type GetFilterParams

type GetFilterParams struct {

	/* Index.

	   Filter Index
	*/
	Index int64

	/* ParentName.

	   Parent name
	*/
	ParentName string

	/* ParentType.

	   Parent type
	*/
	ParentType string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

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

GetFilterParams contains all the parameters to send to the API endpoint

for the get filter operation.

Typically these are written to a http.Request.

func NewGetFilterParams

func NewGetFilterParams() *GetFilterParams

NewGetFilterParams creates a new GetFilterParams 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 NewGetFilterParamsWithContext

func NewGetFilterParamsWithContext(ctx context.Context) *GetFilterParams

NewGetFilterParamsWithContext creates a new GetFilterParams object with the ability to set a context for a request.

func NewGetFilterParamsWithHTTPClient

func NewGetFilterParamsWithHTTPClient(client *http.Client) *GetFilterParams

NewGetFilterParamsWithHTTPClient creates a new GetFilterParams object with the ability to set a custom HTTPClient for a request.

func NewGetFilterParamsWithTimeout

func NewGetFilterParamsWithTimeout(timeout time.Duration) *GetFilterParams

NewGetFilterParamsWithTimeout creates a new GetFilterParams object with the ability to set a timeout on a request.

func (*GetFilterParams) SetContext

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

SetContext adds the context to the get filter params

func (*GetFilterParams) SetDefaults

func (o *GetFilterParams) SetDefaults()

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

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

func (*GetFilterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get filter params

func (*GetFilterParams) SetIndex

func (o *GetFilterParams) SetIndex(index int64)

SetIndex adds the index to the get filter params

func (*GetFilterParams) SetParentName

func (o *GetFilterParams) SetParentName(parentName string)

SetParentName adds the parentName to the get filter params

func (*GetFilterParams) SetParentType

func (o *GetFilterParams) SetParentType(parentType string)

SetParentType adds the parentType to the get filter params

func (*GetFilterParams) SetTimeout

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

SetTimeout adds the timeout to the get filter params

func (*GetFilterParams) SetTransactionID

func (o *GetFilterParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the get filter params

func (*GetFilterParams) WithContext

func (o *GetFilterParams) WithContext(ctx context.Context) *GetFilterParams

WithContext adds the context to the get filter params

func (*GetFilterParams) WithDefaults

func (o *GetFilterParams) WithDefaults() *GetFilterParams

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

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

func (*GetFilterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get filter params

func (*GetFilterParams) WithIndex

func (o *GetFilterParams) WithIndex(index int64) *GetFilterParams

WithIndex adds the index to the get filter params

func (*GetFilterParams) WithParentName

func (o *GetFilterParams) WithParentName(parentName string) *GetFilterParams

WithParentName adds the parentName to the get filter params

func (*GetFilterParams) WithParentType

func (o *GetFilterParams) WithParentType(parentType string) *GetFilterParams

WithParentType adds the parentType to the get filter params

func (*GetFilterParams) WithTimeout

func (o *GetFilterParams) WithTimeout(timeout time.Duration) *GetFilterParams

WithTimeout adds the timeout to the get filter params

func (*GetFilterParams) WithTransactionID

func (o *GetFilterParams) WithTransactionID(transactionID *string) *GetFilterParams

WithTransactionID adds the transactionID to the get filter params

func (*GetFilterParams) WriteToRequest

func (o *GetFilterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetFilterReader

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

GetFilterReader is a Reader for the GetFilter structure.

func (*GetFilterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetFiltersDefault

type GetFiltersDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

GetFiltersDefault describes a response with status code -1, with default header values.

General Error

func NewGetFiltersDefault

func NewGetFiltersDefault(code int) *GetFiltersDefault

NewGetFiltersDefault creates a GetFiltersDefault with default headers values

func (*GetFiltersDefault) Code

func (o *GetFiltersDefault) Code() int

Code gets the status code for the get filters default response

func (*GetFiltersDefault) Error

func (o *GetFiltersDefault) Error() string

func (*GetFiltersDefault) GetPayload

func (o *GetFiltersDefault) GetPayload() *models.Error

func (*GetFiltersDefault) IsClientError added in v1.1.0

func (o *GetFiltersDefault) IsClientError() bool

IsClientError returns true when this get filters default response has a 4xx status code

func (*GetFiltersDefault) IsCode added in v1.1.0

func (o *GetFiltersDefault) IsCode(code int) bool

IsCode returns true when this get filters default response a status code equal to that given

func (*GetFiltersDefault) IsRedirect added in v1.1.0

func (o *GetFiltersDefault) IsRedirect() bool

IsRedirect returns true when this get filters default response has a 3xx status code

func (*GetFiltersDefault) IsServerError added in v1.1.0

func (o *GetFiltersDefault) IsServerError() bool

IsServerError returns true when this get filters default response has a 5xx status code

func (*GetFiltersDefault) IsSuccess added in v1.1.0

func (o *GetFiltersDefault) IsSuccess() bool

IsSuccess returns true when this get filters default response has a 2xx status code

func (*GetFiltersDefault) String added in v1.1.0

func (o *GetFiltersDefault) String() string

type GetFiltersOK

type GetFiltersOK struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *GetFiltersOKBody
}

GetFiltersOK describes a response with status code 200, with default header values.

Successful operation

func NewGetFiltersOK

func NewGetFiltersOK() *GetFiltersOK

NewGetFiltersOK creates a GetFiltersOK with default headers values

func (*GetFiltersOK) Code added in v1.1.5

func (o *GetFiltersOK) Code() int

Code gets the status code for the get filters o k response

func (*GetFiltersOK) Error

func (o *GetFiltersOK) Error() string

func (*GetFiltersOK) GetPayload

func (o *GetFiltersOK) GetPayload() *GetFiltersOKBody

func (*GetFiltersOK) IsClientError added in v1.1.0

func (o *GetFiltersOK) IsClientError() bool

IsClientError returns true when this get filters o k response has a 4xx status code

func (*GetFiltersOK) IsCode added in v1.1.0

func (o *GetFiltersOK) IsCode(code int) bool

IsCode returns true when this get filters o k response a status code equal to that given

func (*GetFiltersOK) IsRedirect added in v1.1.0

func (o *GetFiltersOK) IsRedirect() bool

IsRedirect returns true when this get filters o k response has a 3xx status code

func (*GetFiltersOK) IsServerError added in v1.1.0

func (o *GetFiltersOK) IsServerError() bool

IsServerError returns true when this get filters o k response has a 5xx status code

func (*GetFiltersOK) IsSuccess added in v1.1.0

func (o *GetFiltersOK) IsSuccess() bool

IsSuccess returns true when this get filters o k response has a 2xx status code

func (*GetFiltersOK) String added in v1.1.0

func (o *GetFiltersOK) String() string

type GetFiltersOKBody

type GetFiltersOKBody struct {

	// version
	Version int64 `json:"_version,omitempty"`

	// data
	// Required: true
	Data models.Filters `json:"data"`
}

GetFiltersOKBody get filters o k body swagger:model GetFiltersOKBody

func (*GetFiltersOKBody) ContextValidate

func (o *GetFiltersOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get filters o k body based on the context it is used

func (*GetFiltersOKBody) MarshalBinary

func (o *GetFiltersOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetFiltersOKBody) UnmarshalBinary

func (o *GetFiltersOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetFiltersOKBody) Validate

func (o *GetFiltersOKBody) Validate(formats strfmt.Registry) error

Validate validates this get filters o k body

type GetFiltersParams

type GetFiltersParams struct {

	/* ParentName.

	   Parent name
	*/
	ParentName string

	/* ParentType.

	   Parent type
	*/
	ParentType string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

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

GetFiltersParams contains all the parameters to send to the API endpoint

for the get filters operation.

Typically these are written to a http.Request.

func NewGetFiltersParams

func NewGetFiltersParams() *GetFiltersParams

NewGetFiltersParams creates a new GetFiltersParams 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 NewGetFiltersParamsWithContext

func NewGetFiltersParamsWithContext(ctx context.Context) *GetFiltersParams

NewGetFiltersParamsWithContext creates a new GetFiltersParams object with the ability to set a context for a request.

func NewGetFiltersParamsWithHTTPClient

func NewGetFiltersParamsWithHTTPClient(client *http.Client) *GetFiltersParams

NewGetFiltersParamsWithHTTPClient creates a new GetFiltersParams object with the ability to set a custom HTTPClient for a request.

func NewGetFiltersParamsWithTimeout

func NewGetFiltersParamsWithTimeout(timeout time.Duration) *GetFiltersParams

NewGetFiltersParamsWithTimeout creates a new GetFiltersParams object with the ability to set a timeout on a request.

func (*GetFiltersParams) SetContext

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

SetContext adds the context to the get filters params

func (*GetFiltersParams) SetDefaults

func (o *GetFiltersParams) SetDefaults()

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

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

func (*GetFiltersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get filters params

func (*GetFiltersParams) SetParentName

func (o *GetFiltersParams) SetParentName(parentName string)

SetParentName adds the parentName to the get filters params

func (*GetFiltersParams) SetParentType

func (o *GetFiltersParams) SetParentType(parentType string)

SetParentType adds the parentType to the get filters params

func (*GetFiltersParams) SetTimeout

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

SetTimeout adds the timeout to the get filters params

func (*GetFiltersParams) SetTransactionID

func (o *GetFiltersParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the get filters params

func (*GetFiltersParams) WithContext

func (o *GetFiltersParams) WithContext(ctx context.Context) *GetFiltersParams

WithContext adds the context to the get filters params

func (*GetFiltersParams) WithDefaults

func (o *GetFiltersParams) WithDefaults() *GetFiltersParams

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

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

func (*GetFiltersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get filters params

func (*GetFiltersParams) WithParentName

func (o *GetFiltersParams) WithParentName(parentName string) *GetFiltersParams

WithParentName adds the parentName to the get filters params

func (*GetFiltersParams) WithParentType

func (o *GetFiltersParams) WithParentType(parentType string) *GetFiltersParams

WithParentType adds the parentType to the get filters params

func (*GetFiltersParams) WithTimeout

func (o *GetFiltersParams) WithTimeout(timeout time.Duration) *GetFiltersParams

WithTimeout adds the timeout to the get filters params

func (*GetFiltersParams) WithTransactionID

func (o *GetFiltersParams) WithTransactionID(transactionID *string) *GetFiltersParams

WithTransactionID adds the transactionID to the get filters params

func (*GetFiltersParams) WriteToRequest

func (o *GetFiltersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetFiltersReader

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

GetFiltersReader is a Reader for the GetFilters structure.

func (*GetFiltersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReplaceFilterAccepted

type ReplaceFilterAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string

	Payload *models.Filter
}

ReplaceFilterAccepted describes a response with status code 202, with default header values.

Configuration change accepted and reload requested

func NewReplaceFilterAccepted

func NewReplaceFilterAccepted() *ReplaceFilterAccepted

NewReplaceFilterAccepted creates a ReplaceFilterAccepted with default headers values

func (*ReplaceFilterAccepted) Code added in v1.1.5

func (o *ReplaceFilterAccepted) Code() int

Code gets the status code for the replace filter accepted response

func (*ReplaceFilterAccepted) Error

func (o *ReplaceFilterAccepted) Error() string

func (*ReplaceFilterAccepted) GetPayload

func (o *ReplaceFilterAccepted) GetPayload() *models.Filter

func (*ReplaceFilterAccepted) IsClientError added in v1.1.0

func (o *ReplaceFilterAccepted) IsClientError() bool

IsClientError returns true when this replace filter accepted response has a 4xx status code

func (*ReplaceFilterAccepted) IsCode added in v1.1.0

func (o *ReplaceFilterAccepted) IsCode(code int) bool

IsCode returns true when this replace filter accepted response a status code equal to that given

func (*ReplaceFilterAccepted) IsRedirect added in v1.1.0

func (o *ReplaceFilterAccepted) IsRedirect() bool

IsRedirect returns true when this replace filter accepted response has a 3xx status code

func (*ReplaceFilterAccepted) IsServerError added in v1.1.0

func (o *ReplaceFilterAccepted) IsServerError() bool

IsServerError returns true when this replace filter accepted response has a 5xx status code

func (*ReplaceFilterAccepted) IsSuccess added in v1.1.0

func (o *ReplaceFilterAccepted) IsSuccess() bool

IsSuccess returns true when this replace filter accepted response has a 2xx status code

func (*ReplaceFilterAccepted) String added in v1.1.0

func (o *ReplaceFilterAccepted) String() string

type ReplaceFilterBadRequest

type ReplaceFilterBadRequest struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

ReplaceFilterBadRequest describes a response with status code 400, with default header values.

Bad request

func NewReplaceFilterBadRequest

func NewReplaceFilterBadRequest() *ReplaceFilterBadRequest

NewReplaceFilterBadRequest creates a ReplaceFilterBadRequest with default headers values

func (*ReplaceFilterBadRequest) Code added in v1.1.5

func (o *ReplaceFilterBadRequest) Code() int

Code gets the status code for the replace filter bad request response

func (*ReplaceFilterBadRequest) Error

func (o *ReplaceFilterBadRequest) Error() string

func (*ReplaceFilterBadRequest) GetPayload

func (o *ReplaceFilterBadRequest) GetPayload() *models.Error

func (*ReplaceFilterBadRequest) IsClientError added in v1.1.0

func (o *ReplaceFilterBadRequest) IsClientError() bool

IsClientError returns true when this replace filter bad request response has a 4xx status code

func (*ReplaceFilterBadRequest) IsCode added in v1.1.0

func (o *ReplaceFilterBadRequest) IsCode(code int) bool

IsCode returns true when this replace filter bad request response a status code equal to that given

func (*ReplaceFilterBadRequest) IsRedirect added in v1.1.0

func (o *ReplaceFilterBadRequest) IsRedirect() bool

IsRedirect returns true when this replace filter bad request response has a 3xx status code

func (*ReplaceFilterBadRequest) IsServerError added in v1.1.0

func (o *ReplaceFilterBadRequest) IsServerError() bool

IsServerError returns true when this replace filter bad request response has a 5xx status code

func (*ReplaceFilterBadRequest) IsSuccess added in v1.1.0

func (o *ReplaceFilterBadRequest) IsSuccess() bool

IsSuccess returns true when this replace filter bad request response has a 2xx status code

func (*ReplaceFilterBadRequest) String added in v1.1.0

func (o *ReplaceFilterBadRequest) String() string

type ReplaceFilterDefault

type ReplaceFilterDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

ReplaceFilterDefault describes a response with status code -1, with default header values.

General Error

func NewReplaceFilterDefault

func NewReplaceFilterDefault(code int) *ReplaceFilterDefault

NewReplaceFilterDefault creates a ReplaceFilterDefault with default headers values

func (*ReplaceFilterDefault) Code

func (o *ReplaceFilterDefault) Code() int

Code gets the status code for the replace filter default response

func (*ReplaceFilterDefault) Error

func (o *ReplaceFilterDefault) Error() string

func (*ReplaceFilterDefault) GetPayload

func (o *ReplaceFilterDefault) GetPayload() *models.Error

func (*ReplaceFilterDefault) IsClientError added in v1.1.0

func (o *ReplaceFilterDefault) IsClientError() bool

IsClientError returns true when this replace filter default response has a 4xx status code

func (*ReplaceFilterDefault) IsCode added in v1.1.0

func (o *ReplaceFilterDefault) IsCode(code int) bool

IsCode returns true when this replace filter default response a status code equal to that given

func (*ReplaceFilterDefault) IsRedirect added in v1.1.0

func (o *ReplaceFilterDefault) IsRedirect() bool

IsRedirect returns true when this replace filter default response has a 3xx status code

func (*ReplaceFilterDefault) IsServerError added in v1.1.0

func (o *ReplaceFilterDefault) IsServerError() bool

IsServerError returns true when this replace filter default response has a 5xx status code

func (*ReplaceFilterDefault) IsSuccess added in v1.1.0

func (o *ReplaceFilterDefault) IsSuccess() bool

IsSuccess returns true when this replace filter default response has a 2xx status code

func (*ReplaceFilterDefault) String added in v1.1.0

func (o *ReplaceFilterDefault) String() string

type ReplaceFilterNotFound

type ReplaceFilterNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

ReplaceFilterNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewReplaceFilterNotFound

func NewReplaceFilterNotFound() *ReplaceFilterNotFound

NewReplaceFilterNotFound creates a ReplaceFilterNotFound with default headers values

func (*ReplaceFilterNotFound) Code added in v1.1.5

func (o *ReplaceFilterNotFound) Code() int

Code gets the status code for the replace filter not found response

func (*ReplaceFilterNotFound) Error

func (o *ReplaceFilterNotFound) Error() string

func (*ReplaceFilterNotFound) GetPayload

func (o *ReplaceFilterNotFound) GetPayload() *models.Error

func (*ReplaceFilterNotFound) IsClientError added in v1.1.0

func (o *ReplaceFilterNotFound) IsClientError() bool

IsClientError returns true when this replace filter not found response has a 4xx status code

func (*ReplaceFilterNotFound) IsCode added in v1.1.0

func (o *ReplaceFilterNotFound) IsCode(code int) bool

IsCode returns true when this replace filter not found response a status code equal to that given

func (*ReplaceFilterNotFound) IsRedirect added in v1.1.0

func (o *ReplaceFilterNotFound) IsRedirect() bool

IsRedirect returns true when this replace filter not found response has a 3xx status code

func (*ReplaceFilterNotFound) IsServerError added in v1.1.0

func (o *ReplaceFilterNotFound) IsServerError() bool

IsServerError returns true when this replace filter not found response has a 5xx status code

func (*ReplaceFilterNotFound) IsSuccess added in v1.1.0

func (o *ReplaceFilterNotFound) IsSuccess() bool

IsSuccess returns true when this replace filter not found response has a 2xx status code

func (*ReplaceFilterNotFound) String added in v1.1.0

func (o *ReplaceFilterNotFound) String() string

type ReplaceFilterOK

type ReplaceFilterOK struct {
	Payload *models.Filter
}

ReplaceFilterOK describes a response with status code 200, with default header values.

Filter replaced

func NewReplaceFilterOK

func NewReplaceFilterOK() *ReplaceFilterOK

NewReplaceFilterOK creates a ReplaceFilterOK with default headers values

func (*ReplaceFilterOK) Code added in v1.1.5

func (o *ReplaceFilterOK) Code() int

Code gets the status code for the replace filter o k response

func (*ReplaceFilterOK) Error

func (o *ReplaceFilterOK) Error() string

func (*ReplaceFilterOK) GetPayload

func (o *ReplaceFilterOK) GetPayload() *models.Filter

func (*ReplaceFilterOK) IsClientError added in v1.1.0

func (o *ReplaceFilterOK) IsClientError() bool

IsClientError returns true when this replace filter o k response has a 4xx status code

func (*ReplaceFilterOK) IsCode added in v1.1.0

func (o *ReplaceFilterOK) IsCode(code int) bool

IsCode returns true when this replace filter o k response a status code equal to that given

func (*ReplaceFilterOK) IsRedirect added in v1.1.0

func (o *ReplaceFilterOK) IsRedirect() bool

IsRedirect returns true when this replace filter o k response has a 3xx status code

func (*ReplaceFilterOK) IsServerError added in v1.1.0

func (o *ReplaceFilterOK) IsServerError() bool

IsServerError returns true when this replace filter o k response has a 5xx status code

func (*ReplaceFilterOK) IsSuccess added in v1.1.0

func (o *ReplaceFilterOK) IsSuccess() bool

IsSuccess returns true when this replace filter o k response has a 2xx status code

func (*ReplaceFilterOK) String added in v1.1.0

func (o *ReplaceFilterOK) String() string

type ReplaceFilterParams

type ReplaceFilterParams struct {

	// Data.
	Data *models.Filter

	/* ForceReload.

	   If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	*/
	ForceReload *bool

	/* Index.

	   Filter Index
	*/
	Index int64

	/* ParentName.

	   Parent name
	*/
	ParentName string

	/* ParentType.

	   Parent type
	*/
	ParentType string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

	/* Version.

	   Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version.
	*/
	Version *int64

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

ReplaceFilterParams contains all the parameters to send to the API endpoint

for the replace filter operation.

Typically these are written to a http.Request.

func NewReplaceFilterParams

func NewReplaceFilterParams() *ReplaceFilterParams

NewReplaceFilterParams creates a new ReplaceFilterParams 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 NewReplaceFilterParamsWithContext

func NewReplaceFilterParamsWithContext(ctx context.Context) *ReplaceFilterParams

NewReplaceFilterParamsWithContext creates a new ReplaceFilterParams object with the ability to set a context for a request.

func NewReplaceFilterParamsWithHTTPClient

func NewReplaceFilterParamsWithHTTPClient(client *http.Client) *ReplaceFilterParams

NewReplaceFilterParamsWithHTTPClient creates a new ReplaceFilterParams object with the ability to set a custom HTTPClient for a request.

func NewReplaceFilterParamsWithTimeout

func NewReplaceFilterParamsWithTimeout(timeout time.Duration) *ReplaceFilterParams

NewReplaceFilterParamsWithTimeout creates a new ReplaceFilterParams object with the ability to set a timeout on a request.

func (*ReplaceFilterParams) SetContext

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

SetContext adds the context to the replace filter params

func (*ReplaceFilterParams) SetData

func (o *ReplaceFilterParams) SetData(data *models.Filter)

SetData adds the data to the replace filter params

func (*ReplaceFilterParams) SetDefaults

func (o *ReplaceFilterParams) SetDefaults()

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

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

func (*ReplaceFilterParams) SetForceReload

func (o *ReplaceFilterParams) SetForceReload(forceReload *bool)

SetForceReload adds the forceReload to the replace filter params

func (*ReplaceFilterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the replace filter params

func (*ReplaceFilterParams) SetIndex

func (o *ReplaceFilterParams) SetIndex(index int64)

SetIndex adds the index to the replace filter params

func (*ReplaceFilterParams) SetParentName

func (o *ReplaceFilterParams) SetParentName(parentName string)

SetParentName adds the parentName to the replace filter params

func (*ReplaceFilterParams) SetParentType

func (o *ReplaceFilterParams) SetParentType(parentType string)

SetParentType adds the parentType to the replace filter params

func (*ReplaceFilterParams) SetTimeout

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

SetTimeout adds the timeout to the replace filter params

func (*ReplaceFilterParams) SetTransactionID

func (o *ReplaceFilterParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the replace filter params

func (*ReplaceFilterParams) SetVersion

func (o *ReplaceFilterParams) SetVersion(version *int64)

SetVersion adds the version to the replace filter params

func (*ReplaceFilterParams) WithContext

WithContext adds the context to the replace filter params

func (*ReplaceFilterParams) WithData

WithData adds the data to the replace filter params

func (*ReplaceFilterParams) WithDefaults

func (o *ReplaceFilterParams) WithDefaults() *ReplaceFilterParams

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

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

func (*ReplaceFilterParams) WithForceReload

func (o *ReplaceFilterParams) WithForceReload(forceReload *bool) *ReplaceFilterParams

WithForceReload adds the forceReload to the replace filter params

func (*ReplaceFilterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the replace filter params

func (*ReplaceFilterParams) WithIndex

func (o *ReplaceFilterParams) WithIndex(index int64) *ReplaceFilterParams

WithIndex adds the index to the replace filter params

func (*ReplaceFilterParams) WithParentName

func (o *ReplaceFilterParams) WithParentName(parentName string) *ReplaceFilterParams

WithParentName adds the parentName to the replace filter params

func (*ReplaceFilterParams) WithParentType

func (o *ReplaceFilterParams) WithParentType(parentType string) *ReplaceFilterParams

WithParentType adds the parentType to the replace filter params

func (*ReplaceFilterParams) WithTimeout

func (o *ReplaceFilterParams) WithTimeout(timeout time.Duration) *ReplaceFilterParams

WithTimeout adds the timeout to the replace filter params

func (*ReplaceFilterParams) WithTransactionID

func (o *ReplaceFilterParams) WithTransactionID(transactionID *string) *ReplaceFilterParams

WithTransactionID adds the transactionID to the replace filter params

func (*ReplaceFilterParams) WithVersion

func (o *ReplaceFilterParams) WithVersion(version *int64) *ReplaceFilterParams

WithVersion adds the version to the replace filter params

func (*ReplaceFilterParams) WriteToRequest

func (o *ReplaceFilterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ReplaceFilterReader

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

ReplaceFilterReader is a Reader for the ReplaceFilter structure.

func (*ReplaceFilterReader) ReadResponse

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