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 ClientOption
- type ClientService
- type CreateDeclareCaptureAccepted
- func (o *CreateDeclareCaptureAccepted) Code() int
- func (o *CreateDeclareCaptureAccepted) Error() string
- func (o *CreateDeclareCaptureAccepted) GetPayload() *models.Capture
- func (o *CreateDeclareCaptureAccepted) IsClientError() bool
- func (o *CreateDeclareCaptureAccepted) IsCode(code int) bool
- func (o *CreateDeclareCaptureAccepted) IsRedirect() bool
- func (o *CreateDeclareCaptureAccepted) IsServerError() bool
- func (o *CreateDeclareCaptureAccepted) IsSuccess() bool
- func (o *CreateDeclareCaptureAccepted) String() string
- type CreateDeclareCaptureBadRequest
- func (o *CreateDeclareCaptureBadRequest) Code() int
- func (o *CreateDeclareCaptureBadRequest) Error() string
- func (o *CreateDeclareCaptureBadRequest) GetPayload() *models.Error
- func (o *CreateDeclareCaptureBadRequest) IsClientError() bool
- func (o *CreateDeclareCaptureBadRequest) IsCode(code int) bool
- func (o *CreateDeclareCaptureBadRequest) IsRedirect() bool
- func (o *CreateDeclareCaptureBadRequest) IsServerError() bool
- func (o *CreateDeclareCaptureBadRequest) IsSuccess() bool
- func (o *CreateDeclareCaptureBadRequest) String() string
- type CreateDeclareCaptureConflict
- func (o *CreateDeclareCaptureConflict) Code() int
- func (o *CreateDeclareCaptureConflict) Error() string
- func (o *CreateDeclareCaptureConflict) GetPayload() *models.Error
- func (o *CreateDeclareCaptureConflict) IsClientError() bool
- func (o *CreateDeclareCaptureConflict) IsCode(code int) bool
- func (o *CreateDeclareCaptureConflict) IsRedirect() bool
- func (o *CreateDeclareCaptureConflict) IsServerError() bool
- func (o *CreateDeclareCaptureConflict) IsSuccess() bool
- func (o *CreateDeclareCaptureConflict) String() string
- type CreateDeclareCaptureCreated
- func (o *CreateDeclareCaptureCreated) Code() int
- func (o *CreateDeclareCaptureCreated) Error() string
- func (o *CreateDeclareCaptureCreated) GetPayload() *models.Capture
- func (o *CreateDeclareCaptureCreated) IsClientError() bool
- func (o *CreateDeclareCaptureCreated) IsCode(code int) bool
- func (o *CreateDeclareCaptureCreated) IsRedirect() bool
- func (o *CreateDeclareCaptureCreated) IsServerError() bool
- func (o *CreateDeclareCaptureCreated) IsSuccess() bool
- func (o *CreateDeclareCaptureCreated) String() string
- type CreateDeclareCaptureDefault
- func (o *CreateDeclareCaptureDefault) Code() int
- func (o *CreateDeclareCaptureDefault) Error() string
- func (o *CreateDeclareCaptureDefault) GetPayload() *models.Error
- func (o *CreateDeclareCaptureDefault) IsClientError() bool
- func (o *CreateDeclareCaptureDefault) IsCode(code int) bool
- func (o *CreateDeclareCaptureDefault) IsRedirect() bool
- func (o *CreateDeclareCaptureDefault) IsServerError() bool
- func (o *CreateDeclareCaptureDefault) IsSuccess() bool
- func (o *CreateDeclareCaptureDefault) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *DeleteDeclareCaptureAccepted) Code() int
- func (o *DeleteDeclareCaptureAccepted) Error() string
- func (o *DeleteDeclareCaptureAccepted) IsClientError() bool
- func (o *DeleteDeclareCaptureAccepted) IsCode(code int) bool
- func (o *DeleteDeclareCaptureAccepted) IsRedirect() bool
- func (o *DeleteDeclareCaptureAccepted) IsServerError() bool
- func (o *DeleteDeclareCaptureAccepted) IsSuccess() bool
- func (o *DeleteDeclareCaptureAccepted) String() string
- type DeleteDeclareCaptureDefault
- func (o *DeleteDeclareCaptureDefault) Code() int
- func (o *DeleteDeclareCaptureDefault) Error() string
- func (o *DeleteDeclareCaptureDefault) GetPayload() *models.Error
- func (o *DeleteDeclareCaptureDefault) IsClientError() bool
- func (o *DeleteDeclareCaptureDefault) IsCode(code int) bool
- func (o *DeleteDeclareCaptureDefault) IsRedirect() bool
- func (o *DeleteDeclareCaptureDefault) IsServerError() bool
- func (o *DeleteDeclareCaptureDefault) IsSuccess() bool
- func (o *DeleteDeclareCaptureDefault) String() string
- type DeleteDeclareCaptureNoContent
- func (o *DeleteDeclareCaptureNoContent) Code() int
- func (o *DeleteDeclareCaptureNoContent) Error() string
- func (o *DeleteDeclareCaptureNoContent) IsClientError() bool
- func (o *DeleteDeclareCaptureNoContent) IsCode(code int) bool
- func (o *DeleteDeclareCaptureNoContent) IsRedirect() bool
- func (o *DeleteDeclareCaptureNoContent) IsServerError() bool
- func (o *DeleteDeclareCaptureNoContent) IsSuccess() bool
- func (o *DeleteDeclareCaptureNoContent) String() string
- type DeleteDeclareCaptureNotFound
- func (o *DeleteDeclareCaptureNotFound) Code() int
- func (o *DeleteDeclareCaptureNotFound) Error() string
- func (o *DeleteDeclareCaptureNotFound) GetPayload() *models.Error
- func (o *DeleteDeclareCaptureNotFound) IsClientError() bool
- func (o *DeleteDeclareCaptureNotFound) IsCode(code int) bool
- func (o *DeleteDeclareCaptureNotFound) IsRedirect() bool
- func (o *DeleteDeclareCaptureNotFound) IsServerError() bool
- func (o *DeleteDeclareCaptureNotFound) IsSuccess() bool
- func (o *DeleteDeclareCaptureNotFound) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetDeclareCaptureDefault) Code() int
- func (o *GetDeclareCaptureDefault) Error() string
- func (o *GetDeclareCaptureDefault) GetPayload() *models.Error
- func (o *GetDeclareCaptureDefault) IsClientError() bool
- func (o *GetDeclareCaptureDefault) IsCode(code int) bool
- func (o *GetDeclareCaptureDefault) IsRedirect() bool
- func (o *GetDeclareCaptureDefault) IsServerError() bool
- func (o *GetDeclareCaptureDefault) IsSuccess() bool
- func (o *GetDeclareCaptureDefault) String() string
- type GetDeclareCaptureNotFound
- func (o *GetDeclareCaptureNotFound) Code() int
- func (o *GetDeclareCaptureNotFound) Error() string
- func (o *GetDeclareCaptureNotFound) GetPayload() *models.Error
- func (o *GetDeclareCaptureNotFound) IsClientError() bool
- func (o *GetDeclareCaptureNotFound) IsCode(code int) bool
- func (o *GetDeclareCaptureNotFound) IsRedirect() bool
- func (o *GetDeclareCaptureNotFound) IsServerError() bool
- func (o *GetDeclareCaptureNotFound) IsSuccess() bool
- func (o *GetDeclareCaptureNotFound) String() string
- type GetDeclareCaptureOK
- func (o *GetDeclareCaptureOK) Code() int
- func (o *GetDeclareCaptureOK) Error() string
- func (o *GetDeclareCaptureOK) GetPayload() *GetDeclareCaptureOKBody
- func (o *GetDeclareCaptureOK) IsClientError() bool
- func (o *GetDeclareCaptureOK) IsCode(code int) bool
- func (o *GetDeclareCaptureOK) IsRedirect() bool
- func (o *GetDeclareCaptureOK) IsServerError() bool
- func (o *GetDeclareCaptureOK) IsSuccess() bool
- func (o *GetDeclareCaptureOK) String() string
- type GetDeclareCaptureOKBody
- func (o *GetDeclareCaptureOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeclareCaptureOKBody) MarshalBinary() ([]byte, error)
- func (o *GetDeclareCaptureOKBody) UnmarshalBinary(b []byte) error
- func (o *GetDeclareCaptureOKBody) Validate(formats strfmt.Registry) error
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetDeclareCapturesDefault) Code() int
- func (o *GetDeclareCapturesDefault) Error() string
- func (o *GetDeclareCapturesDefault) GetPayload() *models.Error
- func (o *GetDeclareCapturesDefault) IsClientError() bool
- func (o *GetDeclareCapturesDefault) IsCode(code int) bool
- func (o *GetDeclareCapturesDefault) IsRedirect() bool
- func (o *GetDeclareCapturesDefault) IsServerError() bool
- func (o *GetDeclareCapturesDefault) IsSuccess() bool
- func (o *GetDeclareCapturesDefault) String() string
- type GetDeclareCapturesOK
- func (o *GetDeclareCapturesOK) Code() int
- func (o *GetDeclareCapturesOK) Error() string
- func (o *GetDeclareCapturesOK) GetPayload() *GetDeclareCapturesOKBody
- func (o *GetDeclareCapturesOK) IsClientError() bool
- func (o *GetDeclareCapturesOK) IsCode(code int) bool
- func (o *GetDeclareCapturesOK) IsRedirect() bool
- func (o *GetDeclareCapturesOK) IsServerError() bool
- func (o *GetDeclareCapturesOK) IsSuccess() bool
- func (o *GetDeclareCapturesOK) String() string
- type GetDeclareCapturesOKBody
- func (o *GetDeclareCapturesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeclareCapturesOKBody) MarshalBinary() ([]byte, error)
- func (o *GetDeclareCapturesOKBody) UnmarshalBinary(b []byte) error
- func (o *GetDeclareCapturesOKBody) Validate(formats strfmt.Registry) error
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *ReplaceDeclareCaptureAccepted) Code() int
- func (o *ReplaceDeclareCaptureAccepted) Error() string
- func (o *ReplaceDeclareCaptureAccepted) GetPayload() *models.Capture
- func (o *ReplaceDeclareCaptureAccepted) IsClientError() bool
- func (o *ReplaceDeclareCaptureAccepted) IsCode(code int) bool
- func (o *ReplaceDeclareCaptureAccepted) IsRedirect() bool
- func (o *ReplaceDeclareCaptureAccepted) IsServerError() bool
- func (o *ReplaceDeclareCaptureAccepted) IsSuccess() bool
- func (o *ReplaceDeclareCaptureAccepted) String() string
- type ReplaceDeclareCaptureBadRequest
- func (o *ReplaceDeclareCaptureBadRequest) Code() int
- func (o *ReplaceDeclareCaptureBadRequest) Error() string
- func (o *ReplaceDeclareCaptureBadRequest) GetPayload() *models.Error
- func (o *ReplaceDeclareCaptureBadRequest) IsClientError() bool
- func (o *ReplaceDeclareCaptureBadRequest) IsCode(code int) bool
- func (o *ReplaceDeclareCaptureBadRequest) IsRedirect() bool
- func (o *ReplaceDeclareCaptureBadRequest) IsServerError() bool
- func (o *ReplaceDeclareCaptureBadRequest) IsSuccess() bool
- func (o *ReplaceDeclareCaptureBadRequest) String() string
- type ReplaceDeclareCaptureDefault
- func (o *ReplaceDeclareCaptureDefault) Code() int
- func (o *ReplaceDeclareCaptureDefault) Error() string
- func (o *ReplaceDeclareCaptureDefault) GetPayload() *models.Error
- func (o *ReplaceDeclareCaptureDefault) IsClientError() bool
- func (o *ReplaceDeclareCaptureDefault) IsCode(code int) bool
- func (o *ReplaceDeclareCaptureDefault) IsRedirect() bool
- func (o *ReplaceDeclareCaptureDefault) IsServerError() bool
- func (o *ReplaceDeclareCaptureDefault) IsSuccess() bool
- func (o *ReplaceDeclareCaptureDefault) String() string
- type ReplaceDeclareCaptureNotFound
- func (o *ReplaceDeclareCaptureNotFound) Code() int
- func (o *ReplaceDeclareCaptureNotFound) Error() string
- func (o *ReplaceDeclareCaptureNotFound) GetPayload() *models.Error
- func (o *ReplaceDeclareCaptureNotFound) IsClientError() bool
- func (o *ReplaceDeclareCaptureNotFound) IsCode(code int) bool
- func (o *ReplaceDeclareCaptureNotFound) IsRedirect() bool
- func (o *ReplaceDeclareCaptureNotFound) IsServerError() bool
- func (o *ReplaceDeclareCaptureNotFound) IsSuccess() bool
- func (o *ReplaceDeclareCaptureNotFound) String() string
- type ReplaceDeclareCaptureOK
- func (o *ReplaceDeclareCaptureOK) Code() int
- func (o *ReplaceDeclareCaptureOK) Error() string
- func (o *ReplaceDeclareCaptureOK) GetPayload() *models.Capture
- func (o *ReplaceDeclareCaptureOK) IsClientError() bool
- func (o *ReplaceDeclareCaptureOK) IsCode(code int) bool
- func (o *ReplaceDeclareCaptureOK) IsRedirect() bool
- func (o *ReplaceDeclareCaptureOK) IsServerError() bool
- func (o *ReplaceDeclareCaptureOK) IsSuccess() bool
- func (o *ReplaceDeclareCaptureOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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 ClientOption ¶ added in v1.0.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateDeclareCapture(params *CreateDeclareCaptureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDeclareCaptureCreated, *CreateDeclareCaptureAccepted, error) DeleteDeclareCapture(params *DeleteDeclareCaptureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDeclareCaptureAccepted, *DeleteDeclareCaptureNoContent, error) GetDeclareCapture(params *GetDeclareCaptureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeclareCaptureOK, error) GetDeclareCaptures(params *GetDeclareCapturesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeclareCapturesOK, error) ReplaceDeclareCapture(params *ReplaceDeclareCaptureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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 describes a response with status code 202, 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) Code ¶ added in v1.1.5
func (o *CreateDeclareCaptureAccepted) Code() int
Code gets the status code for the create declare capture accepted response
func (*CreateDeclareCaptureAccepted) Error ¶
func (o *CreateDeclareCaptureAccepted) Error() string
func (*CreateDeclareCaptureAccepted) GetPayload ¶
func (o *CreateDeclareCaptureAccepted) GetPayload() *models.Capture
func (*CreateDeclareCaptureAccepted) IsClientError ¶ added in v1.1.0
func (o *CreateDeclareCaptureAccepted) IsClientError() bool
IsClientError returns true when this create declare capture accepted response has a 4xx status code
func (*CreateDeclareCaptureAccepted) IsCode ¶ added in v1.1.0
func (o *CreateDeclareCaptureAccepted) IsCode(code int) bool
IsCode returns true when this create declare capture accepted response a status code equal to that given
func (*CreateDeclareCaptureAccepted) IsRedirect ¶ added in v1.1.0
func (o *CreateDeclareCaptureAccepted) IsRedirect() bool
IsRedirect returns true when this create declare capture accepted response has a 3xx status code
func (*CreateDeclareCaptureAccepted) IsServerError ¶ added in v1.1.0
func (o *CreateDeclareCaptureAccepted) IsServerError() bool
IsServerError returns true when this create declare capture accepted response has a 5xx status code
func (*CreateDeclareCaptureAccepted) IsSuccess ¶ added in v1.1.0
func (o *CreateDeclareCaptureAccepted) IsSuccess() bool
IsSuccess returns true when this create declare capture accepted response has a 2xx status code
func (*CreateDeclareCaptureAccepted) String ¶ added in v1.1.0
func (o *CreateDeclareCaptureAccepted) String() string
type CreateDeclareCaptureBadRequest ¶
type CreateDeclareCaptureBadRequest struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateDeclareCaptureBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateDeclareCaptureBadRequest ¶
func NewCreateDeclareCaptureBadRequest() *CreateDeclareCaptureBadRequest
NewCreateDeclareCaptureBadRequest creates a CreateDeclareCaptureBadRequest with default headers values
func (*CreateDeclareCaptureBadRequest) Code ¶ added in v1.1.5
func (o *CreateDeclareCaptureBadRequest) Code() int
Code gets the status code for the create declare capture bad request response
func (*CreateDeclareCaptureBadRequest) Error ¶
func (o *CreateDeclareCaptureBadRequest) Error() string
func (*CreateDeclareCaptureBadRequest) GetPayload ¶
func (o *CreateDeclareCaptureBadRequest) GetPayload() *models.Error
func (*CreateDeclareCaptureBadRequest) IsClientError ¶ added in v1.1.0
func (o *CreateDeclareCaptureBadRequest) IsClientError() bool
IsClientError returns true when this create declare capture bad request response has a 4xx status code
func (*CreateDeclareCaptureBadRequest) IsCode ¶ added in v1.1.0
func (o *CreateDeclareCaptureBadRequest) IsCode(code int) bool
IsCode returns true when this create declare capture bad request response a status code equal to that given
func (*CreateDeclareCaptureBadRequest) IsRedirect ¶ added in v1.1.0
func (o *CreateDeclareCaptureBadRequest) IsRedirect() bool
IsRedirect returns true when this create declare capture bad request response has a 3xx status code
func (*CreateDeclareCaptureBadRequest) IsServerError ¶ added in v1.1.0
func (o *CreateDeclareCaptureBadRequest) IsServerError() bool
IsServerError returns true when this create declare capture bad request response has a 5xx status code
func (*CreateDeclareCaptureBadRequest) IsSuccess ¶ added in v1.1.0
func (o *CreateDeclareCaptureBadRequest) IsSuccess() bool
IsSuccess returns true when this create declare capture bad request response has a 2xx status code
func (*CreateDeclareCaptureBadRequest) String ¶ added in v1.1.0
func (o *CreateDeclareCaptureBadRequest) String() string
type CreateDeclareCaptureConflict ¶
type CreateDeclareCaptureConflict struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateDeclareCaptureConflict describes a response with status code 409, with default header values.
The specified resource already exists
func NewCreateDeclareCaptureConflict ¶
func NewCreateDeclareCaptureConflict() *CreateDeclareCaptureConflict
NewCreateDeclareCaptureConflict creates a CreateDeclareCaptureConflict with default headers values
func (*CreateDeclareCaptureConflict) Code ¶ added in v1.1.5
func (o *CreateDeclareCaptureConflict) Code() int
Code gets the status code for the create declare capture conflict response
func (*CreateDeclareCaptureConflict) Error ¶
func (o *CreateDeclareCaptureConflict) Error() string
func (*CreateDeclareCaptureConflict) GetPayload ¶
func (o *CreateDeclareCaptureConflict) GetPayload() *models.Error
func (*CreateDeclareCaptureConflict) IsClientError ¶ added in v1.1.0
func (o *CreateDeclareCaptureConflict) IsClientError() bool
IsClientError returns true when this create declare capture conflict response has a 4xx status code
func (*CreateDeclareCaptureConflict) IsCode ¶ added in v1.1.0
func (o *CreateDeclareCaptureConflict) IsCode(code int) bool
IsCode returns true when this create declare capture conflict response a status code equal to that given
func (*CreateDeclareCaptureConflict) IsRedirect ¶ added in v1.1.0
func (o *CreateDeclareCaptureConflict) IsRedirect() bool
IsRedirect returns true when this create declare capture conflict response has a 3xx status code
func (*CreateDeclareCaptureConflict) IsServerError ¶ added in v1.1.0
func (o *CreateDeclareCaptureConflict) IsServerError() bool
IsServerError returns true when this create declare capture conflict response has a 5xx status code
func (*CreateDeclareCaptureConflict) IsSuccess ¶ added in v1.1.0
func (o *CreateDeclareCaptureConflict) IsSuccess() bool
IsSuccess returns true when this create declare capture conflict response has a 2xx status code
func (*CreateDeclareCaptureConflict) String ¶ added in v1.1.0
func (o *CreateDeclareCaptureConflict) String() string
type CreateDeclareCaptureCreated ¶
CreateDeclareCaptureCreated describes a response with status code 201, with default header values.
Declare capture created
func NewCreateDeclareCaptureCreated ¶
func NewCreateDeclareCaptureCreated() *CreateDeclareCaptureCreated
NewCreateDeclareCaptureCreated creates a CreateDeclareCaptureCreated with default headers values
func (*CreateDeclareCaptureCreated) Code ¶ added in v1.1.5
func (o *CreateDeclareCaptureCreated) Code() int
Code gets the status code for the create declare capture created response
func (*CreateDeclareCaptureCreated) Error ¶
func (o *CreateDeclareCaptureCreated) Error() string
func (*CreateDeclareCaptureCreated) GetPayload ¶
func (o *CreateDeclareCaptureCreated) GetPayload() *models.Capture
func (*CreateDeclareCaptureCreated) IsClientError ¶ added in v1.1.0
func (o *CreateDeclareCaptureCreated) IsClientError() bool
IsClientError returns true when this create declare capture created response has a 4xx status code
func (*CreateDeclareCaptureCreated) IsCode ¶ added in v1.1.0
func (o *CreateDeclareCaptureCreated) IsCode(code int) bool
IsCode returns true when this create declare capture created response a status code equal to that given
func (*CreateDeclareCaptureCreated) IsRedirect ¶ added in v1.1.0
func (o *CreateDeclareCaptureCreated) IsRedirect() bool
IsRedirect returns true when this create declare capture created response has a 3xx status code
func (*CreateDeclareCaptureCreated) IsServerError ¶ added in v1.1.0
func (o *CreateDeclareCaptureCreated) IsServerError() bool
IsServerError returns true when this create declare capture created response has a 5xx status code
func (*CreateDeclareCaptureCreated) IsSuccess ¶ added in v1.1.0
func (o *CreateDeclareCaptureCreated) IsSuccess() bool
IsSuccess returns true when this create declare capture created response has a 2xx status code
func (*CreateDeclareCaptureCreated) String ¶ added in v1.1.0
func (o *CreateDeclareCaptureCreated) String() string
type CreateDeclareCaptureDefault ¶
type CreateDeclareCaptureDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
CreateDeclareCaptureDefault describes a response with status code -1, 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
func (*CreateDeclareCaptureDefault) IsClientError ¶ added in v1.1.0
func (o *CreateDeclareCaptureDefault) IsClientError() bool
IsClientError returns true when this create declare capture default response has a 4xx status code
func (*CreateDeclareCaptureDefault) IsCode ¶ added in v1.1.0
func (o *CreateDeclareCaptureDefault) IsCode(code int) bool
IsCode returns true when this create declare capture default response a status code equal to that given
func (*CreateDeclareCaptureDefault) IsRedirect ¶ added in v1.1.0
func (o *CreateDeclareCaptureDefault) IsRedirect() bool
IsRedirect returns true when this create declare capture default response has a 3xx status code
func (*CreateDeclareCaptureDefault) IsServerError ¶ added in v1.1.0
func (o *CreateDeclareCaptureDefault) IsServerError() bool
IsServerError returns true when this create declare capture default response has a 5xx status code
func (*CreateDeclareCaptureDefault) IsSuccess ¶ added in v1.1.0
func (o *CreateDeclareCaptureDefault) IsSuccess() bool
IsSuccess returns true when this create declare capture default response has a 2xx status code
func (*CreateDeclareCaptureDefault) String ¶ added in v1.1.0
func (o *CreateDeclareCaptureDefault) String() string
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateDeclareCaptureParamsWithContext ¶
func NewCreateDeclareCaptureParamsWithContext(ctx context.Context) *CreateDeclareCaptureParams
NewCreateDeclareCaptureParamsWithContext creates a new CreateDeclareCaptureParams object with 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 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 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) SetDefaults ¶ added in v1.0.0
func (o *CreateDeclareCaptureParams) SetDefaults()
SetDefaults hydrates default values in the create declare capture params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.0.0
func (o *CreateDeclareCaptureParams) WithDefaults() *CreateDeclareCaptureParams
WithDefaults hydrates default values in the create declare capture params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 202, 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) Code ¶ added in v1.1.5
func (o *DeleteDeclareCaptureAccepted) Code() int
Code gets the status code for the delete declare capture accepted response
func (*DeleteDeclareCaptureAccepted) Error ¶
func (o *DeleteDeclareCaptureAccepted) Error() string
func (*DeleteDeclareCaptureAccepted) IsClientError ¶ added in v1.1.0
func (o *DeleteDeclareCaptureAccepted) IsClientError() bool
IsClientError returns true when this delete declare capture accepted response has a 4xx status code
func (*DeleteDeclareCaptureAccepted) IsCode ¶ added in v1.1.0
func (o *DeleteDeclareCaptureAccepted) IsCode(code int) bool
IsCode returns true when this delete declare capture accepted response a status code equal to that given
func (*DeleteDeclareCaptureAccepted) IsRedirect ¶ added in v1.1.0
func (o *DeleteDeclareCaptureAccepted) IsRedirect() bool
IsRedirect returns true when this delete declare capture accepted response has a 3xx status code
func (*DeleteDeclareCaptureAccepted) IsServerError ¶ added in v1.1.0
func (o *DeleteDeclareCaptureAccepted) IsServerError() bool
IsServerError returns true when this delete declare capture accepted response has a 5xx status code
func (*DeleteDeclareCaptureAccepted) IsSuccess ¶ added in v1.1.0
func (o *DeleteDeclareCaptureAccepted) IsSuccess() bool
IsSuccess returns true when this delete declare capture accepted response has a 2xx status code
func (*DeleteDeclareCaptureAccepted) String ¶ added in v1.1.0
func (o *DeleteDeclareCaptureAccepted) String() string
type DeleteDeclareCaptureDefault ¶
type DeleteDeclareCaptureDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
DeleteDeclareCaptureDefault describes a response with status code -1, 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
func (*DeleteDeclareCaptureDefault) IsClientError ¶ added in v1.1.0
func (o *DeleteDeclareCaptureDefault) IsClientError() bool
IsClientError returns true when this delete declare capture default response has a 4xx status code
func (*DeleteDeclareCaptureDefault) IsCode ¶ added in v1.1.0
func (o *DeleteDeclareCaptureDefault) IsCode(code int) bool
IsCode returns true when this delete declare capture default response a status code equal to that given
func (*DeleteDeclareCaptureDefault) IsRedirect ¶ added in v1.1.0
func (o *DeleteDeclareCaptureDefault) IsRedirect() bool
IsRedirect returns true when this delete declare capture default response has a 3xx status code
func (*DeleteDeclareCaptureDefault) IsServerError ¶ added in v1.1.0
func (o *DeleteDeclareCaptureDefault) IsServerError() bool
IsServerError returns true when this delete declare capture default response has a 5xx status code
func (*DeleteDeclareCaptureDefault) IsSuccess ¶ added in v1.1.0
func (o *DeleteDeclareCaptureDefault) IsSuccess() bool
IsSuccess returns true when this delete declare capture default response has a 2xx status code
func (*DeleteDeclareCaptureDefault) String ¶ added in v1.1.0
func (o *DeleteDeclareCaptureDefault) String() string
type DeleteDeclareCaptureNoContent ¶
type DeleteDeclareCaptureNoContent struct { }
DeleteDeclareCaptureNoContent describes a response with status code 204, with default header values.
Declare Capture deleted
func NewDeleteDeclareCaptureNoContent ¶
func NewDeleteDeclareCaptureNoContent() *DeleteDeclareCaptureNoContent
NewDeleteDeclareCaptureNoContent creates a DeleteDeclareCaptureNoContent with default headers values
func (*DeleteDeclareCaptureNoContent) Code ¶ added in v1.1.5
func (o *DeleteDeclareCaptureNoContent) Code() int
Code gets the status code for the delete declare capture no content response
func (*DeleteDeclareCaptureNoContent) Error ¶
func (o *DeleteDeclareCaptureNoContent) Error() string
func (*DeleteDeclareCaptureNoContent) IsClientError ¶ added in v1.1.0
func (o *DeleteDeclareCaptureNoContent) IsClientError() bool
IsClientError returns true when this delete declare capture no content response has a 4xx status code
func (*DeleteDeclareCaptureNoContent) IsCode ¶ added in v1.1.0
func (o *DeleteDeclareCaptureNoContent) IsCode(code int) bool
IsCode returns true when this delete declare capture no content response a status code equal to that given
func (*DeleteDeclareCaptureNoContent) IsRedirect ¶ added in v1.1.0
func (o *DeleteDeclareCaptureNoContent) IsRedirect() bool
IsRedirect returns true when this delete declare capture no content response has a 3xx status code
func (*DeleteDeclareCaptureNoContent) IsServerError ¶ added in v1.1.0
func (o *DeleteDeclareCaptureNoContent) IsServerError() bool
IsServerError returns true when this delete declare capture no content response has a 5xx status code
func (*DeleteDeclareCaptureNoContent) IsSuccess ¶ added in v1.1.0
func (o *DeleteDeclareCaptureNoContent) IsSuccess() bool
IsSuccess returns true when this delete declare capture no content response has a 2xx status code
func (*DeleteDeclareCaptureNoContent) String ¶ added in v1.1.0
func (o *DeleteDeclareCaptureNoContent) String() string
type DeleteDeclareCaptureNotFound ¶
type DeleteDeclareCaptureNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
DeleteDeclareCaptureNotFound describes a response with status code 404, 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) Code ¶ added in v1.1.5
func (o *DeleteDeclareCaptureNotFound) Code() int
Code gets the status code for the delete declare capture not found response
func (*DeleteDeclareCaptureNotFound) Error ¶
func (o *DeleteDeclareCaptureNotFound) Error() string
func (*DeleteDeclareCaptureNotFound) GetPayload ¶
func (o *DeleteDeclareCaptureNotFound) GetPayload() *models.Error
func (*DeleteDeclareCaptureNotFound) IsClientError ¶ added in v1.1.0
func (o *DeleteDeclareCaptureNotFound) IsClientError() bool
IsClientError returns true when this delete declare capture not found response has a 4xx status code
func (*DeleteDeclareCaptureNotFound) IsCode ¶ added in v1.1.0
func (o *DeleteDeclareCaptureNotFound) IsCode(code int) bool
IsCode returns true when this delete declare capture not found response a status code equal to that given
func (*DeleteDeclareCaptureNotFound) IsRedirect ¶ added in v1.1.0
func (o *DeleteDeclareCaptureNotFound) IsRedirect() bool
IsRedirect returns true when this delete declare capture not found response has a 3xx status code
func (*DeleteDeclareCaptureNotFound) IsServerError ¶ added in v1.1.0
func (o *DeleteDeclareCaptureNotFound) IsServerError() bool
IsServerError returns true when this delete declare capture not found response has a 5xx status code
func (*DeleteDeclareCaptureNotFound) IsSuccess ¶ added in v1.1.0
func (o *DeleteDeclareCaptureNotFound) IsSuccess() bool
IsSuccess returns true when this delete declare capture not found response has a 2xx status code
func (*DeleteDeclareCaptureNotFound) String ¶ added in v1.1.0
func (o *DeleteDeclareCaptureNotFound) String() string
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteDeclareCaptureParamsWithContext ¶
func NewDeleteDeclareCaptureParamsWithContext(ctx context.Context) *DeleteDeclareCaptureParams
NewDeleteDeclareCaptureParamsWithContext creates a new DeleteDeclareCaptureParams object with 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 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 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) SetDefaults ¶ added in v1.0.0
func (o *DeleteDeclareCaptureParams) SetDefaults()
SetDefaults hydrates default values in the delete declare capture params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.0.0
func (o *DeleteDeclareCaptureParams) WithDefaults() *DeleteDeclareCaptureParams
WithDefaults hydrates default values in the delete declare capture params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code -1, 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
func (*GetDeclareCaptureDefault) IsClientError ¶ added in v1.1.0
func (o *GetDeclareCaptureDefault) IsClientError() bool
IsClientError returns true when this get declare capture default response has a 4xx status code
func (*GetDeclareCaptureDefault) IsCode ¶ added in v1.1.0
func (o *GetDeclareCaptureDefault) IsCode(code int) bool
IsCode returns true when this get declare capture default response a status code equal to that given
func (*GetDeclareCaptureDefault) IsRedirect ¶ added in v1.1.0
func (o *GetDeclareCaptureDefault) IsRedirect() bool
IsRedirect returns true when this get declare capture default response has a 3xx status code
func (*GetDeclareCaptureDefault) IsServerError ¶ added in v1.1.0
func (o *GetDeclareCaptureDefault) IsServerError() bool
IsServerError returns true when this get declare capture default response has a 5xx status code
func (*GetDeclareCaptureDefault) IsSuccess ¶ added in v1.1.0
func (o *GetDeclareCaptureDefault) IsSuccess() bool
IsSuccess returns true when this get declare capture default response has a 2xx status code
func (*GetDeclareCaptureDefault) String ¶ added in v1.1.0
func (o *GetDeclareCaptureDefault) String() string
type GetDeclareCaptureNotFound ¶
type GetDeclareCaptureNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
GetDeclareCaptureNotFound describes a response with status code 404, with default header values.
The specified resource already exists
func NewGetDeclareCaptureNotFound ¶
func NewGetDeclareCaptureNotFound() *GetDeclareCaptureNotFound
NewGetDeclareCaptureNotFound creates a GetDeclareCaptureNotFound with default headers values
func (*GetDeclareCaptureNotFound) Code ¶ added in v1.1.5
func (o *GetDeclareCaptureNotFound) Code() int
Code gets the status code for the get declare capture not found response
func (*GetDeclareCaptureNotFound) Error ¶
func (o *GetDeclareCaptureNotFound) Error() string
func (*GetDeclareCaptureNotFound) GetPayload ¶
func (o *GetDeclareCaptureNotFound) GetPayload() *models.Error
func (*GetDeclareCaptureNotFound) IsClientError ¶ added in v1.1.0
func (o *GetDeclareCaptureNotFound) IsClientError() bool
IsClientError returns true when this get declare capture not found response has a 4xx status code
func (*GetDeclareCaptureNotFound) IsCode ¶ added in v1.1.0
func (o *GetDeclareCaptureNotFound) IsCode(code int) bool
IsCode returns true when this get declare capture not found response a status code equal to that given
func (*GetDeclareCaptureNotFound) IsRedirect ¶ added in v1.1.0
func (o *GetDeclareCaptureNotFound) IsRedirect() bool
IsRedirect returns true when this get declare capture not found response has a 3xx status code
func (*GetDeclareCaptureNotFound) IsServerError ¶ added in v1.1.0
func (o *GetDeclareCaptureNotFound) IsServerError() bool
IsServerError returns true when this get declare capture not found response has a 5xx status code
func (*GetDeclareCaptureNotFound) IsSuccess ¶ added in v1.1.0
func (o *GetDeclareCaptureNotFound) IsSuccess() bool
IsSuccess returns true when this get declare capture not found response has a 2xx status code
func (*GetDeclareCaptureNotFound) String ¶ added in v1.1.0
func (o *GetDeclareCaptureNotFound) String() string
type GetDeclareCaptureOK ¶
type GetDeclareCaptureOK struct { /* Configuration file version */ ConfigurationVersion string Payload *GetDeclareCaptureOKBody }
GetDeclareCaptureOK describes a response with status code 200, with default header values.
Successful operation
func NewGetDeclareCaptureOK ¶
func NewGetDeclareCaptureOK() *GetDeclareCaptureOK
NewGetDeclareCaptureOK creates a GetDeclareCaptureOK with default headers values
func (*GetDeclareCaptureOK) Code ¶ added in v1.1.5
func (o *GetDeclareCaptureOK) Code() int
Code gets the status code for the get declare capture o k response
func (*GetDeclareCaptureOK) Error ¶
func (o *GetDeclareCaptureOK) Error() string
func (*GetDeclareCaptureOK) GetPayload ¶
func (o *GetDeclareCaptureOK) GetPayload() *GetDeclareCaptureOKBody
func (*GetDeclareCaptureOK) IsClientError ¶ added in v1.1.0
func (o *GetDeclareCaptureOK) IsClientError() bool
IsClientError returns true when this get declare capture o k response has a 4xx status code
func (*GetDeclareCaptureOK) IsCode ¶ added in v1.1.0
func (o *GetDeclareCaptureOK) IsCode(code int) bool
IsCode returns true when this get declare capture o k response a status code equal to that given
func (*GetDeclareCaptureOK) IsRedirect ¶ added in v1.1.0
func (o *GetDeclareCaptureOK) IsRedirect() bool
IsRedirect returns true when this get declare capture o k response has a 3xx status code
func (*GetDeclareCaptureOK) IsServerError ¶ added in v1.1.0
func (o *GetDeclareCaptureOK) IsServerError() bool
IsServerError returns true when this get declare capture o k response has a 5xx status code
func (*GetDeclareCaptureOK) IsSuccess ¶ added in v1.1.0
func (o *GetDeclareCaptureOK) IsSuccess() bool
IsSuccess returns true when this get declare capture o k response has a 2xx status code
func (*GetDeclareCaptureOK) String ¶ added in v1.1.0
func (o *GetDeclareCaptureOK) String() string
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) ContextValidate ¶ added in v1.0.0
func (o *GetDeclareCaptureOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get declare capture o k body based on the context it is used
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetDeclareCaptureParamsWithContext ¶
func NewGetDeclareCaptureParamsWithContext(ctx context.Context) *GetDeclareCaptureParams
NewGetDeclareCaptureParamsWithContext creates a new GetDeclareCaptureParams object with 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 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 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) SetDefaults ¶ added in v1.0.0
func (o *GetDeclareCaptureParams) SetDefaults()
SetDefaults hydrates default values in the get declare capture params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.0.0
func (o *GetDeclareCaptureParams) WithDefaults() *GetDeclareCaptureParams
WithDefaults hydrates default values in the get declare capture params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code -1, 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
func (*GetDeclareCapturesDefault) IsClientError ¶ added in v1.1.0
func (o *GetDeclareCapturesDefault) IsClientError() bool
IsClientError returns true when this get declare captures default response has a 4xx status code
func (*GetDeclareCapturesDefault) IsCode ¶ added in v1.1.0
func (o *GetDeclareCapturesDefault) IsCode(code int) bool
IsCode returns true when this get declare captures default response a status code equal to that given
func (*GetDeclareCapturesDefault) IsRedirect ¶ added in v1.1.0
func (o *GetDeclareCapturesDefault) IsRedirect() bool
IsRedirect returns true when this get declare captures default response has a 3xx status code
func (*GetDeclareCapturesDefault) IsServerError ¶ added in v1.1.0
func (o *GetDeclareCapturesDefault) IsServerError() bool
IsServerError returns true when this get declare captures default response has a 5xx status code
func (*GetDeclareCapturesDefault) IsSuccess ¶ added in v1.1.0
func (o *GetDeclareCapturesDefault) IsSuccess() bool
IsSuccess returns true when this get declare captures default response has a 2xx status code
func (*GetDeclareCapturesDefault) String ¶ added in v1.1.0
func (o *GetDeclareCapturesDefault) String() string
type GetDeclareCapturesOK ¶
type GetDeclareCapturesOK struct { /* Configuration file version */ ConfigurationVersion string Payload *GetDeclareCapturesOKBody }
GetDeclareCapturesOK describes a response with status code 200, with default header values.
Successful operation
func NewGetDeclareCapturesOK ¶
func NewGetDeclareCapturesOK() *GetDeclareCapturesOK
NewGetDeclareCapturesOK creates a GetDeclareCapturesOK with default headers values
func (*GetDeclareCapturesOK) Code ¶ added in v1.1.5
func (o *GetDeclareCapturesOK) Code() int
Code gets the status code for the get declare captures o k response
func (*GetDeclareCapturesOK) Error ¶
func (o *GetDeclareCapturesOK) Error() string
func (*GetDeclareCapturesOK) GetPayload ¶
func (o *GetDeclareCapturesOK) GetPayload() *GetDeclareCapturesOKBody
func (*GetDeclareCapturesOK) IsClientError ¶ added in v1.1.0
func (o *GetDeclareCapturesOK) IsClientError() bool
IsClientError returns true when this get declare captures o k response has a 4xx status code
func (*GetDeclareCapturesOK) IsCode ¶ added in v1.1.0
func (o *GetDeclareCapturesOK) IsCode(code int) bool
IsCode returns true when this get declare captures o k response a status code equal to that given
func (*GetDeclareCapturesOK) IsRedirect ¶ added in v1.1.0
func (o *GetDeclareCapturesOK) IsRedirect() bool
IsRedirect returns true when this get declare captures o k response has a 3xx status code
func (*GetDeclareCapturesOK) IsServerError ¶ added in v1.1.0
func (o *GetDeclareCapturesOK) IsServerError() bool
IsServerError returns true when this get declare captures o k response has a 5xx status code
func (*GetDeclareCapturesOK) IsSuccess ¶ added in v1.1.0
func (o *GetDeclareCapturesOK) IsSuccess() bool
IsSuccess returns true when this get declare captures o k response has a 2xx status code
func (*GetDeclareCapturesOK) String ¶ added in v1.1.0
func (o *GetDeclareCapturesOK) String() string
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) ContextValidate ¶ added in v1.0.0
func (o *GetDeclareCapturesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get declare captures o k body based on the context it is used
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetDeclareCapturesParamsWithContext ¶
func NewGetDeclareCapturesParamsWithContext(ctx context.Context) *GetDeclareCapturesParams
NewGetDeclareCapturesParamsWithContext creates a new GetDeclareCapturesParams object with 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 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 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) SetDefaults ¶ added in v1.0.0
func (o *GetDeclareCapturesParams) SetDefaults()
SetDefaults hydrates default values in the get declare captures params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.0.0
func (o *GetDeclareCapturesParams) WithDefaults() *GetDeclareCapturesParams
WithDefaults hydrates default values in the get declare captures params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 202, 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) Code ¶ added in v1.1.5
func (o *ReplaceDeclareCaptureAccepted) Code() int
Code gets the status code for the replace declare capture accepted response
func (*ReplaceDeclareCaptureAccepted) Error ¶
func (o *ReplaceDeclareCaptureAccepted) Error() string
func (*ReplaceDeclareCaptureAccepted) GetPayload ¶
func (o *ReplaceDeclareCaptureAccepted) GetPayload() *models.Capture
func (*ReplaceDeclareCaptureAccepted) IsClientError ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureAccepted) IsClientError() bool
IsClientError returns true when this replace declare capture accepted response has a 4xx status code
func (*ReplaceDeclareCaptureAccepted) IsCode ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureAccepted) IsCode(code int) bool
IsCode returns true when this replace declare capture accepted response a status code equal to that given
func (*ReplaceDeclareCaptureAccepted) IsRedirect ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureAccepted) IsRedirect() bool
IsRedirect returns true when this replace declare capture accepted response has a 3xx status code
func (*ReplaceDeclareCaptureAccepted) IsServerError ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureAccepted) IsServerError() bool
IsServerError returns true when this replace declare capture accepted response has a 5xx status code
func (*ReplaceDeclareCaptureAccepted) IsSuccess ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureAccepted) IsSuccess() bool
IsSuccess returns true when this replace declare capture accepted response has a 2xx status code
func (*ReplaceDeclareCaptureAccepted) String ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureAccepted) String() string
type ReplaceDeclareCaptureBadRequest ¶
type ReplaceDeclareCaptureBadRequest struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceDeclareCaptureBadRequest describes a response with status code 400, with default header values.
Bad request
func NewReplaceDeclareCaptureBadRequest ¶
func NewReplaceDeclareCaptureBadRequest() *ReplaceDeclareCaptureBadRequest
NewReplaceDeclareCaptureBadRequest creates a ReplaceDeclareCaptureBadRequest with default headers values
func (*ReplaceDeclareCaptureBadRequest) Code ¶ added in v1.1.5
func (o *ReplaceDeclareCaptureBadRequest) Code() int
Code gets the status code for the replace declare capture bad request response
func (*ReplaceDeclareCaptureBadRequest) Error ¶
func (o *ReplaceDeclareCaptureBadRequest) Error() string
func (*ReplaceDeclareCaptureBadRequest) GetPayload ¶
func (o *ReplaceDeclareCaptureBadRequest) GetPayload() *models.Error
func (*ReplaceDeclareCaptureBadRequest) IsClientError ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureBadRequest) IsClientError() bool
IsClientError returns true when this replace declare capture bad request response has a 4xx status code
func (*ReplaceDeclareCaptureBadRequest) IsCode ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureBadRequest) IsCode(code int) bool
IsCode returns true when this replace declare capture bad request response a status code equal to that given
func (*ReplaceDeclareCaptureBadRequest) IsRedirect ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureBadRequest) IsRedirect() bool
IsRedirect returns true when this replace declare capture bad request response has a 3xx status code
func (*ReplaceDeclareCaptureBadRequest) IsServerError ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureBadRequest) IsServerError() bool
IsServerError returns true when this replace declare capture bad request response has a 5xx status code
func (*ReplaceDeclareCaptureBadRequest) IsSuccess ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureBadRequest) IsSuccess() bool
IsSuccess returns true when this replace declare capture bad request response has a 2xx status code
func (*ReplaceDeclareCaptureBadRequest) String ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureBadRequest) String() string
type ReplaceDeclareCaptureDefault ¶
type ReplaceDeclareCaptureDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
ReplaceDeclareCaptureDefault describes a response with status code -1, 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
func (*ReplaceDeclareCaptureDefault) IsClientError ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureDefault) IsClientError() bool
IsClientError returns true when this replace declare capture default response has a 4xx status code
func (*ReplaceDeclareCaptureDefault) IsCode ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureDefault) IsCode(code int) bool
IsCode returns true when this replace declare capture default response a status code equal to that given
func (*ReplaceDeclareCaptureDefault) IsRedirect ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureDefault) IsRedirect() bool
IsRedirect returns true when this replace declare capture default response has a 3xx status code
func (*ReplaceDeclareCaptureDefault) IsServerError ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureDefault) IsServerError() bool
IsServerError returns true when this replace declare capture default response has a 5xx status code
func (*ReplaceDeclareCaptureDefault) IsSuccess ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureDefault) IsSuccess() bool
IsSuccess returns true when this replace declare capture default response has a 2xx status code
func (*ReplaceDeclareCaptureDefault) String ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureDefault) String() string
type ReplaceDeclareCaptureNotFound ¶
type ReplaceDeclareCaptureNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceDeclareCaptureNotFound describes a response with status code 404, 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) Code ¶ added in v1.1.5
func (o *ReplaceDeclareCaptureNotFound) Code() int
Code gets the status code for the replace declare capture not found response
func (*ReplaceDeclareCaptureNotFound) Error ¶
func (o *ReplaceDeclareCaptureNotFound) Error() string
func (*ReplaceDeclareCaptureNotFound) GetPayload ¶
func (o *ReplaceDeclareCaptureNotFound) GetPayload() *models.Error
func (*ReplaceDeclareCaptureNotFound) IsClientError ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureNotFound) IsClientError() bool
IsClientError returns true when this replace declare capture not found response has a 4xx status code
func (*ReplaceDeclareCaptureNotFound) IsCode ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureNotFound) IsCode(code int) bool
IsCode returns true when this replace declare capture not found response a status code equal to that given
func (*ReplaceDeclareCaptureNotFound) IsRedirect ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureNotFound) IsRedirect() bool
IsRedirect returns true when this replace declare capture not found response has a 3xx status code
func (*ReplaceDeclareCaptureNotFound) IsServerError ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureNotFound) IsServerError() bool
IsServerError returns true when this replace declare capture not found response has a 5xx status code
func (*ReplaceDeclareCaptureNotFound) IsSuccess ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureNotFound) IsSuccess() bool
IsSuccess returns true when this replace declare capture not found response has a 2xx status code
func (*ReplaceDeclareCaptureNotFound) String ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureNotFound) String() string
type ReplaceDeclareCaptureOK ¶
ReplaceDeclareCaptureOK describes a response with status code 200, with default header values.
Declare Capture replaced
func NewReplaceDeclareCaptureOK ¶
func NewReplaceDeclareCaptureOK() *ReplaceDeclareCaptureOK
NewReplaceDeclareCaptureOK creates a ReplaceDeclareCaptureOK with default headers values
func (*ReplaceDeclareCaptureOK) Code ¶ added in v1.1.5
func (o *ReplaceDeclareCaptureOK) Code() int
Code gets the status code for the replace declare capture o k response
func (*ReplaceDeclareCaptureOK) Error ¶
func (o *ReplaceDeclareCaptureOK) Error() string
func (*ReplaceDeclareCaptureOK) GetPayload ¶
func (o *ReplaceDeclareCaptureOK) GetPayload() *models.Capture
func (*ReplaceDeclareCaptureOK) IsClientError ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureOK) IsClientError() bool
IsClientError returns true when this replace declare capture o k response has a 4xx status code
func (*ReplaceDeclareCaptureOK) IsCode ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureOK) IsCode(code int) bool
IsCode returns true when this replace declare capture o k response a status code equal to that given
func (*ReplaceDeclareCaptureOK) IsRedirect ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureOK) IsRedirect() bool
IsRedirect returns true when this replace declare capture o k response has a 3xx status code
func (*ReplaceDeclareCaptureOK) IsServerError ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureOK) IsServerError() bool
IsServerError returns true when this replace declare capture o k response has a 5xx status code
func (*ReplaceDeclareCaptureOK) IsSuccess ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureOK) IsSuccess() bool
IsSuccess returns true when this replace declare capture o k response has a 2xx status code
func (*ReplaceDeclareCaptureOK) String ¶ added in v1.1.0
func (o *ReplaceDeclareCaptureOK) String() string
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewReplaceDeclareCaptureParamsWithContext ¶
func NewReplaceDeclareCaptureParamsWithContext(ctx context.Context) *ReplaceDeclareCaptureParams
NewReplaceDeclareCaptureParamsWithContext creates a new ReplaceDeclareCaptureParams object with 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 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 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) SetDefaults ¶ added in v1.0.0
func (o *ReplaceDeclareCaptureParams) SetDefaults()
SetDefaults hydrates default values in the replace declare capture params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.0.0
func (o *ReplaceDeclareCaptureParams) WithDefaults() *ReplaceDeclareCaptureParams
WithDefaults hydrates default values in the replace declare capture params (not the query body).
All values with no default are reset to their zero value.
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