declare_capture

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 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 declare capture API

func (*Client) CreateDeclareCapture

CreateDeclareCapture adds a new declare capture

Adds a new declare capture in the specified frontend in the configuration file.

func (*Client) DeleteDeclareCapture

DeleteDeclareCapture deletes a declare capture

Deletes a declare capture configuration by it's index in the specified frontend.

func (*Client) GetDeclareCapture

func (a *Client) GetDeclareCapture(params *GetDeclareCaptureParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeclareCaptureOK, error)

GetDeclareCapture returns one declare capture

Returns one declare capture configuration by it's index in the specified frontend.

func (*Client) GetDeclareCaptures

func (a *Client) GetDeclareCaptures(params *GetDeclareCapturesParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeclareCapturesOK, error)

GetDeclareCaptures returns an array of declare captures

Returns an array of all declare capture records that are configured in specified frontend.

func (*Client) ReplaceDeclareCapture

ReplaceDeclareCapture replaces a declare capture

Replaces a declare capture configuration by it's index in the specified frontend.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new declare capture API client.

type CreateDeclareCaptureAccepted

type CreateDeclareCaptureAccepted struct {
	/*ID of the requested reload
	 */
	ReloadID string

	Payload *models.Capture
}

CreateDeclareCaptureAccepted handles this case with default header values.

Configuration change accepted and reload requested

func NewCreateDeclareCaptureAccepted

func NewCreateDeclareCaptureAccepted() *CreateDeclareCaptureAccepted

NewCreateDeclareCaptureAccepted creates a CreateDeclareCaptureAccepted with default headers values

func (*CreateDeclareCaptureAccepted) Error

func (*CreateDeclareCaptureAccepted) GetPayload

func (o *CreateDeclareCaptureAccepted) GetPayload() *models.Capture

type CreateDeclareCaptureBadRequest

type CreateDeclareCaptureBadRequest struct {
	/*Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

CreateDeclareCaptureBadRequest handles this case with default header values.

Bad request

func NewCreateDeclareCaptureBadRequest

func NewCreateDeclareCaptureBadRequest() *CreateDeclareCaptureBadRequest

NewCreateDeclareCaptureBadRequest creates a CreateDeclareCaptureBadRequest with default headers values

func (*CreateDeclareCaptureBadRequest) Error

func (*CreateDeclareCaptureBadRequest) GetPayload

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

type CreateDeclareCaptureConflict

type CreateDeclareCaptureConflict struct {
	/*Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

CreateDeclareCaptureConflict handles this case with default header values.

The specified resource already exists

func NewCreateDeclareCaptureConflict

func NewCreateDeclareCaptureConflict() *CreateDeclareCaptureConflict

NewCreateDeclareCaptureConflict creates a CreateDeclareCaptureConflict with default headers values

func (*CreateDeclareCaptureConflict) Error

func (*CreateDeclareCaptureConflict) GetPayload

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

type CreateDeclareCaptureCreated

type CreateDeclareCaptureCreated struct {
	Payload *models.Capture
}

CreateDeclareCaptureCreated handles this case with default header values.

Declare capture created

func NewCreateDeclareCaptureCreated

func NewCreateDeclareCaptureCreated() *CreateDeclareCaptureCreated

NewCreateDeclareCaptureCreated creates a CreateDeclareCaptureCreated with default headers values

func (*CreateDeclareCaptureCreated) Error

func (*CreateDeclareCaptureCreated) GetPayload

func (o *CreateDeclareCaptureCreated) GetPayload() *models.Capture

type CreateDeclareCaptureDefault

type CreateDeclareCaptureDefault struct {

	/*Configuration file version
	 */
	ConfigurationVersion string

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

CreateDeclareCaptureDefault handles this case with default header values.

General Error

func NewCreateDeclareCaptureDefault

func NewCreateDeclareCaptureDefault(code int) *CreateDeclareCaptureDefault

NewCreateDeclareCaptureDefault creates a CreateDeclareCaptureDefault with default headers values

func (*CreateDeclareCaptureDefault) Code

func (o *CreateDeclareCaptureDefault) Code() int

Code gets the status code for the create declare capture default response

func (*CreateDeclareCaptureDefault) Error

func (*CreateDeclareCaptureDefault) GetPayload

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

type CreateDeclareCaptureParams

type CreateDeclareCaptureParams struct {

	/*Data*/
	Data *models.Capture
	/*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
	/*Frontend
	  Parent frontend name

	*/
	Frontend 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
}

CreateDeclareCaptureParams contains all the parameters to send to the API endpoint for the create declare capture operation typically these are written to a http.Request

func NewCreateDeclareCaptureParams

func NewCreateDeclareCaptureParams() *CreateDeclareCaptureParams

NewCreateDeclareCaptureParams creates a new CreateDeclareCaptureParams object with the default values initialized.

func NewCreateDeclareCaptureParamsWithContext

func NewCreateDeclareCaptureParamsWithContext(ctx context.Context) *CreateDeclareCaptureParams

NewCreateDeclareCaptureParamsWithContext creates a new CreateDeclareCaptureParams object with the default values initialized, and the ability to set a context for a request

func NewCreateDeclareCaptureParamsWithHTTPClient

func NewCreateDeclareCaptureParamsWithHTTPClient(client *http.Client) *CreateDeclareCaptureParams

NewCreateDeclareCaptureParamsWithHTTPClient creates a new CreateDeclareCaptureParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateDeclareCaptureParamsWithTimeout

func NewCreateDeclareCaptureParamsWithTimeout(timeout time.Duration) *CreateDeclareCaptureParams

NewCreateDeclareCaptureParamsWithTimeout creates a new CreateDeclareCaptureParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateDeclareCaptureParams) SetContext

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

