Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateDeclareCapture(params *CreateDeclareCaptureParams, authInfo runtime.ClientAuthInfoWriter) (*CreateDeclareCaptureCreated, *CreateDeclareCaptureAccepted, error)
- func (a *Client) DeleteDeclareCapture(params *DeleteDeclareCaptureParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDeclareCaptureAccepted, *DeleteDeclareCaptureNoContent, error)
- func (a *Client) GetDeclareCapture(params *GetDeclareCaptureParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeclareCaptureOK, error)
- func (a *Client) GetDeclareCaptures(params *GetDeclareCapturesParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeclareCapturesOK, error)
- func (a *Client) ReplaceDeclareCapture(params *ReplaceDeclareCaptureParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceDeclareCaptureOK, *ReplaceDeclareCaptureAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CreateDeclareCaptureAccepted
- type CreateDeclareCaptureBadRequest
- type CreateDeclareCaptureConflict
- type CreateDeclareCaptureCreated
- type CreateDeclareCaptureDefault
- type CreateDeclareCaptureParams
- func NewCreateDeclareCaptureParams() *CreateDeclareCaptureParams
- func NewCreateDeclareCaptureParamsWithContext(ctx context.Context) *CreateDeclareCaptureParams
- func NewCreateDeclareCaptureParamsWithHTTPClient(client *http.Client) *CreateDeclareCaptureParams
- func NewCreateDeclareCaptureParamsWithTimeout(timeout time.Duration) *CreateDeclareCaptureParams
- func (o *CreateDeclareCaptureParams) SetContext(ctx context.Context)
- func (o *CreateDeclareCaptureParams) SetData(data *models.Capture)
- func (o *CreateDeclareCaptureParams) SetForceReload(forceReload *bool)
- func (o *CreateDeclareCaptureParams) SetFrontend(frontend string)
- func (o *CreateDeclareCaptureParams) SetHTTPClient(client *http.Client)
- func (o *CreateDeclareCaptureParams) SetTimeout(timeout time.Duration)
- func (o *CreateDeclareCaptureParams) SetTransactionID(transactionID *string)
- func (o *CreateDeclareCaptureParams) SetVersion(version *int64)
- func (o *CreateDeclareCaptureParams) WithContext(ctx context.Context) *CreateDeclareCaptureParams
- func (o *CreateDeclareCaptureParams) WithData(data *models.Capture) *CreateDeclareCaptureParams
- func (o *CreateDeclareCaptureParams) WithForceReload(forceReload *bool) *CreateDeclareCaptureParams
- func (o *CreateDeclareCaptureParams) WithFrontend(frontend string) *CreateDeclareCaptureParams
- func (o *CreateDeclareCaptureParams) WithHTTPClient(client *http.Client) *CreateDeclareCaptureParams
- func (o *CreateDeclareCaptureParams) WithTimeout(timeout time.Duration) *CreateDeclareCaptureParams
- func (o *CreateDeclareCaptureParams) WithTransactionID(transactionID *string) *CreateDeclareCaptureParams
- func (o *CreateDeclareCaptureParams) WithVersion(version *int64) *CreateDeclareCaptureParams
- func (o *CreateDeclareCaptureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDeclareCaptureReader
- type DeleteDeclareCaptureAccepted
- type DeleteDeclareCaptureDefault
- type DeleteDeclareCaptureNoContent
- type DeleteDeclareCaptureNotFound
- type DeleteDeclareCaptureParams
- func NewDeleteDeclareCaptureParams() *DeleteDeclareCaptureParams
- func NewDeleteDeclareCaptureParamsWithContext(ctx context.Context) *DeleteDeclareCaptureParams
- func NewDeleteDeclareCaptureParamsWithHTTPClient(client *http.Client) *DeleteDeclareCaptureParams
- func NewDeleteDeclareCaptureParamsWithTimeout(timeout time.Duration) *DeleteDeclareCaptureParams
- func (o *DeleteDeclareCaptureParams) SetContext(ctx context.Context)
- func (o *DeleteDeclareCaptureParams) SetForceReload(forceReload *bool)
- func (o *DeleteDeclareCaptureParams) SetFrontend(frontend string)
- func (o *DeleteDeclareCaptureParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDeclareCaptureParams) SetIndex(index int64)
- func (o *DeleteDeclareCaptureParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDeclareCaptureParams) SetTransactionID(transactionID *string)
- func (o *DeleteDeclareCaptureParams) SetVersion(version *int64)
- func (o *DeleteDeclareCaptureParams) WithContext(ctx context.Context) *DeleteDeclareCaptureParams
- func (o *DeleteDeclareCaptureParams) WithForceReload(forceReload *bool) *DeleteDeclareCaptureParams
- func (o *DeleteDeclareCaptureParams) WithFrontend(frontend string) *DeleteDeclareCaptureParams
- func (o *DeleteDeclareCaptureParams) WithHTTPClient(client *http.Client) *DeleteDeclareCaptureParams
- func (o *DeleteDeclareCaptureParams) WithIndex(index int64) *DeleteDeclareCaptureParams
- func (o *DeleteDeclareCaptureParams) WithTimeout(timeout time.Duration) *DeleteDeclareCaptureParams
- func (o *DeleteDeclareCaptureParams) WithTransactionID(transactionID *string) *DeleteDeclareCaptureParams
- func (o *DeleteDeclareCaptureParams) WithVersion(version *int64) *DeleteDeclareCaptureParams
- func (o *DeleteDeclareCaptureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDeclareCaptureReader
- type GetDeclareCaptureDefault
- type GetDeclareCaptureNotFound
- type GetDeclareCaptureOK
- type GetDeclareCaptureOKBody
- type GetDeclareCaptureParams
- func NewGetDeclareCaptureParams() *GetDeclareCaptureParams
- func NewGetDeclareCaptureParamsWithContext(ctx context.Context) *GetDeclareCaptureParams
- func NewGetDeclareCaptureParamsWithHTTPClient(client *http.Client) *GetDeclareCaptureParams
- func NewGetDeclareCaptureParamsWithTimeout(timeout time.Duration) *GetDeclareCaptureParams
- func (o *GetDeclareCaptureParams) SetContext(ctx context.Context)
- func (o *GetDeclareCaptureParams) SetFrontend(frontend string)
- func (o *GetDeclareCaptureParams) SetHTTPClient(client *http.Client)
- func (o *GetDeclareCaptureParams) SetIndex(index int64)
- func (o *GetDeclareCaptureParams) SetTimeout(timeout time.Duration)
- func (o *GetDeclareCaptureParams) SetTransactionID(transactionID *string)
- func (o *GetDeclareCaptureParams) WithContext(ctx context.Context) *GetDeclareCaptureParams
- func (o *GetDeclareCaptureParams) WithFrontend(frontend string) *GetDeclareCaptureParams
- func (o *GetDeclareCaptureParams) WithHTTPClient(client *http.Client) *GetDeclareCaptureParams
- func (o *GetDeclareCaptureParams) WithIndex(index int64) *GetDeclareCaptureParams
- func (o *GetDeclareCaptureParams) WithTimeout(timeout time.Duration) *GetDeclareCaptureParams
- func (o *GetDeclareCaptureParams) WithTransactionID(transactionID *string) *GetDeclareCaptureParams
- func (o *GetDeclareCaptureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeclareCaptureReader
- type GetDeclareCapturesDefault
- type GetDeclareCapturesOK
- type GetDeclareCapturesOKBody
- type GetDeclareCapturesParams
- func NewGetDeclareCapturesParams() *GetDeclareCapturesParams
- func NewGetDeclareCapturesParamsWithContext(ctx context.Context) *GetDeclareCapturesParams
- func NewGetDeclareCapturesParamsWithHTTPClient(client *http.Client) *GetDeclareCapturesParams
- func NewGetDeclareCapturesParamsWithTimeout(timeout time.Duration) *GetDeclareCapturesParams
- func (o *GetDeclareCapturesParams) SetContext(ctx context.Context)
- func (o *GetDeclareCapturesParams) SetFrontend(frontend string)
- func (o *GetDeclareCapturesParams) SetHTTPClient(client *http.Client)
- func (o *GetDeclareCapturesParams) SetTimeout(timeout time.Duration)
- func (o *GetDeclareCapturesParams) SetTransactionID(transactionID *string)
- func (o *GetDeclareCapturesParams) WithContext(ctx context.Context) *GetDeclareCapturesParams
- func (o *GetDeclareCapturesParams) WithFrontend(frontend string) *GetDeclareCapturesParams
- func (o *GetDeclareCapturesParams) WithHTTPClient(client *http.Client) *GetDeclareCapturesParams
- func (o *GetDeclareCapturesParams) WithTimeout(timeout time.Duration) *GetDeclareCapturesParams
- func (o *GetDeclareCapturesParams) WithTransactionID(transactionID *string) *GetDeclareCapturesParams
- func (o *GetDeclareCapturesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeclareCapturesReader
- type ReplaceDeclareCaptureAccepted
- type ReplaceDeclareCaptureBadRequest
- type ReplaceDeclareCaptureDefault
- type ReplaceDeclareCaptureNotFound
- type ReplaceDeclareCaptureOK
- type ReplaceDeclareCaptureParams
- func NewReplaceDeclareCaptureParams() *ReplaceDeclareCaptureParams
- func NewReplaceDeclareCaptureParamsWithContext(ctx context.Context) *ReplaceDeclareCaptureParams
- func NewReplaceDeclareCaptureParamsWithHTTPClient(client *http.Client) *ReplaceDeclareCaptureParams
- func NewReplaceDeclareCaptureParamsWithTimeout(timeout time.Duration) *ReplaceDeclareCaptureParams
- func (o *ReplaceDeclareCaptureParams) SetContext(ctx context.Context)
- func (o *ReplaceDeclareCaptureParams) SetData(data *models.Capture)
- func (o *ReplaceDeclareCaptureParams) SetForceReload(forceReload *bool)
- func (o *ReplaceDeclareCaptureParams) SetFrontend(frontend string)
- func (o *ReplaceDeclareCaptureParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceDeclareCaptureParams) SetIndex(index int64)
- func (o *ReplaceDeclareCaptureParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceDeclareCaptureParams) SetTransactionID(transactionID *string)
- func (o *ReplaceDeclareCaptureParams) SetVersion(version *int64)
- func (o *ReplaceDeclareCaptureParams) WithContext(ctx context.Context) *ReplaceDeclareCaptureParams
- func (o *ReplaceDeclareCaptureParams) WithData(data *models.Capture) *ReplaceDeclareCaptureParams
- func (o *ReplaceDeclareCaptureParams) WithForceReload(forceReload *bool) *ReplaceDeclareCaptureParams
- func (o *ReplaceDeclareCaptureParams) WithFrontend(frontend string) *ReplaceDeclareCaptureParams
- func (o *ReplaceDeclareCaptureParams) WithHTTPClient(client *http.Client) *ReplaceDeclareCaptureParams
- func (o *ReplaceDeclareCaptureParams) WithIndex(index int64) *ReplaceDeclareCaptureParams
- func (o *ReplaceDeclareCaptureParams) WithTimeout(timeout time.Duration) *ReplaceDeclareCaptureParams
- func (o *ReplaceDeclareCaptureParams) WithTransactionID(transactionID *string) *ReplaceDeclareCaptureParams
- func (o *ReplaceDeclareCaptureParams) WithVersion(version *int64) *ReplaceDeclareCaptureParams
- func (o *ReplaceDeclareCaptureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceDeclareCaptureReader
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 ¶
func (a *Client) CreateDeclareCapture(params *CreateDeclareCaptureParams, authInfo runtime.ClientAuthInfoWriter) (*CreateDeclareCaptureCreated, *CreateDeclareCaptureAccepted, error)
CreateDeclareCapture adds a new declare capture
Adds a new declare capture in the specified frontend in the configuration file.
func (*Client) DeleteDeclareCapture ¶
func (a *Client) DeleteDeclareCapture(params *DeleteDeclareCaptureParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDeclareCaptureAccepted, *DeleteDeclareCaptureNoContent, error)
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 ¶
func (a *Client) ReplaceDeclareCapture(params *ReplaceDeclareCaptureParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceDeclareCaptureOK, *ReplaceDeclareCaptureAccepted, error)
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 ¶
type ClientService interface { CreateDeclareCapture(params *CreateDeclareCaptureParams, authInfo runtime.ClientAuthInfoWriter) (*CreateDeclareCaptureCreated, *CreateDeclareCaptureAccepted, error) DeleteDeclareCapture(params *DeleteDeclareCaptureParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDeclareCaptureAccepted, *DeleteDeclareCaptureNoContent, error) GetDeclareCapture(params *GetDeclareCaptureParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeclareCaptureOK, error) GetDeclareCaptures(params *GetDeclareCapturesParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeclareCapturesOK, error) ReplaceDeclareCapture(params *ReplaceDeclareCaptureParams, authInfo runtime.ClientAuthInfoWriter) (*ReplaceDeclareCaptureOK, *ReplaceDeclareCaptureAccepted, 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 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 (o *CreateDeclareCaptureAccepted) Error() string
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 (o *CreateDeclareCaptureBadRequest) Error() string
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 (o *CreateDeclareCaptureConflict) Error() string
func (*CreateDeclareCaptureConflict) GetPayload ¶
func (o *CreateDeclareCaptureConflict) GetPayload() *models.Error
type CreateDeclareCaptureCreated ¶
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 (o *CreateDeclareCaptureCreated) Error() string
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 (o *CreateDeclareCaptureDefault) Error() string
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 ¶
func (o *CreateDeclareCaptureParams) WithContext(ctx context.Context) *CreateDeclareCaptureParams
WithContext adds the context to the create declare capture params
func (*CreateDeclareCaptureParams) WithData ¶
func (o *CreateDeclareCaptureParams) WithData(data *models.Capture) *CreateDeclareCaptureParams
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 ¶
func (o *CreateDeclareCaptureParams) WithFrontend(frontend string) *CreateDeclareCaptureParams
WithFrontend adds the frontend to the create declare capture params
func (*CreateDeclareCaptureParams) WithHTTPClient ¶
func (o *CreateDeclareCaptureParams) WithHTTPClient(client *http.Client) *CreateDeclareCaptureParams
WithHTTPClient adds the HTTPClient to the create declare capture params
func (*CreateDeclareCaptureParams) WithTimeout ¶
func (o *CreateDeclareCaptureParams) WithTimeout(timeout time.Duration) *CreateDeclareCaptureParams
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 ¶
func (o *CreateDeclareCaptureParams) WithVersion(version *int64) *CreateDeclareCaptureParams
WithVersion adds the version to the create declare capture params
func (*CreateDeclareCaptureParams) WriteToRequest ¶
func (o *CreateDeclareCaptureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteDeclareCaptureAccepted) Error() string
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 (o *DeleteDeclareCaptureDefault) Error() string
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 ¶
func (o *DeleteDeclareCaptureNoContent) Error() string
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 (o *DeleteDeclareCaptureNotFound) Error() string
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 ¶
func (o *DeleteDeclareCaptureParams) WithContext(ctx context.Context) *DeleteDeclareCaptureParams
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 ¶
func (o *DeleteDeclareCaptureParams) WithFrontend(frontend string) *DeleteDeclareCaptureParams
WithFrontend adds the frontend to the delete declare capture params
func (*DeleteDeclareCaptureParams) WithHTTPClient ¶
func (o *DeleteDeclareCaptureParams) WithHTTPClient(client *http.Client) *DeleteDeclareCaptureParams
WithHTTPClient adds the HTTPClient to the delete declare capture params
func (*DeleteDeclareCaptureParams) WithIndex ¶
func (o *DeleteDeclareCaptureParams) WithIndex(index int64) *DeleteDeclareCaptureParams
WithIndex adds the index to the delete declare capture params
func (*DeleteDeclareCaptureParams) WithTimeout ¶
func (o *DeleteDeclareCaptureParams) WithTimeout(timeout time.Duration) *DeleteDeclareCaptureParams
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 ¶
func (o *DeleteDeclareCaptureParams) WithVersion(version *int64) *DeleteDeclareCaptureParams
WithVersion adds the version to the delete declare capture params
func (*DeleteDeclareCaptureParams) WriteToRequest ¶
func (o *DeleteDeclareCaptureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetDeclareCaptureOK) GetPayload() *GetDeclareCaptureOKBody
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
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 ¶
func (o *GetDeclareCaptureParams) WithContext(ctx context.Context) *GetDeclareCaptureParams
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 ¶
func (o *GetDeclareCaptureParams) WithIndex(index int64) *GetDeclareCaptureParams
WithIndex adds the index to the get declare capture params
func (*GetDeclareCaptureParams) WithTimeout ¶
func (o *GetDeclareCaptureParams) WithTimeout(timeout time.Duration) *GetDeclareCaptureParams
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 ¶
func (o *GetDeclareCaptureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetDeclareCapturesOK) GetPayload() *GetDeclareCapturesOKBody
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
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 ¶
func (o *GetDeclareCapturesParams) WithContext(ctx context.Context) *GetDeclareCapturesParams
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 ¶
func (o *GetDeclareCapturesParams) WithTimeout(timeout time.Duration) *GetDeclareCapturesParams
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 ¶
func (o *GetDeclareCapturesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ReplaceDeclareCaptureAccepted) Error() string
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 (o *ReplaceDeclareCaptureBadRequest) Error() string
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 ¶
func (o *ReplaceDeclareCaptureDefault) Code() int
Code gets the status code for the replace declare capture default response
func (*ReplaceDeclareCaptureDefault) Error ¶
func (o *ReplaceDeclareCaptureDefault) Error() string
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 (o *ReplaceDeclareCaptureNotFound) Error() string
func (*ReplaceDeclareCaptureNotFound) GetPayload ¶
func (o *ReplaceDeclareCaptureNotFound) GetPayload() *models.Error
type ReplaceDeclareCaptureOK ¶
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 ¶
func (o *ReplaceDeclareCaptureParams) WithContext(ctx context.Context) *ReplaceDeclareCaptureParams
WithContext adds the context to the replace declare capture params
func (*ReplaceDeclareCaptureParams) WithData ¶
func (o *ReplaceDeclareCaptureParams) WithData(data *models.Capture) *ReplaceDeclareCaptureParams
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 ¶
func (o *ReplaceDeclareCaptureParams) WithFrontend(frontend string) *ReplaceDeclareCaptureParams
WithFrontend adds the frontend to the replace declare capture params
func (*ReplaceDeclareCaptureParams) WithHTTPClient ¶
func (o *ReplaceDeclareCaptureParams) WithHTTPClient(client *http.Client) *ReplaceDeclareCaptureParams
WithHTTPClient adds the HTTPClient to the replace declare capture params
func (*ReplaceDeclareCaptureParams) WithIndex ¶
func (o *ReplaceDeclareCaptureParams) WithIndex(index int64) *ReplaceDeclareCaptureParams
WithIndex adds the index to the replace declare capture params
func (*ReplaceDeclareCaptureParams) WithTimeout ¶
func (o *ReplaceDeclareCaptureParams) WithTimeout(timeout time.Duration) *ReplaceDeclareCaptureParams
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 ¶
func (o *ReplaceDeclareCaptureParams) WithVersion(version *int64) *ReplaceDeclareCaptureParams
WithVersion adds the version to the replace declare capture params
func (*ReplaceDeclareCaptureParams) WriteToRequest ¶
func (o *ReplaceDeclareCaptureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- create_declare_capture_parameters.go
- create_declare_capture_responses.go
- declare_capture_client.go
- delete_declare_capture_parameters.go
- delete_declare_capture_responses.go
- get_declare_capture_parameters.go
- get_declare_capture_responses.go
- get_declare_captures_parameters.go
- get_declare_captures_responses.go
- replace_declare_capture_parameters.go
- replace_declare_capture_responses.go