Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateRecordingRule(params *CreateRecordingRuleParams, opts ...ClientOption) (*CreateRecordingRuleOK, error)
- func (a *Client) DeleteRecordingRule(params *DeleteRecordingRuleParams, opts ...ClientOption) (*DeleteRecordingRuleOK, error)
- func (a *Client) ListRecordingRules(params *ListRecordingRulesParams, opts ...ClientOption) (*ListRecordingRulesOK, error)
- func (a *Client) ReadRecordingRule(params *ReadRecordingRuleParams, opts ...ClientOption) (*ReadRecordingRuleOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateRecordingRule(params *UpdateRecordingRuleParams, opts ...ClientOption) (*UpdateRecordingRuleOK, error)
- type ClientOption
- type ClientService
- type CreateRecordingRuleBadRequest
- func (o *CreateRecordingRuleBadRequest) Code() int
- func (o *CreateRecordingRuleBadRequest) Error() string
- func (o *CreateRecordingRuleBadRequest) GetPayload() *models.APIError
- func (o *CreateRecordingRuleBadRequest) IsClientError() bool
- func (o *CreateRecordingRuleBadRequest) IsCode(code int) bool
- func (o *CreateRecordingRuleBadRequest) IsRedirect() bool
- func (o *CreateRecordingRuleBadRequest) IsServerError() bool
- func (o *CreateRecordingRuleBadRequest) IsSuccess() bool
- func (o *CreateRecordingRuleBadRequest) String() string
- type CreateRecordingRuleConflict
- func (o *CreateRecordingRuleConflict) Code() int
- func (o *CreateRecordingRuleConflict) Error() string
- func (o *CreateRecordingRuleConflict) GetPayload() *models.APIError
- func (o *CreateRecordingRuleConflict) IsClientError() bool
- func (o *CreateRecordingRuleConflict) IsCode(code int) bool
- func (o *CreateRecordingRuleConflict) IsRedirect() bool
- func (o *CreateRecordingRuleConflict) IsServerError() bool
- func (o *CreateRecordingRuleConflict) IsSuccess() bool
- func (o *CreateRecordingRuleConflict) String() string
- type CreateRecordingRuleDefault
- func (o *CreateRecordingRuleDefault) Code() int
- func (o *CreateRecordingRuleDefault) Error() string
- func (o *CreateRecordingRuleDefault) GetPayload() models.GenericError
- func (o *CreateRecordingRuleDefault) IsClientError() bool
- func (o *CreateRecordingRuleDefault) IsCode(code int) bool
- func (o *CreateRecordingRuleDefault) IsRedirect() bool
- func (o *CreateRecordingRuleDefault) IsServerError() bool
- func (o *CreateRecordingRuleDefault) IsSuccess() bool
- func (o *CreateRecordingRuleDefault) String() string
- type CreateRecordingRuleInternalServerError
- func (o *CreateRecordingRuleInternalServerError) Code() int
- func (o *CreateRecordingRuleInternalServerError) Error() string
- func (o *CreateRecordingRuleInternalServerError) GetPayload() *models.APIError
- func (o *CreateRecordingRuleInternalServerError) IsClientError() bool
- func (o *CreateRecordingRuleInternalServerError) IsCode(code int) bool
- func (o *CreateRecordingRuleInternalServerError) IsRedirect() bool
- func (o *CreateRecordingRuleInternalServerError) IsServerError() bool
- func (o *CreateRecordingRuleInternalServerError) IsSuccess() bool
- func (o *CreateRecordingRuleInternalServerError) String() string
- type CreateRecordingRuleOK
- func (o *CreateRecordingRuleOK) Code() int
- func (o *CreateRecordingRuleOK) Error() string
- func (o *CreateRecordingRuleOK) GetPayload() *models.Configv1CreateRecordingRuleResponse
- func (o *CreateRecordingRuleOK) IsClientError() bool
- func (o *CreateRecordingRuleOK) IsCode(code int) bool
- func (o *CreateRecordingRuleOK) IsRedirect() bool
- func (o *CreateRecordingRuleOK) IsServerError() bool
- func (o *CreateRecordingRuleOK) IsSuccess() bool
- func (o *CreateRecordingRuleOK) String() string
- type CreateRecordingRuleParams
- func NewCreateRecordingRuleParams() *CreateRecordingRuleParams
- func NewCreateRecordingRuleParamsWithContext(ctx context.Context) *CreateRecordingRuleParams
- func NewCreateRecordingRuleParamsWithHTTPClient(client *http.Client) *CreateRecordingRuleParams
- func NewCreateRecordingRuleParamsWithTimeout(timeout time.Duration) *CreateRecordingRuleParams
- func (o *CreateRecordingRuleParams) SetBody(body *models.Configv1CreateRecordingRuleRequest)
- func (o *CreateRecordingRuleParams) SetContext(ctx context.Context)
- func (o *CreateRecordingRuleParams) SetDefaults()
- func (o *CreateRecordingRuleParams) SetHTTPClient(client *http.Client)
- func (o *CreateRecordingRuleParams) SetTimeout(timeout time.Duration)
- func (o *CreateRecordingRuleParams) WithBody(body *models.Configv1CreateRecordingRuleRequest) *CreateRecordingRuleParams
- func (o *CreateRecordingRuleParams) WithContext(ctx context.Context) *CreateRecordingRuleParams
- func (o *CreateRecordingRuleParams) WithDefaults() *CreateRecordingRuleParams
- func (o *CreateRecordingRuleParams) WithHTTPClient(client *http.Client) *CreateRecordingRuleParams
- func (o *CreateRecordingRuleParams) WithTimeout(timeout time.Duration) *CreateRecordingRuleParams
- func (o *CreateRecordingRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRecordingRuleReader
- type DeleteRecordingRuleBadRequest
- func (o *DeleteRecordingRuleBadRequest) Code() int
- func (o *DeleteRecordingRuleBadRequest) Error() string
- func (o *DeleteRecordingRuleBadRequest) GetPayload() *models.APIError
- func (o *DeleteRecordingRuleBadRequest) IsClientError() bool
- func (o *DeleteRecordingRuleBadRequest) IsCode(code int) bool
- func (o *DeleteRecordingRuleBadRequest) IsRedirect() bool
- func (o *DeleteRecordingRuleBadRequest) IsServerError() bool
- func (o *DeleteRecordingRuleBadRequest) IsSuccess() bool
- func (o *DeleteRecordingRuleBadRequest) String() string
- type DeleteRecordingRuleDefault
- func (o *DeleteRecordingRuleDefault) Code() int
- func (o *DeleteRecordingRuleDefault) Error() string
- func (o *DeleteRecordingRuleDefault) GetPayload() models.GenericError
- func (o *DeleteRecordingRuleDefault) IsClientError() bool
- func (o *DeleteRecordingRuleDefault) IsCode(code int) bool
- func (o *DeleteRecordingRuleDefault) IsRedirect() bool
- func (o *DeleteRecordingRuleDefault) IsServerError() bool
- func (o *DeleteRecordingRuleDefault) IsSuccess() bool
- func (o *DeleteRecordingRuleDefault) String() string
- type DeleteRecordingRuleInternalServerError
- func (o *DeleteRecordingRuleInternalServerError) Code() int
- func (o *DeleteRecordingRuleInternalServerError) Error() string
- func (o *DeleteRecordingRuleInternalServerError) GetPayload() *models.APIError
- func (o *DeleteRecordingRuleInternalServerError) IsClientError() bool
- func (o *DeleteRecordingRuleInternalServerError) IsCode(code int) bool
- func (o *DeleteRecordingRuleInternalServerError) IsRedirect() bool
- func (o *DeleteRecordingRuleInternalServerError) IsServerError() bool
- func (o *DeleteRecordingRuleInternalServerError) IsSuccess() bool
- func (o *DeleteRecordingRuleInternalServerError) String() string
- type DeleteRecordingRuleNotFound
- func (o *DeleteRecordingRuleNotFound) Code() int
- func (o *DeleteRecordingRuleNotFound) Error() string
- func (o *DeleteRecordingRuleNotFound) GetPayload() *models.APIError
- func (o *DeleteRecordingRuleNotFound) IsClientError() bool
- func (o *DeleteRecordingRuleNotFound) IsCode(code int) bool
- func (o *DeleteRecordingRuleNotFound) IsRedirect() bool
- func (o *DeleteRecordingRuleNotFound) IsServerError() bool
- func (o *DeleteRecordingRuleNotFound) IsSuccess() bool
- func (o *DeleteRecordingRuleNotFound) String() string
- type DeleteRecordingRuleOK
- func (o *DeleteRecordingRuleOK) Code() int
- func (o *DeleteRecordingRuleOK) Error() string
- func (o *DeleteRecordingRuleOK) GetPayload() models.Configv1DeleteRecordingRuleResponse
- func (o *DeleteRecordingRuleOK) IsClientError() bool
- func (o *DeleteRecordingRuleOK) IsCode(code int) bool
- func (o *DeleteRecordingRuleOK) IsRedirect() bool
- func (o *DeleteRecordingRuleOK) IsServerError() bool
- func (o *DeleteRecordingRuleOK) IsSuccess() bool
- func (o *DeleteRecordingRuleOK) String() string
- type DeleteRecordingRuleParams
- func NewDeleteRecordingRuleParams() *DeleteRecordingRuleParams
- func NewDeleteRecordingRuleParamsWithContext(ctx context.Context) *DeleteRecordingRuleParams
- func NewDeleteRecordingRuleParamsWithHTTPClient(client *http.Client) *DeleteRecordingRuleParams
- func NewDeleteRecordingRuleParamsWithTimeout(timeout time.Duration) *DeleteRecordingRuleParams
- func (o *DeleteRecordingRuleParams) SetContext(ctx context.Context)
- func (o *DeleteRecordingRuleParams) SetDefaults()
- func (o *DeleteRecordingRuleParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRecordingRuleParams) SetSlug(slug string)
- func (o *DeleteRecordingRuleParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRecordingRuleParams) WithContext(ctx context.Context) *DeleteRecordingRuleParams
- func (o *DeleteRecordingRuleParams) WithDefaults() *DeleteRecordingRuleParams
- func (o *DeleteRecordingRuleParams) WithHTTPClient(client *http.Client) *DeleteRecordingRuleParams
- func (o *DeleteRecordingRuleParams) WithSlug(slug string) *DeleteRecordingRuleParams
- func (o *DeleteRecordingRuleParams) WithTimeout(timeout time.Duration) *DeleteRecordingRuleParams
- func (o *DeleteRecordingRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRecordingRuleReader
- type ListRecordingRulesDefault
- func (o *ListRecordingRulesDefault) Code() int
- func (o *ListRecordingRulesDefault) Error() string
- func (o *ListRecordingRulesDefault) GetPayload() models.GenericError
- func (o *ListRecordingRulesDefault) IsClientError() bool
- func (o *ListRecordingRulesDefault) IsCode(code int) bool
- func (o *ListRecordingRulesDefault) IsRedirect() bool
- func (o *ListRecordingRulesDefault) IsServerError() bool
- func (o *ListRecordingRulesDefault) IsSuccess() bool
- func (o *ListRecordingRulesDefault) String() string
- type ListRecordingRulesInternalServerError
- func (o *ListRecordingRulesInternalServerError) Code() int
- func (o *ListRecordingRulesInternalServerError) Error() string
- func (o *ListRecordingRulesInternalServerError) GetPayload() *models.APIError
- func (o *ListRecordingRulesInternalServerError) IsClientError() bool
- func (o *ListRecordingRulesInternalServerError) IsCode(code int) bool
- func (o *ListRecordingRulesInternalServerError) IsRedirect() bool
- func (o *ListRecordingRulesInternalServerError) IsServerError() bool
- func (o *ListRecordingRulesInternalServerError) IsSuccess() bool
- func (o *ListRecordingRulesInternalServerError) String() string
- type ListRecordingRulesOK
- func (o *ListRecordingRulesOK) Code() int
- func (o *ListRecordingRulesOK) Error() string
- func (o *ListRecordingRulesOK) GetPayload() *models.Configv1ListRecordingRulesResponse
- func (o *ListRecordingRulesOK) IsClientError() bool
- func (o *ListRecordingRulesOK) IsCode(code int) bool
- func (o *ListRecordingRulesOK) IsRedirect() bool
- func (o *ListRecordingRulesOK) IsServerError() bool
- func (o *ListRecordingRulesOK) IsSuccess() bool
- func (o *ListRecordingRulesOK) String() string
- type ListRecordingRulesParams
- func NewListRecordingRulesParams() *ListRecordingRulesParams
- func NewListRecordingRulesParamsWithContext(ctx context.Context) *ListRecordingRulesParams
- func NewListRecordingRulesParamsWithHTTPClient(client *http.Client) *ListRecordingRulesParams
- func NewListRecordingRulesParamsWithTimeout(timeout time.Duration) *ListRecordingRulesParams
- func (o *ListRecordingRulesParams) SetBucketSlugs(bucketSlugs []string)
- func (o *ListRecordingRulesParams) SetContext(ctx context.Context)
- func (o *ListRecordingRulesParams) SetDefaults()
- func (o *ListRecordingRulesParams) SetExecutionGroups(executionGroups []string)
- func (o *ListRecordingRulesParams) SetHTTPClient(client *http.Client)
- func (o *ListRecordingRulesParams) SetNames(names []string)
- func (o *ListRecordingRulesParams) SetPageMaxSize(pageMaxSize *int64)
- func (o *ListRecordingRulesParams) SetPageToken(pageToken *string)
- func (o *ListRecordingRulesParams) SetSlugs(slugs []string)
- func (o *ListRecordingRulesParams) SetTimeout(timeout time.Duration)
- func (o *ListRecordingRulesParams) WithBucketSlugs(bucketSlugs []string) *ListRecordingRulesParams
- func (o *ListRecordingRulesParams) WithContext(ctx context.Context) *ListRecordingRulesParams
- func (o *ListRecordingRulesParams) WithDefaults() *ListRecordingRulesParams
- func (o *ListRecordingRulesParams) WithExecutionGroups(executionGroups []string) *ListRecordingRulesParams
- func (o *ListRecordingRulesParams) WithHTTPClient(client *http.Client) *ListRecordingRulesParams
- func (o *ListRecordingRulesParams) WithNames(names []string) *ListRecordingRulesParams
- func (o *ListRecordingRulesParams) WithPageMaxSize(pageMaxSize *int64) *ListRecordingRulesParams
- func (o *ListRecordingRulesParams) WithPageToken(pageToken *string) *ListRecordingRulesParams
- func (o *ListRecordingRulesParams) WithSlugs(slugs []string) *ListRecordingRulesParams
- func (o *ListRecordingRulesParams) WithTimeout(timeout time.Duration) *ListRecordingRulesParams
- func (o *ListRecordingRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRecordingRulesReader
- type ReadRecordingRuleDefault
- func (o *ReadRecordingRuleDefault) Code() int
- func (o *ReadRecordingRuleDefault) Error() string
- func (o *ReadRecordingRuleDefault) GetPayload() models.GenericError
- func (o *ReadRecordingRuleDefault) IsClientError() bool
- func (o *ReadRecordingRuleDefault) IsCode(code int) bool
- func (o *ReadRecordingRuleDefault) IsRedirect() bool
- func (o *ReadRecordingRuleDefault) IsServerError() bool
- func (o *ReadRecordingRuleDefault) IsSuccess() bool
- func (o *ReadRecordingRuleDefault) String() string
- type ReadRecordingRuleInternalServerError
- func (o *ReadRecordingRuleInternalServerError) Code() int
- func (o *ReadRecordingRuleInternalServerError) Error() string
- func (o *ReadRecordingRuleInternalServerError) GetPayload() *models.APIError
- func (o *ReadRecordingRuleInternalServerError) IsClientError() bool
- func (o *ReadRecordingRuleInternalServerError) IsCode(code int) bool
- func (o *ReadRecordingRuleInternalServerError) IsRedirect() bool
- func (o *ReadRecordingRuleInternalServerError) IsServerError() bool
- func (o *ReadRecordingRuleInternalServerError) IsSuccess() bool
- func (o *ReadRecordingRuleInternalServerError) String() string
- type ReadRecordingRuleNotFound
- func (o *ReadRecordingRuleNotFound) Code() int
- func (o *ReadRecordingRuleNotFound) Error() string
- func (o *ReadRecordingRuleNotFound) GetPayload() *models.APIError
- func (o *ReadRecordingRuleNotFound) IsClientError() bool
- func (o *ReadRecordingRuleNotFound) IsCode(code int) bool
- func (o *ReadRecordingRuleNotFound) IsRedirect() bool
- func (o *ReadRecordingRuleNotFound) IsServerError() bool
- func (o *ReadRecordingRuleNotFound) IsSuccess() bool
- func (o *ReadRecordingRuleNotFound) String() string
- type ReadRecordingRuleOK
- func (o *ReadRecordingRuleOK) Code() int
- func (o *ReadRecordingRuleOK) Error() string
- func (o *ReadRecordingRuleOK) GetPayload() *models.Configv1ReadRecordingRuleResponse
- func (o *ReadRecordingRuleOK) IsClientError() bool
- func (o *ReadRecordingRuleOK) IsCode(code int) bool
- func (o *ReadRecordingRuleOK) IsRedirect() bool
- func (o *ReadRecordingRuleOK) IsServerError() bool
- func (o *ReadRecordingRuleOK) IsSuccess() bool
- func (o *ReadRecordingRuleOK) String() string
- type ReadRecordingRuleParams
- func NewReadRecordingRuleParams() *ReadRecordingRuleParams
- func NewReadRecordingRuleParamsWithContext(ctx context.Context) *ReadRecordingRuleParams
- func NewReadRecordingRuleParamsWithHTTPClient(client *http.Client) *ReadRecordingRuleParams
- func NewReadRecordingRuleParamsWithTimeout(timeout time.Duration) *ReadRecordingRuleParams
- func (o *ReadRecordingRuleParams) SetContext(ctx context.Context)
- func (o *ReadRecordingRuleParams) SetDefaults()
- func (o *ReadRecordingRuleParams) SetHTTPClient(client *http.Client)
- func (o *ReadRecordingRuleParams) SetSlug(slug string)
- func (o *ReadRecordingRuleParams) SetTimeout(timeout time.Duration)
- func (o *ReadRecordingRuleParams) WithContext(ctx context.Context) *ReadRecordingRuleParams
- func (o *ReadRecordingRuleParams) WithDefaults() *ReadRecordingRuleParams
- func (o *ReadRecordingRuleParams) WithHTTPClient(client *http.Client) *ReadRecordingRuleParams
- func (o *ReadRecordingRuleParams) WithSlug(slug string) *ReadRecordingRuleParams
- func (o *ReadRecordingRuleParams) WithTimeout(timeout time.Duration) *ReadRecordingRuleParams
- func (o *ReadRecordingRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadRecordingRuleReader
- type UpdateRecordingRuleBadRequest
- func (o *UpdateRecordingRuleBadRequest) Code() int
- func (o *UpdateRecordingRuleBadRequest) Error() string
- func (o *UpdateRecordingRuleBadRequest) GetPayload() *models.APIError
- func (o *UpdateRecordingRuleBadRequest) IsClientError() bool
- func (o *UpdateRecordingRuleBadRequest) IsCode(code int) bool
- func (o *UpdateRecordingRuleBadRequest) IsRedirect() bool
- func (o *UpdateRecordingRuleBadRequest) IsServerError() bool
- func (o *UpdateRecordingRuleBadRequest) IsSuccess() bool
- func (o *UpdateRecordingRuleBadRequest) String() string
- type UpdateRecordingRuleBody
- func (o *UpdateRecordingRuleBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateRecordingRuleBody) MarshalBinary() ([]byte, error)
- func (o *UpdateRecordingRuleBody) UnmarshalBinary(b []byte) error
- func (o *UpdateRecordingRuleBody) Validate(formats strfmt.Registry) error
- type UpdateRecordingRuleConflict
- func (o *UpdateRecordingRuleConflict) Code() int
- func (o *UpdateRecordingRuleConflict) Error() string
- func (o *UpdateRecordingRuleConflict) GetPayload() *models.APIError
- func (o *UpdateRecordingRuleConflict) IsClientError() bool
- func (o *UpdateRecordingRuleConflict) IsCode(code int) bool
- func (o *UpdateRecordingRuleConflict) IsRedirect() bool
- func (o *UpdateRecordingRuleConflict) IsServerError() bool
- func (o *UpdateRecordingRuleConflict) IsSuccess() bool
- func (o *UpdateRecordingRuleConflict) String() string
- type UpdateRecordingRuleDefault
- func (o *UpdateRecordingRuleDefault) Code() int
- func (o *UpdateRecordingRuleDefault) Error() string
- func (o *UpdateRecordingRuleDefault) GetPayload() models.GenericError
- func (o *UpdateRecordingRuleDefault) IsClientError() bool
- func (o *UpdateRecordingRuleDefault) IsCode(code int) bool
- func (o *UpdateRecordingRuleDefault) IsRedirect() bool
- func (o *UpdateRecordingRuleDefault) IsServerError() bool
- func (o *UpdateRecordingRuleDefault) IsSuccess() bool
- func (o *UpdateRecordingRuleDefault) String() string
- type UpdateRecordingRuleInternalServerError
- func (o *UpdateRecordingRuleInternalServerError) Code() int
- func (o *UpdateRecordingRuleInternalServerError) Error() string
- func (o *UpdateRecordingRuleInternalServerError) GetPayload() *models.APIError
- func (o *UpdateRecordingRuleInternalServerError) IsClientError() bool
- func (o *UpdateRecordingRuleInternalServerError) IsCode(code int) bool
- func (o *UpdateRecordingRuleInternalServerError) IsRedirect() bool
- func (o *UpdateRecordingRuleInternalServerError) IsServerError() bool
- func (o *UpdateRecordingRuleInternalServerError) IsSuccess() bool
- func (o *UpdateRecordingRuleInternalServerError) String() string
- type UpdateRecordingRuleNotFound
- func (o *UpdateRecordingRuleNotFound) Code() int
- func (o *UpdateRecordingRuleNotFound) Error() string
- func (o *UpdateRecordingRuleNotFound) GetPayload() *models.APIError
- func (o *UpdateRecordingRuleNotFound) IsClientError() bool
- func (o *UpdateRecordingRuleNotFound) IsCode(code int) bool
- func (o *UpdateRecordingRuleNotFound) IsRedirect() bool
- func (o *UpdateRecordingRuleNotFound) IsServerError() bool
- func (o *UpdateRecordingRuleNotFound) IsSuccess() bool
- func (o *UpdateRecordingRuleNotFound) String() string
- type UpdateRecordingRuleOK
- func (o *UpdateRecordingRuleOK) Code() int
- func (o *UpdateRecordingRuleOK) Error() string
- func (o *UpdateRecordingRuleOK) GetPayload() *models.Configv1UpdateRecordingRuleResponse
- func (o *UpdateRecordingRuleOK) IsClientError() bool
- func (o *UpdateRecordingRuleOK) IsCode(code int) bool
- func (o *UpdateRecordingRuleOK) IsRedirect() bool
- func (o *UpdateRecordingRuleOK) IsServerError() bool
- func (o *UpdateRecordingRuleOK) IsSuccess() bool
- func (o *UpdateRecordingRuleOK) String() string
- type UpdateRecordingRuleParams
- func NewUpdateRecordingRuleParams() *UpdateRecordingRuleParams
- func NewUpdateRecordingRuleParamsWithContext(ctx context.Context) *UpdateRecordingRuleParams
- func NewUpdateRecordingRuleParamsWithHTTPClient(client *http.Client) *UpdateRecordingRuleParams
- func NewUpdateRecordingRuleParamsWithTimeout(timeout time.Duration) *UpdateRecordingRuleParams
- func (o *UpdateRecordingRuleParams) SetBody(body UpdateRecordingRuleBody)
- func (o *UpdateRecordingRuleParams) SetContext(ctx context.Context)
- func (o *UpdateRecordingRuleParams) SetDefaults()
- func (o *UpdateRecordingRuleParams) SetHTTPClient(client *http.Client)
- func (o *UpdateRecordingRuleParams) SetSlug(slug string)
- func (o *UpdateRecordingRuleParams) SetTimeout(timeout time.Duration)
- func (o *UpdateRecordingRuleParams) WithBody(body UpdateRecordingRuleBody) *UpdateRecordingRuleParams
- func (o *UpdateRecordingRuleParams) WithContext(ctx context.Context) *UpdateRecordingRuleParams
- func (o *UpdateRecordingRuleParams) WithDefaults() *UpdateRecordingRuleParams
- func (o *UpdateRecordingRuleParams) WithHTTPClient(client *http.Client) *UpdateRecordingRuleParams
- func (o *UpdateRecordingRuleParams) WithSlug(slug string) *UpdateRecordingRuleParams
- func (o *UpdateRecordingRuleParams) WithTimeout(timeout time.Duration) *UpdateRecordingRuleParams
- func (o *UpdateRecordingRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateRecordingRuleReader
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 recording rule API
func (*Client) CreateRecordingRule ¶
func (a *Client) CreateRecordingRule(params *CreateRecordingRuleParams, opts ...ClientOption) (*CreateRecordingRuleOK, error)
CreateRecordingRule create recording rule API
func (*Client) DeleteRecordingRule ¶
func (a *Client) DeleteRecordingRule(params *DeleteRecordingRuleParams, opts ...ClientOption) (*DeleteRecordingRuleOK, error)
DeleteRecordingRule delete recording rule API
func (*Client) ListRecordingRules ¶
func (a *Client) ListRecordingRules(params *ListRecordingRulesParams, opts ...ClientOption) (*ListRecordingRulesOK, error)
ListRecordingRules list recording rules API
func (*Client) ReadRecordingRule ¶
func (a *Client) ReadRecordingRule(params *ReadRecordingRuleParams, opts ...ClientOption) (*ReadRecordingRuleOK, error)
ReadRecordingRule read recording rule API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateRecordingRule ¶
func (a *Client) UpdateRecordingRule(params *UpdateRecordingRuleParams, opts ...ClientOption) (*UpdateRecordingRuleOK, error)
UpdateRecordingRule update recording rule API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateRecordingRule(params *CreateRecordingRuleParams, opts ...ClientOption) (*CreateRecordingRuleOK, error) DeleteRecordingRule(params *DeleteRecordingRuleParams, opts ...ClientOption) (*DeleteRecordingRuleOK, error) ListRecordingRules(params *ListRecordingRulesParams, opts ...ClientOption) (*ListRecordingRulesOK, error) ReadRecordingRule(params *ReadRecordingRuleParams, opts ...ClientOption) (*ReadRecordingRuleOK, error) UpdateRecordingRule(params *UpdateRecordingRuleParams, opts ...ClientOption) (*UpdateRecordingRuleOK, 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 recording rule API client.
type CreateRecordingRuleBadRequest ¶
CreateRecordingRuleBadRequest describes a response with status code 400, with default header values.
Cannot create the RecordingRule because the request is invalid.
func NewCreateRecordingRuleBadRequest ¶
func NewCreateRecordingRuleBadRequest() *CreateRecordingRuleBadRequest
NewCreateRecordingRuleBadRequest creates a CreateRecordingRuleBadRequest with default headers values
func (*CreateRecordingRuleBadRequest) Code ¶
func (o *CreateRecordingRuleBadRequest) Code() int
Code gets the status code for the create recording rule bad request response
func (*CreateRecordingRuleBadRequest) Error ¶
func (o *CreateRecordingRuleBadRequest) Error() string
func (*CreateRecordingRuleBadRequest) GetPayload ¶
func (o *CreateRecordingRuleBadRequest) GetPayload() *models.APIError
func (*CreateRecordingRuleBadRequest) IsClientError ¶
func (o *CreateRecordingRuleBadRequest) IsClientError() bool
IsClientError returns true when this create recording rule bad request response has a 4xx status code
func (*CreateRecordingRuleBadRequest) IsCode ¶
func (o *CreateRecordingRuleBadRequest) IsCode(code int) bool
IsCode returns true when this create recording rule bad request response a status code equal to that given
func (*CreateRecordingRuleBadRequest) IsRedirect ¶
func (o *CreateRecordingRuleBadRequest) IsRedirect() bool
IsRedirect returns true when this create recording rule bad request response has a 3xx status code
func (*CreateRecordingRuleBadRequest) IsServerError ¶
func (o *CreateRecordingRuleBadRequest) IsServerError() bool
IsServerError returns true when this create recording rule bad request response has a 5xx status code
func (*CreateRecordingRuleBadRequest) IsSuccess ¶
func (o *CreateRecordingRuleBadRequest) IsSuccess() bool
IsSuccess returns true when this create recording rule bad request response has a 2xx status code
func (*CreateRecordingRuleBadRequest) String ¶
func (o *CreateRecordingRuleBadRequest) String() string
type CreateRecordingRuleConflict ¶
CreateRecordingRuleConflict describes a response with status code 409, with default header values.
Cannot create the RecordingRule because there is a conflict with an existing RecordingRule.
func NewCreateRecordingRuleConflict ¶
func NewCreateRecordingRuleConflict() *CreateRecordingRuleConflict
NewCreateRecordingRuleConflict creates a CreateRecordingRuleConflict with default headers values
func (*CreateRecordingRuleConflict) Code ¶
func (o *CreateRecordingRuleConflict) Code() int
Code gets the status code for the create recording rule conflict response
func (*CreateRecordingRuleConflict) Error ¶
func (o *CreateRecordingRuleConflict) Error() string
func (*CreateRecordingRuleConflict) GetPayload ¶
func (o *CreateRecordingRuleConflict) GetPayload() *models.APIError
func (*CreateRecordingRuleConflict) IsClientError ¶
func (o *CreateRecordingRuleConflict) IsClientError() bool
IsClientError returns true when this create recording rule conflict response has a 4xx status code
func (*CreateRecordingRuleConflict) IsCode ¶
func (o *CreateRecordingRuleConflict) IsCode(code int) bool
IsCode returns true when this create recording rule conflict response a status code equal to that given
func (*CreateRecordingRuleConflict) IsRedirect ¶
func (o *CreateRecordingRuleConflict) IsRedirect() bool
IsRedirect returns true when this create recording rule conflict response has a 3xx status code
func (*CreateRecordingRuleConflict) IsServerError ¶
func (o *CreateRecordingRuleConflict) IsServerError() bool
IsServerError returns true when this create recording rule conflict response has a 5xx status code
func (*CreateRecordingRuleConflict) IsSuccess ¶
func (o *CreateRecordingRuleConflict) IsSuccess() bool
IsSuccess returns true when this create recording rule conflict response has a 2xx status code
func (*CreateRecordingRuleConflict) String ¶
func (o *CreateRecordingRuleConflict) String() string
type CreateRecordingRuleDefault ¶
type CreateRecordingRuleDefault struct { Payload models.GenericError // contains filtered or unexported fields }
CreateRecordingRuleDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewCreateRecordingRuleDefault ¶
func NewCreateRecordingRuleDefault(code int) *CreateRecordingRuleDefault
NewCreateRecordingRuleDefault creates a CreateRecordingRuleDefault with default headers values
func (*CreateRecordingRuleDefault) Code ¶
func (o *CreateRecordingRuleDefault) Code() int
Code gets the status code for the create recording rule default response
func (*CreateRecordingRuleDefault) Error ¶
func (o *CreateRecordingRuleDefault) Error() string
func (*CreateRecordingRuleDefault) GetPayload ¶
func (o *CreateRecordingRuleDefault) GetPayload() models.GenericError
func (*CreateRecordingRuleDefault) IsClientError ¶
func (o *CreateRecordingRuleDefault) IsClientError() bool
IsClientError returns true when this create recording rule default response has a 4xx status code
func (*CreateRecordingRuleDefault) IsCode ¶
func (o *CreateRecordingRuleDefault) IsCode(code int) bool
IsCode returns true when this create recording rule default response a status code equal to that given
func (*CreateRecordingRuleDefault) IsRedirect ¶
func (o *CreateRecordingRuleDefault) IsRedirect() bool
IsRedirect returns true when this create recording rule default response has a 3xx status code
func (*CreateRecordingRuleDefault) IsServerError ¶
func (o *CreateRecordingRuleDefault) IsServerError() bool
IsServerError returns true when this create recording rule default response has a 5xx status code
func (*CreateRecordingRuleDefault) IsSuccess ¶
func (o *CreateRecordingRuleDefault) IsSuccess() bool
IsSuccess returns true when this create recording rule default response has a 2xx status code
func (*CreateRecordingRuleDefault) String ¶
func (o *CreateRecordingRuleDefault) String() string
type CreateRecordingRuleInternalServerError ¶
CreateRecordingRuleInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewCreateRecordingRuleInternalServerError ¶
func NewCreateRecordingRuleInternalServerError() *CreateRecordingRuleInternalServerError
NewCreateRecordingRuleInternalServerError creates a CreateRecordingRuleInternalServerError with default headers values
func (*CreateRecordingRuleInternalServerError) Code ¶
func (o *CreateRecordingRuleInternalServerError) Code() int
Code gets the status code for the create recording rule internal server error response
func (*CreateRecordingRuleInternalServerError) Error ¶
func (o *CreateRecordingRuleInternalServerError) Error() string
func (*CreateRecordingRuleInternalServerError) GetPayload ¶
func (o *CreateRecordingRuleInternalServerError) GetPayload() *models.APIError
func (*CreateRecordingRuleInternalServerError) IsClientError ¶
func (o *CreateRecordingRuleInternalServerError) IsClientError() bool
IsClientError returns true when this create recording rule internal server error response has a 4xx status code
func (*CreateRecordingRuleInternalServerError) IsCode ¶
func (o *CreateRecordingRuleInternalServerError) IsCode(code int) bool
IsCode returns true when this create recording rule internal server error response a status code equal to that given
func (*CreateRecordingRuleInternalServerError) IsRedirect ¶
func (o *CreateRecordingRuleInternalServerError) IsRedirect() bool
IsRedirect returns true when this create recording rule internal server error response has a 3xx status code
func (*CreateRecordingRuleInternalServerError) IsServerError ¶
func (o *CreateRecordingRuleInternalServerError) IsServerError() bool
IsServerError returns true when this create recording rule internal server error response has a 5xx status code
func (*CreateRecordingRuleInternalServerError) IsSuccess ¶
func (o *CreateRecordingRuleInternalServerError) IsSuccess() bool
IsSuccess returns true when this create recording rule internal server error response has a 2xx status code
func (*CreateRecordingRuleInternalServerError) String ¶
func (o *CreateRecordingRuleInternalServerError) String() string
type CreateRecordingRuleOK ¶
type CreateRecordingRuleOK struct {
Payload *models.Configv1CreateRecordingRuleResponse
}
CreateRecordingRuleOK describes a response with status code 200, with default header values.
A successful response containing the created RecordingRule.
func NewCreateRecordingRuleOK ¶
func NewCreateRecordingRuleOK() *CreateRecordingRuleOK
NewCreateRecordingRuleOK creates a CreateRecordingRuleOK with default headers values
func (*CreateRecordingRuleOK) Code ¶
func (o *CreateRecordingRuleOK) Code() int
Code gets the status code for the create recording rule o k response
func (*CreateRecordingRuleOK) Error ¶
func (o *CreateRecordingRuleOK) Error() string
func (*CreateRecordingRuleOK) GetPayload ¶
func (o *CreateRecordingRuleOK) GetPayload() *models.Configv1CreateRecordingRuleResponse
func (*CreateRecordingRuleOK) IsClientError ¶
func (o *CreateRecordingRuleOK) IsClientError() bool
IsClientError returns true when this create recording rule o k response has a 4xx status code
func (*CreateRecordingRuleOK) IsCode ¶
func (o *CreateRecordingRuleOK) IsCode(code int) bool
IsCode returns true when this create recording rule o k response a status code equal to that given
func (*CreateRecordingRuleOK) IsRedirect ¶
func (o *CreateRecordingRuleOK) IsRedirect() bool
IsRedirect returns true when this create recording rule o k response has a 3xx status code
func (*CreateRecordingRuleOK) IsServerError ¶
func (o *CreateRecordingRuleOK) IsServerError() bool
IsServerError returns true when this create recording rule o k response has a 5xx status code
func (*CreateRecordingRuleOK) IsSuccess ¶
func (o *CreateRecordingRuleOK) IsSuccess() bool
IsSuccess returns true when this create recording rule o k response has a 2xx status code
func (*CreateRecordingRuleOK) String ¶
func (o *CreateRecordingRuleOK) String() string
type CreateRecordingRuleParams ¶
type CreateRecordingRuleParams struct { // Body. Body *models.Configv1CreateRecordingRuleRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateRecordingRuleParams contains all the parameters to send to the API endpoint
for the create recording rule operation. Typically these are written to a http.Request.
func NewCreateRecordingRuleParams ¶
func NewCreateRecordingRuleParams() *CreateRecordingRuleParams
NewCreateRecordingRuleParams creates a new CreateRecordingRuleParams 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 NewCreateRecordingRuleParamsWithContext ¶
func NewCreateRecordingRuleParamsWithContext(ctx context.Context) *CreateRecordingRuleParams
NewCreateRecordingRuleParamsWithContext creates a new CreateRecordingRuleParams object with the ability to set a context for a request.
func NewCreateRecordingRuleParamsWithHTTPClient ¶
func NewCreateRecordingRuleParamsWithHTTPClient(client *http.Client) *CreateRecordingRuleParams
NewCreateRecordingRuleParamsWithHTTPClient creates a new CreateRecordingRuleParams object with the ability to set a custom HTTPClient for a request.
func NewCreateRecordingRuleParamsWithTimeout ¶
func NewCreateRecordingRuleParamsWithTimeout(timeout time.Duration) *CreateRecordingRuleParams
NewCreateRecordingRuleParamsWithTimeout creates a new CreateRecordingRuleParams object with the ability to set a timeout on a request.
func (*CreateRecordingRuleParams) SetBody ¶
func (o *CreateRecordingRuleParams) SetBody(body *models.Configv1CreateRecordingRuleRequest)
SetBody adds the body to the create recording rule params
func (*CreateRecordingRuleParams) SetContext ¶
func (o *CreateRecordingRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the create recording rule params
func (*CreateRecordingRuleParams) SetDefaults ¶
func (o *CreateRecordingRuleParams) SetDefaults()
SetDefaults hydrates default values in the create recording rule params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRecordingRuleParams) SetHTTPClient ¶
func (o *CreateRecordingRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create recording rule params
func (*CreateRecordingRuleParams) SetTimeout ¶
func (o *CreateRecordingRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create recording rule params
func (*CreateRecordingRuleParams) WithBody ¶
func (o *CreateRecordingRuleParams) WithBody(body *models.Configv1CreateRecordingRuleRequest) *CreateRecordingRuleParams
WithBody adds the body to the create recording rule params
func (*CreateRecordingRuleParams) WithContext ¶
func (o *CreateRecordingRuleParams) WithContext(ctx context.Context) *CreateRecordingRuleParams
WithContext adds the context to the create recording rule params
func (*CreateRecordingRuleParams) WithDefaults ¶
func (o *CreateRecordingRuleParams) WithDefaults() *CreateRecordingRuleParams
WithDefaults hydrates default values in the create recording rule params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRecordingRuleParams) WithHTTPClient ¶
func (o *CreateRecordingRuleParams) WithHTTPClient(client *http.Client) *CreateRecordingRuleParams
WithHTTPClient adds the HTTPClient to the create recording rule params
func (*CreateRecordingRuleParams) WithTimeout ¶
func (o *CreateRecordingRuleParams) WithTimeout(timeout time.Duration) *CreateRecordingRuleParams
WithTimeout adds the timeout to the create recording rule params
func (*CreateRecordingRuleParams) WriteToRequest ¶
func (o *CreateRecordingRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateRecordingRuleReader ¶
type CreateRecordingRuleReader struct {
// contains filtered or unexported fields
}
CreateRecordingRuleReader is a Reader for the CreateRecordingRule structure.
func (*CreateRecordingRuleReader) ReadResponse ¶
func (o *CreateRecordingRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteRecordingRuleBadRequest ¶
DeleteRecordingRuleBadRequest describes a response with status code 400, with default header values.
Cannot delete the RecordingRule because it is in use.
func NewDeleteRecordingRuleBadRequest ¶
func NewDeleteRecordingRuleBadRequest() *DeleteRecordingRuleBadRequest
NewDeleteRecordingRuleBadRequest creates a DeleteRecordingRuleBadRequest with default headers values
func (*DeleteRecordingRuleBadRequest) Code ¶
func (o *DeleteRecordingRuleBadRequest) Code() int
Code gets the status code for the delete recording rule bad request response
func (*DeleteRecordingRuleBadRequest) Error ¶
func (o *DeleteRecordingRuleBadRequest) Error() string
func (*DeleteRecordingRuleBadRequest) GetPayload ¶
func (o *DeleteRecordingRuleBadRequest) GetPayload() *models.APIError
func (*DeleteRecordingRuleBadRequest) IsClientError ¶
func (o *DeleteRecordingRuleBadRequest) IsClientError() bool
IsClientError returns true when this delete recording rule bad request response has a 4xx status code
func (*DeleteRecordingRuleBadRequest) IsCode ¶
func (o *DeleteRecordingRuleBadRequest) IsCode(code int) bool
IsCode returns true when this delete recording rule bad request response a status code equal to that given
func (*DeleteRecordingRuleBadRequest) IsRedirect ¶
func (o *DeleteRecordingRuleBadRequest) IsRedirect() bool
IsRedirect returns true when this delete recording rule bad request response has a 3xx status code
func (*DeleteRecordingRuleBadRequest) IsServerError ¶
func (o *DeleteRecordingRuleBadRequest) IsServerError() bool
IsServerError returns true when this delete recording rule bad request response has a 5xx status code
func (*DeleteRecordingRuleBadRequest) IsSuccess ¶
func (o *DeleteRecordingRuleBadRequest) IsSuccess() bool
IsSuccess returns true when this delete recording rule bad request response has a 2xx status code
func (*DeleteRecordingRuleBadRequest) String ¶
func (o *DeleteRecordingRuleBadRequest) String() string
type DeleteRecordingRuleDefault ¶
type DeleteRecordingRuleDefault struct { Payload models.GenericError // contains filtered or unexported fields }
DeleteRecordingRuleDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewDeleteRecordingRuleDefault ¶
func NewDeleteRecordingRuleDefault(code int) *DeleteRecordingRuleDefault
NewDeleteRecordingRuleDefault creates a DeleteRecordingRuleDefault with default headers values
func (*DeleteRecordingRuleDefault) Code ¶
func (o *DeleteRecordingRuleDefault) Code() int
Code gets the status code for the delete recording rule default response
func (*DeleteRecordingRuleDefault) Error ¶
func (o *DeleteRecordingRuleDefault) Error() string
func (*DeleteRecordingRuleDefault) GetPayload ¶
func (o *DeleteRecordingRuleDefault) GetPayload() models.GenericError
func (*DeleteRecordingRuleDefault) IsClientError ¶
func (o *DeleteRecordingRuleDefault) IsClientError() bool
IsClientError returns true when this delete recording rule default response has a 4xx status code
func (*DeleteRecordingRuleDefault) IsCode ¶
func (o *DeleteRecordingRuleDefault) IsCode(code int) bool
IsCode returns true when this delete recording rule default response a status code equal to that given
func (*DeleteRecordingRuleDefault) IsRedirect ¶
func (o *DeleteRecordingRuleDefault) IsRedirect() bool
IsRedirect returns true when this delete recording rule default response has a 3xx status code
func (*DeleteRecordingRuleDefault) IsServerError ¶
func (o *DeleteRecordingRuleDefault) IsServerError() bool
IsServerError returns true when this delete recording rule default response has a 5xx status code
func (*DeleteRecordingRuleDefault) IsSuccess ¶
func (o *DeleteRecordingRuleDefault) IsSuccess() bool
IsSuccess returns true when this delete recording rule default response has a 2xx status code
func (*DeleteRecordingRuleDefault) String ¶
func (o *DeleteRecordingRuleDefault) String() string
type DeleteRecordingRuleInternalServerError ¶
DeleteRecordingRuleInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewDeleteRecordingRuleInternalServerError ¶
func NewDeleteRecordingRuleInternalServerError() *DeleteRecordingRuleInternalServerError
NewDeleteRecordingRuleInternalServerError creates a DeleteRecordingRuleInternalServerError with default headers values
func (*DeleteRecordingRuleInternalServerError) Code ¶
func (o *DeleteRecordingRuleInternalServerError) Code() int
Code gets the status code for the delete recording rule internal server error response
func (*DeleteRecordingRuleInternalServerError) Error ¶
func (o *DeleteRecordingRuleInternalServerError) Error() string
func (*DeleteRecordingRuleInternalServerError) GetPayload ¶
func (o *DeleteRecordingRuleInternalServerError) GetPayload() *models.APIError
func (*DeleteRecordingRuleInternalServerError) IsClientError ¶
func (o *DeleteRecordingRuleInternalServerError) IsClientError() bool
IsClientError returns true when this delete recording rule internal server error response has a 4xx status code
func (*DeleteRecordingRuleInternalServerError) IsCode ¶
func (o *DeleteRecordingRuleInternalServerError) IsCode(code int) bool
IsCode returns true when this delete recording rule internal server error response a status code equal to that given
func (*DeleteRecordingRuleInternalServerError) IsRedirect ¶
func (o *DeleteRecordingRuleInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete recording rule internal server error response has a 3xx status code
func (*DeleteRecordingRuleInternalServerError) IsServerError ¶
func (o *DeleteRecordingRuleInternalServerError) IsServerError() bool
IsServerError returns true when this delete recording rule internal server error response has a 5xx status code
func (*DeleteRecordingRuleInternalServerError) IsSuccess ¶
func (o *DeleteRecordingRuleInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete recording rule internal server error response has a 2xx status code
func (*DeleteRecordingRuleInternalServerError) String ¶
func (o *DeleteRecordingRuleInternalServerError) String() string
type DeleteRecordingRuleNotFound ¶
DeleteRecordingRuleNotFound describes a response with status code 404, with default header values.
Cannot delete the RecordingRule because the slug does not exist.
func NewDeleteRecordingRuleNotFound ¶
func NewDeleteRecordingRuleNotFound() *DeleteRecordingRuleNotFound
NewDeleteRecordingRuleNotFound creates a DeleteRecordingRuleNotFound with default headers values
func (*DeleteRecordingRuleNotFound) Code ¶
func (o *DeleteRecordingRuleNotFound) Code() int
Code gets the status code for the delete recording rule not found response
func (*DeleteRecordingRuleNotFound) Error ¶
func (o *DeleteRecordingRuleNotFound) Error() string
func (*DeleteRecordingRuleNotFound) GetPayload ¶
func (o *DeleteRecordingRuleNotFound) GetPayload() *models.APIError
func (*DeleteRecordingRuleNotFound) IsClientError ¶
func (o *DeleteRecordingRuleNotFound) IsClientError() bool
IsClientError returns true when this delete recording rule not found response has a 4xx status code
func (*DeleteRecordingRuleNotFound) IsCode ¶
func (o *DeleteRecordingRuleNotFound) IsCode(code int) bool
IsCode returns true when this delete recording rule not found response a status code equal to that given
func (*DeleteRecordingRuleNotFound) IsRedirect ¶
func (o *DeleteRecordingRuleNotFound) IsRedirect() bool
IsRedirect returns true when this delete recording rule not found response has a 3xx status code
func (*DeleteRecordingRuleNotFound) IsServerError ¶
func (o *DeleteRecordingRuleNotFound) IsServerError() bool
IsServerError returns true when this delete recording rule not found response has a 5xx status code
func (*DeleteRecordingRuleNotFound) IsSuccess ¶
func (o *DeleteRecordingRuleNotFound) IsSuccess() bool
IsSuccess returns true when this delete recording rule not found response has a 2xx status code
func (*DeleteRecordingRuleNotFound) String ¶
func (o *DeleteRecordingRuleNotFound) String() string
type DeleteRecordingRuleOK ¶
type DeleteRecordingRuleOK struct {
Payload models.Configv1DeleteRecordingRuleResponse
}
DeleteRecordingRuleOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteRecordingRuleOK ¶
func NewDeleteRecordingRuleOK() *DeleteRecordingRuleOK
NewDeleteRecordingRuleOK creates a DeleteRecordingRuleOK with default headers values
func (*DeleteRecordingRuleOK) Code ¶
func (o *DeleteRecordingRuleOK) Code() int
Code gets the status code for the delete recording rule o k response
func (*DeleteRecordingRuleOK) Error ¶
func (o *DeleteRecordingRuleOK) Error() string
func (*DeleteRecordingRuleOK) GetPayload ¶
func (o *DeleteRecordingRuleOK) GetPayload() models.Configv1DeleteRecordingRuleResponse
func (*DeleteRecordingRuleOK) IsClientError ¶
func (o *DeleteRecordingRuleOK) IsClientError() bool
IsClientError returns true when this delete recording rule o k response has a 4xx status code
func (*DeleteRecordingRuleOK) IsCode ¶
func (o *DeleteRecordingRuleOK) IsCode(code int) bool
IsCode returns true when this delete recording rule o k response a status code equal to that given
func (*DeleteRecordingRuleOK) IsRedirect ¶
func (o *DeleteRecordingRuleOK) IsRedirect() bool
IsRedirect returns true when this delete recording rule o k response has a 3xx status code
func (*DeleteRecordingRuleOK) IsServerError ¶
func (o *DeleteRecordingRuleOK) IsServerError() bool
IsServerError returns true when this delete recording rule o k response has a 5xx status code
func (*DeleteRecordingRuleOK) IsSuccess ¶
func (o *DeleteRecordingRuleOK) IsSuccess() bool
IsSuccess returns true when this delete recording rule o k response has a 2xx status code
func (*DeleteRecordingRuleOK) String ¶
func (o *DeleteRecordingRuleOK) String() string
type DeleteRecordingRuleParams ¶
type DeleteRecordingRuleParams struct { // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRecordingRuleParams contains all the parameters to send to the API endpoint
for the delete recording rule operation. Typically these are written to a http.Request.
func NewDeleteRecordingRuleParams ¶
func NewDeleteRecordingRuleParams() *DeleteRecordingRuleParams
NewDeleteRecordingRuleParams creates a new DeleteRecordingRuleParams 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 NewDeleteRecordingRuleParamsWithContext ¶
func NewDeleteRecordingRuleParamsWithContext(ctx context.Context) *DeleteRecordingRuleParams
NewDeleteRecordingRuleParamsWithContext creates a new DeleteRecordingRuleParams object with the ability to set a context for a request.
func NewDeleteRecordingRuleParamsWithHTTPClient ¶
func NewDeleteRecordingRuleParamsWithHTTPClient(client *http.Client) *DeleteRecordingRuleParams
NewDeleteRecordingRuleParamsWithHTTPClient creates a new DeleteRecordingRuleParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteRecordingRuleParamsWithTimeout ¶
func NewDeleteRecordingRuleParamsWithTimeout(timeout time.Duration) *DeleteRecordingRuleParams
NewDeleteRecordingRuleParamsWithTimeout creates a new DeleteRecordingRuleParams object with the ability to set a timeout on a request.
func (*DeleteRecordingRuleParams) SetContext ¶
func (o *DeleteRecordingRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the delete recording rule params
func (*DeleteRecordingRuleParams) SetDefaults ¶
func (o *DeleteRecordingRuleParams) SetDefaults()
SetDefaults hydrates default values in the delete recording rule params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRecordingRuleParams) SetHTTPClient ¶
func (o *DeleteRecordingRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete recording rule params
func (*DeleteRecordingRuleParams) SetSlug ¶
func (o *DeleteRecordingRuleParams) SetSlug(slug string)
SetSlug adds the slug to the delete recording rule params
func (*DeleteRecordingRuleParams) SetTimeout ¶
func (o *DeleteRecordingRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete recording rule params
func (*DeleteRecordingRuleParams) WithContext ¶
func (o *DeleteRecordingRuleParams) WithContext(ctx context.Context) *DeleteRecordingRuleParams
WithContext adds the context to the delete recording rule params
func (*DeleteRecordingRuleParams) WithDefaults ¶
func (o *DeleteRecordingRuleParams) WithDefaults() *DeleteRecordingRuleParams
WithDefaults hydrates default values in the delete recording rule params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRecordingRuleParams) WithHTTPClient ¶
func (o *DeleteRecordingRuleParams) WithHTTPClient(client *http.Client) *DeleteRecordingRuleParams
WithHTTPClient adds the HTTPClient to the delete recording rule params
func (*DeleteRecordingRuleParams) WithSlug ¶
func (o *DeleteRecordingRuleParams) WithSlug(slug string) *DeleteRecordingRuleParams
WithSlug adds the slug to the delete recording rule params
func (*DeleteRecordingRuleParams) WithTimeout ¶
func (o *DeleteRecordingRuleParams) WithTimeout(timeout time.Duration) *DeleteRecordingRuleParams
WithTimeout adds the timeout to the delete recording rule params
func (*DeleteRecordingRuleParams) WriteToRequest ¶
func (o *DeleteRecordingRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRecordingRuleReader ¶
type DeleteRecordingRuleReader struct {
// contains filtered or unexported fields
}
DeleteRecordingRuleReader is a Reader for the DeleteRecordingRule structure.
func (*DeleteRecordingRuleReader) ReadResponse ¶
func (o *DeleteRecordingRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListRecordingRulesDefault ¶
type ListRecordingRulesDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ListRecordingRulesDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewListRecordingRulesDefault ¶
func NewListRecordingRulesDefault(code int) *ListRecordingRulesDefault
NewListRecordingRulesDefault creates a ListRecordingRulesDefault with default headers values
func (*ListRecordingRulesDefault) Code ¶
func (o *ListRecordingRulesDefault) Code() int
Code gets the status code for the list recording rules default response
func (*ListRecordingRulesDefault) Error ¶
func (o *ListRecordingRulesDefault) Error() string
func (*ListRecordingRulesDefault) GetPayload ¶
func (o *ListRecordingRulesDefault) GetPayload() models.GenericError
func (*ListRecordingRulesDefault) IsClientError ¶
func (o *ListRecordingRulesDefault) IsClientError() bool
IsClientError returns true when this list recording rules default response has a 4xx status code
func (*ListRecordingRulesDefault) IsCode ¶
func (o *ListRecordingRulesDefault) IsCode(code int) bool
IsCode returns true when this list recording rules default response a status code equal to that given
func (*ListRecordingRulesDefault) IsRedirect ¶
func (o *ListRecordingRulesDefault) IsRedirect() bool
IsRedirect returns true when this list recording rules default response has a 3xx status code
func (*ListRecordingRulesDefault) IsServerError ¶
func (o *ListRecordingRulesDefault) IsServerError() bool
IsServerError returns true when this list recording rules default response has a 5xx status code
func (*ListRecordingRulesDefault) IsSuccess ¶
func (o *ListRecordingRulesDefault) IsSuccess() bool
IsSuccess returns true when this list recording rules default response has a 2xx status code
func (*ListRecordingRulesDefault) String ¶
func (o *ListRecordingRulesDefault) String() string
type ListRecordingRulesInternalServerError ¶
ListRecordingRulesInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewListRecordingRulesInternalServerError ¶
func NewListRecordingRulesInternalServerError() *ListRecordingRulesInternalServerError
NewListRecordingRulesInternalServerError creates a ListRecordingRulesInternalServerError with default headers values
func (*ListRecordingRulesInternalServerError) Code ¶
func (o *ListRecordingRulesInternalServerError) Code() int
Code gets the status code for the list recording rules internal server error response
func (*ListRecordingRulesInternalServerError) Error ¶
func (o *ListRecordingRulesInternalServerError) Error() string
func (*ListRecordingRulesInternalServerError) GetPayload ¶
func (o *ListRecordingRulesInternalServerError) GetPayload() *models.APIError
func (*ListRecordingRulesInternalServerError) IsClientError ¶
func (o *ListRecordingRulesInternalServerError) IsClientError() bool
IsClientError returns true when this list recording rules internal server error response has a 4xx status code
func (*ListRecordingRulesInternalServerError) IsCode ¶
func (o *ListRecordingRulesInternalServerError) IsCode(code int) bool
IsCode returns true when this list recording rules internal server error response a status code equal to that given
func (*ListRecordingRulesInternalServerError) IsRedirect ¶
func (o *ListRecordingRulesInternalServerError) IsRedirect() bool
IsRedirect returns true when this list recording rules internal server error response has a 3xx status code
func (*ListRecordingRulesInternalServerError) IsServerError ¶
func (o *ListRecordingRulesInternalServerError) IsServerError() bool
IsServerError returns true when this list recording rules internal server error response has a 5xx status code
func (*ListRecordingRulesInternalServerError) IsSuccess ¶
func (o *ListRecordingRulesInternalServerError) IsSuccess() bool
IsSuccess returns true when this list recording rules internal server error response has a 2xx status code
func (*ListRecordingRulesInternalServerError) String ¶
func (o *ListRecordingRulesInternalServerError) String() string
type ListRecordingRulesOK ¶
type ListRecordingRulesOK struct {
Payload *models.Configv1ListRecordingRulesResponse
}
ListRecordingRulesOK describes a response with status code 200, with default header values.
A successful response.
func NewListRecordingRulesOK ¶
func NewListRecordingRulesOK() *ListRecordingRulesOK
NewListRecordingRulesOK creates a ListRecordingRulesOK with default headers values
func (*ListRecordingRulesOK) Code ¶
func (o *ListRecordingRulesOK) Code() int
Code gets the status code for the list recording rules o k response
func (*ListRecordingRulesOK) Error ¶
func (o *ListRecordingRulesOK) Error() string
func (*ListRecordingRulesOK) GetPayload ¶
func (o *ListRecordingRulesOK) GetPayload() *models.Configv1ListRecordingRulesResponse
func (*ListRecordingRulesOK) IsClientError ¶
func (o *ListRecordingRulesOK) IsClientError() bool
IsClientError returns true when this list recording rules o k response has a 4xx status code
func (*ListRecordingRulesOK) IsCode ¶
func (o *ListRecordingRulesOK) IsCode(code int) bool
IsCode returns true when this list recording rules o k response a status code equal to that given
func (*ListRecordingRulesOK) IsRedirect ¶
func (o *ListRecordingRulesOK) IsRedirect() bool
IsRedirect returns true when this list recording rules o k response has a 3xx status code
func (*ListRecordingRulesOK) IsServerError ¶
func (o *ListRecordingRulesOK) IsServerError() bool
IsServerError returns true when this list recording rules o k response has a 5xx status code
func (*ListRecordingRulesOK) IsSuccess ¶
func (o *ListRecordingRulesOK) IsSuccess() bool
IsSuccess returns true when this list recording rules o k response has a 2xx status code
func (*ListRecordingRulesOK) String ¶
func (o *ListRecordingRulesOK) String() string
type ListRecordingRulesParams ¶
type ListRecordingRulesParams struct { /* BucketSlugs. The execution_groups filter cannot be used when a bucket_slug filter is provided. */ BucketSlugs []string /* ExecutionGroups. The bucket_slugs filter cannot be used when an execution_group filter is provided. */ ExecutionGroups []string /* Names. Filters results by name, where any RecordingRule with a matching name in the given list (and matches all other filters) is returned. */ Names []string /* PageMaxSize. Page size preference (i.e. how many items are returned in the next page). If zero, the server will use a default. Regardless of what size is given, clients must never assume how many items will be returned. Format: int64 */ PageMaxSize *int64 /* PageToken. Opaque page token identifying which page to request. An empty token identifies the first page. */ PageToken *string /* Slugs. Filters results by slug, where any RecordingRule with a matching slug in the given list (and matches all other filters) is returned. */ Slugs []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListRecordingRulesParams contains all the parameters to send to the API endpoint
for the list recording rules operation. Typically these are written to a http.Request.
func NewListRecordingRulesParams ¶
func NewListRecordingRulesParams() *ListRecordingRulesParams
NewListRecordingRulesParams creates a new ListRecordingRulesParams 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 NewListRecordingRulesParamsWithContext ¶
func NewListRecordingRulesParamsWithContext(ctx context.Context) *ListRecordingRulesParams
NewListRecordingRulesParamsWithContext creates a new ListRecordingRulesParams object with the ability to set a context for a request.
func NewListRecordingRulesParamsWithHTTPClient ¶
func NewListRecordingRulesParamsWithHTTPClient(client *http.Client) *ListRecordingRulesParams
NewListRecordingRulesParamsWithHTTPClient creates a new ListRecordingRulesParams object with the ability to set a custom HTTPClient for a request.
func NewListRecordingRulesParamsWithTimeout ¶
func NewListRecordingRulesParamsWithTimeout(timeout time.Duration) *ListRecordingRulesParams
NewListRecordingRulesParamsWithTimeout creates a new ListRecordingRulesParams object with the ability to set a timeout on a request.
func (*ListRecordingRulesParams) SetBucketSlugs ¶
func (o *ListRecordingRulesParams) SetBucketSlugs(bucketSlugs []string)
SetBucketSlugs adds the bucketSlugs to the list recording rules params
func (*ListRecordingRulesParams) SetContext ¶
func (o *ListRecordingRulesParams) SetContext(ctx context.Context)
SetContext adds the context to the list recording rules params
func (*ListRecordingRulesParams) SetDefaults ¶
func (o *ListRecordingRulesParams) SetDefaults()
SetDefaults hydrates default values in the list recording rules params (not the query body).
All values with no default are reset to their zero value.
func (*ListRecordingRulesParams) SetExecutionGroups ¶
func (o *ListRecordingRulesParams) SetExecutionGroups(executionGroups []string)
SetExecutionGroups adds the executionGroups to the list recording rules params
func (*ListRecordingRulesParams) SetHTTPClient ¶
func (o *ListRecordingRulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list recording rules params
func (*ListRecordingRulesParams) SetNames ¶
func (o *ListRecordingRulesParams) SetNames(names []string)
SetNames adds the names to the list recording rules params
func (*ListRecordingRulesParams) SetPageMaxSize ¶
func (o *ListRecordingRulesParams) SetPageMaxSize(pageMaxSize *int64)
SetPageMaxSize adds the pageMaxSize to the list recording rules params
func (*ListRecordingRulesParams) SetPageToken ¶
func (o *ListRecordingRulesParams) SetPageToken(pageToken *string)
SetPageToken adds the pageToken to the list recording rules params
func (*ListRecordingRulesParams) SetSlugs ¶
func (o *ListRecordingRulesParams) SetSlugs(slugs []string)
SetSlugs adds the slugs to the list recording rules params
func (*ListRecordingRulesParams) SetTimeout ¶
func (o *ListRecordingRulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list recording rules params
func (*ListRecordingRulesParams) WithBucketSlugs ¶
func (o *ListRecordingRulesParams) WithBucketSlugs(bucketSlugs []string) *ListRecordingRulesParams
WithBucketSlugs adds the bucketSlugs to the list recording rules params
func (*ListRecordingRulesParams) WithContext ¶
func (o *ListRecordingRulesParams) WithContext(ctx context.Context) *ListRecordingRulesParams
WithContext adds the context to the list recording rules params
func (*ListRecordingRulesParams) WithDefaults ¶
func (o *ListRecordingRulesParams) WithDefaults() *ListRecordingRulesParams
WithDefaults hydrates default values in the list recording rules params (not the query body).
All values with no default are reset to their zero value.
func (*ListRecordingRulesParams) WithExecutionGroups ¶
func (o *ListRecordingRulesParams) WithExecutionGroups(executionGroups []string) *ListRecordingRulesParams
WithExecutionGroups adds the executionGroups to the list recording rules params
func (*ListRecordingRulesParams) WithHTTPClient ¶
func (o *ListRecordingRulesParams) WithHTTPClient(client *http.Client) *ListRecordingRulesParams
WithHTTPClient adds the HTTPClient to the list recording rules params
func (*ListRecordingRulesParams) WithNames ¶
func (o *ListRecordingRulesParams) WithNames(names []string) *ListRecordingRulesParams
WithNames adds the names to the list recording rules params
func (*ListRecordingRulesParams) WithPageMaxSize ¶
func (o *ListRecordingRulesParams) WithPageMaxSize(pageMaxSize *int64) *ListRecordingRulesParams
WithPageMaxSize adds the pageMaxSize to the list recording rules params
func (*ListRecordingRulesParams) WithPageToken ¶
func (o *ListRecordingRulesParams) WithPageToken(pageToken *string) *ListRecordingRulesParams
WithPageToken adds the pageToken to the list recording rules params
func (*ListRecordingRulesParams) WithSlugs ¶
func (o *ListRecordingRulesParams) WithSlugs(slugs []string) *ListRecordingRulesParams
WithSlugs adds the slugs to the list recording rules params
func (*ListRecordingRulesParams) WithTimeout ¶
func (o *ListRecordingRulesParams) WithTimeout(timeout time.Duration) *ListRecordingRulesParams
WithTimeout adds the timeout to the list recording rules params
func (*ListRecordingRulesParams) WriteToRequest ¶
func (o *ListRecordingRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListRecordingRulesReader ¶
type ListRecordingRulesReader struct {
// contains filtered or unexported fields
}
ListRecordingRulesReader is a Reader for the ListRecordingRules structure.
func (*ListRecordingRulesReader) ReadResponse ¶
func (o *ListRecordingRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadRecordingRuleDefault ¶
type ReadRecordingRuleDefault struct { Payload models.GenericError // contains filtered or unexported fields }
ReadRecordingRuleDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewReadRecordingRuleDefault ¶
func NewReadRecordingRuleDefault(code int) *ReadRecordingRuleDefault
NewReadRecordingRuleDefault creates a ReadRecordingRuleDefault with default headers values
func (*ReadRecordingRuleDefault) Code ¶
func (o *ReadRecordingRuleDefault) Code() int
Code gets the status code for the read recording rule default response
func (*ReadRecordingRuleDefault) Error ¶
func (o *ReadRecordingRuleDefault) Error() string
func (*ReadRecordingRuleDefault) GetPayload ¶
func (o *ReadRecordingRuleDefault) GetPayload() models.GenericError
func (*ReadRecordingRuleDefault) IsClientError ¶
func (o *ReadRecordingRuleDefault) IsClientError() bool
IsClientError returns true when this read recording rule default response has a 4xx status code
func (*ReadRecordingRuleDefault) IsCode ¶
func (o *ReadRecordingRuleDefault) IsCode(code int) bool
IsCode returns true when this read recording rule default response a status code equal to that given
func (*ReadRecordingRuleDefault) IsRedirect ¶
func (o *ReadRecordingRuleDefault) IsRedirect() bool
IsRedirect returns true when this read recording rule default response has a 3xx status code
func (*ReadRecordingRuleDefault) IsServerError ¶
func (o *ReadRecordingRuleDefault) IsServerError() bool
IsServerError returns true when this read recording rule default response has a 5xx status code
func (*ReadRecordingRuleDefault) IsSuccess ¶
func (o *ReadRecordingRuleDefault) IsSuccess() bool
IsSuccess returns true when this read recording rule default response has a 2xx status code
func (*ReadRecordingRuleDefault) String ¶
func (o *ReadRecordingRuleDefault) String() string
type ReadRecordingRuleInternalServerError ¶
ReadRecordingRuleInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewReadRecordingRuleInternalServerError ¶
func NewReadRecordingRuleInternalServerError() *ReadRecordingRuleInternalServerError
NewReadRecordingRuleInternalServerError creates a ReadRecordingRuleInternalServerError with default headers values
func (*ReadRecordingRuleInternalServerError) Code ¶
func (o *ReadRecordingRuleInternalServerError) Code() int
Code gets the status code for the read recording rule internal server error response
func (*ReadRecordingRuleInternalServerError) Error ¶
func (o *ReadRecordingRuleInternalServerError) Error() string
func (*ReadRecordingRuleInternalServerError) GetPayload ¶
func (o *ReadRecordingRuleInternalServerError) GetPayload() *models.APIError
func (*ReadRecordingRuleInternalServerError) IsClientError ¶
func (o *ReadRecordingRuleInternalServerError) IsClientError() bool
IsClientError returns true when this read recording rule internal server error response has a 4xx status code
func (*ReadRecordingRuleInternalServerError) IsCode ¶
func (o *ReadRecordingRuleInternalServerError) IsCode(code int) bool
IsCode returns true when this read recording rule internal server error response a status code equal to that given
func (*ReadRecordingRuleInternalServerError) IsRedirect ¶
func (o *ReadRecordingRuleInternalServerError) IsRedirect() bool
IsRedirect returns true when this read recording rule internal server error response has a 3xx status code
func (*ReadRecordingRuleInternalServerError) IsServerError ¶
func (o *ReadRecordingRuleInternalServerError) IsServerError() bool
IsServerError returns true when this read recording rule internal server error response has a 5xx status code
func (*ReadRecordingRuleInternalServerError) IsSuccess ¶
func (o *ReadRecordingRuleInternalServerError) IsSuccess() bool
IsSuccess returns true when this read recording rule internal server error response has a 2xx status code
func (*ReadRecordingRuleInternalServerError) String ¶
func (o *ReadRecordingRuleInternalServerError) String() string
type ReadRecordingRuleNotFound ¶
ReadRecordingRuleNotFound describes a response with status code 404, with default header values.
Cannot read the RecordingRule because the slug does not exist.
func NewReadRecordingRuleNotFound ¶
func NewReadRecordingRuleNotFound() *ReadRecordingRuleNotFound
NewReadRecordingRuleNotFound creates a ReadRecordingRuleNotFound with default headers values
func (*ReadRecordingRuleNotFound) Code ¶
func (o *ReadRecordingRuleNotFound) Code() int
Code gets the status code for the read recording rule not found response
func (*ReadRecordingRuleNotFound) Error ¶
func (o *ReadRecordingRuleNotFound) Error() string
func (*ReadRecordingRuleNotFound) GetPayload ¶
func (o *ReadRecordingRuleNotFound) GetPayload() *models.APIError
func (*ReadRecordingRuleNotFound) IsClientError ¶
func (o *ReadRecordingRuleNotFound) IsClientError() bool
IsClientError returns true when this read recording rule not found response has a 4xx status code
func (*ReadRecordingRuleNotFound) IsCode ¶
func (o *ReadRecordingRuleNotFound) IsCode(code int) bool
IsCode returns true when this read recording rule not found response a status code equal to that given
func (*ReadRecordingRuleNotFound) IsRedirect ¶
func (o *ReadRecordingRuleNotFound) IsRedirect() bool
IsRedirect returns true when this read recording rule not found response has a 3xx status code
func (*ReadRecordingRuleNotFound) IsServerError ¶
func (o *ReadRecordingRuleNotFound) IsServerError() bool
IsServerError returns true when this read recording rule not found response has a 5xx status code
func (*ReadRecordingRuleNotFound) IsSuccess ¶
func (o *ReadRecordingRuleNotFound) IsSuccess() bool
IsSuccess returns true when this read recording rule not found response has a 2xx status code
func (*ReadRecordingRuleNotFound) String ¶
func (o *ReadRecordingRuleNotFound) String() string
type ReadRecordingRuleOK ¶
type ReadRecordingRuleOK struct {
Payload *models.Configv1ReadRecordingRuleResponse
}
ReadRecordingRuleOK describes a response with status code 200, with default header values.
A successful response.
func NewReadRecordingRuleOK ¶
func NewReadRecordingRuleOK() *ReadRecordingRuleOK
NewReadRecordingRuleOK creates a ReadRecordingRuleOK with default headers values
func (*ReadRecordingRuleOK) Code ¶
func (o *ReadRecordingRuleOK) Code() int
Code gets the status code for the read recording rule o k response
func (*ReadRecordingRuleOK) Error ¶
func (o *ReadRecordingRuleOK) Error() string
func (*ReadRecordingRuleOK) GetPayload ¶
func (o *ReadRecordingRuleOK) GetPayload() *models.Configv1ReadRecordingRuleResponse
func (*ReadRecordingRuleOK) IsClientError ¶
func (o *ReadRecordingRuleOK) IsClientError() bool
IsClientError returns true when this read recording rule o k response has a 4xx status code
func (*ReadRecordingRuleOK) IsCode ¶
func (o *ReadRecordingRuleOK) IsCode(code int) bool
IsCode returns true when this read recording rule o k response a status code equal to that given
func (*ReadRecordingRuleOK) IsRedirect ¶
func (o *ReadRecordingRuleOK) IsRedirect() bool
IsRedirect returns true when this read recording rule o k response has a 3xx status code
func (*ReadRecordingRuleOK) IsServerError ¶
func (o *ReadRecordingRuleOK) IsServerError() bool
IsServerError returns true when this read recording rule o k response has a 5xx status code
func (*ReadRecordingRuleOK) IsSuccess ¶
func (o *ReadRecordingRuleOK) IsSuccess() bool
IsSuccess returns true when this read recording rule o k response has a 2xx status code
func (*ReadRecordingRuleOK) String ¶
func (o *ReadRecordingRuleOK) String() string
type ReadRecordingRuleParams ¶
type ReadRecordingRuleParams struct { // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadRecordingRuleParams contains all the parameters to send to the API endpoint
for the read recording rule operation. Typically these are written to a http.Request.
func NewReadRecordingRuleParams ¶
func NewReadRecordingRuleParams() *ReadRecordingRuleParams
NewReadRecordingRuleParams creates a new ReadRecordingRuleParams 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 NewReadRecordingRuleParamsWithContext ¶
func NewReadRecordingRuleParamsWithContext(ctx context.Context) *ReadRecordingRuleParams
NewReadRecordingRuleParamsWithContext creates a new ReadRecordingRuleParams object with the ability to set a context for a request.
func NewReadRecordingRuleParamsWithHTTPClient ¶
func NewReadRecordingRuleParamsWithHTTPClient(client *http.Client) *ReadRecordingRuleParams
NewReadRecordingRuleParamsWithHTTPClient creates a new ReadRecordingRuleParams object with the ability to set a custom HTTPClient for a request.
func NewReadRecordingRuleParamsWithTimeout ¶
func NewReadRecordingRuleParamsWithTimeout(timeout time.Duration) *ReadRecordingRuleParams
NewReadRecordingRuleParamsWithTimeout creates a new ReadRecordingRuleParams object with the ability to set a timeout on a request.
func (*ReadRecordingRuleParams) SetContext ¶
func (o *ReadRecordingRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the read recording rule params
func (*ReadRecordingRuleParams) SetDefaults ¶
func (o *ReadRecordingRuleParams) SetDefaults()
SetDefaults hydrates default values in the read recording rule params (not the query body).
All values with no default are reset to their zero value.
func (*ReadRecordingRuleParams) SetHTTPClient ¶
func (o *ReadRecordingRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read recording rule params
func (*ReadRecordingRuleParams) SetSlug ¶
func (o *ReadRecordingRuleParams) SetSlug(slug string)
SetSlug adds the slug to the read recording rule params
func (*ReadRecordingRuleParams) SetTimeout ¶
func (o *ReadRecordingRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read recording rule params
func (*ReadRecordingRuleParams) WithContext ¶
func (o *ReadRecordingRuleParams) WithContext(ctx context.Context) *ReadRecordingRuleParams
WithContext adds the context to the read recording rule params
func (*ReadRecordingRuleParams) WithDefaults ¶
func (o *ReadRecordingRuleParams) WithDefaults() *ReadRecordingRuleParams
WithDefaults hydrates default values in the read recording rule params (not the query body).
All values with no default are reset to their zero value.
func (*ReadRecordingRuleParams) WithHTTPClient ¶
func (o *ReadRecordingRuleParams) WithHTTPClient(client *http.Client) *ReadRecordingRuleParams
WithHTTPClient adds the HTTPClient to the read recording rule params
func (*ReadRecordingRuleParams) WithSlug ¶
func (o *ReadRecordingRuleParams) WithSlug(slug string) *ReadRecordingRuleParams
WithSlug adds the slug to the read recording rule params
func (*ReadRecordingRuleParams) WithTimeout ¶
func (o *ReadRecordingRuleParams) WithTimeout(timeout time.Duration) *ReadRecordingRuleParams
WithTimeout adds the timeout to the read recording rule params
func (*ReadRecordingRuleParams) WriteToRequest ¶
func (o *ReadRecordingRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadRecordingRuleReader ¶
type ReadRecordingRuleReader struct {
// contains filtered or unexported fields
}
ReadRecordingRuleReader is a Reader for the ReadRecordingRule structure.
func (*ReadRecordingRuleReader) ReadResponse ¶
func (o *ReadRecordingRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateRecordingRuleBadRequest ¶
UpdateRecordingRuleBadRequest describes a response with status code 400, with default header values.
Cannot update the RecordingRule because the request is invalid.
func NewUpdateRecordingRuleBadRequest ¶
func NewUpdateRecordingRuleBadRequest() *UpdateRecordingRuleBadRequest
NewUpdateRecordingRuleBadRequest creates a UpdateRecordingRuleBadRequest with default headers values
func (*UpdateRecordingRuleBadRequest) Code ¶
func (o *UpdateRecordingRuleBadRequest) Code() int
Code gets the status code for the update recording rule bad request response
func (*UpdateRecordingRuleBadRequest) Error ¶
func (o *UpdateRecordingRuleBadRequest) Error() string
func (*UpdateRecordingRuleBadRequest) GetPayload ¶
func (o *UpdateRecordingRuleBadRequest) GetPayload() *models.APIError
func (*UpdateRecordingRuleBadRequest) IsClientError ¶
func (o *UpdateRecordingRuleBadRequest) IsClientError() bool
IsClientError returns true when this update recording rule bad request response has a 4xx status code
func (*UpdateRecordingRuleBadRequest) IsCode ¶
func (o *UpdateRecordingRuleBadRequest) IsCode(code int) bool
IsCode returns true when this update recording rule bad request response a status code equal to that given
func (*UpdateRecordingRuleBadRequest) IsRedirect ¶
func (o *UpdateRecordingRuleBadRequest) IsRedirect() bool
IsRedirect returns true when this update recording rule bad request response has a 3xx status code
func (*UpdateRecordingRuleBadRequest) IsServerError ¶
func (o *UpdateRecordingRuleBadRequest) IsServerError() bool
IsServerError returns true when this update recording rule bad request response has a 5xx status code
func (*UpdateRecordingRuleBadRequest) IsSuccess ¶
func (o *UpdateRecordingRuleBadRequest) IsSuccess() bool
IsSuccess returns true when this update recording rule bad request response has a 2xx status code
func (*UpdateRecordingRuleBadRequest) String ¶
func (o *UpdateRecordingRuleBadRequest) String() string
type UpdateRecordingRuleBody ¶
type UpdateRecordingRuleBody struct { // If true, the RecordingRule will be created if it does not already exist, identified by slug. If false, an error will be returned if the RecordingRule does not already exist. CreateIfMissing bool `json:"create_if_missing,omitempty"` // If true, the RecordingRule will not be created nor updated, and no response RecordingRule will be returned. The response will return an error if the given RecordingRule is invalid. DryRun bool `json:"dry_run,omitempty"` // recording rule RecordingRule *models.Configv1RecordingRule `json:"recording_rule,omitempty"` }
UpdateRecordingRuleBody update recording rule body swagger:model UpdateRecordingRuleBody
func (*UpdateRecordingRuleBody) ContextValidate ¶
func (o *UpdateRecordingRuleBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update recording rule body based on the context it is used
func (*UpdateRecordingRuleBody) MarshalBinary ¶
func (o *UpdateRecordingRuleBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateRecordingRuleBody) UnmarshalBinary ¶
func (o *UpdateRecordingRuleBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateRecordingRuleConflict ¶
UpdateRecordingRuleConflict describes a response with status code 409, with default header values.
Cannot update the RecordingRule because there is a conflict with an existing RecordingRule.
func NewUpdateRecordingRuleConflict ¶
func NewUpdateRecordingRuleConflict() *UpdateRecordingRuleConflict
NewUpdateRecordingRuleConflict creates a UpdateRecordingRuleConflict with default headers values
func (*UpdateRecordingRuleConflict) Code ¶
func (o *UpdateRecordingRuleConflict) Code() int
Code gets the status code for the update recording rule conflict response
func (*UpdateRecordingRuleConflict) Error ¶
func (o *UpdateRecordingRuleConflict) Error() string
func (*UpdateRecordingRuleConflict) GetPayload ¶
func (o *UpdateRecordingRuleConflict) GetPayload() *models.APIError
func (*UpdateRecordingRuleConflict) IsClientError ¶
func (o *UpdateRecordingRuleConflict) IsClientError() bool
IsClientError returns true when this update recording rule conflict response has a 4xx status code
func (*UpdateRecordingRuleConflict) IsCode ¶
func (o *UpdateRecordingRuleConflict) IsCode(code int) bool
IsCode returns true when this update recording rule conflict response a status code equal to that given
func (*UpdateRecordingRuleConflict) IsRedirect ¶
func (o *UpdateRecordingRuleConflict) IsRedirect() bool
IsRedirect returns true when this update recording rule conflict response has a 3xx status code
func (*UpdateRecordingRuleConflict) IsServerError ¶
func (o *UpdateRecordingRuleConflict) IsServerError() bool
IsServerError returns true when this update recording rule conflict response has a 5xx status code
func (*UpdateRecordingRuleConflict) IsSuccess ¶
func (o *UpdateRecordingRuleConflict) IsSuccess() bool
IsSuccess returns true when this update recording rule conflict response has a 2xx status code
func (*UpdateRecordingRuleConflict) String ¶
func (o *UpdateRecordingRuleConflict) String() string
type UpdateRecordingRuleDefault ¶
type UpdateRecordingRuleDefault struct { Payload models.GenericError // contains filtered or unexported fields }
UpdateRecordingRuleDefault describes a response with status code -1, with default header values.
An undefined error response.
func NewUpdateRecordingRuleDefault ¶
func NewUpdateRecordingRuleDefault(code int) *UpdateRecordingRuleDefault
NewUpdateRecordingRuleDefault creates a UpdateRecordingRuleDefault with default headers values
func (*UpdateRecordingRuleDefault) Code ¶
func (o *UpdateRecordingRuleDefault) Code() int
Code gets the status code for the update recording rule default response
func (*UpdateRecordingRuleDefault) Error ¶
func (o *UpdateRecordingRuleDefault) Error() string
func (*UpdateRecordingRuleDefault) GetPayload ¶
func (o *UpdateRecordingRuleDefault) GetPayload() models.GenericError
func (*UpdateRecordingRuleDefault) IsClientError ¶
func (o *UpdateRecordingRuleDefault) IsClientError() bool
IsClientError returns true when this update recording rule default response has a 4xx status code
func (*UpdateRecordingRuleDefault) IsCode ¶
func (o *UpdateRecordingRuleDefault) IsCode(code int) bool
IsCode returns true when this update recording rule default response a status code equal to that given
func (*UpdateRecordingRuleDefault) IsRedirect ¶
func (o *UpdateRecordingRuleDefault) IsRedirect() bool
IsRedirect returns true when this update recording rule default response has a 3xx status code
func (*UpdateRecordingRuleDefault) IsServerError ¶
func (o *UpdateRecordingRuleDefault) IsServerError() bool
IsServerError returns true when this update recording rule default response has a 5xx status code
func (*UpdateRecordingRuleDefault) IsSuccess ¶
func (o *UpdateRecordingRuleDefault) IsSuccess() bool
IsSuccess returns true when this update recording rule default response has a 2xx status code
func (*UpdateRecordingRuleDefault) String ¶
func (o *UpdateRecordingRuleDefault) String() string
type UpdateRecordingRuleInternalServerError ¶
UpdateRecordingRuleInternalServerError describes a response with status code 500, with default header values.
An unexpected error response.
func NewUpdateRecordingRuleInternalServerError ¶
func NewUpdateRecordingRuleInternalServerError() *UpdateRecordingRuleInternalServerError
NewUpdateRecordingRuleInternalServerError creates a UpdateRecordingRuleInternalServerError with default headers values
func (*UpdateRecordingRuleInternalServerError) Code ¶
func (o *UpdateRecordingRuleInternalServerError) Code() int
Code gets the status code for the update recording rule internal server error response
func (*UpdateRecordingRuleInternalServerError) Error ¶
func (o *UpdateRecordingRuleInternalServerError) Error() string
func (*UpdateRecordingRuleInternalServerError) GetPayload ¶
func (o *UpdateRecordingRuleInternalServerError) GetPayload() *models.APIError
func (*UpdateRecordingRuleInternalServerError) IsClientError ¶
func (o *UpdateRecordingRuleInternalServerError) IsClientError() bool
IsClientError returns true when this update recording rule internal server error response has a 4xx status code
func (*UpdateRecordingRuleInternalServerError) IsCode ¶
func (o *UpdateRecordingRuleInternalServerError) IsCode(code int) bool
IsCode returns true when this update recording rule internal server error response a status code equal to that given
func (*UpdateRecordingRuleInternalServerError) IsRedirect ¶
func (o *UpdateRecordingRuleInternalServerError) IsRedirect() bool
IsRedirect returns true when this update recording rule internal server error response has a 3xx status code
func (*UpdateRecordingRuleInternalServerError) IsServerError ¶
func (o *UpdateRecordingRuleInternalServerError) IsServerError() bool
IsServerError returns true when this update recording rule internal server error response has a 5xx status code
func (*UpdateRecordingRuleInternalServerError) IsSuccess ¶
func (o *UpdateRecordingRuleInternalServerError) IsSuccess() bool
IsSuccess returns true when this update recording rule internal server error response has a 2xx status code
func (*UpdateRecordingRuleInternalServerError) String ¶
func (o *UpdateRecordingRuleInternalServerError) String() string
type UpdateRecordingRuleNotFound ¶
UpdateRecordingRuleNotFound describes a response with status code 404, with default header values.
Cannot update the RecordingRule because the slug does not exist.
func NewUpdateRecordingRuleNotFound ¶
func NewUpdateRecordingRuleNotFound() *UpdateRecordingRuleNotFound
NewUpdateRecordingRuleNotFound creates a UpdateRecordingRuleNotFound with default headers values
func (*UpdateRecordingRuleNotFound) Code ¶
func (o *UpdateRecordingRuleNotFound) Code() int
Code gets the status code for the update recording rule not found response
func (*UpdateRecordingRuleNotFound) Error ¶
func (o *UpdateRecordingRuleNotFound) Error() string
func (*UpdateRecordingRuleNotFound) GetPayload ¶
func (o *UpdateRecordingRuleNotFound) GetPayload() *models.APIError
func (*UpdateRecordingRuleNotFound) IsClientError ¶
func (o *UpdateRecordingRuleNotFound) IsClientError() bool
IsClientError returns true when this update recording rule not found response has a 4xx status code
func (*UpdateRecordingRuleNotFound) IsCode ¶
func (o *UpdateRecordingRuleNotFound) IsCode(code int) bool
IsCode returns true when this update recording rule not found response a status code equal to that given
func (*UpdateRecordingRuleNotFound) IsRedirect ¶
func (o *UpdateRecordingRuleNotFound) IsRedirect() bool
IsRedirect returns true when this update recording rule not found response has a 3xx status code
func (*UpdateRecordingRuleNotFound) IsServerError ¶
func (o *UpdateRecordingRuleNotFound) IsServerError() bool
IsServerError returns true when this update recording rule not found response has a 5xx status code
func (*UpdateRecordingRuleNotFound) IsSuccess ¶
func (o *UpdateRecordingRuleNotFound) IsSuccess() bool
IsSuccess returns true when this update recording rule not found response has a 2xx status code
func (*UpdateRecordingRuleNotFound) String ¶
func (o *UpdateRecordingRuleNotFound) String() string
type UpdateRecordingRuleOK ¶
type UpdateRecordingRuleOK struct {
Payload *models.Configv1UpdateRecordingRuleResponse
}
UpdateRecordingRuleOK describes a response with status code 200, with default header values.
A successful response containing the updated RecordingRule.
func NewUpdateRecordingRuleOK ¶
func NewUpdateRecordingRuleOK() *UpdateRecordingRuleOK
NewUpdateRecordingRuleOK creates a UpdateRecordingRuleOK with default headers values
func (*UpdateRecordingRuleOK) Code ¶
func (o *UpdateRecordingRuleOK) Code() int
Code gets the status code for the update recording rule o k response
func (*UpdateRecordingRuleOK) Error ¶
func (o *UpdateRecordingRuleOK) Error() string
func (*UpdateRecordingRuleOK) GetPayload ¶
func (o *UpdateRecordingRuleOK) GetPayload() *models.Configv1UpdateRecordingRuleResponse
func (*UpdateRecordingRuleOK) IsClientError ¶
func (o *UpdateRecordingRuleOK) IsClientError() bool
IsClientError returns true when this update recording rule o k response has a 4xx status code
func (*UpdateRecordingRuleOK) IsCode ¶
func (o *UpdateRecordingRuleOK) IsCode(code int) bool
IsCode returns true when this update recording rule o k response a status code equal to that given
func (*UpdateRecordingRuleOK) IsRedirect ¶
func (o *UpdateRecordingRuleOK) IsRedirect() bool
IsRedirect returns true when this update recording rule o k response has a 3xx status code
func (*UpdateRecordingRuleOK) IsServerError ¶
func (o *UpdateRecordingRuleOK) IsServerError() bool
IsServerError returns true when this update recording rule o k response has a 5xx status code
func (*UpdateRecordingRuleOK) IsSuccess ¶
func (o *UpdateRecordingRuleOK) IsSuccess() bool
IsSuccess returns true when this update recording rule o k response has a 2xx status code
func (*UpdateRecordingRuleOK) String ¶
func (o *UpdateRecordingRuleOK) String() string
type UpdateRecordingRuleParams ¶
type UpdateRecordingRuleParams struct { // Body. Body UpdateRecordingRuleBody // Slug. Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateRecordingRuleParams contains all the parameters to send to the API endpoint
for the update recording rule operation. Typically these are written to a http.Request.
func NewUpdateRecordingRuleParams ¶
func NewUpdateRecordingRuleParams() *UpdateRecordingRuleParams
NewUpdateRecordingRuleParams creates a new UpdateRecordingRuleParams 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 NewUpdateRecordingRuleParamsWithContext ¶
func NewUpdateRecordingRuleParamsWithContext(ctx context.Context) *UpdateRecordingRuleParams
NewUpdateRecordingRuleParamsWithContext creates a new UpdateRecordingRuleParams object with the ability to set a context for a request.
func NewUpdateRecordingRuleParamsWithHTTPClient ¶
func NewUpdateRecordingRuleParamsWithHTTPClient(client *http.Client) *UpdateRecordingRuleParams
NewUpdateRecordingRuleParamsWithHTTPClient creates a new UpdateRecordingRuleParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateRecordingRuleParamsWithTimeout ¶
func NewUpdateRecordingRuleParamsWithTimeout(timeout time.Duration) *UpdateRecordingRuleParams
NewUpdateRecordingRuleParamsWithTimeout creates a new UpdateRecordingRuleParams object with the ability to set a timeout on a request.
func (*UpdateRecordingRuleParams) SetBody ¶
func (o *UpdateRecordingRuleParams) SetBody(body UpdateRecordingRuleBody)
SetBody adds the body to the update recording rule params
func (*UpdateRecordingRuleParams) SetContext ¶
func (o *UpdateRecordingRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the update recording rule params
func (*UpdateRecordingRuleParams) SetDefaults ¶
func (o *UpdateRecordingRuleParams) SetDefaults()
SetDefaults hydrates default values in the update recording rule params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateRecordingRuleParams) SetHTTPClient ¶
func (o *UpdateRecordingRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update recording rule params
func (*UpdateRecordingRuleParams) SetSlug ¶
func (o *UpdateRecordingRuleParams) SetSlug(slug string)
SetSlug adds the slug to the update recording rule params
func (*UpdateRecordingRuleParams) SetTimeout ¶
func (o *UpdateRecordingRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update recording rule params
func (*UpdateRecordingRuleParams) WithBody ¶
func (o *UpdateRecordingRuleParams) WithBody(body UpdateRecordingRuleBody) *UpdateRecordingRuleParams
WithBody adds the body to the update recording rule params
func (*UpdateRecordingRuleParams) WithContext ¶
func (o *UpdateRecordingRuleParams) WithContext(ctx context.Context) *UpdateRecordingRuleParams
WithContext adds the context to the update recording rule params
func (*UpdateRecordingRuleParams) WithDefaults ¶
func (o *UpdateRecordingRuleParams) WithDefaults() *UpdateRecordingRuleParams
WithDefaults hydrates default values in the update recording rule params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateRecordingRuleParams) WithHTTPClient ¶
func (o *UpdateRecordingRuleParams) WithHTTPClient(client *http.Client) *UpdateRecordingRuleParams
WithHTTPClient adds the HTTPClient to the update recording rule params
func (*UpdateRecordingRuleParams) WithSlug ¶
func (o *UpdateRecordingRuleParams) WithSlug(slug string) *UpdateRecordingRuleParams
WithSlug adds the slug to the update recording rule params
func (*UpdateRecordingRuleParams) WithTimeout ¶
func (o *UpdateRecordingRuleParams) WithTimeout(timeout time.Duration) *UpdateRecordingRuleParams
WithTimeout adds the timeout to the update recording rule params
func (*UpdateRecordingRuleParams) WriteToRequest ¶
func (o *UpdateRecordingRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateRecordingRuleReader ¶
type UpdateRecordingRuleReader struct {
// contains filtered or unexported fields
}
UpdateRecordingRuleReader is a Reader for the UpdateRecordingRule structure.
func (*UpdateRecordingRuleReader) ReadResponse ¶
func (o *UpdateRecordingRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_recording_rule_parameters.go
- create_recording_rule_responses.go
- delete_recording_rule_parameters.go
- delete_recording_rule_responses.go
- list_recording_rules_parameters.go
- list_recording_rules_responses.go
- read_recording_rule_parameters.go
- read_recording_rule_responses.go
- recording_rule_client.go
- update_recording_rule_parameters.go
- update_recording_rule_responses.go