SetContext adds the context to the create declare capture params

func (*CreateDeclareCaptureParams) SetData

func (o *CreateDeclareCaptureParams) SetData(data *models.Capture)

SetData adds the data to the create declare capture params

func (*CreateDeclareCaptureParams) SetForceReload

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

SetForceReload adds the forceReload to the create declare capture params

func (*CreateDeclareCaptureParams) SetFrontend

func (o *CreateDeclareCaptureParams) SetFrontend(frontend string)

SetFrontend adds the frontend to the create declare capture params

func (*CreateDeclareCaptureParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create declare capture params

func (*CreateDeclareCaptureParams) SetTimeout

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

SetTimeout adds the timeout to the create declare capture params

func (*CreateDeclareCaptureParams) SetTransactionID

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

SetTransactionID adds the transactionId to the create declare capture params

func (*CreateDeclareCaptureParams) SetVersion

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

SetVersion adds the version to the create declare capture params

func (*CreateDeclareCaptureParams) WithContext

WithContext adds the context to the create declare capture params

func (*CreateDeclareCaptureParams) WithData

WithData adds the data to the create declare capture params

func (*CreateDeclareCaptureParams) WithForceReload

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

WithForceReload adds the forceReload to the create declare capture params

func (*CreateDeclareCaptureParams) WithFrontend

WithFrontend adds the frontend to the create declare capture params

func (*CreateDeclareCaptureParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create declare capture params

func (*CreateDeclareCaptureParams) WithTimeout

WithTimeout adds the timeout to the create declare capture params

func (*CreateDeclareCaptureParams) WithTransactionID

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

WithTransactionID adds the transactionID to the create declare capture params

func (*CreateDeclareCaptureParams) WithVersion

WithVersion adds the version to the create declare capture params

func (*CreateDeclareCaptureParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateDeclareCaptureReader

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

CreateDeclareCaptureReader is a Reader for the CreateDeclareCapture structure.

func (*CreateDeclareCaptureReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDeclareCaptureAccepted

type DeleteDeclareCaptureAccepted struct {
	/*ID of the requested reload
	 */
	ReloadID string
}

DeleteDeclareCaptureAccepted handles this case with default header values.

Configuration change accepted and reload requested

func NewDeleteDeclareCaptureAccepted

func NewDeleteDeclareCaptureAccepted() *DeleteDeclareCaptureAccepted

NewDeleteDeclareCaptureAccepted creates a DeleteDeclareCaptureAccepted with default headers values

func (*DeleteDeclareCaptureAccepted) Error

type DeleteDeclareCaptureDefault

type DeleteDeclareCaptureDefault struct {

	/*Configuration file version
	 */
	ConfigurationVersion string

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

DeleteDeclareCaptureDefault handles this case with default header values.

General Error

func NewDeleteDeclareCaptureDefault

func NewDeleteDeclareCaptureDefault(code int) *DeleteDeclareCaptureDefault

NewDeleteDeclareCaptureDefault creates a DeleteDeclareCaptureDefault with default headers values

func (*DeleteDeclareCaptureDefault) Code

func (o *DeleteDeclareCaptureDefault) Code() int

Code gets the status code for the delete declare capture default response

func (*DeleteDeclareCaptureDefault) Error

func (*DeleteDeclareCaptureDefault) GetPayload

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

type DeleteDeclareCaptureNoContent

type DeleteDeclareCaptureNoContent struct {
}

DeleteDeclareCaptureNoContent handles this case with default header values.

Declare Capture deleted

func NewDeleteDeclareCaptureNoContent

func NewDeleteDeclareCaptureNoContent() *DeleteDeclareCaptureNoContent

NewDeleteDeclareCaptureNoContent creates a DeleteDeclareCaptureNoContent with default headers values

func (*DeleteDeclareCaptureNoContent) Error

type DeleteDeclareCaptureNotFound

type DeleteDeclareCaptureNotFound struct {
	/*Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

DeleteDeclareCaptureNotFound handles this case with default header values.

The specified resource was not found

func NewDeleteDeclareCaptureNotFound

func NewDeleteDeclareCaptureNotFound() *DeleteDeclareCaptureNotFound

NewDeleteDeclareCaptureNotFound creates a DeleteDeclareCaptureNotFound with default headers values

func (*DeleteDeclareCaptureNotFound) Error

func (*DeleteDeclareCaptureNotFound) GetPayload

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

type DeleteDeclareCaptureParams

type DeleteDeclareCaptureParams 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
	/*Frontend
	  Parent frontend name

	*/
	Frontend string
	/*Index
	  Declare Capture Index

	*/
	Index int64
	/*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
}

DeleteDeclareCaptureParams contains all the parameters to send to the API endpoint for the delete declare capture operation typically these are written to a http.Request

func NewDeleteDeclareCaptureParams

func NewDeleteDeclareCaptureParams() *DeleteDeclareCaptureParams

NewDeleteDeclareCaptureParams creates a new DeleteDeclareCaptureParams object with the default values initialized.

func NewDeleteDeclareCaptureParamsWithContext

func NewDeleteDeclareCaptureParamsWithContext(ctx context.Context) *DeleteDeclareCaptureParams

NewDeleteDeclareCaptureParamsWithContext creates a new DeleteDeclareCaptureParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteDeclareCaptureParamsWithHTTPClient

func NewDeleteDeclareCaptureParamsWithHTTPClient(client *http.Client) *DeleteDeclareCaptureParams

NewDeleteDeclareCaptureParamsWithHTTPClient creates a new DeleteDeclareCaptureParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteDeclareCaptureParamsWithTimeout

func NewDeleteDeclareCaptureParamsWithTimeout(timeout time.Duration) *DeleteDeclareCaptureParams

NewDeleteDeclareCaptureParamsWithTimeout creates a new DeleteDeclareCaptureParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteDeclareCaptureParams) SetContext

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

SetContext adds the context to the delete declare capture params

func (*DeleteDeclareCaptureParams) SetForceReload

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

SetForceReload adds the forceReload to the delete declare capture params

func (*DeleteDeclareCaptureParams) SetFrontend

func (o *DeleteDeclareCaptureParams) SetFrontend(frontend string)

SetFrontend adds the frontend to the delete declare capture params

func (*DeleteDeclareCaptureParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete declare capture params

func (*DeleteDeclareCaptureParams) SetIndex

func (o *DeleteDeclareCaptureParams) SetIndex(index int64)

SetIndex adds the index to the delete declare capture params

func (*DeleteDeclareCaptureParams) SetTimeout

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

SetTimeout adds the timeout to the delete declare capture params

func (*DeleteDeclareCaptureParams) SetTransactionID

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

SetTransactionID adds the transactionId to the delete declare capture params

func (*DeleteDeclareCaptureParams) SetVersion

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

SetVersion adds the version to the delete declare capture params

func (*DeleteDeclareCaptureParams) WithContext

WithContext adds the context to the delete declare capture params

func (*DeleteDeclareCaptureParams) WithForceReload

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

WithForceReload adds the forceReload to the delete declare capture params

func (*DeleteDeclareCaptureParams) WithFrontend

WithFrontend adds the frontend to the delete declare capture params

func (*DeleteDeclareCaptureParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete declare capture params

func (*DeleteDeclareCaptureParams) WithIndex

WithIndex adds the index to the delete declare capture params

func (*DeleteDeclareCaptureParams) WithTimeout

WithTimeout adds the timeout to the delete declare capture params

func (*DeleteDeclareCaptureParams) WithTransactionID

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

WithTransactionID adds the transactionID to the delete declare capture params

func (*DeleteDeclareCaptureParams) WithVersion

WithVersion adds the version to the delete declare capture params

func (*DeleteDeclareCaptureParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDeclareCaptureReader

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

DeleteDeclareCaptureReader is a Reader for the DeleteDeclareCapture structure.

func (*DeleteDeclareCaptureReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDeclareCaptureDefault

type GetDeclareCaptureDefault struct {

	/*Configuration file version
	 */
	ConfigurationVersion string

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

GetDeclareCaptureDefault handles this case with default header values.

General Error

func NewGetDeclareCaptureDefault

func NewGetDeclareCaptureDefault(code int) *GetDeclareCaptureDefault

NewGetDeclareCaptureDefault creates a GetDeclareCaptureDefault with default headers values

func (*GetDeclareCaptureDefault) Code

func (o *GetDeclareCaptureDefault) Code() int

Code gets the status code for the get declare capture default response

func (*GetDeclareCaptureDefault) Error

func (o *GetDeclareCaptureDefault) Error() string

func (*GetDeclareCaptureDefault) GetPayload

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

type GetDeclareCaptureNotFound

type GetDeclareCaptureNotFound struct {
	/*Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

GetDeclareCaptureNotFound handles this case with default header values.

The specified resource already exists

func NewGetDeclareCaptureNotFound

func NewGetDeclareCaptureNotFound() *GetDeclareCaptureNotFound

NewGetDeclareCaptureNotFound creates a GetDeclareCaptureNotFound with default headers values

func (*GetDeclareCaptureNotFound) Error

func (o *GetDeclareCaptureNotFound) Error() string

func (*GetDeclareCaptureNotFound) GetPayload

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

type GetDeclareCaptureOK

type GetDeclareCaptureOK struct {
	/*Configuration file version
	 */
	ConfigurationVersion string

	Payload *GetDeclareCaptureOKBody
}

GetDeclareCaptureOK handles this case with default header values.

Successful operation

func NewGetDeclareCaptureOK

func NewGetDeclareCaptureOK() *GetDeclareCaptureOK

NewGetDeclareCaptureOK creates a GetDeclareCaptureOK with default headers values

func (*GetDeclareCaptureOK) Error

func (o *GetDeclareCaptureOK) Error() string

func (*GetDeclareCaptureOK) GetPayload

type GetDeclareCaptureOKBody

type GetDeclareCaptureOKBody struct {

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

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

GetDeclareCaptureOKBody get declare capture o k body swagger:model GetDeclareCaptureOKBody

func (*GetDeclareCaptureOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetDeclareCaptureOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetDeclareCaptureOKBody) Validate

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

Validate validates this get declare capture o k body

type GetDeclareCaptureParams

type GetDeclareCaptureParams struct {

	/*Frontend
	  Parent frontend name

	*/
	Frontend string
	/*Index
	  Declare Capture Index

	*/
	Index int64
	/*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
}

GetDeclareCaptureParams contains all the parameters to send to the API endpoint for the get declare capture operation typically these are written to a http.Request

func NewGetDeclareCaptureParams

func NewGetDeclareCaptureParams() *GetDeclareCaptureParams

NewGetDeclareCaptureParams creates a new GetDeclareCaptureParams object with the default values initialized.

func NewGetDeclareCaptureParamsWithContext

func NewGetDeclareCaptureParamsWithContext(ctx context.Context) *GetDeclareCaptureParams

NewGetDeclareCaptureParamsWithContext creates a new GetDeclareCaptureParams object with the default values initialized, and the ability to set a context for a request

func NewGetDeclareCaptureParamsWithHTTPClient

func NewGetDeclareCaptureParamsWithHTTPClient(client *http.Client) *GetDeclareCaptureParams

NewGetDeclareCaptureParamsWithHTTPClient creates a new GetDeclareCaptureParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDeclareCaptureParamsWithTimeout

func NewGetDeclareCaptureParamsWithTimeout(timeout time.Duration) *GetDeclareCaptureParams

NewGetDeclareCaptureParamsWithTimeout creates a new GetDeclareCaptureParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDeclareCaptureParams) SetContext

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

SetContext adds the context to the get declare capture params

func (*GetDeclareCaptureParams) SetFrontend

func (o *GetDeclareCaptureParams) SetFrontend(frontend string)

SetFrontend adds the frontend to the get declare capture params

func (*GetDeclareCaptureParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get declare capture params

func (*GetDeclareCaptureParams) SetIndex

func (o *GetDeclareCaptureParams) SetIndex(index int64)

SetIndex adds the index to the get declare capture params

func (*GetDeclareCaptureParams) SetTimeout

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

SetTimeout adds the timeout to the get declare capture params

func (*GetDeclareCaptureParams) SetTransactionID

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

SetTransactionID adds the transactionId to the get declare capture params

func (*GetDeclareCaptureParams) WithContext

WithContext adds the context to the get declare capture params

func (*GetDeclareCaptureParams) WithFrontend

func (o *GetDeclareCaptureParams) WithFrontend(frontend string) *GetDeclareCaptureParams

WithFrontend adds the frontend to the get declare capture params

func (*GetDeclareCaptureParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get declare capture params

func (*GetDeclareCaptureParams) WithIndex

WithIndex adds the index to the get declare capture params

func (*GetDeclareCaptureParams) WithTimeout

WithTimeout adds the timeout to the get declare capture params

func (*GetDeclareCaptureParams) WithTransactionID

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

WithTransactionID adds the transactionID to the get declare capture params

func (*GetDeclareCaptureParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeclareCaptureReader

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

GetDeclareCaptureReader is a Reader for the GetDeclareCapture structure.

func (*GetDeclareCaptureReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDeclareCapturesDefault

type GetDeclareCapturesDefault struct {

	/*Configuration file version
	 */
	ConfigurationVersion string

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

GetDeclareCapturesDefault handles this case with default header values.

General Error

func NewGetDeclareCapturesDefault

func NewGetDeclareCapturesDefault(code int) *GetDeclareCapturesDefault

NewGetDeclareCapturesDefault creates a GetDeclareCapturesDefault with default headers values

func (*GetDeclareCapturesDefault) Code

func (o *GetDeclareCapturesDefault) Code() int

Code gets the status code for the get declare captures default response

func (*GetDeclareCapturesDefault) Error

func (o *GetDeclareCapturesDefault) Error() string

func (*GetDeclareCapturesDefault) GetPayload

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

type GetDeclareCapturesOK

type GetDeclareCapturesOK struct {
	/*Configuration file version
	 */
	ConfigurationVersion string

	Payload *GetDeclareCapturesOKBody
}

GetDeclareCapturesOK handles this case with default header values.

Successful operation

func NewGetDeclareCapturesOK

func NewGetDeclareCapturesOK() *GetDeclareCapturesOK

NewGetDeclareCapturesOK creates a GetDeclareCapturesOK with default headers values

func (*GetDeclareCapturesOK) Error

func (o *GetDeclareCapturesOK) Error() string

func (*GetDeclareCapturesOK) GetPayload

type GetDeclareCapturesOKBody

type GetDeclareCapturesOKBody struct {

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

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

GetDeclareCapturesOKBody get declare captures o k body swagger:model GetDeclareCapturesOKBody

func (*GetDeclareCapturesOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetDeclareCapturesOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetDeclareCapturesOKBody) Validate

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

Validate validates this get declare captures o k body

type GetDeclareCapturesParams

type GetDeclareCapturesParams struct {

	/*Frontend
	  Parent frontend name

	*/
	Frontend 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
}

GetDeclareCapturesParams contains all the parameters to send to the API endpoint for the get declare captures operation typically these are written to a http.Request

func NewGetDeclareCapturesParams

func NewGetDeclareCapturesParams() *GetDeclareCapturesParams

NewGetDeclareCapturesParams creates a new GetDeclareCapturesParams object with the default values initialized.

func NewGetDeclareCapturesParamsWithContext

func NewGetDeclareCapturesParamsWithContext(ctx context.Context) *GetDeclareCapturesParams

NewGetDeclareCapturesParamsWithContext creates a new GetDeclareCapturesParams object with the default values initialized, and the ability to set a context for a request

func NewGetDeclareCapturesParamsWithHTTPClient

func NewGetDeclareCapturesParamsWithHTTPClient(client *http.Client) *GetDeclareCapturesParams

NewGetDeclareCapturesParamsWithHTTPClient creates a new GetDeclareCapturesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDeclareCapturesParamsWithTimeout

func NewGetDeclareCapturesParamsWithTimeout(timeout time.Duration) *GetDeclareCapturesParams

NewGetDeclareCapturesParamsWithTimeout creates a new GetDeclareCapturesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDeclareCapturesParams) SetContext

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

SetContext adds the context to the get declare captures params

func (*GetDeclareCapturesParams) SetFrontend

func (o *GetDeclareCapturesParams) SetFrontend(frontend string)

SetFrontend adds the frontend to the get declare captures params

func (*GetDeclareCapturesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get declare captures params

func (*GetDeclareCapturesParams) SetTimeout

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

SetTimeout adds the timeout to the get declare captures params

func (*GetDeclareCapturesParams) SetTransactionID

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

SetTransactionID adds the transactionId to the get declare captures params

func (*GetDeclareCapturesParams) WithContext

WithContext adds the context to the get declare captures params

func (*GetDeclareCapturesParams) WithFrontend

func (o *GetDeclareCapturesParams) WithFrontend(frontend string) *GetDeclareCapturesParams

WithFrontend adds the frontend to the get declare captures params

func (*GetDeclareCapturesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get declare captures params

func (*GetDeclareCapturesParams) WithTimeout

WithTimeout adds the timeout to the get declare captures params

func (*GetDeclareCapturesParams) WithTransactionID

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

WithTransactionID adds the transactionID to the get declare captures params

func (*GetDeclareCapturesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeclareCapturesReader

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

GetDeclareCapturesReader is a Reader for the GetDeclareCaptures structure.

func (*GetDeclareCapturesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReplaceDeclareCaptureAccepted

type ReplaceDeclareCaptureAccepted struct {
	/*ID of the requested reload
	 */
	ReloadID string

	Payload *models.Capture
}

ReplaceDeclareCaptureAccepted handles this case with default header values.

Configuration change accepted and reload requested

func NewReplaceDeclareCaptureAccepted

func NewReplaceDeclareCaptureAccepted() *ReplaceDeclareCaptureAccepted

NewReplaceDeclareCaptureAccepted creates a ReplaceDeclareCaptureAccepted with default headers values

func (*ReplaceDeclareCaptureAccepted) Error

func (*ReplaceDeclareCaptureAccepted) GetPayload

func (o *ReplaceDeclareCaptureAccepted) GetPayload() *models.Capture

type ReplaceDeclareCaptureBadRequest

type ReplaceDeclareCaptureBadRequest struct {
	/*Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

ReplaceDeclareCaptureBadRequest handles this case with default header values.

Bad request

func NewReplaceDeclareCaptureBadRequest

func NewReplaceDeclareCaptureBadRequest() *ReplaceDeclareCaptureBadRequest

NewReplaceDeclareCaptureBadRequest creates a ReplaceDeclareCaptureBadRequest with default headers values

func (*ReplaceDeclareCaptureBadRequest) Error

func (*ReplaceDeclareCaptureBadRequest) GetPayload

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

type ReplaceDeclareCaptureDefault

type ReplaceDeclareCaptureDefault struct {

	/*Configuration file version
	 */
	ConfigurationVersion string

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

ReplaceDeclareCaptureDefault handles this case with default header values.

General Error

func NewReplaceDeclareCaptureDefault

func NewReplaceDeclareCaptureDefault(code int) *ReplaceDeclareCaptureDefault

NewReplaceDeclareCaptureDefault creates a ReplaceDeclareCaptureDefault with default headers values

func (*ReplaceDeclareCaptureDefault) Code

Code gets the status code for the replace declare capture default response

func (*ReplaceDeclareCaptureDefault) Error

func (*ReplaceDeclareCaptureDefault) GetPayload

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

type ReplaceDeclareCaptureNotFound

type ReplaceDeclareCaptureNotFound struct {
	/*Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

ReplaceDeclareCaptureNotFound handles this case with default header values.

The specified resource was not found

func NewReplaceDeclareCaptureNotFound

func NewReplaceDeclareCaptureNotFound() *ReplaceDeclareCaptureNotFound

NewReplaceDeclareCaptureNotFound creates a ReplaceDeclareCaptureNotFound with default headers values

func (*ReplaceDeclareCaptureNotFound) Error

func (*ReplaceDeclareCaptureNotFound) GetPayload

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

type ReplaceDeclareCaptureOK

type ReplaceDeclareCaptureOK struct {
	Payload *models.Capture
}

ReplaceDeclareCaptureOK handles this case with default header values.

Declare Capture replaced

func NewReplaceDeclareCaptureOK

func NewReplaceDeclareCaptureOK() *ReplaceDeclareCaptureOK

NewReplaceDeclareCaptureOK creates a ReplaceDeclareCaptureOK with default headers values

func (*ReplaceDeclareCaptureOK) Error

func (o *ReplaceDeclareCaptureOK) Error() string

func (*ReplaceDeclareCaptureOK) GetPayload

func (o *ReplaceDeclareCaptureOK) GetPayload() *models.Capture

type ReplaceDeclareCaptureParams

type ReplaceDeclareCaptureParams struct {

	/*Data*/
	Data *models.Capture
	/*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
	/*Frontend
	  Parent frontend name

	*/
	Frontend string
	/*Index
	  Declare Capture Index

	*/
	Index int64
	/*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
}

ReplaceDeclareCaptureParams contains all the parameters to send to the API endpoint for the replace declare capture operation typically these are written to a http.Request

func NewReplaceDeclareCaptureParams

func NewReplaceDeclareCaptureParams() *ReplaceDeclareCaptureParams

NewReplaceDeclareCaptureParams creates a new ReplaceDeclareCaptureParams object with the default values initialized.

func NewReplaceDeclareCaptureParamsWithContext

func NewReplaceDeclareCaptureParamsWithContext(ctx context.Context) *ReplaceDeclareCaptureParams

NewReplaceDeclareCaptureParamsWithContext creates a new ReplaceDeclareCaptureParams object with the default values initialized, and the ability to set a context for a request

func NewReplaceDeclareCaptureParamsWithHTTPClient

func NewReplaceDeclareCaptureParamsWithHTTPClient(client *http.Client) *ReplaceDeclareCaptureParams

NewReplaceDeclareCaptureParamsWithHTTPClient creates a new ReplaceDeclareCaptureParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewReplaceDeclareCaptureParamsWithTimeout

func NewReplaceDeclareCaptureParamsWithTimeout(timeout time.Duration) *ReplaceDeclareCaptureParams

NewReplaceDeclareCaptureParamsWithTimeout creates a new ReplaceDeclareCaptureParams object with the default values initialized, and the ability to set a timeout on a request

func (*ReplaceDeclareCaptureParams) SetContext

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

SetContext adds the context to the replace declare capture params

func (*ReplaceDeclareCaptureParams) SetData

func (o *ReplaceDeclareCaptureParams) SetData(data *models.Capture)

SetData adds the data to the replace declare capture params

func (*ReplaceDeclareCaptureParams) SetForceReload

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

SetForceReload adds the forceReload to the replace declare capture params

func (*ReplaceDeclareCaptureParams) SetFrontend

func (o *ReplaceDeclareCaptureParams) SetFrontend(frontend string)

SetFrontend adds the frontend to the replace declare capture params

func (*ReplaceDeclareCaptureParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the replace declare capture params

func (*ReplaceDeclareCaptureParams) SetIndex

func (o *ReplaceDeclareCaptureParams) SetIndex(index int64)

SetIndex adds the index to the replace declare capture params

func (*ReplaceDeclareCaptureParams) SetTimeout

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

SetTimeout adds the timeout to the replace declare capture params

func (*ReplaceDeclareCaptureParams) SetTransactionID

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

SetTransactionID adds the transactionId to the replace declare capture params

func (*ReplaceDeclareCaptureParams) SetVersion

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

SetVersion adds the version to the replace declare capture params

func (*ReplaceDeclareCaptureParams) WithContext

WithContext adds the context to the replace declare capture params

func (*ReplaceDeclareCaptureParams) WithData

WithData adds the data to the replace declare capture params

func (*ReplaceDeclareCaptureParams) WithForceReload

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

WithForceReload adds the forceReload to the replace declare capture params

func (*ReplaceDeclareCaptureParams) WithFrontend

WithFrontend adds the frontend to the replace declare capture params

func (*ReplaceDeclareCaptureParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the replace declare capture params

func (*ReplaceDeclareCaptureParams) WithIndex

WithIndex adds the index to the replace declare capture params

func (*ReplaceDeclareCaptureParams) WithTimeout

WithTimeout adds the timeout to the replace declare capture params

func (*ReplaceDeclareCaptureParams) WithTransactionID

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

WithTransactionID adds the transactionID to the replace declare capture params

func (*ReplaceDeclareCaptureParams) WithVersion

WithVersion adds the version to the replace declare capture params

func (*ReplaceDeclareCaptureParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReplaceDeclareCaptureReader

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

ReplaceDeclareCaptureReader is a Reader for the ReplaceDeclareCapture structure.

func (*ReplaceDeclareCaptureReader) ReadResponse

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