Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateHTTPAfterResponseRule(params *CreateHTTPAfterResponseRuleParams, ...) (*CreateHTTPAfterResponseRuleCreated, *CreateHTTPAfterResponseRuleAccepted, ...)
- func (a *Client) DeleteHTTPAfterResponseRule(params *DeleteHTTPAfterResponseRuleParams, ...) (*DeleteHTTPAfterResponseRuleAccepted, *DeleteHTTPAfterResponseRuleNoContent, ...)
- func (a *Client) GetHTTPAfterResponseRule(params *GetHTTPAfterResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetHTTPAfterResponseRuleOK, error)
- func (a *Client) GetHTTPAfterResponseRules(params *GetHTTPAfterResponseRulesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetHTTPAfterResponseRulesOK, error)
- func (a *Client) ReplaceHTTPAfterResponseRule(params *ReplaceHTTPAfterResponseRuleParams, ...) (*ReplaceHTTPAfterResponseRuleOK, *ReplaceHTTPAfterResponseRuleAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateHTTPAfterResponseRuleAccepted
- func (o *CreateHTTPAfterResponseRuleAccepted) Error() string
- func (o *CreateHTTPAfterResponseRuleAccepted) GetPayload() *models.HTTPAfterResponseRule
- func (o *CreateHTTPAfterResponseRuleAccepted) IsClientError() bool
- func (o *CreateHTTPAfterResponseRuleAccepted) IsCode(code int) bool
- func (o *CreateHTTPAfterResponseRuleAccepted) IsRedirect() bool
- func (o *CreateHTTPAfterResponseRuleAccepted) IsServerError() bool
- func (o *CreateHTTPAfterResponseRuleAccepted) IsSuccess() bool
- func (o *CreateHTTPAfterResponseRuleAccepted) String() string
- type CreateHTTPAfterResponseRuleBadRequest
- func (o *CreateHTTPAfterResponseRuleBadRequest) Error() string
- func (o *CreateHTTPAfterResponseRuleBadRequest) GetPayload() *models.Error
- func (o *CreateHTTPAfterResponseRuleBadRequest) IsClientError() bool
- func (o *CreateHTTPAfterResponseRuleBadRequest) IsCode(code int) bool
- func (o *CreateHTTPAfterResponseRuleBadRequest) IsRedirect() bool
- func (o *CreateHTTPAfterResponseRuleBadRequest) IsServerError() bool
- func (o *CreateHTTPAfterResponseRuleBadRequest) IsSuccess() bool
- func (o *CreateHTTPAfterResponseRuleBadRequest) String() string
- type CreateHTTPAfterResponseRuleConflict
- func (o *CreateHTTPAfterResponseRuleConflict) Error() string
- func (o *CreateHTTPAfterResponseRuleConflict) GetPayload() *models.Error
- func (o *CreateHTTPAfterResponseRuleConflict) IsClientError() bool
- func (o *CreateHTTPAfterResponseRuleConflict) IsCode(code int) bool
- func (o *CreateHTTPAfterResponseRuleConflict) IsRedirect() bool
- func (o *CreateHTTPAfterResponseRuleConflict) IsServerError() bool
- func (o *CreateHTTPAfterResponseRuleConflict) IsSuccess() bool
- func (o *CreateHTTPAfterResponseRuleConflict) String() string
- type CreateHTTPAfterResponseRuleCreated
- func (o *CreateHTTPAfterResponseRuleCreated) Error() string
- func (o *CreateHTTPAfterResponseRuleCreated) GetPayload() *models.HTTPAfterResponseRule
- func (o *CreateHTTPAfterResponseRuleCreated) IsClientError() bool
- func (o *CreateHTTPAfterResponseRuleCreated) IsCode(code int) bool
- func (o *CreateHTTPAfterResponseRuleCreated) IsRedirect() bool
- func (o *CreateHTTPAfterResponseRuleCreated) IsServerError() bool
- func (o *CreateHTTPAfterResponseRuleCreated) IsSuccess() bool
- func (o *CreateHTTPAfterResponseRuleCreated) String() string
- type CreateHTTPAfterResponseRuleDefault
- func (o *CreateHTTPAfterResponseRuleDefault) Code() int
- func (o *CreateHTTPAfterResponseRuleDefault) Error() string
- func (o *CreateHTTPAfterResponseRuleDefault) GetPayload() *models.Error
- func (o *CreateHTTPAfterResponseRuleDefault) IsClientError() bool
- func (o *CreateHTTPAfterResponseRuleDefault) IsCode(code int) bool
- func (o *CreateHTTPAfterResponseRuleDefault) IsRedirect() bool
- func (o *CreateHTTPAfterResponseRuleDefault) IsServerError() bool
- func (o *CreateHTTPAfterResponseRuleDefault) IsSuccess() bool
- func (o *CreateHTTPAfterResponseRuleDefault) String() string
- type CreateHTTPAfterResponseRuleParams
- func NewCreateHTTPAfterResponseRuleParams() *CreateHTTPAfterResponseRuleParams
- func NewCreateHTTPAfterResponseRuleParamsWithContext(ctx context.Context) *CreateHTTPAfterResponseRuleParams
- func NewCreateHTTPAfterResponseRuleParamsWithHTTPClient(client *http.Client) *CreateHTTPAfterResponseRuleParams
- func NewCreateHTTPAfterResponseRuleParamsWithTimeout(timeout time.Duration) *CreateHTTPAfterResponseRuleParams
- func (o *CreateHTTPAfterResponseRuleParams) SetContext(ctx context.Context)
- func (o *CreateHTTPAfterResponseRuleParams) SetData(data *models.HTTPAfterResponseRule)
- func (o *CreateHTTPAfterResponseRuleParams) SetDefaults()
- func (o *CreateHTTPAfterResponseRuleParams) SetForceReload(forceReload *bool)
- func (o *CreateHTTPAfterResponseRuleParams) SetHTTPClient(client *http.Client)
- func (o *CreateHTTPAfterResponseRuleParams) SetParentName(parentName string)
- func (o *CreateHTTPAfterResponseRuleParams) SetParentType(parentType string)
- func (o *CreateHTTPAfterResponseRuleParams) SetTimeout(timeout time.Duration)
- func (o *CreateHTTPAfterResponseRuleParams) SetTransactionID(transactionID *string)
- func (o *CreateHTTPAfterResponseRuleParams) SetVersion(version *int64)
- func (o *CreateHTTPAfterResponseRuleParams) WithContext(ctx context.Context) *CreateHTTPAfterResponseRuleParams
- func (o *CreateHTTPAfterResponseRuleParams) WithData(data *models.HTTPAfterResponseRule) *CreateHTTPAfterResponseRuleParams
- func (o *CreateHTTPAfterResponseRuleParams) WithDefaults() *CreateHTTPAfterResponseRuleParams
- func (o *CreateHTTPAfterResponseRuleParams) WithForceReload(forceReload *bool) *CreateHTTPAfterResponseRuleParams
- func (o *CreateHTTPAfterResponseRuleParams) WithHTTPClient(client *http.Client) *CreateHTTPAfterResponseRuleParams
- func (o *CreateHTTPAfterResponseRuleParams) WithParentName(parentName string) *CreateHTTPAfterResponseRuleParams
- func (o *CreateHTTPAfterResponseRuleParams) WithParentType(parentType string) *CreateHTTPAfterResponseRuleParams
- func (o *CreateHTTPAfterResponseRuleParams) WithTimeout(timeout time.Duration) *CreateHTTPAfterResponseRuleParams
- func (o *CreateHTTPAfterResponseRuleParams) WithTransactionID(transactionID *string) *CreateHTTPAfterResponseRuleParams
- func (o *CreateHTTPAfterResponseRuleParams) WithVersion(version *int64) *CreateHTTPAfterResponseRuleParams
- func (o *CreateHTTPAfterResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateHTTPAfterResponseRuleReader
- type DeleteHTTPAfterResponseRuleAccepted
- func (o *DeleteHTTPAfterResponseRuleAccepted) Error() string
- func (o *DeleteHTTPAfterResponseRuleAccepted) IsClientError() bool
- func (o *DeleteHTTPAfterResponseRuleAccepted) IsCode(code int) bool
- func (o *DeleteHTTPAfterResponseRuleAccepted) IsRedirect() bool
- func (o *DeleteHTTPAfterResponseRuleAccepted) IsServerError() bool
- func (o *DeleteHTTPAfterResponseRuleAccepted) IsSuccess() bool
- func (o *DeleteHTTPAfterResponseRuleAccepted) String() string
- type DeleteHTTPAfterResponseRuleDefault
- func (o *DeleteHTTPAfterResponseRuleDefault) Code() int
- func (o *DeleteHTTPAfterResponseRuleDefault) Error() string
- func (o *DeleteHTTPAfterResponseRuleDefault) GetPayload() *models.Error
- func (o *DeleteHTTPAfterResponseRuleDefault) IsClientError() bool
- func (o *DeleteHTTPAfterResponseRuleDefault) IsCode(code int) bool
- func (o *DeleteHTTPAfterResponseRuleDefault) IsRedirect() bool
- func (o *DeleteHTTPAfterResponseRuleDefault) IsServerError() bool
- func (o *DeleteHTTPAfterResponseRuleDefault) IsSuccess() bool
- func (o *DeleteHTTPAfterResponseRuleDefault) String() string
- type DeleteHTTPAfterResponseRuleNoContent
- func (o *DeleteHTTPAfterResponseRuleNoContent) Error() string
- func (o *DeleteHTTPAfterResponseRuleNoContent) IsClientError() bool
- func (o *DeleteHTTPAfterResponseRuleNoContent) IsCode(code int) bool
- func (o *DeleteHTTPAfterResponseRuleNoContent) IsRedirect() bool
- func (o *DeleteHTTPAfterResponseRuleNoContent) IsServerError() bool
- func (o *DeleteHTTPAfterResponseRuleNoContent) IsSuccess() bool
- func (o *DeleteHTTPAfterResponseRuleNoContent) String() string
- type DeleteHTTPAfterResponseRuleNotFound
- func (o *DeleteHTTPAfterResponseRuleNotFound) Error() string
- func (o *DeleteHTTPAfterResponseRuleNotFound) GetPayload() *models.Error
- func (o *DeleteHTTPAfterResponseRuleNotFound) IsClientError() bool
- func (o *DeleteHTTPAfterResponseRuleNotFound) IsCode(code int) bool
- func (o *DeleteHTTPAfterResponseRuleNotFound) IsRedirect() bool
- func (o *DeleteHTTPAfterResponseRuleNotFound) IsServerError() bool
- func (o *DeleteHTTPAfterResponseRuleNotFound) IsSuccess() bool
- func (o *DeleteHTTPAfterResponseRuleNotFound) String() string
- type DeleteHTTPAfterResponseRuleParams
- func NewDeleteHTTPAfterResponseRuleParams() *DeleteHTTPAfterResponseRuleParams
- func NewDeleteHTTPAfterResponseRuleParamsWithContext(ctx context.Context) *DeleteHTTPAfterResponseRuleParams
- func NewDeleteHTTPAfterResponseRuleParamsWithHTTPClient(client *http.Client) *DeleteHTTPAfterResponseRuleParams
- func NewDeleteHTTPAfterResponseRuleParamsWithTimeout(timeout time.Duration) *DeleteHTTPAfterResponseRuleParams
- func (o *DeleteHTTPAfterResponseRuleParams) SetContext(ctx context.Context)
- func (o *DeleteHTTPAfterResponseRuleParams) SetDefaults()
- func (o *DeleteHTTPAfterResponseRuleParams) SetForceReload(forceReload *bool)
- func (o *DeleteHTTPAfterResponseRuleParams) SetHTTPClient(client *http.Client)
- func (o *DeleteHTTPAfterResponseRuleParams) SetIndex(index int64)
- func (o *DeleteHTTPAfterResponseRuleParams) SetParentName(parentName string)
- func (o *DeleteHTTPAfterResponseRuleParams) SetParentType(parentType string)
- func (o *DeleteHTTPAfterResponseRuleParams) SetTimeout(timeout time.Duration)
- func (o *DeleteHTTPAfterResponseRuleParams) SetTransactionID(transactionID *string)
- func (o *DeleteHTTPAfterResponseRuleParams) SetVersion(version *int64)
- func (o *DeleteHTTPAfterResponseRuleParams) WithContext(ctx context.Context) *DeleteHTTPAfterResponseRuleParams
- func (o *DeleteHTTPAfterResponseRuleParams) WithDefaults() *DeleteHTTPAfterResponseRuleParams
- func (o *DeleteHTTPAfterResponseRuleParams) WithForceReload(forceReload *bool) *DeleteHTTPAfterResponseRuleParams
- func (o *DeleteHTTPAfterResponseRuleParams) WithHTTPClient(client *http.Client) *DeleteHTTPAfterResponseRuleParams
- func (o *DeleteHTTPAfterResponseRuleParams) WithIndex(index int64) *DeleteHTTPAfterResponseRuleParams
- func (o *DeleteHTTPAfterResponseRuleParams) WithParentName(parentName string) *DeleteHTTPAfterResponseRuleParams
- func (o *DeleteHTTPAfterResponseRuleParams) WithParentType(parentType string) *DeleteHTTPAfterResponseRuleParams
- func (o *DeleteHTTPAfterResponseRuleParams) WithTimeout(timeout time.Duration) *DeleteHTTPAfterResponseRuleParams
- func (o *DeleteHTTPAfterResponseRuleParams) WithTransactionID(transactionID *string) *DeleteHTTPAfterResponseRuleParams
- func (o *DeleteHTTPAfterResponseRuleParams) WithVersion(version *int64) *DeleteHTTPAfterResponseRuleParams
- func (o *DeleteHTTPAfterResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteHTTPAfterResponseRuleReader
- type GetHTTPAfterResponseRuleDefault
- func (o *GetHTTPAfterResponseRuleDefault) Code() int
- func (o *GetHTTPAfterResponseRuleDefault) Error() string
- func (o *GetHTTPAfterResponseRuleDefault) GetPayload() *models.Error
- func (o *GetHTTPAfterResponseRuleDefault) IsClientError() bool
- func (o *GetHTTPAfterResponseRuleDefault) IsCode(code int) bool
- func (o *GetHTTPAfterResponseRuleDefault) IsRedirect() bool
- func (o *GetHTTPAfterResponseRuleDefault) IsServerError() bool
- func (o *GetHTTPAfterResponseRuleDefault) IsSuccess() bool
- func (o *GetHTTPAfterResponseRuleDefault) String() string
- type GetHTTPAfterResponseRuleNotFound
- func (o *GetHTTPAfterResponseRuleNotFound) Error() string
- func (o *GetHTTPAfterResponseRuleNotFound) GetPayload() *models.Error
- func (o *GetHTTPAfterResponseRuleNotFound) IsClientError() bool
- func (o *GetHTTPAfterResponseRuleNotFound) IsCode(code int) bool
- func (o *GetHTTPAfterResponseRuleNotFound) IsRedirect() bool
- func (o *GetHTTPAfterResponseRuleNotFound) IsServerError() bool
- func (o *GetHTTPAfterResponseRuleNotFound) IsSuccess() bool
- func (o *GetHTTPAfterResponseRuleNotFound) String() string
- type GetHTTPAfterResponseRuleOK
- func (o *GetHTTPAfterResponseRuleOK) Error() string
- func (o *GetHTTPAfterResponseRuleOK) GetPayload() *GetHTTPAfterResponseRuleOKBody
- func (o *GetHTTPAfterResponseRuleOK) IsClientError() bool
- func (o *GetHTTPAfterResponseRuleOK) IsCode(code int) bool
- func (o *GetHTTPAfterResponseRuleOK) IsRedirect() bool
- func (o *GetHTTPAfterResponseRuleOK) IsServerError() bool
- func (o *GetHTTPAfterResponseRuleOK) IsSuccess() bool
- func (o *GetHTTPAfterResponseRuleOK) String() string
- type GetHTTPAfterResponseRuleOKBody
- func (o *GetHTTPAfterResponseRuleOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetHTTPAfterResponseRuleOKBody) MarshalBinary() ([]byte, error)
- func (o *GetHTTPAfterResponseRuleOKBody) UnmarshalBinary(b []byte) error
- func (o *GetHTTPAfterResponseRuleOKBody) Validate(formats strfmt.Registry) error
- type GetHTTPAfterResponseRuleParams
- func NewGetHTTPAfterResponseRuleParams() *GetHTTPAfterResponseRuleParams
- func NewGetHTTPAfterResponseRuleParamsWithContext(ctx context.Context) *GetHTTPAfterResponseRuleParams
- func NewGetHTTPAfterResponseRuleParamsWithHTTPClient(client *http.Client) *GetHTTPAfterResponseRuleParams
- func NewGetHTTPAfterResponseRuleParamsWithTimeout(timeout time.Duration) *GetHTTPAfterResponseRuleParams
- func (o *GetHTTPAfterResponseRuleParams) SetContext(ctx context.Context)
- func (o *GetHTTPAfterResponseRuleParams) SetDefaults()
- func (o *GetHTTPAfterResponseRuleParams) SetHTTPClient(client *http.Client)
- func (o *GetHTTPAfterResponseRuleParams) SetIndex(index int64)
- func (o *GetHTTPAfterResponseRuleParams) SetParentName(parentName string)
- func (o *GetHTTPAfterResponseRuleParams) SetParentType(parentType string)
- func (o *GetHTTPAfterResponseRuleParams) SetTimeout(timeout time.Duration)
- func (o *GetHTTPAfterResponseRuleParams) SetTransactionID(transactionID *string)
- func (o *GetHTTPAfterResponseRuleParams) WithContext(ctx context.Context) *GetHTTPAfterResponseRuleParams
- func (o *GetHTTPAfterResponseRuleParams) WithDefaults() *GetHTTPAfterResponseRuleParams
- func (o *GetHTTPAfterResponseRuleParams) WithHTTPClient(client *http.Client) *GetHTTPAfterResponseRuleParams
- func (o *GetHTTPAfterResponseRuleParams) WithIndex(index int64) *GetHTTPAfterResponseRuleParams
- func (o *GetHTTPAfterResponseRuleParams) WithParentName(parentName string) *GetHTTPAfterResponseRuleParams
- func (o *GetHTTPAfterResponseRuleParams) WithParentType(parentType string) *GetHTTPAfterResponseRuleParams
- func (o *GetHTTPAfterResponseRuleParams) WithTimeout(timeout time.Duration) *GetHTTPAfterResponseRuleParams
- func (o *GetHTTPAfterResponseRuleParams) WithTransactionID(transactionID *string) *GetHTTPAfterResponseRuleParams
- func (o *GetHTTPAfterResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHTTPAfterResponseRuleReader
- type GetHTTPAfterResponseRulesDefault
- func (o *GetHTTPAfterResponseRulesDefault) Code() int
- func (o *GetHTTPAfterResponseRulesDefault) Error() string
- func (o *GetHTTPAfterResponseRulesDefault) GetPayload() *models.Error
- func (o *GetHTTPAfterResponseRulesDefault) IsClientError() bool
- func (o *GetHTTPAfterResponseRulesDefault) IsCode(code int) bool
- func (o *GetHTTPAfterResponseRulesDefault) IsRedirect() bool
- func (o *GetHTTPAfterResponseRulesDefault) IsServerError() bool
- func (o *GetHTTPAfterResponseRulesDefault) IsSuccess() bool
- func (o *GetHTTPAfterResponseRulesDefault) String() string
- type GetHTTPAfterResponseRulesOK
- func (o *GetHTTPAfterResponseRulesOK) Error() string
- func (o *GetHTTPAfterResponseRulesOK) GetPayload() *GetHTTPAfterResponseRulesOKBody
- func (o *GetHTTPAfterResponseRulesOK) IsClientError() bool
- func (o *GetHTTPAfterResponseRulesOK) IsCode(code int) bool
- func (o *GetHTTPAfterResponseRulesOK) IsRedirect() bool
- func (o *GetHTTPAfterResponseRulesOK) IsServerError() bool
- func (o *GetHTTPAfterResponseRulesOK) IsSuccess() bool
- func (o *GetHTTPAfterResponseRulesOK) String() string
- type GetHTTPAfterResponseRulesOKBody
- func (o *GetHTTPAfterResponseRulesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetHTTPAfterResponseRulesOKBody) MarshalBinary() ([]byte, error)
- func (o *GetHTTPAfterResponseRulesOKBody) UnmarshalBinary(b []byte) error
- func (o *GetHTTPAfterResponseRulesOKBody) Validate(formats strfmt.Registry) error
- type GetHTTPAfterResponseRulesParams
- func NewGetHTTPAfterResponseRulesParams() *GetHTTPAfterResponseRulesParams
- func NewGetHTTPAfterResponseRulesParamsWithContext(ctx context.Context) *GetHTTPAfterResponseRulesParams
- func NewGetHTTPAfterResponseRulesParamsWithHTTPClient(client *http.Client) *GetHTTPAfterResponseRulesParams
- func NewGetHTTPAfterResponseRulesParamsWithTimeout(timeout time.Duration) *GetHTTPAfterResponseRulesParams
- func (o *GetHTTPAfterResponseRulesParams) SetContext(ctx context.Context)
- func (o *GetHTTPAfterResponseRulesParams) SetDefaults()
- func (o *GetHTTPAfterResponseRulesParams) SetHTTPClient(client *http.Client)
- func (o *GetHTTPAfterResponseRulesParams) SetParentName(parentName string)
- func (o *GetHTTPAfterResponseRulesParams) SetParentType(parentType string)
- func (o *GetHTTPAfterResponseRulesParams) SetTimeout(timeout time.Duration)
- func (o *GetHTTPAfterResponseRulesParams) SetTransactionID(transactionID *string)
- func (o *GetHTTPAfterResponseRulesParams) WithContext(ctx context.Context) *GetHTTPAfterResponseRulesParams
- func (o *GetHTTPAfterResponseRulesParams) WithDefaults() *GetHTTPAfterResponseRulesParams
- func (o *GetHTTPAfterResponseRulesParams) WithHTTPClient(client *http.Client) *GetHTTPAfterResponseRulesParams
- func (o *GetHTTPAfterResponseRulesParams) WithParentName(parentName string) *GetHTTPAfterResponseRulesParams
- func (o *GetHTTPAfterResponseRulesParams) WithParentType(parentType string) *GetHTTPAfterResponseRulesParams
- func (o *GetHTTPAfterResponseRulesParams) WithTimeout(timeout time.Duration) *GetHTTPAfterResponseRulesParams
- func (o *GetHTTPAfterResponseRulesParams) WithTransactionID(transactionID *string) *GetHTTPAfterResponseRulesParams
- func (o *GetHTTPAfterResponseRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHTTPAfterResponseRulesReader
- type ReplaceHTTPAfterResponseRuleAccepted
- func (o *ReplaceHTTPAfterResponseRuleAccepted) Error() string
- func (o *ReplaceHTTPAfterResponseRuleAccepted) GetPayload() *models.HTTPAfterResponseRule
- func (o *ReplaceHTTPAfterResponseRuleAccepted) IsClientError() bool
- func (o *ReplaceHTTPAfterResponseRuleAccepted) IsCode(code int) bool
- func (o *ReplaceHTTPAfterResponseRuleAccepted) IsRedirect() bool
- func (o *ReplaceHTTPAfterResponseRuleAccepted) IsServerError() bool
- func (o *ReplaceHTTPAfterResponseRuleAccepted) IsSuccess() bool
- func (o *ReplaceHTTPAfterResponseRuleAccepted) String() string
- type ReplaceHTTPAfterResponseRuleBadRequest
- func (o *ReplaceHTTPAfterResponseRuleBadRequest) Error() string
- func (o *ReplaceHTTPAfterResponseRuleBadRequest) GetPayload() *models.Error
- func (o *ReplaceHTTPAfterResponseRuleBadRequest) IsClientError() bool
- func (o *ReplaceHTTPAfterResponseRuleBadRequest) IsCode(code int) bool
- func (o *ReplaceHTTPAfterResponseRuleBadRequest) IsRedirect() bool
- func (o *ReplaceHTTPAfterResponseRuleBadRequest) IsServerError() bool
- func (o *ReplaceHTTPAfterResponseRuleBadRequest) IsSuccess() bool
- func (o *ReplaceHTTPAfterResponseRuleBadRequest) String() string
- type ReplaceHTTPAfterResponseRuleDefault
- func (o *ReplaceHTTPAfterResponseRuleDefault) Code() int
- func (o *ReplaceHTTPAfterResponseRuleDefault) Error() string
- func (o *ReplaceHTTPAfterResponseRuleDefault) GetPayload() *models.Error
- func (o *ReplaceHTTPAfterResponseRuleDefault) IsClientError() bool
- func (o *ReplaceHTTPAfterResponseRuleDefault) IsCode(code int) bool
- func (o *ReplaceHTTPAfterResponseRuleDefault) IsRedirect() bool
- func (o *ReplaceHTTPAfterResponseRuleDefault) IsServerError() bool
- func (o *ReplaceHTTPAfterResponseRuleDefault) IsSuccess() bool
- func (o *ReplaceHTTPAfterResponseRuleDefault) String() string
- type ReplaceHTTPAfterResponseRuleNotFound
- func (o *ReplaceHTTPAfterResponseRuleNotFound) Error() string
- func (o *ReplaceHTTPAfterResponseRuleNotFound) GetPayload() *models.Error
- func (o *ReplaceHTTPAfterResponseRuleNotFound) IsClientError() bool
- func (o *ReplaceHTTPAfterResponseRuleNotFound) IsCode(code int) bool
- func (o *ReplaceHTTPAfterResponseRuleNotFound) IsRedirect() bool
- func (o *ReplaceHTTPAfterResponseRuleNotFound) IsServerError() bool
- func (o *ReplaceHTTPAfterResponseRuleNotFound) IsSuccess() bool
- func (o *ReplaceHTTPAfterResponseRuleNotFound) String() string
- type ReplaceHTTPAfterResponseRuleOK
- func (o *ReplaceHTTPAfterResponseRuleOK) Error() string
- func (o *ReplaceHTTPAfterResponseRuleOK) GetPayload() *models.HTTPAfterResponseRule
- func (o *ReplaceHTTPAfterResponseRuleOK) IsClientError() bool
- func (o *ReplaceHTTPAfterResponseRuleOK) IsCode(code int) bool
- func (o *ReplaceHTTPAfterResponseRuleOK) IsRedirect() bool
- func (o *ReplaceHTTPAfterResponseRuleOK) IsServerError() bool
- func (o *ReplaceHTTPAfterResponseRuleOK) IsSuccess() bool
- func (o *ReplaceHTTPAfterResponseRuleOK) String() string
- type ReplaceHTTPAfterResponseRuleParams
- func NewReplaceHTTPAfterResponseRuleParams() *ReplaceHTTPAfterResponseRuleParams
- func NewReplaceHTTPAfterResponseRuleParamsWithContext(ctx context.Context) *ReplaceHTTPAfterResponseRuleParams
- func NewReplaceHTTPAfterResponseRuleParamsWithHTTPClient(client *http.Client) *ReplaceHTTPAfterResponseRuleParams
- func NewReplaceHTTPAfterResponseRuleParamsWithTimeout(timeout time.Duration) *ReplaceHTTPAfterResponseRuleParams
- func (o *ReplaceHTTPAfterResponseRuleParams) SetContext(ctx context.Context)
- func (o *ReplaceHTTPAfterResponseRuleParams) SetData(data *models.HTTPAfterResponseRule)
- func (o *ReplaceHTTPAfterResponseRuleParams) SetDefaults()
- func (o *ReplaceHTTPAfterResponseRuleParams) SetForceReload(forceReload *bool)
- func (o *ReplaceHTTPAfterResponseRuleParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceHTTPAfterResponseRuleParams) SetIndex(index int64)
- func (o *ReplaceHTTPAfterResponseRuleParams) SetParentName(parentName string)
- func (o *ReplaceHTTPAfterResponseRuleParams) SetParentType(parentType string)
- func (o *ReplaceHTTPAfterResponseRuleParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceHTTPAfterResponseRuleParams) SetTransactionID(transactionID *string)
- func (o *ReplaceHTTPAfterResponseRuleParams) SetVersion(version *int64)
- func (o *ReplaceHTTPAfterResponseRuleParams) WithContext(ctx context.Context) *ReplaceHTTPAfterResponseRuleParams
- func (o *ReplaceHTTPAfterResponseRuleParams) WithData(data *models.HTTPAfterResponseRule) *ReplaceHTTPAfterResponseRuleParams
- func (o *ReplaceHTTPAfterResponseRuleParams) WithDefaults() *ReplaceHTTPAfterResponseRuleParams
- func (o *ReplaceHTTPAfterResponseRuleParams) WithForceReload(forceReload *bool) *ReplaceHTTPAfterResponseRuleParams
- func (o *ReplaceHTTPAfterResponseRuleParams) WithHTTPClient(client *http.Client) *ReplaceHTTPAfterResponseRuleParams
- func (o *ReplaceHTTPAfterResponseRuleParams) WithIndex(index int64) *ReplaceHTTPAfterResponseRuleParams
- func (o *ReplaceHTTPAfterResponseRuleParams) WithParentName(parentName string) *ReplaceHTTPAfterResponseRuleParams
- func (o *ReplaceHTTPAfterResponseRuleParams) WithParentType(parentType string) *ReplaceHTTPAfterResponseRuleParams
- func (o *ReplaceHTTPAfterResponseRuleParams) WithTimeout(timeout time.Duration) *ReplaceHTTPAfterResponseRuleParams
- func (o *ReplaceHTTPAfterResponseRuleParams) WithTransactionID(transactionID *string) *ReplaceHTTPAfterResponseRuleParams
- func (o *ReplaceHTTPAfterResponseRuleParams) WithVersion(version *int64) *ReplaceHTTPAfterResponseRuleParams
- func (o *ReplaceHTTPAfterResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceHTTPAfterResponseRuleReader
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 http after response rule API
func (*Client) CreateHTTPAfterResponseRule ¶
func (a *Client) CreateHTTPAfterResponseRule(params *CreateHTTPAfterResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateHTTPAfterResponseRuleCreated, *CreateHTTPAfterResponseRuleAccepted, error)
CreateHTTPAfterResponseRule adds a new HTTP after response rule
Adds a new HTTP After Response Rule of the specified type in the specified parent.
func (*Client) DeleteHTTPAfterResponseRule ¶
func (a *Client) DeleteHTTPAfterResponseRule(params *DeleteHTTPAfterResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteHTTPAfterResponseRuleAccepted, *DeleteHTTPAfterResponseRuleNoContent, error)
DeleteHTTPAfterResponseRule deletes a HTTP after response rule
Deletes a HTTP After Response Rule configuration by it's index from the specified parent.
func (*Client) GetHTTPAfterResponseRule ¶
func (a *Client) GetHTTPAfterResponseRule(params *GetHTTPAfterResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHTTPAfterResponseRuleOK, error)
GetHTTPAfterResponseRule returns one HTTP after response rule
Returns one HTTP After Response Rule configuration by it's index in the specified parent.
func (*Client) GetHTTPAfterResponseRules ¶
func (a *Client) GetHTTPAfterResponseRules(params *GetHTTPAfterResponseRulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHTTPAfterResponseRulesOK, error)
GetHTTPAfterResponseRules returns an array of all HTTP after response rules
Returns all HTTP After Response Rules that are configured in specified parent.
func (*Client) ReplaceHTTPAfterResponseRule ¶
func (a *Client) ReplaceHTTPAfterResponseRule(params *ReplaceHTTPAfterResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceHTTPAfterResponseRuleOK, *ReplaceHTTPAfterResponseRuleAccepted, error)
ReplaceHTTPAfterResponseRule replaces a HTTP after response rule
Replaces a HTTP After Response Rule configuration by it's index in the specified parent.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateHTTPAfterResponseRule(params *CreateHTTPAfterResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateHTTPAfterResponseRuleCreated, *CreateHTTPAfterResponseRuleAccepted, error) DeleteHTTPAfterResponseRule(params *DeleteHTTPAfterResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteHTTPAfterResponseRuleAccepted, *DeleteHTTPAfterResponseRuleNoContent, error) GetHTTPAfterResponseRule(params *GetHTTPAfterResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHTTPAfterResponseRuleOK, error) GetHTTPAfterResponseRules(params *GetHTTPAfterResponseRulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHTTPAfterResponseRulesOK, error) ReplaceHTTPAfterResponseRule(params *ReplaceHTTPAfterResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceHTTPAfterResponseRuleOK, *ReplaceHTTPAfterResponseRuleAccepted, 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 http after response rule API client.
type CreateHTTPAfterResponseRuleAccepted ¶
type CreateHTTPAfterResponseRuleAccepted struct { /* ID of the requested reload */ ReloadID string Payload *models.HTTPAfterResponseRule }
CreateHTTPAfterResponseRuleAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewCreateHTTPAfterResponseRuleAccepted ¶
func NewCreateHTTPAfterResponseRuleAccepted() *CreateHTTPAfterResponseRuleAccepted
NewCreateHTTPAfterResponseRuleAccepted creates a CreateHTTPAfterResponseRuleAccepted with default headers values
func (*CreateHTTPAfterResponseRuleAccepted) Error ¶
func (o *CreateHTTPAfterResponseRuleAccepted) Error() string
func (*CreateHTTPAfterResponseRuleAccepted) GetPayload ¶
func (o *CreateHTTPAfterResponseRuleAccepted) GetPayload() *models.HTTPAfterResponseRule
func (*CreateHTTPAfterResponseRuleAccepted) IsClientError ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleAccepted) IsClientError() bool
IsClientError returns true when this create Http after response rule accepted response has a 4xx status code
func (*CreateHTTPAfterResponseRuleAccepted) IsCode ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleAccepted) IsCode(code int) bool
IsCode returns true when this create Http after response rule accepted response a status code equal to that given
func (*CreateHTTPAfterResponseRuleAccepted) IsRedirect ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleAccepted) IsRedirect() bool
IsRedirect returns true when this create Http after response rule accepted response has a 3xx status code
func (*CreateHTTPAfterResponseRuleAccepted) IsServerError ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleAccepted) IsServerError() bool
IsServerError returns true when this create Http after response rule accepted response has a 5xx status code
func (*CreateHTTPAfterResponseRuleAccepted) IsSuccess ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleAccepted) IsSuccess() bool
IsSuccess returns true when this create Http after response rule accepted response has a 2xx status code
func (*CreateHTTPAfterResponseRuleAccepted) String ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleAccepted) String() string
type CreateHTTPAfterResponseRuleBadRequest ¶
type CreateHTTPAfterResponseRuleBadRequest struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateHTTPAfterResponseRuleBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateHTTPAfterResponseRuleBadRequest ¶
func NewCreateHTTPAfterResponseRuleBadRequest() *CreateHTTPAfterResponseRuleBadRequest
NewCreateHTTPAfterResponseRuleBadRequest creates a CreateHTTPAfterResponseRuleBadRequest with default headers values
func (*CreateHTTPAfterResponseRuleBadRequest) Error ¶
func (o *CreateHTTPAfterResponseRuleBadRequest) Error() string
func (*CreateHTTPAfterResponseRuleBadRequest) GetPayload ¶
func (o *CreateHTTPAfterResponseRuleBadRequest) GetPayload() *models.Error
func (*CreateHTTPAfterResponseRuleBadRequest) IsClientError ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleBadRequest) IsClientError() bool
IsClientError returns true when this create Http after response rule bad request response has a 4xx status code
func (*CreateHTTPAfterResponseRuleBadRequest) IsCode ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleBadRequest) IsCode(code int) bool
IsCode returns true when this create Http after response rule bad request response a status code equal to that given
func (*CreateHTTPAfterResponseRuleBadRequest) IsRedirect ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleBadRequest) IsRedirect() bool
IsRedirect returns true when this create Http after response rule bad request response has a 3xx status code
func (*CreateHTTPAfterResponseRuleBadRequest) IsServerError ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleBadRequest) IsServerError() bool
IsServerError returns true when this create Http after response rule bad request response has a 5xx status code
func (*CreateHTTPAfterResponseRuleBadRequest) IsSuccess ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleBadRequest) IsSuccess() bool
IsSuccess returns true when this create Http after response rule bad request response has a 2xx status code
func (*CreateHTTPAfterResponseRuleBadRequest) String ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleBadRequest) String() string
type CreateHTTPAfterResponseRuleConflict ¶
type CreateHTTPAfterResponseRuleConflict struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateHTTPAfterResponseRuleConflict describes a response with status code 409, with default header values.
The specified resource already exists
func NewCreateHTTPAfterResponseRuleConflict ¶
func NewCreateHTTPAfterResponseRuleConflict() *CreateHTTPAfterResponseRuleConflict
NewCreateHTTPAfterResponseRuleConflict creates a CreateHTTPAfterResponseRuleConflict with default headers values
func (*CreateHTTPAfterResponseRuleConflict) Error ¶
func (o *CreateHTTPAfterResponseRuleConflict) Error() string
func (*CreateHTTPAfterResponseRuleConflict) GetPayload ¶
func (o *CreateHTTPAfterResponseRuleConflict) GetPayload() *models.Error
func (*CreateHTTPAfterResponseRuleConflict) IsClientError ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleConflict) IsClientError() bool
IsClientError returns true when this create Http after response rule conflict response has a 4xx status code
func (*CreateHTTPAfterResponseRuleConflict) IsCode ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleConflict) IsCode(code int) bool
IsCode returns true when this create Http after response rule conflict response a status code equal to that given
func (*CreateHTTPAfterResponseRuleConflict) IsRedirect ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleConflict) IsRedirect() bool
IsRedirect returns true when this create Http after response rule conflict response has a 3xx status code
func (*CreateHTTPAfterResponseRuleConflict) IsServerError ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleConflict) IsServerError() bool
IsServerError returns true when this create Http after response rule conflict response has a 5xx status code
func (*CreateHTTPAfterResponseRuleConflict) IsSuccess ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleConflict) IsSuccess() bool
IsSuccess returns true when this create Http after response rule conflict response has a 2xx status code
func (*CreateHTTPAfterResponseRuleConflict) String ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleConflict) String() string
type CreateHTTPAfterResponseRuleCreated ¶
type CreateHTTPAfterResponseRuleCreated struct {
Payload *models.HTTPAfterResponseRule
}
CreateHTTPAfterResponseRuleCreated describes a response with status code 201, with default header values.
HTTP Response Rule created
func NewCreateHTTPAfterResponseRuleCreated ¶
func NewCreateHTTPAfterResponseRuleCreated() *CreateHTTPAfterResponseRuleCreated
NewCreateHTTPAfterResponseRuleCreated creates a CreateHTTPAfterResponseRuleCreated with default headers values
func (*CreateHTTPAfterResponseRuleCreated) Error ¶
func (o *CreateHTTPAfterResponseRuleCreated) Error() string
func (*CreateHTTPAfterResponseRuleCreated) GetPayload ¶
func (o *CreateHTTPAfterResponseRuleCreated) GetPayload() *models.HTTPAfterResponseRule
func (*CreateHTTPAfterResponseRuleCreated) IsClientError ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleCreated) IsClientError() bool
IsClientError returns true when this create Http after response rule created response has a 4xx status code
func (*CreateHTTPAfterResponseRuleCreated) IsCode ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleCreated) IsCode(code int) bool
IsCode returns true when this create Http after response rule created response a status code equal to that given
func (*CreateHTTPAfterResponseRuleCreated) IsRedirect ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleCreated) IsRedirect() bool
IsRedirect returns true when this create Http after response rule created response has a 3xx status code
func (*CreateHTTPAfterResponseRuleCreated) IsServerError ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleCreated) IsServerError() bool
IsServerError returns true when this create Http after response rule created response has a 5xx status code
func (*CreateHTTPAfterResponseRuleCreated) IsSuccess ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleCreated) IsSuccess() bool
IsSuccess returns true when this create Http after response rule created response has a 2xx status code
func (*CreateHTTPAfterResponseRuleCreated) String ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleCreated) String() string
type CreateHTTPAfterResponseRuleDefault ¶
type CreateHTTPAfterResponseRuleDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
CreateHTTPAfterResponseRuleDefault describes a response with status code -1, with default header values.
General Error
func NewCreateHTTPAfterResponseRuleDefault ¶
func NewCreateHTTPAfterResponseRuleDefault(code int) *CreateHTTPAfterResponseRuleDefault
NewCreateHTTPAfterResponseRuleDefault creates a CreateHTTPAfterResponseRuleDefault with default headers values
func (*CreateHTTPAfterResponseRuleDefault) Code ¶
func (o *CreateHTTPAfterResponseRuleDefault) Code() int
Code gets the status code for the create HTTP after response rule default response
func (*CreateHTTPAfterResponseRuleDefault) Error ¶
func (o *CreateHTTPAfterResponseRuleDefault) Error() string
func (*CreateHTTPAfterResponseRuleDefault) GetPayload ¶
func (o *CreateHTTPAfterResponseRuleDefault) GetPayload() *models.Error
func (*CreateHTTPAfterResponseRuleDefault) IsClientError ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleDefault) IsClientError() bool
IsClientError returns true when this create HTTP after response rule default response has a 4xx status code
func (*CreateHTTPAfterResponseRuleDefault) IsCode ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleDefault) IsCode(code int) bool
IsCode returns true when this create HTTP after response rule default response a status code equal to that given
func (*CreateHTTPAfterResponseRuleDefault) IsRedirect ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleDefault) IsRedirect() bool
IsRedirect returns true when this create HTTP after response rule default response has a 3xx status code
func (*CreateHTTPAfterResponseRuleDefault) IsServerError ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleDefault) IsServerError() bool
IsServerError returns true when this create HTTP after response rule default response has a 5xx status code
func (*CreateHTTPAfterResponseRuleDefault) IsSuccess ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleDefault) IsSuccess() bool
IsSuccess returns true when this create HTTP after response rule default response has a 2xx status code
func (*CreateHTTPAfterResponseRuleDefault) String ¶ added in v1.1.0
func (o *CreateHTTPAfterResponseRuleDefault) String() string
type CreateHTTPAfterResponseRuleParams ¶
type CreateHTTPAfterResponseRuleParams struct { // Data. Data *models.HTTPAfterResponseRule /* ForceReload. If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. */ ForceReload *bool /* ParentName. Parent name */ ParentName string /* ParentType. Parent type */ ParentType string /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string /* Version. Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateHTTPAfterResponseRuleParams contains all the parameters to send to the API endpoint
for the create HTTP after response rule operation. Typically these are written to a http.Request.
func NewCreateHTTPAfterResponseRuleParams ¶
func NewCreateHTTPAfterResponseRuleParams() *CreateHTTPAfterResponseRuleParams
NewCreateHTTPAfterResponseRuleParams creates a new CreateHTTPAfterResponseRuleParams 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 NewCreateHTTPAfterResponseRuleParamsWithContext ¶
func NewCreateHTTPAfterResponseRuleParamsWithContext(ctx context.Context) *CreateHTTPAfterResponseRuleParams
NewCreateHTTPAfterResponseRuleParamsWithContext creates a new CreateHTTPAfterResponseRuleParams object with the ability to set a context for a request.
func NewCreateHTTPAfterResponseRuleParamsWithHTTPClient ¶
func NewCreateHTTPAfterResponseRuleParamsWithHTTPClient(client *http.Client) *CreateHTTPAfterResponseRuleParams
NewCreateHTTPAfterResponseRuleParamsWithHTTPClient creates a new CreateHTTPAfterResponseRuleParams object with the ability to set a custom HTTPClient for a request.
func NewCreateHTTPAfterResponseRuleParamsWithTimeout ¶
func NewCreateHTTPAfterResponseRuleParamsWithTimeout(timeout time.Duration) *CreateHTTPAfterResponseRuleParams
NewCreateHTTPAfterResponseRuleParamsWithTimeout creates a new CreateHTTPAfterResponseRuleParams object with the ability to set a timeout on a request.
func (*CreateHTTPAfterResponseRuleParams) SetContext ¶
func (o *CreateHTTPAfterResponseRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the create HTTP after response rule params
func (*CreateHTTPAfterResponseRuleParams) SetData ¶
func (o *CreateHTTPAfterResponseRuleParams) SetData(data *models.HTTPAfterResponseRule)
SetData adds the data to the create HTTP after response rule params
func (*CreateHTTPAfterResponseRuleParams) SetDefaults ¶
func (o *CreateHTTPAfterResponseRuleParams) SetDefaults()
SetDefaults hydrates default values in the create HTTP after response rule params (not the query body).
All values with no default are reset to their zero value.
func (*CreateHTTPAfterResponseRuleParams) SetForceReload ¶
func (o *CreateHTTPAfterResponseRuleParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the create HTTP after response rule params
func (*CreateHTTPAfterResponseRuleParams) SetHTTPClient ¶
func (o *CreateHTTPAfterResponseRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create HTTP after response rule params
func (*CreateHTTPAfterResponseRuleParams) SetParentName ¶
func (o *CreateHTTPAfterResponseRuleParams) SetParentName(parentName string)
SetParentName adds the parentName to the create HTTP after response rule params
func (*CreateHTTPAfterResponseRuleParams) SetParentType ¶
func (o *CreateHTTPAfterResponseRuleParams) SetParentType(parentType string)
SetParentType adds the parentType to the create HTTP after response rule params
func (*CreateHTTPAfterResponseRuleParams) SetTimeout ¶
func (o *CreateHTTPAfterResponseRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create HTTP after response rule params
func (*CreateHTTPAfterResponseRuleParams) SetTransactionID ¶
func (o *CreateHTTPAfterResponseRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the create HTTP after response rule params
func (*CreateHTTPAfterResponseRuleParams) SetVersion ¶
func (o *CreateHTTPAfterResponseRuleParams) SetVersion(version *int64)
SetVersion adds the version to the create HTTP after response rule params
func (*CreateHTTPAfterResponseRuleParams) WithContext ¶
func (o *CreateHTTPAfterResponseRuleParams) WithContext(ctx context.Context) *CreateHTTPAfterResponseRuleParams
WithContext adds the context to the create HTTP after response rule params
func (*CreateHTTPAfterResponseRuleParams) WithData ¶
func (o *CreateHTTPAfterResponseRuleParams) WithData(data *models.HTTPAfterResponseRule) *CreateHTTPAfterResponseRuleParams
WithData adds the data to the create HTTP after response rule params
func (*CreateHTTPAfterResponseRuleParams) WithDefaults ¶
func (o *CreateHTTPAfterResponseRuleParams) WithDefaults() *CreateHTTPAfterResponseRuleParams
WithDefaults hydrates default values in the create HTTP after response rule params (not the query body).
All values with no default are reset to their zero value.
func (*CreateHTTPAfterResponseRuleParams) WithForceReload ¶
func (o *CreateHTTPAfterResponseRuleParams) WithForceReload(forceReload *bool) *CreateHTTPAfterResponseRuleParams
WithForceReload adds the forceReload to the create HTTP after response rule params
func (*CreateHTTPAfterResponseRuleParams) WithHTTPClient ¶
func (o *CreateHTTPAfterResponseRuleParams) WithHTTPClient(client *http.Client) *CreateHTTPAfterResponseRuleParams
WithHTTPClient adds the HTTPClient to the create HTTP after response rule params
func (*CreateHTTPAfterResponseRuleParams) WithParentName ¶
func (o *CreateHTTPAfterResponseRuleParams) WithParentName(parentName string) *CreateHTTPAfterResponseRuleParams
WithParentName adds the parentName to the create HTTP after response rule params
func (*CreateHTTPAfterResponseRuleParams) WithParentType ¶
func (o *CreateHTTPAfterResponseRuleParams) WithParentType(parentType string) *CreateHTTPAfterResponseRuleParams
WithParentType adds the parentType to the create HTTP after response rule params
func (*CreateHTTPAfterResponseRuleParams) WithTimeout ¶
func (o *CreateHTTPAfterResponseRuleParams) WithTimeout(timeout time.Duration) *CreateHTTPAfterResponseRuleParams
WithTimeout adds the timeout to the create HTTP after response rule params
func (*CreateHTTPAfterResponseRuleParams) WithTransactionID ¶
func (o *CreateHTTPAfterResponseRuleParams) WithTransactionID(transactionID *string) *CreateHTTPAfterResponseRuleParams
WithTransactionID adds the transactionID to the create HTTP after response rule params
func (*CreateHTTPAfterResponseRuleParams) WithVersion ¶
func (o *CreateHTTPAfterResponseRuleParams) WithVersion(version *int64) *CreateHTTPAfterResponseRuleParams
WithVersion adds the version to the create HTTP after response rule params
func (*CreateHTTPAfterResponseRuleParams) WriteToRequest ¶
func (o *CreateHTTPAfterResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateHTTPAfterResponseRuleReader ¶
type CreateHTTPAfterResponseRuleReader struct {
// contains filtered or unexported fields
}
CreateHTTPAfterResponseRuleReader is a Reader for the CreateHTTPAfterResponseRule structure.
func (*CreateHTTPAfterResponseRuleReader) ReadResponse ¶
func (o *CreateHTTPAfterResponseRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteHTTPAfterResponseRuleAccepted ¶
type DeleteHTTPAfterResponseRuleAccepted struct { /* ID of the requested reload */ ReloadID string }
DeleteHTTPAfterResponseRuleAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewDeleteHTTPAfterResponseRuleAccepted ¶
func NewDeleteHTTPAfterResponseRuleAccepted() *DeleteHTTPAfterResponseRuleAccepted
NewDeleteHTTPAfterResponseRuleAccepted creates a DeleteHTTPAfterResponseRuleAccepted with default headers values
func (*DeleteHTTPAfterResponseRuleAccepted) Error ¶
func (o *DeleteHTTPAfterResponseRuleAccepted) Error() string
func (*DeleteHTTPAfterResponseRuleAccepted) IsClientError ¶ added in v1.1.0
func (o *DeleteHTTPAfterResponseRuleAccepted) IsClientError() bool
IsClientError returns true when this delete Http after response rule accepted response has a 4xx status code
func (*DeleteHTTPAfterResponseRuleAccepted) IsCode ¶ added in v1.1.0
func (o *DeleteHTTPAfterResponseRuleAccepted) IsCode(code int) bool
IsCode returns true when this delete Http after response rule accepted response a status code equal to that given
func (*DeleteHTTPAfterResponseRuleAccepted) IsRedirect ¶ added in v1.1.0
func (o *DeleteHTTPAfterResponseRuleAccepted) IsRedirect() bool
IsRedirect returns true when this delete Http after response rule accepted response has a 3xx status code
func (*DeleteHTTPAfterResponseRuleAccepted) IsServerError ¶ added in v1.1.0
func (o *DeleteHTTPAfterResponseRuleAccepted) IsServerError() bool
IsServerError returns true when this delete Http after response rule accepted response has a 5xx status code
func (*DeleteHTTPAfterResponseRuleAccepted) IsSuccess ¶ added in v1.1.0
func (o *DeleteHTTPAfterResponseRuleAccepted) IsSuccess() bool
IsSuccess returns true when this delete Http after response rule accepted response has a 2xx status code
func (*DeleteHTTPAfterResponseRuleAccepted) String ¶ added in v1.1.0
func (o *DeleteHTTPAfterResponseRuleAccepted) String() string
type DeleteHTTPAfterResponseRuleDefault ¶
type DeleteHTTPAfterResponseRuleDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
DeleteHTTPAfterResponseRuleDefault describes a response with status code -1, with default header values.
General Error
func NewDeleteHTTPAfterResponseRuleDefault ¶
func NewDeleteHTTPAfterResponseRuleDefault(code int) *DeleteHTTPAfterResponseRuleDefault
NewDeleteHTTPAfterResponseRuleDefault creates a DeleteHTTPAfterResponseRuleDefault with default headers values
func (*DeleteHTTPAfterResponseRuleDefault) Code ¶
func (o *DeleteHTTPAfterResponseRuleDefault) Code() int
Code gets the status code for the delete HTTP after response rule default response
func (*DeleteHTTPAfterResponseRuleDefault) Error ¶
func (o *DeleteHTTPAfterResponseRuleDefault) Error() string
func (*DeleteHTTPAfterResponseRuleDefault) GetPayload ¶
func (o *DeleteHTTPAfterResponseRuleDefault) GetPayload() *models.Error
func (*DeleteHTTPAfterResponseRuleDefault) IsClientError ¶ added in v1.1.0
func (o *DeleteHTTPAfterResponseRuleDefault) IsClientError() bool
IsClientError returns true when this delete HTTP after response rule default response has a 4xx status code
func (*DeleteHTTPAfterResponseRuleDefault) IsCode ¶ added in v1.1.0
func (o *DeleteHTTPAfterResponseRuleDefault) IsCode(code int) bool
IsCode returns true when this delete HTTP after response rule default response a status code equal to that given
func (*DeleteHTTPAfterResponseRuleDefault) IsRedirect ¶ added in v1.1.0
func (o *DeleteHTTPAfterResponseRuleDefault) IsRedirect() bool
IsRedirect returns true when this delete HTTP after response rule default response has a 3xx status code
func (*DeleteHTTPAfterResponseRuleDefault) IsServerError ¶ added in v1.1.0
func (o *DeleteHTTPAfterResponseRuleDefault) IsServerError() bool
IsServerError returns true when this delete HTTP after response rule default response has a 5xx status code
func (*DeleteHTTPAfterResponseRuleDefault) IsSuccess ¶ added in v1.1.0
func (o *DeleteHTTPAfterResponseRuleDefault) IsSuccess() bool
IsSuccess returns true when this delete HTTP after response rule default response has a 2xx status code
func (*DeleteHTTPAfterResponseRuleDefault) String ¶ added in v1.1.0
func (o *DeleteHTTPAfterResponseRuleDefault) String() string
type DeleteHTTPAfterResponseRuleNoContent ¶
type DeleteHTTPAfterResponseRuleNoContent struct { }
DeleteHTTPAfterResponseRuleNoContent describes a response with status code 204, with default header values.
HTTP After Response Rule deleted
func NewDeleteHTTPAfterResponseRuleNoContent ¶
func NewDeleteHTTPAfterResponseRuleNoContent() *DeleteHTTPAfterResponseRuleNoContent
NewDeleteHTTPAfterResponseRuleNoContent creates a DeleteHTTPAfterResponseRuleNoContent with default headers values
func (*DeleteHTTPAfterResponseRuleNoContent) Error ¶
func (o *DeleteHTTPAfterResponseRuleNoContent) Error() string
func (*DeleteHTTPAfterResponseRuleNoContent) IsClientError ¶ added in v1.1.0
func (o *DeleteHTTPAfterResponseRuleNoContent) IsClientError() bool
IsClientError returns true when this delete Http after response rule no content response has a 4xx status code
func (*DeleteHTTPAfterResponseRuleNoContent) IsCode ¶ added in v1.1.0
func (o *DeleteHTTPAfterResponseRuleNoContent) IsCode(code int) bool
IsCode returns true when this delete Http after response rule no content response a status code equal to that given
func (*DeleteHTTPAfterResponseRuleNoContent) IsRedirect ¶ added in v1.1.0
func (o *DeleteHTTPAfterResponseRuleNoContent) IsRedirect() bool
IsRedirect returns true when this delete Http after response rule no content response has a 3xx status code
func (*DeleteHTTPAfterResponseRuleNoContent) IsServerError ¶ added in v1.1.0
func (o *DeleteHTTPAfterResponseRuleNoContent) IsServerError() bool
IsServerError returns true when this delete Http after response rule no content response has a 5xx status code
func (*DeleteHTTPAfterResponseRuleNoContent) IsSuccess ¶ added in v1.1.0
func (o *DeleteHTTPAfterResponseRuleNoContent) IsSuccess() bool
IsSuccess returns true when this delete Http after response rule no content response has a 2xx status code
func (*DeleteHTTPAfterResponseRuleNoContent) String ¶ added in v1.1.0
func (o *DeleteHTTPAfterResponseRuleNoContent) String() string
type DeleteHTTPAfterResponseRuleNotFound ¶
type DeleteHTTPAfterResponseRuleNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
DeleteHTTPAfterResponseRuleNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewDeleteHTTPAfterResponseRuleNotFound ¶
func NewDeleteHTTPAfterResponseRuleNotFound() *DeleteHTTPAfterResponseRuleNotFound
NewDeleteHTTPAfterResponseRuleNotFound creates a DeleteHTTPAfterResponseRuleNotFound with default headers values
func (*DeleteHTTPAfterResponseRuleNotFound) Error ¶
func (o *DeleteHTTPAfterResponseRuleNotFound) Error() string
func (*DeleteHTTPAfterResponseRuleNotFound) GetPayload ¶
func (o *DeleteHTTPAfterResponseRuleNotFound) GetPayload() *models.Error
func (*DeleteHTTPAfterResponseRuleNotFound) IsClientError ¶ added in v1.1.0
func (o *DeleteHTTPAfterResponseRuleNotFound) IsClientError() bool
IsClientError returns true when this delete Http after response rule not found response has a 4xx status code
func (*DeleteHTTPAfterResponseRuleNotFound) IsCode ¶ added in v1.1.0
func (o *DeleteHTTPAfterResponseRuleNotFound) IsCode(code int) bool
IsCode returns true when this delete Http after response rule not found response a status code equal to that given
func (*DeleteHTTPAfterResponseRuleNotFound) IsRedirect ¶ added in v1.1.0
func (o *DeleteHTTPAfterResponseRuleNotFound) IsRedirect() bool
IsRedirect returns true when this delete Http after response rule not found response has a 3xx status code
func (*DeleteHTTPAfterResponseRuleNotFound) IsServerError ¶ added in v1.1.0
func (o *DeleteHTTPAfterResponseRuleNotFound) IsServerError() bool
IsServerError returns true when this delete Http after response rule not found response has a 5xx status code
func (*DeleteHTTPAfterResponseRuleNotFound) IsSuccess ¶ added in v1.1.0
func (o *DeleteHTTPAfterResponseRuleNotFound) IsSuccess() bool
IsSuccess returns true when this delete Http after response rule not found response has a 2xx status code
func (*DeleteHTTPAfterResponseRuleNotFound) String ¶ added in v1.1.0
func (o *DeleteHTTPAfterResponseRuleNotFound) String() string
type DeleteHTTPAfterResponseRuleParams ¶
type DeleteHTTPAfterResponseRuleParams struct { /* ForceReload. If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. */ ForceReload *bool /* Index. HTTP After Response Rule Index */ Index int64 /* ParentName. Parent name */ ParentName string /* ParentType. Parent type */ ParentType string /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string /* Version. Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteHTTPAfterResponseRuleParams contains all the parameters to send to the API endpoint
for the delete HTTP after response rule operation. Typically these are written to a http.Request.
func NewDeleteHTTPAfterResponseRuleParams ¶
func NewDeleteHTTPAfterResponseRuleParams() *DeleteHTTPAfterResponseRuleParams
NewDeleteHTTPAfterResponseRuleParams creates a new DeleteHTTPAfterResponseRuleParams 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 NewDeleteHTTPAfterResponseRuleParamsWithContext ¶
func NewDeleteHTTPAfterResponseRuleParamsWithContext(ctx context.Context) *DeleteHTTPAfterResponseRuleParams
NewDeleteHTTPAfterResponseRuleParamsWithContext creates a new DeleteHTTPAfterResponseRuleParams object with the ability to set a context for a request.
func NewDeleteHTTPAfterResponseRuleParamsWithHTTPClient ¶
func NewDeleteHTTPAfterResponseRuleParamsWithHTTPClient(client *http.Client) *DeleteHTTPAfterResponseRuleParams
NewDeleteHTTPAfterResponseRuleParamsWithHTTPClient creates a new DeleteHTTPAfterResponseRuleParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteHTTPAfterResponseRuleParamsWithTimeout ¶
func NewDeleteHTTPAfterResponseRuleParamsWithTimeout(timeout time.Duration) *DeleteHTTPAfterResponseRuleParams
NewDeleteHTTPAfterResponseRuleParamsWithTimeout creates a new DeleteHTTPAfterResponseRuleParams object with the ability to set a timeout on a request.
func (*DeleteHTTPAfterResponseRuleParams) SetContext ¶
func (o *DeleteHTTPAfterResponseRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the delete HTTP after response rule params
func (*DeleteHTTPAfterResponseRuleParams) SetDefaults ¶
func (o *DeleteHTTPAfterResponseRuleParams) SetDefaults()
SetDefaults hydrates default values in the delete HTTP after response rule params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteHTTPAfterResponseRuleParams) SetForceReload ¶
func (o *DeleteHTTPAfterResponseRuleParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the delete HTTP after response rule params
func (*DeleteHTTPAfterResponseRuleParams) SetHTTPClient ¶
func (o *DeleteHTTPAfterResponseRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete HTTP after response rule params
func (*DeleteHTTPAfterResponseRuleParams) SetIndex ¶
func (o *DeleteHTTPAfterResponseRuleParams) SetIndex(index int64)
SetIndex adds the index to the delete HTTP after response rule params
func (*DeleteHTTPAfterResponseRuleParams) SetParentName ¶
func (o *DeleteHTTPAfterResponseRuleParams) SetParentName(parentName string)
SetParentName adds the parentName to the delete HTTP after response rule params
func (*DeleteHTTPAfterResponseRuleParams) SetParentType ¶
func (o *DeleteHTTPAfterResponseRuleParams) SetParentType(parentType string)
SetParentType adds the parentType to the delete HTTP after response rule params
func (*DeleteHTTPAfterResponseRuleParams) SetTimeout ¶
func (o *DeleteHTTPAfterResponseRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete HTTP after response rule params
func (*DeleteHTTPAfterResponseRuleParams) SetTransactionID ¶
func (o *DeleteHTTPAfterResponseRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the delete HTTP after response rule params
func (*DeleteHTTPAfterResponseRuleParams) SetVersion ¶
func (o *DeleteHTTPAfterResponseRuleParams) SetVersion(version *int64)
SetVersion adds the version to the delete HTTP after response rule params
func (*DeleteHTTPAfterResponseRuleParams) WithContext ¶
func (o *DeleteHTTPAfterResponseRuleParams) WithContext(ctx context.Context) *DeleteHTTPAfterResponseRuleParams
WithContext adds the context to the delete HTTP after response rule params
func (*DeleteHTTPAfterResponseRuleParams) WithDefaults ¶
func (o *DeleteHTTPAfterResponseRuleParams) WithDefaults() *DeleteHTTPAfterResponseRuleParams
WithDefaults hydrates default values in the delete HTTP after response rule params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteHTTPAfterResponseRuleParams) WithForceReload ¶
func (o *DeleteHTTPAfterResponseRuleParams) WithForceReload(forceReload *bool) *DeleteHTTPAfterResponseRuleParams
WithForceReload adds the forceReload to the delete HTTP after response rule params
func (*DeleteHTTPAfterResponseRuleParams) WithHTTPClient ¶
func (o *DeleteHTTPAfterResponseRuleParams) WithHTTPClient(client *http.Client) *DeleteHTTPAfterResponseRuleParams
WithHTTPClient adds the HTTPClient to the delete HTTP after response rule params
func (*DeleteHTTPAfterResponseRuleParams) WithIndex ¶
func (o *DeleteHTTPAfterResponseRuleParams) WithIndex(index int64) *DeleteHTTPAfterResponseRuleParams
WithIndex adds the index to the delete HTTP after response rule params
func (*DeleteHTTPAfterResponseRuleParams) WithParentName ¶
func (o *DeleteHTTPAfterResponseRuleParams) WithParentName(parentName string) *DeleteHTTPAfterResponseRuleParams
WithParentName adds the parentName to the delete HTTP after response rule params
func (*DeleteHTTPAfterResponseRuleParams) WithParentType ¶
func (o *DeleteHTTPAfterResponseRuleParams) WithParentType(parentType string) *DeleteHTTPAfterResponseRuleParams
WithParentType adds the parentType to the delete HTTP after response rule params
func (*DeleteHTTPAfterResponseRuleParams) WithTimeout ¶
func (o *DeleteHTTPAfterResponseRuleParams) WithTimeout(timeout time.Duration) *DeleteHTTPAfterResponseRuleParams
WithTimeout adds the timeout to the delete HTTP after response rule params
func (*DeleteHTTPAfterResponseRuleParams) WithTransactionID ¶
func (o *DeleteHTTPAfterResponseRuleParams) WithTransactionID(transactionID *string) *DeleteHTTPAfterResponseRuleParams
WithTransactionID adds the transactionID to the delete HTTP after response rule params
func (*DeleteHTTPAfterResponseRuleParams) WithVersion ¶
func (o *DeleteHTTPAfterResponseRuleParams) WithVersion(version *int64) *DeleteHTTPAfterResponseRuleParams
WithVersion adds the version to the delete HTTP after response rule params
func (*DeleteHTTPAfterResponseRuleParams) WriteToRequest ¶
func (o *DeleteHTTPAfterResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteHTTPAfterResponseRuleReader ¶
type DeleteHTTPAfterResponseRuleReader struct {
// contains filtered or unexported fields
}
DeleteHTTPAfterResponseRuleReader is a Reader for the DeleteHTTPAfterResponseRule structure.
func (*DeleteHTTPAfterResponseRuleReader) ReadResponse ¶
func (o *DeleteHTTPAfterResponseRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetHTTPAfterResponseRuleDefault ¶
type GetHTTPAfterResponseRuleDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetHTTPAfterResponseRuleDefault describes a response with status code -1, with default header values.
General Error
func NewGetHTTPAfterResponseRuleDefault ¶
func NewGetHTTPAfterResponseRuleDefault(code int) *GetHTTPAfterResponseRuleDefault
NewGetHTTPAfterResponseRuleDefault creates a GetHTTPAfterResponseRuleDefault with default headers values
func (*GetHTTPAfterResponseRuleDefault) Code ¶
func (o *GetHTTPAfterResponseRuleDefault) Code() int
Code gets the status code for the get HTTP after response rule default response
func (*GetHTTPAfterResponseRuleDefault) Error ¶
func (o *GetHTTPAfterResponseRuleDefault) Error() string
func (*GetHTTPAfterResponseRuleDefault) GetPayload ¶
func (o *GetHTTPAfterResponseRuleDefault) GetPayload() *models.Error
func (*GetHTTPAfterResponseRuleDefault) IsClientError ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRuleDefault) IsClientError() bool
IsClientError returns true when this get HTTP after response rule default response has a 4xx status code
func (*GetHTTPAfterResponseRuleDefault) IsCode ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRuleDefault) IsCode(code int) bool
IsCode returns true when this get HTTP after response rule default response a status code equal to that given
func (*GetHTTPAfterResponseRuleDefault) IsRedirect ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRuleDefault) IsRedirect() bool
IsRedirect returns true when this get HTTP after response rule default response has a 3xx status code
func (*GetHTTPAfterResponseRuleDefault) IsServerError ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRuleDefault) IsServerError() bool
IsServerError returns true when this get HTTP after response rule default response has a 5xx status code
func (*GetHTTPAfterResponseRuleDefault) IsSuccess ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRuleDefault) IsSuccess() bool
IsSuccess returns true when this get HTTP after response rule default response has a 2xx status code
func (*GetHTTPAfterResponseRuleDefault) String ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRuleDefault) String() string
type GetHTTPAfterResponseRuleNotFound ¶
type GetHTTPAfterResponseRuleNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
GetHTTPAfterResponseRuleNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewGetHTTPAfterResponseRuleNotFound ¶
func NewGetHTTPAfterResponseRuleNotFound() *GetHTTPAfterResponseRuleNotFound
NewGetHTTPAfterResponseRuleNotFound creates a GetHTTPAfterResponseRuleNotFound with default headers values
func (*GetHTTPAfterResponseRuleNotFound) Error ¶
func (o *GetHTTPAfterResponseRuleNotFound) Error() string
func (*GetHTTPAfterResponseRuleNotFound) GetPayload ¶
func (o *GetHTTPAfterResponseRuleNotFound) GetPayload() *models.Error
func (*GetHTTPAfterResponseRuleNotFound) IsClientError ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRuleNotFound) IsClientError() bool
IsClientError returns true when this get Http after response rule not found response has a 4xx status code
func (*GetHTTPAfterResponseRuleNotFound) IsCode ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRuleNotFound) IsCode(code int) bool
IsCode returns true when this get Http after response rule not found response a status code equal to that given
func (*GetHTTPAfterResponseRuleNotFound) IsRedirect ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRuleNotFound) IsRedirect() bool
IsRedirect returns true when this get Http after response rule not found response has a 3xx status code
func (*GetHTTPAfterResponseRuleNotFound) IsServerError ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRuleNotFound) IsServerError() bool
IsServerError returns true when this get Http after response rule not found response has a 5xx status code
func (*GetHTTPAfterResponseRuleNotFound) IsSuccess ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRuleNotFound) IsSuccess() bool
IsSuccess returns true when this get Http after response rule not found response has a 2xx status code
func (*GetHTTPAfterResponseRuleNotFound) String ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRuleNotFound) String() string
type GetHTTPAfterResponseRuleOK ¶
type GetHTTPAfterResponseRuleOK struct { /* Configuration file version */ ConfigurationVersion string Payload *GetHTTPAfterResponseRuleOKBody }
GetHTTPAfterResponseRuleOK describes a response with status code 200, with default header values.
Successful operation
func NewGetHTTPAfterResponseRuleOK ¶
func NewGetHTTPAfterResponseRuleOK() *GetHTTPAfterResponseRuleOK
NewGetHTTPAfterResponseRuleOK creates a GetHTTPAfterResponseRuleOK with default headers values
func (*GetHTTPAfterResponseRuleOK) Error ¶
func (o *GetHTTPAfterResponseRuleOK) Error() string
func (*GetHTTPAfterResponseRuleOK) GetPayload ¶
func (o *GetHTTPAfterResponseRuleOK) GetPayload() *GetHTTPAfterResponseRuleOKBody
func (*GetHTTPAfterResponseRuleOK) IsClientError ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRuleOK) IsClientError() bool
IsClientError returns true when this get Http after response rule o k response has a 4xx status code
func (*GetHTTPAfterResponseRuleOK) IsCode ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRuleOK) IsCode(code int) bool
IsCode returns true when this get Http after response rule o k response a status code equal to that given
func (*GetHTTPAfterResponseRuleOK) IsRedirect ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRuleOK) IsRedirect() bool
IsRedirect returns true when this get Http after response rule o k response has a 3xx status code
func (*GetHTTPAfterResponseRuleOK) IsServerError ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRuleOK) IsServerError() bool
IsServerError returns true when this get Http after response rule o k response has a 5xx status code
func (*GetHTTPAfterResponseRuleOK) IsSuccess ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRuleOK) IsSuccess() bool
IsSuccess returns true when this get Http after response rule o k response has a 2xx status code
func (*GetHTTPAfterResponseRuleOK) String ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRuleOK) String() string
type GetHTTPAfterResponseRuleOKBody ¶
type GetHTTPAfterResponseRuleOKBody struct { // version Version int64 `json:"_version,omitempty"` // data Data *models.HTTPAfterResponseRule `json:"data,omitempty"` }
GetHTTPAfterResponseRuleOKBody get HTTP after response rule o k body swagger:model GetHTTPAfterResponseRuleOKBody
func (*GetHTTPAfterResponseRuleOKBody) ContextValidate ¶
func (o *GetHTTPAfterResponseRuleOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get HTTP after response rule o k body based on the context it is used
func (*GetHTTPAfterResponseRuleOKBody) MarshalBinary ¶
func (o *GetHTTPAfterResponseRuleOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetHTTPAfterResponseRuleOKBody) UnmarshalBinary ¶
func (o *GetHTTPAfterResponseRuleOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetHTTPAfterResponseRuleParams ¶
type GetHTTPAfterResponseRuleParams struct { /* Index. HTTP After Response Rule Index */ Index int64 /* ParentName. Parent name */ ParentName string /* ParentType. Parent type */ ParentType string /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetHTTPAfterResponseRuleParams contains all the parameters to send to the API endpoint
for the get HTTP after response rule operation. Typically these are written to a http.Request.
func NewGetHTTPAfterResponseRuleParams ¶
func NewGetHTTPAfterResponseRuleParams() *GetHTTPAfterResponseRuleParams
NewGetHTTPAfterResponseRuleParams creates a new GetHTTPAfterResponseRuleParams 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 NewGetHTTPAfterResponseRuleParamsWithContext ¶
func NewGetHTTPAfterResponseRuleParamsWithContext(ctx context.Context) *GetHTTPAfterResponseRuleParams
NewGetHTTPAfterResponseRuleParamsWithContext creates a new GetHTTPAfterResponseRuleParams object with the ability to set a context for a request.
func NewGetHTTPAfterResponseRuleParamsWithHTTPClient ¶
func NewGetHTTPAfterResponseRuleParamsWithHTTPClient(client *http.Client) *GetHTTPAfterResponseRuleParams
NewGetHTTPAfterResponseRuleParamsWithHTTPClient creates a new GetHTTPAfterResponseRuleParams object with the ability to set a custom HTTPClient for a request.
func NewGetHTTPAfterResponseRuleParamsWithTimeout ¶
func NewGetHTTPAfterResponseRuleParamsWithTimeout(timeout time.Duration) *GetHTTPAfterResponseRuleParams
NewGetHTTPAfterResponseRuleParamsWithTimeout creates a new GetHTTPAfterResponseRuleParams object with the ability to set a timeout on a request.
func (*GetHTTPAfterResponseRuleParams) SetContext ¶
func (o *GetHTTPAfterResponseRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the get HTTP after response rule params
func (*GetHTTPAfterResponseRuleParams) SetDefaults ¶
func (o *GetHTTPAfterResponseRuleParams) SetDefaults()
SetDefaults hydrates default values in the get HTTP after response rule params (not the query body).
All values with no default are reset to their zero value.
func (*GetHTTPAfterResponseRuleParams) SetHTTPClient ¶
func (o *GetHTTPAfterResponseRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get HTTP after response rule params
func (*GetHTTPAfterResponseRuleParams) SetIndex ¶
func (o *GetHTTPAfterResponseRuleParams) SetIndex(index int64)
SetIndex adds the index to the get HTTP after response rule params
func (*GetHTTPAfterResponseRuleParams) SetParentName ¶
func (o *GetHTTPAfterResponseRuleParams) SetParentName(parentName string)
SetParentName adds the parentName to the get HTTP after response rule params
func (*GetHTTPAfterResponseRuleParams) SetParentType ¶
func (o *GetHTTPAfterResponseRuleParams) SetParentType(parentType string)
SetParentType adds the parentType to the get HTTP after response rule params
func (*GetHTTPAfterResponseRuleParams) SetTimeout ¶
func (o *GetHTTPAfterResponseRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get HTTP after response rule params
func (*GetHTTPAfterResponseRuleParams) SetTransactionID ¶
func (o *GetHTTPAfterResponseRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get HTTP after response rule params
func (*GetHTTPAfterResponseRuleParams) WithContext ¶
func (o *GetHTTPAfterResponseRuleParams) WithContext(ctx context.Context) *GetHTTPAfterResponseRuleParams
WithContext adds the context to the get HTTP after response rule params
func (*GetHTTPAfterResponseRuleParams) WithDefaults ¶
func (o *GetHTTPAfterResponseRuleParams) WithDefaults() *GetHTTPAfterResponseRuleParams
WithDefaults hydrates default values in the get HTTP after response rule params (not the query body).
All values with no default are reset to their zero value.
func (*GetHTTPAfterResponseRuleParams) WithHTTPClient ¶
func (o *GetHTTPAfterResponseRuleParams) WithHTTPClient(client *http.Client) *GetHTTPAfterResponseRuleParams
WithHTTPClient adds the HTTPClient to the get HTTP after response rule params
func (*GetHTTPAfterResponseRuleParams) WithIndex ¶
func (o *GetHTTPAfterResponseRuleParams) WithIndex(index int64) *GetHTTPAfterResponseRuleParams
WithIndex adds the index to the get HTTP after response rule params
func (*GetHTTPAfterResponseRuleParams) WithParentName ¶
func (o *GetHTTPAfterResponseRuleParams) WithParentName(parentName string) *GetHTTPAfterResponseRuleParams
WithParentName adds the parentName to the get HTTP after response rule params
func (*GetHTTPAfterResponseRuleParams) WithParentType ¶
func (o *GetHTTPAfterResponseRuleParams) WithParentType(parentType string) *GetHTTPAfterResponseRuleParams
WithParentType adds the parentType to the get HTTP after response rule params
func (*GetHTTPAfterResponseRuleParams) WithTimeout ¶
func (o *GetHTTPAfterResponseRuleParams) WithTimeout(timeout time.Duration) *GetHTTPAfterResponseRuleParams
WithTimeout adds the timeout to the get HTTP after response rule params
func (*GetHTTPAfterResponseRuleParams) WithTransactionID ¶
func (o *GetHTTPAfterResponseRuleParams) WithTransactionID(transactionID *string) *GetHTTPAfterResponseRuleParams
WithTransactionID adds the transactionID to the get HTTP after response rule params
func (*GetHTTPAfterResponseRuleParams) WriteToRequest ¶
func (o *GetHTTPAfterResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetHTTPAfterResponseRuleReader ¶
type GetHTTPAfterResponseRuleReader struct {
// contains filtered or unexported fields
}
GetHTTPAfterResponseRuleReader is a Reader for the GetHTTPAfterResponseRule structure.
func (*GetHTTPAfterResponseRuleReader) ReadResponse ¶
func (o *GetHTTPAfterResponseRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetHTTPAfterResponseRulesDefault ¶
type GetHTTPAfterResponseRulesDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetHTTPAfterResponseRulesDefault describes a response with status code -1, with default header values.
General Error
func NewGetHTTPAfterResponseRulesDefault ¶
func NewGetHTTPAfterResponseRulesDefault(code int) *GetHTTPAfterResponseRulesDefault
NewGetHTTPAfterResponseRulesDefault creates a GetHTTPAfterResponseRulesDefault with default headers values
func (*GetHTTPAfterResponseRulesDefault) Code ¶
func (o *GetHTTPAfterResponseRulesDefault) Code() int
Code gets the status code for the get HTTP after response rules default response
func (*GetHTTPAfterResponseRulesDefault) Error ¶
func (o *GetHTTPAfterResponseRulesDefault) Error() string
func (*GetHTTPAfterResponseRulesDefault) GetPayload ¶
func (o *GetHTTPAfterResponseRulesDefault) GetPayload() *models.Error
func (*GetHTTPAfterResponseRulesDefault) IsClientError ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRulesDefault) IsClientError() bool
IsClientError returns true when this get HTTP after response rules default response has a 4xx status code
func (*GetHTTPAfterResponseRulesDefault) IsCode ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRulesDefault) IsCode(code int) bool
IsCode returns true when this get HTTP after response rules default response a status code equal to that given
func (*GetHTTPAfterResponseRulesDefault) IsRedirect ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRulesDefault) IsRedirect() bool
IsRedirect returns true when this get HTTP after response rules default response has a 3xx status code
func (*GetHTTPAfterResponseRulesDefault) IsServerError ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRulesDefault) IsServerError() bool
IsServerError returns true when this get HTTP after response rules default response has a 5xx status code
func (*GetHTTPAfterResponseRulesDefault) IsSuccess ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRulesDefault) IsSuccess() bool
IsSuccess returns true when this get HTTP after response rules default response has a 2xx status code
func (*GetHTTPAfterResponseRulesDefault) String ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRulesDefault) String() string
type GetHTTPAfterResponseRulesOK ¶
type GetHTTPAfterResponseRulesOK struct { /* Configuration file version */ ConfigurationVersion string Payload *GetHTTPAfterResponseRulesOKBody }
GetHTTPAfterResponseRulesOK describes a response with status code 200, with default header values.
Successful operation
func NewGetHTTPAfterResponseRulesOK ¶
func NewGetHTTPAfterResponseRulesOK() *GetHTTPAfterResponseRulesOK
NewGetHTTPAfterResponseRulesOK creates a GetHTTPAfterResponseRulesOK with default headers values
func (*GetHTTPAfterResponseRulesOK) Error ¶
func (o *GetHTTPAfterResponseRulesOK) Error() string
func (*GetHTTPAfterResponseRulesOK) GetPayload ¶
func (o *GetHTTPAfterResponseRulesOK) GetPayload() *GetHTTPAfterResponseRulesOKBody
func (*GetHTTPAfterResponseRulesOK) IsClientError ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRulesOK) IsClientError() bool
IsClientError returns true when this get Http after response rules o k response has a 4xx status code
func (*GetHTTPAfterResponseRulesOK) IsCode ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRulesOK) IsCode(code int) bool
IsCode returns true when this get Http after response rules o k response a status code equal to that given
func (*GetHTTPAfterResponseRulesOK) IsRedirect ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRulesOK) IsRedirect() bool
IsRedirect returns true when this get Http after response rules o k response has a 3xx status code
func (*GetHTTPAfterResponseRulesOK) IsServerError ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRulesOK) IsServerError() bool
IsServerError returns true when this get Http after response rules o k response has a 5xx status code
func (*GetHTTPAfterResponseRulesOK) IsSuccess ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRulesOK) IsSuccess() bool
IsSuccess returns true when this get Http after response rules o k response has a 2xx status code
func (*GetHTTPAfterResponseRulesOK) String ¶ added in v1.1.0
func (o *GetHTTPAfterResponseRulesOK) String() string
type GetHTTPAfterResponseRulesOKBody ¶
type GetHTTPAfterResponseRulesOKBody struct { // version Version int64 `json:"_version,omitempty"` // data // Required: true Data models.HTTPAfterResponseRules `json:"data"` }
GetHTTPAfterResponseRulesOKBody get HTTP after response rules o k body swagger:model GetHTTPAfterResponseRulesOKBody
func (*GetHTTPAfterResponseRulesOKBody) ContextValidate ¶
func (o *GetHTTPAfterResponseRulesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get HTTP after response rules o k body based on the context it is used
func (*GetHTTPAfterResponseRulesOKBody) MarshalBinary ¶
func (o *GetHTTPAfterResponseRulesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetHTTPAfterResponseRulesOKBody) UnmarshalBinary ¶
func (o *GetHTTPAfterResponseRulesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetHTTPAfterResponseRulesParams ¶
type GetHTTPAfterResponseRulesParams struct { /* ParentName. Parent name */ ParentName string /* ParentType. Parent type */ ParentType string /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetHTTPAfterResponseRulesParams contains all the parameters to send to the API endpoint
for the get HTTP after response rules operation. Typically these are written to a http.Request.
func NewGetHTTPAfterResponseRulesParams ¶
func NewGetHTTPAfterResponseRulesParams() *GetHTTPAfterResponseRulesParams
NewGetHTTPAfterResponseRulesParams creates a new GetHTTPAfterResponseRulesParams 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 NewGetHTTPAfterResponseRulesParamsWithContext ¶
func NewGetHTTPAfterResponseRulesParamsWithContext(ctx context.Context) *GetHTTPAfterResponseRulesParams
NewGetHTTPAfterResponseRulesParamsWithContext creates a new GetHTTPAfterResponseRulesParams object with the ability to set a context for a request.
func NewGetHTTPAfterResponseRulesParamsWithHTTPClient ¶
func NewGetHTTPAfterResponseRulesParamsWithHTTPClient(client *http.Client) *GetHTTPAfterResponseRulesParams
NewGetHTTPAfterResponseRulesParamsWithHTTPClient creates a new GetHTTPAfterResponseRulesParams object with the ability to set a custom HTTPClient for a request.
func NewGetHTTPAfterResponseRulesParamsWithTimeout ¶
func NewGetHTTPAfterResponseRulesParamsWithTimeout(timeout time.Duration) *GetHTTPAfterResponseRulesParams
NewGetHTTPAfterResponseRulesParamsWithTimeout creates a new GetHTTPAfterResponseRulesParams object with the ability to set a timeout on a request.
func (*GetHTTPAfterResponseRulesParams) SetContext ¶
func (o *GetHTTPAfterResponseRulesParams) SetContext(ctx context.Context)
SetContext adds the context to the get HTTP after response rules params
func (*GetHTTPAfterResponseRulesParams) SetDefaults ¶
func (o *GetHTTPAfterResponseRulesParams) SetDefaults()
SetDefaults hydrates default values in the get HTTP after response rules params (not the query body).
All values with no default are reset to their zero value.
func (*GetHTTPAfterResponseRulesParams) SetHTTPClient ¶
func (o *GetHTTPAfterResponseRulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get HTTP after response rules params
func (*GetHTTPAfterResponseRulesParams) SetParentName ¶
func (o *GetHTTPAfterResponseRulesParams) SetParentName(parentName string)
SetParentName adds the parentName to the get HTTP after response rules params
func (*GetHTTPAfterResponseRulesParams) SetParentType ¶
func (o *GetHTTPAfterResponseRulesParams) SetParentType(parentType string)
SetParentType adds the parentType to the get HTTP after response rules params
func (*GetHTTPAfterResponseRulesParams) SetTimeout ¶
func (o *GetHTTPAfterResponseRulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get HTTP after response rules params
func (*GetHTTPAfterResponseRulesParams) SetTransactionID ¶
func (o *GetHTTPAfterResponseRulesParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get HTTP after response rules params
func (*GetHTTPAfterResponseRulesParams) WithContext ¶
func (o *GetHTTPAfterResponseRulesParams) WithContext(ctx context.Context) *GetHTTPAfterResponseRulesParams
WithContext adds the context to the get HTTP after response rules params
func (*GetHTTPAfterResponseRulesParams) WithDefaults ¶
func (o *GetHTTPAfterResponseRulesParams) WithDefaults() *GetHTTPAfterResponseRulesParams
WithDefaults hydrates default values in the get HTTP after response rules params (not the query body).
All values with no default are reset to their zero value.
func (*GetHTTPAfterResponseRulesParams) WithHTTPClient ¶
func (o *GetHTTPAfterResponseRulesParams) WithHTTPClient(client *http.Client) *GetHTTPAfterResponseRulesParams
WithHTTPClient adds the HTTPClient to the get HTTP after response rules params
func (*GetHTTPAfterResponseRulesParams) WithParentName ¶
func (o *GetHTTPAfterResponseRulesParams) WithParentName(parentName string) *GetHTTPAfterResponseRulesParams
WithParentName adds the parentName to the get HTTP after response rules params
func (*GetHTTPAfterResponseRulesParams) WithParentType ¶
func (o *GetHTTPAfterResponseRulesParams) WithParentType(parentType string) *GetHTTPAfterResponseRulesParams
WithParentType adds the parentType to the get HTTP after response rules params
func (*GetHTTPAfterResponseRulesParams) WithTimeout ¶
func (o *GetHTTPAfterResponseRulesParams) WithTimeout(timeout time.Duration) *GetHTTPAfterResponseRulesParams
WithTimeout adds the timeout to the get HTTP after response rules params
func (*GetHTTPAfterResponseRulesParams) WithTransactionID ¶
func (o *GetHTTPAfterResponseRulesParams) WithTransactionID(transactionID *string) *GetHTTPAfterResponseRulesParams
WithTransactionID adds the transactionID to the get HTTP after response rules params
func (*GetHTTPAfterResponseRulesParams) WriteToRequest ¶
func (o *GetHTTPAfterResponseRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetHTTPAfterResponseRulesReader ¶
type GetHTTPAfterResponseRulesReader struct {
// contains filtered or unexported fields
}
GetHTTPAfterResponseRulesReader is a Reader for the GetHTTPAfterResponseRules structure.
func (*GetHTTPAfterResponseRulesReader) ReadResponse ¶
func (o *GetHTTPAfterResponseRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplaceHTTPAfterResponseRuleAccepted ¶
type ReplaceHTTPAfterResponseRuleAccepted struct { /* ID of the requested reload */ ReloadID string Payload *models.HTTPAfterResponseRule }
ReplaceHTTPAfterResponseRuleAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewReplaceHTTPAfterResponseRuleAccepted ¶
func NewReplaceHTTPAfterResponseRuleAccepted() *ReplaceHTTPAfterResponseRuleAccepted
NewReplaceHTTPAfterResponseRuleAccepted creates a ReplaceHTTPAfterResponseRuleAccepted with default headers values
func (*ReplaceHTTPAfterResponseRuleAccepted) Error ¶
func (o *ReplaceHTTPAfterResponseRuleAccepted) Error() string
func (*ReplaceHTTPAfterResponseRuleAccepted) GetPayload ¶
func (o *ReplaceHTTPAfterResponseRuleAccepted) GetPayload() *models.HTTPAfterResponseRule
func (*ReplaceHTTPAfterResponseRuleAccepted) IsClientError ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleAccepted) IsClientError() bool
IsClientError returns true when this replace Http after response rule accepted response has a 4xx status code
func (*ReplaceHTTPAfterResponseRuleAccepted) IsCode ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleAccepted) IsCode(code int) bool
IsCode returns true when this replace Http after response rule accepted response a status code equal to that given
func (*ReplaceHTTPAfterResponseRuleAccepted) IsRedirect ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleAccepted) IsRedirect() bool
IsRedirect returns true when this replace Http after response rule accepted response has a 3xx status code
func (*ReplaceHTTPAfterResponseRuleAccepted) IsServerError ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleAccepted) IsServerError() bool
IsServerError returns true when this replace Http after response rule accepted response has a 5xx status code
func (*ReplaceHTTPAfterResponseRuleAccepted) IsSuccess ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleAccepted) IsSuccess() bool
IsSuccess returns true when this replace Http after response rule accepted response has a 2xx status code
func (*ReplaceHTTPAfterResponseRuleAccepted) String ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleAccepted) String() string
type ReplaceHTTPAfterResponseRuleBadRequest ¶
type ReplaceHTTPAfterResponseRuleBadRequest struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceHTTPAfterResponseRuleBadRequest describes a response with status code 400, with default header values.
Bad request
func NewReplaceHTTPAfterResponseRuleBadRequest ¶
func NewReplaceHTTPAfterResponseRuleBadRequest() *ReplaceHTTPAfterResponseRuleBadRequest
NewReplaceHTTPAfterResponseRuleBadRequest creates a ReplaceHTTPAfterResponseRuleBadRequest with default headers values
func (*ReplaceHTTPAfterResponseRuleBadRequest) Error ¶
func (o *ReplaceHTTPAfterResponseRuleBadRequest) Error() string
func (*ReplaceHTTPAfterResponseRuleBadRequest) GetPayload ¶
func (o *ReplaceHTTPAfterResponseRuleBadRequest) GetPayload() *models.Error
func (*ReplaceHTTPAfterResponseRuleBadRequest) IsClientError ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleBadRequest) IsClientError() bool
IsClientError returns true when this replace Http after response rule bad request response has a 4xx status code
func (*ReplaceHTTPAfterResponseRuleBadRequest) IsCode ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleBadRequest) IsCode(code int) bool
IsCode returns true when this replace Http after response rule bad request response a status code equal to that given
func (*ReplaceHTTPAfterResponseRuleBadRequest) IsRedirect ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleBadRequest) IsRedirect() bool
IsRedirect returns true when this replace Http after response rule bad request response has a 3xx status code
func (*ReplaceHTTPAfterResponseRuleBadRequest) IsServerError ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleBadRequest) IsServerError() bool
IsServerError returns true when this replace Http after response rule bad request response has a 5xx status code
func (*ReplaceHTTPAfterResponseRuleBadRequest) IsSuccess ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleBadRequest) IsSuccess() bool
IsSuccess returns true when this replace Http after response rule bad request response has a 2xx status code
func (*ReplaceHTTPAfterResponseRuleBadRequest) String ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleBadRequest) String() string
type ReplaceHTTPAfterResponseRuleDefault ¶
type ReplaceHTTPAfterResponseRuleDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
ReplaceHTTPAfterResponseRuleDefault describes a response with status code -1, with default header values.
General Error
func NewReplaceHTTPAfterResponseRuleDefault ¶
func NewReplaceHTTPAfterResponseRuleDefault(code int) *ReplaceHTTPAfterResponseRuleDefault
NewReplaceHTTPAfterResponseRuleDefault creates a ReplaceHTTPAfterResponseRuleDefault with default headers values
func (*ReplaceHTTPAfterResponseRuleDefault) Code ¶
func (o *ReplaceHTTPAfterResponseRuleDefault) Code() int
Code gets the status code for the replace HTTP after response rule default response
func (*ReplaceHTTPAfterResponseRuleDefault) Error ¶
func (o *ReplaceHTTPAfterResponseRuleDefault) Error() string
func (*ReplaceHTTPAfterResponseRuleDefault) GetPayload ¶
func (o *ReplaceHTTPAfterResponseRuleDefault) GetPayload() *models.Error
func (*ReplaceHTTPAfterResponseRuleDefault) IsClientError ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleDefault) IsClientError() bool
IsClientError returns true when this replace HTTP after response rule default response has a 4xx status code
func (*ReplaceHTTPAfterResponseRuleDefault) IsCode ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleDefault) IsCode(code int) bool
IsCode returns true when this replace HTTP after response rule default response a status code equal to that given
func (*ReplaceHTTPAfterResponseRuleDefault) IsRedirect ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleDefault) IsRedirect() bool
IsRedirect returns true when this replace HTTP after response rule default response has a 3xx status code
func (*ReplaceHTTPAfterResponseRuleDefault) IsServerError ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleDefault) IsServerError() bool
IsServerError returns true when this replace HTTP after response rule default response has a 5xx status code
func (*ReplaceHTTPAfterResponseRuleDefault) IsSuccess ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleDefault) IsSuccess() bool
IsSuccess returns true when this replace HTTP after response rule default response has a 2xx status code
func (*ReplaceHTTPAfterResponseRuleDefault) String ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleDefault) String() string
type ReplaceHTTPAfterResponseRuleNotFound ¶
type ReplaceHTTPAfterResponseRuleNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceHTTPAfterResponseRuleNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewReplaceHTTPAfterResponseRuleNotFound ¶
func NewReplaceHTTPAfterResponseRuleNotFound() *ReplaceHTTPAfterResponseRuleNotFound
NewReplaceHTTPAfterResponseRuleNotFound creates a ReplaceHTTPAfterResponseRuleNotFound with default headers values
func (*ReplaceHTTPAfterResponseRuleNotFound) Error ¶
func (o *ReplaceHTTPAfterResponseRuleNotFound) Error() string
func (*ReplaceHTTPAfterResponseRuleNotFound) GetPayload ¶
func (o *ReplaceHTTPAfterResponseRuleNotFound) GetPayload() *models.Error
func (*ReplaceHTTPAfterResponseRuleNotFound) IsClientError ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleNotFound) IsClientError() bool
IsClientError returns true when this replace Http after response rule not found response has a 4xx status code
func (*ReplaceHTTPAfterResponseRuleNotFound) IsCode ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleNotFound) IsCode(code int) bool
IsCode returns true when this replace Http after response rule not found response a status code equal to that given
func (*ReplaceHTTPAfterResponseRuleNotFound) IsRedirect ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleNotFound) IsRedirect() bool
IsRedirect returns true when this replace Http after response rule not found response has a 3xx status code
func (*ReplaceHTTPAfterResponseRuleNotFound) IsServerError ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleNotFound) IsServerError() bool
IsServerError returns true when this replace Http after response rule not found response has a 5xx status code
func (*ReplaceHTTPAfterResponseRuleNotFound) IsSuccess ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleNotFound) IsSuccess() bool
IsSuccess returns true when this replace Http after response rule not found response has a 2xx status code
func (*ReplaceHTTPAfterResponseRuleNotFound) String ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleNotFound) String() string
type ReplaceHTTPAfterResponseRuleOK ¶
type ReplaceHTTPAfterResponseRuleOK struct {
Payload *models.HTTPAfterResponseRule
}
ReplaceHTTPAfterResponseRuleOK describes a response with status code 200, with default header values.
HTTP After Response Rule replaced
func NewReplaceHTTPAfterResponseRuleOK ¶
func NewReplaceHTTPAfterResponseRuleOK() *ReplaceHTTPAfterResponseRuleOK
NewReplaceHTTPAfterResponseRuleOK creates a ReplaceHTTPAfterResponseRuleOK with default headers values
func (*ReplaceHTTPAfterResponseRuleOK) Error ¶
func (o *ReplaceHTTPAfterResponseRuleOK) Error() string
func (*ReplaceHTTPAfterResponseRuleOK) GetPayload ¶
func (o *ReplaceHTTPAfterResponseRuleOK) GetPayload() *models.HTTPAfterResponseRule
func (*ReplaceHTTPAfterResponseRuleOK) IsClientError ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleOK) IsClientError() bool
IsClientError returns true when this replace Http after response rule o k response has a 4xx status code
func (*ReplaceHTTPAfterResponseRuleOK) IsCode ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleOK) IsCode(code int) bool
IsCode returns true when this replace Http after response rule o k response a status code equal to that given
func (*ReplaceHTTPAfterResponseRuleOK) IsRedirect ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleOK) IsRedirect() bool
IsRedirect returns true when this replace Http after response rule o k response has a 3xx status code
func (*ReplaceHTTPAfterResponseRuleOK) IsServerError ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleOK) IsServerError() bool
IsServerError returns true when this replace Http after response rule o k response has a 5xx status code
func (*ReplaceHTTPAfterResponseRuleOK) IsSuccess ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleOK) IsSuccess() bool
IsSuccess returns true when this replace Http after response rule o k response has a 2xx status code
func (*ReplaceHTTPAfterResponseRuleOK) String ¶ added in v1.1.0
func (o *ReplaceHTTPAfterResponseRuleOK) String() string
type ReplaceHTTPAfterResponseRuleParams ¶
type ReplaceHTTPAfterResponseRuleParams struct { // Data. Data *models.HTTPAfterResponseRule /* ForceReload. If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. */ ForceReload *bool /* Index. HTTP After Response Rule Index */ Index int64 /* ParentName. Parent name */ ParentName string /* ParentType. Parent type */ ParentType string /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string /* Version. Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReplaceHTTPAfterResponseRuleParams contains all the parameters to send to the API endpoint
for the replace HTTP after response rule operation. Typically these are written to a http.Request.
func NewReplaceHTTPAfterResponseRuleParams ¶
func NewReplaceHTTPAfterResponseRuleParams() *ReplaceHTTPAfterResponseRuleParams
NewReplaceHTTPAfterResponseRuleParams creates a new ReplaceHTTPAfterResponseRuleParams 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 NewReplaceHTTPAfterResponseRuleParamsWithContext ¶
func NewReplaceHTTPAfterResponseRuleParamsWithContext(ctx context.Context) *ReplaceHTTPAfterResponseRuleParams
NewReplaceHTTPAfterResponseRuleParamsWithContext creates a new ReplaceHTTPAfterResponseRuleParams object with the ability to set a context for a request.
func NewReplaceHTTPAfterResponseRuleParamsWithHTTPClient ¶
func NewReplaceHTTPAfterResponseRuleParamsWithHTTPClient(client *http.Client) *ReplaceHTTPAfterResponseRuleParams
NewReplaceHTTPAfterResponseRuleParamsWithHTTPClient creates a new ReplaceHTTPAfterResponseRuleParams object with the ability to set a custom HTTPClient for a request.
func NewReplaceHTTPAfterResponseRuleParamsWithTimeout ¶
func NewReplaceHTTPAfterResponseRuleParamsWithTimeout(timeout time.Duration) *ReplaceHTTPAfterResponseRuleParams
NewReplaceHTTPAfterResponseRuleParamsWithTimeout creates a new ReplaceHTTPAfterResponseRuleParams object with the ability to set a timeout on a request.
func (*ReplaceHTTPAfterResponseRuleParams) SetContext ¶
func (o *ReplaceHTTPAfterResponseRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the replace HTTP after response rule params
func (*ReplaceHTTPAfterResponseRuleParams) SetData ¶
func (o *ReplaceHTTPAfterResponseRuleParams) SetData(data *models.HTTPAfterResponseRule)
SetData adds the data to the replace HTTP after response rule params
func (*ReplaceHTTPAfterResponseRuleParams) SetDefaults ¶
func (o *ReplaceHTTPAfterResponseRuleParams) SetDefaults()
SetDefaults hydrates default values in the replace HTTP after response rule params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceHTTPAfterResponseRuleParams) SetForceReload ¶
func (o *ReplaceHTTPAfterResponseRuleParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the replace HTTP after response rule params
func (*ReplaceHTTPAfterResponseRuleParams) SetHTTPClient ¶
func (o *ReplaceHTTPAfterResponseRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replace HTTP after response rule params
func (*ReplaceHTTPAfterResponseRuleParams) SetIndex ¶
func (o *ReplaceHTTPAfterResponseRuleParams) SetIndex(index int64)
SetIndex adds the index to the replace HTTP after response rule params
func (*ReplaceHTTPAfterResponseRuleParams) SetParentName ¶
func (o *ReplaceHTTPAfterResponseRuleParams) SetParentName(parentName string)
SetParentName adds the parentName to the replace HTTP after response rule params
func (*ReplaceHTTPAfterResponseRuleParams) SetParentType ¶
func (o *ReplaceHTTPAfterResponseRuleParams) SetParentType(parentType string)
SetParentType adds the parentType to the replace HTTP after response rule params
func (*ReplaceHTTPAfterResponseRuleParams) SetTimeout ¶
func (o *ReplaceHTTPAfterResponseRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replace HTTP after response rule params
func (*ReplaceHTTPAfterResponseRuleParams) SetTransactionID ¶
func (o *ReplaceHTTPAfterResponseRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the replace HTTP after response rule params
func (*ReplaceHTTPAfterResponseRuleParams) SetVersion ¶
func (o *ReplaceHTTPAfterResponseRuleParams) SetVersion(version *int64)
SetVersion adds the version to the replace HTTP after response rule params
func (*ReplaceHTTPAfterResponseRuleParams) WithContext ¶
func (o *ReplaceHTTPAfterResponseRuleParams) WithContext(ctx context.Context) *ReplaceHTTPAfterResponseRuleParams
WithContext adds the context to the replace HTTP after response rule params
func (*ReplaceHTTPAfterResponseRuleParams) WithData ¶
func (o *ReplaceHTTPAfterResponseRuleParams) WithData(data *models.HTTPAfterResponseRule) *ReplaceHTTPAfterResponseRuleParams
WithData adds the data to the replace HTTP after response rule params
func (*ReplaceHTTPAfterResponseRuleParams) WithDefaults ¶
func (o *ReplaceHTTPAfterResponseRuleParams) WithDefaults() *ReplaceHTTPAfterResponseRuleParams
WithDefaults hydrates default values in the replace HTTP after response rule params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceHTTPAfterResponseRuleParams) WithForceReload ¶
func (o *ReplaceHTTPAfterResponseRuleParams) WithForceReload(forceReload *bool) *ReplaceHTTPAfterResponseRuleParams
WithForceReload adds the forceReload to the replace HTTP after response rule params
func (*ReplaceHTTPAfterResponseRuleParams) WithHTTPClient ¶
func (o *ReplaceHTTPAfterResponseRuleParams) WithHTTPClient(client *http.Client) *ReplaceHTTPAfterResponseRuleParams
WithHTTPClient adds the HTTPClient to the replace HTTP after response rule params
func (*ReplaceHTTPAfterResponseRuleParams) WithIndex ¶
func (o *ReplaceHTTPAfterResponseRuleParams) WithIndex(index int64) *ReplaceHTTPAfterResponseRuleParams
WithIndex adds the index to the replace HTTP after response rule params
func (*ReplaceHTTPAfterResponseRuleParams) WithParentName ¶
func (o *ReplaceHTTPAfterResponseRuleParams) WithParentName(parentName string) *ReplaceHTTPAfterResponseRuleParams
WithParentName adds the parentName to the replace HTTP after response rule params
func (*ReplaceHTTPAfterResponseRuleParams) WithParentType ¶
func (o *ReplaceHTTPAfterResponseRuleParams) WithParentType(parentType string) *ReplaceHTTPAfterResponseRuleParams
WithParentType adds the parentType to the replace HTTP after response rule params
func (*ReplaceHTTPAfterResponseRuleParams) WithTimeout ¶
func (o *ReplaceHTTPAfterResponseRuleParams) WithTimeout(timeout time.Duration) *ReplaceHTTPAfterResponseRuleParams
WithTimeout adds the timeout to the replace HTTP after response rule params
func (*ReplaceHTTPAfterResponseRuleParams) WithTransactionID ¶
func (o *ReplaceHTTPAfterResponseRuleParams) WithTransactionID(transactionID *string) *ReplaceHTTPAfterResponseRuleParams
WithTransactionID adds the transactionID to the replace HTTP after response rule params
func (*ReplaceHTTPAfterResponseRuleParams) WithVersion ¶
func (o *ReplaceHTTPAfterResponseRuleParams) WithVersion(version *int64) *ReplaceHTTPAfterResponseRuleParams
WithVersion adds the version to the replace HTTP after response rule params
func (*ReplaceHTTPAfterResponseRuleParams) WriteToRequest ¶
func (o *ReplaceHTTPAfterResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplaceHTTPAfterResponseRuleReader ¶
type ReplaceHTTPAfterResponseRuleReader struct {
// contains filtered or unexported fields
}
ReplaceHTTPAfterResponseRuleReader is a Reader for the ReplaceHTTPAfterResponseRule structure.
func (*ReplaceHTTPAfterResponseRuleReader) ReadResponse ¶
func (o *ReplaceHTTPAfterResponseRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_http_after_response_rule_parameters.go
- create_http_after_response_rule_responses.go
- delete_http_after_response_rule_parameters.go
- delete_http_after_response_rule_responses.go
- get_http_after_response_rule_parameters.go
- get_http_after_response_rule_responses.go
- get_http_after_response_rules_parameters.go
- get_http_after_response_rules_responses.go
- http_after_response_rule_client.go
- replace_http_after_response_rule_parameters.go
- replace_http_after_response_rule_responses.go