Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateHTTPErrorRule(params *CreateHTTPErrorRuleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateHTTPErrorRuleCreated, *CreateHTTPErrorRuleAccepted, error)
- func (a *Client) DeleteHTTPErrorRule(params *DeleteHTTPErrorRuleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteHTTPErrorRuleAccepted, *DeleteHTTPErrorRuleNoContent, error)
- func (a *Client) GetHTTPErrorRule(params *GetHTTPErrorRuleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetHTTPErrorRuleOK, error)
- func (a *Client) GetHTTPErrorRules(params *GetHTTPErrorRulesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetHTTPErrorRulesOK, error)
- func (a *Client) ReplaceHTTPErrorRule(params *ReplaceHTTPErrorRuleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReplaceHTTPErrorRuleOK, *ReplaceHTTPErrorRuleAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateHTTPErrorRuleAccepted
- func (o *CreateHTTPErrorRuleAccepted) Code() int
- func (o *CreateHTTPErrorRuleAccepted) Error() string
- func (o *CreateHTTPErrorRuleAccepted) GetPayload() *models.HTTPErrorRule
- func (o *CreateHTTPErrorRuleAccepted) IsClientError() bool
- func (o *CreateHTTPErrorRuleAccepted) IsCode(code int) bool
- func (o *CreateHTTPErrorRuleAccepted) IsRedirect() bool
- func (o *CreateHTTPErrorRuleAccepted) IsServerError() bool
- func (o *CreateHTTPErrorRuleAccepted) IsSuccess() bool
- func (o *CreateHTTPErrorRuleAccepted) String() string
- type CreateHTTPErrorRuleBadRequest
- func (o *CreateHTTPErrorRuleBadRequest) Code() int
- func (o *CreateHTTPErrorRuleBadRequest) Error() string
- func (o *CreateHTTPErrorRuleBadRequest) GetPayload() *models.Error
- func (o *CreateHTTPErrorRuleBadRequest) IsClientError() bool
- func (o *CreateHTTPErrorRuleBadRequest) IsCode(code int) bool
- func (o *CreateHTTPErrorRuleBadRequest) IsRedirect() bool
- func (o *CreateHTTPErrorRuleBadRequest) IsServerError() bool
- func (o *CreateHTTPErrorRuleBadRequest) IsSuccess() bool
- func (o *CreateHTTPErrorRuleBadRequest) String() string
- type CreateHTTPErrorRuleConflict
- func (o *CreateHTTPErrorRuleConflict) Code() int
- func (o *CreateHTTPErrorRuleConflict) Error() string
- func (o *CreateHTTPErrorRuleConflict) GetPayload() *models.Error
- func (o *CreateHTTPErrorRuleConflict) IsClientError() bool
- func (o *CreateHTTPErrorRuleConflict) IsCode(code int) bool
- func (o *CreateHTTPErrorRuleConflict) IsRedirect() bool
- func (o *CreateHTTPErrorRuleConflict) IsServerError() bool
- func (o *CreateHTTPErrorRuleConflict) IsSuccess() bool
- func (o *CreateHTTPErrorRuleConflict) String() string
- type CreateHTTPErrorRuleCreated
- func (o *CreateHTTPErrorRuleCreated) Code() int
- func (o *CreateHTTPErrorRuleCreated) Error() string
- func (o *CreateHTTPErrorRuleCreated) GetPayload() *models.HTTPErrorRule
- func (o *CreateHTTPErrorRuleCreated) IsClientError() bool
- func (o *CreateHTTPErrorRuleCreated) IsCode(code int) bool
- func (o *CreateHTTPErrorRuleCreated) IsRedirect() bool
- func (o *CreateHTTPErrorRuleCreated) IsServerError() bool
- func (o *CreateHTTPErrorRuleCreated) IsSuccess() bool
- func (o *CreateHTTPErrorRuleCreated) String() string
- type CreateHTTPErrorRuleDefault
- func (o *CreateHTTPErrorRuleDefault) Code() int
- func (o *CreateHTTPErrorRuleDefault) Error() string
- func (o *CreateHTTPErrorRuleDefault) GetPayload() *models.Error
- func (o *CreateHTTPErrorRuleDefault) IsClientError() bool
- func (o *CreateHTTPErrorRuleDefault) IsCode(code int) bool
- func (o *CreateHTTPErrorRuleDefault) IsRedirect() bool
- func (o *CreateHTTPErrorRuleDefault) IsServerError() bool
- func (o *CreateHTTPErrorRuleDefault) IsSuccess() bool
- func (o *CreateHTTPErrorRuleDefault) String() string
- type CreateHTTPErrorRuleParams
- func NewCreateHTTPErrorRuleParams() *CreateHTTPErrorRuleParams
- func NewCreateHTTPErrorRuleParamsWithContext(ctx context.Context) *CreateHTTPErrorRuleParams
- func NewCreateHTTPErrorRuleParamsWithHTTPClient(client *http.Client) *CreateHTTPErrorRuleParams
- func NewCreateHTTPErrorRuleParamsWithTimeout(timeout time.Duration) *CreateHTTPErrorRuleParams
- func (o *CreateHTTPErrorRuleParams) SetContext(ctx context.Context)
- func (o *CreateHTTPErrorRuleParams) SetData(data *models.HTTPErrorRule)
- func (o *CreateHTTPErrorRuleParams) SetDefaults()
- func (o *CreateHTTPErrorRuleParams) SetForceReload(forceReload *bool)
- func (o *CreateHTTPErrorRuleParams) SetHTTPClient(client *http.Client)
- func (o *CreateHTTPErrorRuleParams) SetParentName(parentName *string)
- func (o *CreateHTTPErrorRuleParams) SetParentType(parentType string)
- func (o *CreateHTTPErrorRuleParams) SetTimeout(timeout time.Duration)
- func (o *CreateHTTPErrorRuleParams) SetTransactionID(transactionID *string)
- func (o *CreateHTTPErrorRuleParams) SetVersion(version *int64)
- func (o *CreateHTTPErrorRuleParams) WithContext(ctx context.Context) *CreateHTTPErrorRuleParams
- func (o *CreateHTTPErrorRuleParams) WithData(data *models.HTTPErrorRule) *CreateHTTPErrorRuleParams
- func (o *CreateHTTPErrorRuleParams) WithDefaults() *CreateHTTPErrorRuleParams
- func (o *CreateHTTPErrorRuleParams) WithForceReload(forceReload *bool) *CreateHTTPErrorRuleParams
- func (o *CreateHTTPErrorRuleParams) WithHTTPClient(client *http.Client) *CreateHTTPErrorRuleParams
- func (o *CreateHTTPErrorRuleParams) WithParentName(parentName *string) *CreateHTTPErrorRuleParams
- func (o *CreateHTTPErrorRuleParams) WithParentType(parentType string) *CreateHTTPErrorRuleParams
- func (o *CreateHTTPErrorRuleParams) WithTimeout(timeout time.Duration) *CreateHTTPErrorRuleParams
- func (o *CreateHTTPErrorRuleParams) WithTransactionID(transactionID *string) *CreateHTTPErrorRuleParams
- func (o *CreateHTTPErrorRuleParams) WithVersion(version *int64) *CreateHTTPErrorRuleParams
- func (o *CreateHTTPErrorRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateHTTPErrorRuleReader
- type DeleteHTTPErrorRuleAccepted
- func (o *DeleteHTTPErrorRuleAccepted) Code() int
- func (o *DeleteHTTPErrorRuleAccepted) Error() string
- func (o *DeleteHTTPErrorRuleAccepted) IsClientError() bool
- func (o *DeleteHTTPErrorRuleAccepted) IsCode(code int) bool
- func (o *DeleteHTTPErrorRuleAccepted) IsRedirect() bool
- func (o *DeleteHTTPErrorRuleAccepted) IsServerError() bool
- func (o *DeleteHTTPErrorRuleAccepted) IsSuccess() bool
- func (o *DeleteHTTPErrorRuleAccepted) String() string
- type DeleteHTTPErrorRuleDefault
- func (o *DeleteHTTPErrorRuleDefault) Code() int
- func (o *DeleteHTTPErrorRuleDefault) Error() string
- func (o *DeleteHTTPErrorRuleDefault) GetPayload() *models.Error
- func (o *DeleteHTTPErrorRuleDefault) IsClientError() bool
- func (o *DeleteHTTPErrorRuleDefault) IsCode(code int) bool
- func (o *DeleteHTTPErrorRuleDefault) IsRedirect() bool
- func (o *DeleteHTTPErrorRuleDefault) IsServerError() bool
- func (o *DeleteHTTPErrorRuleDefault) IsSuccess() bool
- func (o *DeleteHTTPErrorRuleDefault) String() string
- type DeleteHTTPErrorRuleNoContent
- func (o *DeleteHTTPErrorRuleNoContent) Code() int
- func (o *DeleteHTTPErrorRuleNoContent) Error() string
- func (o *DeleteHTTPErrorRuleNoContent) IsClientError() bool
- func (o *DeleteHTTPErrorRuleNoContent) IsCode(code int) bool
- func (o *DeleteHTTPErrorRuleNoContent) IsRedirect() bool
- func (o *DeleteHTTPErrorRuleNoContent) IsServerError() bool
- func (o *DeleteHTTPErrorRuleNoContent) IsSuccess() bool
- func (o *DeleteHTTPErrorRuleNoContent) String() string
- type DeleteHTTPErrorRuleNotFound
- func (o *DeleteHTTPErrorRuleNotFound) Code() int
- func (o *DeleteHTTPErrorRuleNotFound) Error() string
- func (o *DeleteHTTPErrorRuleNotFound) GetPayload() *models.Error
- func (o *DeleteHTTPErrorRuleNotFound) IsClientError() bool
- func (o *DeleteHTTPErrorRuleNotFound) IsCode(code int) bool
- func (o *DeleteHTTPErrorRuleNotFound) IsRedirect() bool
- func (o *DeleteHTTPErrorRuleNotFound) IsServerError() bool
- func (o *DeleteHTTPErrorRuleNotFound) IsSuccess() bool
- func (o *DeleteHTTPErrorRuleNotFound) String() string
- type DeleteHTTPErrorRuleParams
- func NewDeleteHTTPErrorRuleParams() *DeleteHTTPErrorRuleParams
- func NewDeleteHTTPErrorRuleParamsWithContext(ctx context.Context) *DeleteHTTPErrorRuleParams
- func NewDeleteHTTPErrorRuleParamsWithHTTPClient(client *http.Client) *DeleteHTTPErrorRuleParams
- func NewDeleteHTTPErrorRuleParamsWithTimeout(timeout time.Duration) *DeleteHTTPErrorRuleParams
- func (o *DeleteHTTPErrorRuleParams) SetContext(ctx context.Context)
- func (o *DeleteHTTPErrorRuleParams) SetDefaults()
- func (o *DeleteHTTPErrorRuleParams) SetForceReload(forceReload *bool)
- func (o *DeleteHTTPErrorRuleParams) SetHTTPClient(client *http.Client)
- func (o *DeleteHTTPErrorRuleParams) SetIndex(index int64)
- func (o *DeleteHTTPErrorRuleParams) SetParentName(parentName *string)
- func (o *DeleteHTTPErrorRuleParams) SetParentType(parentType string)
- func (o *DeleteHTTPErrorRuleParams) SetTimeout(timeout time.Duration)
- func (o *DeleteHTTPErrorRuleParams) SetTransactionID(transactionID *string)
- func (o *DeleteHTTPErrorRuleParams) SetVersion(version *int64)
- func (o *DeleteHTTPErrorRuleParams) WithContext(ctx context.Context) *DeleteHTTPErrorRuleParams
- func (o *DeleteHTTPErrorRuleParams) WithDefaults() *DeleteHTTPErrorRuleParams
- func (o *DeleteHTTPErrorRuleParams) WithForceReload(forceReload *bool) *DeleteHTTPErrorRuleParams
- func (o *DeleteHTTPErrorRuleParams) WithHTTPClient(client *http.Client) *DeleteHTTPErrorRuleParams
- func (o *DeleteHTTPErrorRuleParams) WithIndex(index int64) *DeleteHTTPErrorRuleParams
- func (o *DeleteHTTPErrorRuleParams) WithParentName(parentName *string) *DeleteHTTPErrorRuleParams
- func (o *DeleteHTTPErrorRuleParams) WithParentType(parentType string) *DeleteHTTPErrorRuleParams
- func (o *DeleteHTTPErrorRuleParams) WithTimeout(timeout time.Duration) *DeleteHTTPErrorRuleParams
- func (o *DeleteHTTPErrorRuleParams) WithTransactionID(transactionID *string) *DeleteHTTPErrorRuleParams
- func (o *DeleteHTTPErrorRuleParams) WithVersion(version *int64) *DeleteHTTPErrorRuleParams
- func (o *DeleteHTTPErrorRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteHTTPErrorRuleReader
- type GetHTTPErrorRuleDefault
- func (o *GetHTTPErrorRuleDefault) Code() int
- func (o *GetHTTPErrorRuleDefault) Error() string
- func (o *GetHTTPErrorRuleDefault) GetPayload() *models.Error
- func (o *GetHTTPErrorRuleDefault) IsClientError() bool
- func (o *GetHTTPErrorRuleDefault) IsCode(code int) bool
- func (o *GetHTTPErrorRuleDefault) IsRedirect() bool
- func (o *GetHTTPErrorRuleDefault) IsServerError() bool
- func (o *GetHTTPErrorRuleDefault) IsSuccess() bool
- func (o *GetHTTPErrorRuleDefault) String() string
- type GetHTTPErrorRuleNotFound
- func (o *GetHTTPErrorRuleNotFound) Code() int
- func (o *GetHTTPErrorRuleNotFound) Error() string
- func (o *GetHTTPErrorRuleNotFound) GetPayload() *models.Error
- func (o *GetHTTPErrorRuleNotFound) IsClientError() bool
- func (o *GetHTTPErrorRuleNotFound) IsCode(code int) bool
- func (o *GetHTTPErrorRuleNotFound) IsRedirect() bool
- func (o *GetHTTPErrorRuleNotFound) IsServerError() bool
- func (o *GetHTTPErrorRuleNotFound) IsSuccess() bool
- func (o *GetHTTPErrorRuleNotFound) String() string
- type GetHTTPErrorRuleOK
- func (o *GetHTTPErrorRuleOK) Code() int
- func (o *GetHTTPErrorRuleOK) Error() string
- func (o *GetHTTPErrorRuleOK) GetPayload() *GetHTTPErrorRuleOKBody
- func (o *GetHTTPErrorRuleOK) IsClientError() bool
- func (o *GetHTTPErrorRuleOK) IsCode(code int) bool
- func (o *GetHTTPErrorRuleOK) IsRedirect() bool
- func (o *GetHTTPErrorRuleOK) IsServerError() bool
- func (o *GetHTTPErrorRuleOK) IsSuccess() bool
- func (o *GetHTTPErrorRuleOK) String() string
- type GetHTTPErrorRuleOKBody
- func (o *GetHTTPErrorRuleOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetHTTPErrorRuleOKBody) MarshalBinary() ([]byte, error)
- func (o *GetHTTPErrorRuleOKBody) UnmarshalBinary(b []byte) error
- func (o *GetHTTPErrorRuleOKBody) Validate(formats strfmt.Registry) error
- type GetHTTPErrorRuleParams
- func NewGetHTTPErrorRuleParams() *GetHTTPErrorRuleParams
- func NewGetHTTPErrorRuleParamsWithContext(ctx context.Context) *GetHTTPErrorRuleParams
- func NewGetHTTPErrorRuleParamsWithHTTPClient(client *http.Client) *GetHTTPErrorRuleParams
- func NewGetHTTPErrorRuleParamsWithTimeout(timeout time.Duration) *GetHTTPErrorRuleParams
- func (o *GetHTTPErrorRuleParams) SetContext(ctx context.Context)
- func (o *GetHTTPErrorRuleParams) SetDefaults()
- func (o *GetHTTPErrorRuleParams) SetHTTPClient(client *http.Client)
- func (o *GetHTTPErrorRuleParams) SetIndex(index int64)
- func (o *GetHTTPErrorRuleParams) SetParentName(parentName *string)
- func (o *GetHTTPErrorRuleParams) SetParentType(parentType string)
- func (o *GetHTTPErrorRuleParams) SetTimeout(timeout time.Duration)
- func (o *GetHTTPErrorRuleParams) SetTransactionID(transactionID *string)
- func (o *GetHTTPErrorRuleParams) WithContext(ctx context.Context) *GetHTTPErrorRuleParams
- func (o *GetHTTPErrorRuleParams) WithDefaults() *GetHTTPErrorRuleParams
- func (o *GetHTTPErrorRuleParams) WithHTTPClient(client *http.Client) *GetHTTPErrorRuleParams
- func (o *GetHTTPErrorRuleParams) WithIndex(index int64) *GetHTTPErrorRuleParams
- func (o *GetHTTPErrorRuleParams) WithParentName(parentName *string) *GetHTTPErrorRuleParams
- func (o *GetHTTPErrorRuleParams) WithParentType(parentType string) *GetHTTPErrorRuleParams
- func (o *GetHTTPErrorRuleParams) WithTimeout(timeout time.Duration) *GetHTTPErrorRuleParams
- func (o *GetHTTPErrorRuleParams) WithTransactionID(transactionID *string) *GetHTTPErrorRuleParams
- func (o *GetHTTPErrorRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHTTPErrorRuleReader
- type GetHTTPErrorRulesDefault
- func (o *GetHTTPErrorRulesDefault) Code() int
- func (o *GetHTTPErrorRulesDefault) Error() string
- func (o *GetHTTPErrorRulesDefault) GetPayload() *models.Error
- func (o *GetHTTPErrorRulesDefault) IsClientError() bool
- func (o *GetHTTPErrorRulesDefault) IsCode(code int) bool
- func (o *GetHTTPErrorRulesDefault) IsRedirect() bool
- func (o *GetHTTPErrorRulesDefault) IsServerError() bool
- func (o *GetHTTPErrorRulesDefault) IsSuccess() bool
- func (o *GetHTTPErrorRulesDefault) String() string
- type GetHTTPErrorRulesOK
- func (o *GetHTTPErrorRulesOK) Code() int
- func (o *GetHTTPErrorRulesOK) Error() string
- func (o *GetHTTPErrorRulesOK) GetPayload() *GetHTTPErrorRulesOKBody
- func (o *GetHTTPErrorRulesOK) IsClientError() bool
- func (o *GetHTTPErrorRulesOK) IsCode(code int) bool
- func (o *GetHTTPErrorRulesOK) IsRedirect() bool
- func (o *GetHTTPErrorRulesOK) IsServerError() bool
- func (o *GetHTTPErrorRulesOK) IsSuccess() bool
- func (o *GetHTTPErrorRulesOK) String() string
- type GetHTTPErrorRulesOKBody
- func (o *GetHTTPErrorRulesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetHTTPErrorRulesOKBody) MarshalBinary() ([]byte, error)
- func (o *GetHTTPErrorRulesOKBody) UnmarshalBinary(b []byte) error
- func (o *GetHTTPErrorRulesOKBody) Validate(formats strfmt.Registry) error
- type GetHTTPErrorRulesParams
- func NewGetHTTPErrorRulesParams() *GetHTTPErrorRulesParams
- func NewGetHTTPErrorRulesParamsWithContext(ctx context.Context) *GetHTTPErrorRulesParams
- func NewGetHTTPErrorRulesParamsWithHTTPClient(client *http.Client) *GetHTTPErrorRulesParams
- func NewGetHTTPErrorRulesParamsWithTimeout(timeout time.Duration) *GetHTTPErrorRulesParams
- func (o *GetHTTPErrorRulesParams) SetContext(ctx context.Context)
- func (o *GetHTTPErrorRulesParams) SetDefaults()
- func (o *GetHTTPErrorRulesParams) SetHTTPClient(client *http.Client)
- func (o *GetHTTPErrorRulesParams) SetParentName(parentName *string)
- func (o *GetHTTPErrorRulesParams) SetParentType(parentType string)
- func (o *GetHTTPErrorRulesParams) SetTimeout(timeout time.Duration)
- func (o *GetHTTPErrorRulesParams) SetTransactionID(transactionID *string)
- func (o *GetHTTPErrorRulesParams) WithContext(ctx context.Context) *GetHTTPErrorRulesParams
- func (o *GetHTTPErrorRulesParams) WithDefaults() *GetHTTPErrorRulesParams
- func (o *GetHTTPErrorRulesParams) WithHTTPClient(client *http.Client) *GetHTTPErrorRulesParams
- func (o *GetHTTPErrorRulesParams) WithParentName(parentName *string) *GetHTTPErrorRulesParams
- func (o *GetHTTPErrorRulesParams) WithParentType(parentType string) *GetHTTPErrorRulesParams
- func (o *GetHTTPErrorRulesParams) WithTimeout(timeout time.Duration) *GetHTTPErrorRulesParams
- func (o *GetHTTPErrorRulesParams) WithTransactionID(transactionID *string) *GetHTTPErrorRulesParams
- func (o *GetHTTPErrorRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHTTPErrorRulesReader
- type ReplaceHTTPErrorRuleAccepted
- func (o *ReplaceHTTPErrorRuleAccepted) Code() int
- func (o *ReplaceHTTPErrorRuleAccepted) Error() string
- func (o *ReplaceHTTPErrorRuleAccepted) GetPayload() *models.HTTPErrorRule
- func (o *ReplaceHTTPErrorRuleAccepted) IsClientError() bool
- func (o *ReplaceHTTPErrorRuleAccepted) IsCode(code int) bool
- func (o *ReplaceHTTPErrorRuleAccepted) IsRedirect() bool
- func (o *ReplaceHTTPErrorRuleAccepted) IsServerError() bool
- func (o *ReplaceHTTPErrorRuleAccepted) IsSuccess() bool
- func (o *ReplaceHTTPErrorRuleAccepted) String() string
- type ReplaceHTTPErrorRuleBadRequest
- func (o *ReplaceHTTPErrorRuleBadRequest) Code() int
- func (o *ReplaceHTTPErrorRuleBadRequest) Error() string
- func (o *ReplaceHTTPErrorRuleBadRequest) GetPayload() *models.Error
- func (o *ReplaceHTTPErrorRuleBadRequest) IsClientError() bool
- func (o *ReplaceHTTPErrorRuleBadRequest) IsCode(code int) bool
- func (o *ReplaceHTTPErrorRuleBadRequest) IsRedirect() bool
- func (o *ReplaceHTTPErrorRuleBadRequest) IsServerError() bool
- func (o *ReplaceHTTPErrorRuleBadRequest) IsSuccess() bool
- func (o *ReplaceHTTPErrorRuleBadRequest) String() string
- type ReplaceHTTPErrorRuleDefault
- func (o *ReplaceHTTPErrorRuleDefault) Code() int
- func (o *ReplaceHTTPErrorRuleDefault) Error() string
- func (o *ReplaceHTTPErrorRuleDefault) GetPayload() *models.Error
- func (o *ReplaceHTTPErrorRuleDefault) IsClientError() bool
- func (o *ReplaceHTTPErrorRuleDefault) IsCode(code int) bool
- func (o *ReplaceHTTPErrorRuleDefault) IsRedirect() bool
- func (o *ReplaceHTTPErrorRuleDefault) IsServerError() bool
- func (o *ReplaceHTTPErrorRuleDefault) IsSuccess() bool
- func (o *ReplaceHTTPErrorRuleDefault) String() string
- type ReplaceHTTPErrorRuleNotFound
- func (o *ReplaceHTTPErrorRuleNotFound) Code() int
- func (o *ReplaceHTTPErrorRuleNotFound) Error() string
- func (o *ReplaceHTTPErrorRuleNotFound) GetPayload() *models.Error
- func (o *ReplaceHTTPErrorRuleNotFound) IsClientError() bool
- func (o *ReplaceHTTPErrorRuleNotFound) IsCode(code int) bool
- func (o *ReplaceHTTPErrorRuleNotFound) IsRedirect() bool
- func (o *ReplaceHTTPErrorRuleNotFound) IsServerError() bool
- func (o *ReplaceHTTPErrorRuleNotFound) IsSuccess() bool
- func (o *ReplaceHTTPErrorRuleNotFound) String() string
- type ReplaceHTTPErrorRuleOK
- func (o *ReplaceHTTPErrorRuleOK) Code() int
- func (o *ReplaceHTTPErrorRuleOK) Error() string
- func (o *ReplaceHTTPErrorRuleOK) GetPayload() *models.HTTPErrorRule
- func (o *ReplaceHTTPErrorRuleOK) IsClientError() bool
- func (o *ReplaceHTTPErrorRuleOK) IsCode(code int) bool
- func (o *ReplaceHTTPErrorRuleOK) IsRedirect() bool
- func (o *ReplaceHTTPErrorRuleOK) IsServerError() bool
- func (o *ReplaceHTTPErrorRuleOK) IsSuccess() bool
- func (o *ReplaceHTTPErrorRuleOK) String() string
- type ReplaceHTTPErrorRuleParams
- func NewReplaceHTTPErrorRuleParams() *ReplaceHTTPErrorRuleParams
- func NewReplaceHTTPErrorRuleParamsWithContext(ctx context.Context) *ReplaceHTTPErrorRuleParams
- func NewReplaceHTTPErrorRuleParamsWithHTTPClient(client *http.Client) *ReplaceHTTPErrorRuleParams
- func NewReplaceHTTPErrorRuleParamsWithTimeout(timeout time.Duration) *ReplaceHTTPErrorRuleParams
- func (o *ReplaceHTTPErrorRuleParams) SetContext(ctx context.Context)
- func (o *ReplaceHTTPErrorRuleParams) SetData(data *models.HTTPErrorRule)
- func (o *ReplaceHTTPErrorRuleParams) SetDefaults()
- func (o *ReplaceHTTPErrorRuleParams) SetForceReload(forceReload *bool)
- func (o *ReplaceHTTPErrorRuleParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceHTTPErrorRuleParams) SetIndex(index int64)
- func (o *ReplaceHTTPErrorRuleParams) SetParentName(parentName *string)
- func (o *ReplaceHTTPErrorRuleParams) SetParentType(parentType string)
- func (o *ReplaceHTTPErrorRuleParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceHTTPErrorRuleParams) SetTransactionID(transactionID *string)
- func (o *ReplaceHTTPErrorRuleParams) SetVersion(version *int64)
- func (o *ReplaceHTTPErrorRuleParams) WithContext(ctx context.Context) *ReplaceHTTPErrorRuleParams
- func (o *ReplaceHTTPErrorRuleParams) WithData(data *models.HTTPErrorRule) *ReplaceHTTPErrorRuleParams
- func (o *ReplaceHTTPErrorRuleParams) WithDefaults() *ReplaceHTTPErrorRuleParams
- func (o *ReplaceHTTPErrorRuleParams) WithForceReload(forceReload *bool) *ReplaceHTTPErrorRuleParams
- func (o *ReplaceHTTPErrorRuleParams) WithHTTPClient(client *http.Client) *ReplaceHTTPErrorRuleParams
- func (o *ReplaceHTTPErrorRuleParams) WithIndex(index int64) *ReplaceHTTPErrorRuleParams
- func (o *ReplaceHTTPErrorRuleParams) WithParentName(parentName *string) *ReplaceHTTPErrorRuleParams
- func (o *ReplaceHTTPErrorRuleParams) WithParentType(parentType string) *ReplaceHTTPErrorRuleParams
- func (o *ReplaceHTTPErrorRuleParams) WithTimeout(timeout time.Duration) *ReplaceHTTPErrorRuleParams
- func (o *ReplaceHTTPErrorRuleParams) WithTransactionID(transactionID *string) *ReplaceHTTPErrorRuleParams
- func (o *ReplaceHTTPErrorRuleParams) WithVersion(version *int64) *ReplaceHTTPErrorRuleParams
- func (o *ReplaceHTTPErrorRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceHTTPErrorRuleReader
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 error rule API
func (*Client) CreateHTTPErrorRule ¶
func (a *Client) CreateHTTPErrorRule(params *CreateHTTPErrorRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateHTTPErrorRuleCreated, *CreateHTTPErrorRuleAccepted, error)
CreateHTTPErrorRule adds a new HTTP error rule
Adds a new HTTP Error Rule of the specified type in the specified parent.
func (*Client) DeleteHTTPErrorRule ¶
func (a *Client) DeleteHTTPErrorRule(params *DeleteHTTPErrorRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteHTTPErrorRuleAccepted, *DeleteHTTPErrorRuleNoContent, error)
DeleteHTTPErrorRule deletes a HTTP error rule
Deletes a HTTP Error Rule configuration by its index from the specified parent.
func (*Client) GetHTTPErrorRule ¶
func (a *Client) GetHTTPErrorRule(params *GetHTTPErrorRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHTTPErrorRuleOK, error)
GetHTTPErrorRule returns one HTTP error rule
Returns one HTTP Error Rule configuration by its index in the specified parent.
func (*Client) GetHTTPErrorRules ¶
func (a *Client) GetHTTPErrorRules(params *GetHTTPErrorRulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHTTPErrorRulesOK, error)
GetHTTPErrorRules returns an array of all HTTP error rules
Returns all HTTP Error Rules that are configured in the specified parent.
func (*Client) ReplaceHTTPErrorRule ¶
func (a *Client) ReplaceHTTPErrorRule(params *ReplaceHTTPErrorRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceHTTPErrorRuleOK, *ReplaceHTTPErrorRuleAccepted, error)
ReplaceHTTPErrorRule replaces a HTTP error rule
Replaces a HTTP Error Rule configuration by its 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 { CreateHTTPErrorRule(params *CreateHTTPErrorRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateHTTPErrorRuleCreated, *CreateHTTPErrorRuleAccepted, error) DeleteHTTPErrorRule(params *DeleteHTTPErrorRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteHTTPErrorRuleAccepted, *DeleteHTTPErrorRuleNoContent, error) GetHTTPErrorRule(params *GetHTTPErrorRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHTTPErrorRuleOK, error) GetHTTPErrorRules(params *GetHTTPErrorRulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHTTPErrorRulesOK, error) ReplaceHTTPErrorRule(params *ReplaceHTTPErrorRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceHTTPErrorRuleOK, *ReplaceHTTPErrorRuleAccepted, 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 error rule API client.
type CreateHTTPErrorRuleAccepted ¶
type CreateHTTPErrorRuleAccepted struct { /* ID of the requested reload */ ReloadID string Payload *models.HTTPErrorRule }
CreateHTTPErrorRuleAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewCreateHTTPErrorRuleAccepted ¶
func NewCreateHTTPErrorRuleAccepted() *CreateHTTPErrorRuleAccepted
NewCreateHTTPErrorRuleAccepted creates a CreateHTTPErrorRuleAccepted with default headers values
func (*CreateHTTPErrorRuleAccepted) Code ¶ added in v1.1.5
func (o *CreateHTTPErrorRuleAccepted) Code() int
Code gets the status code for the create Http error rule accepted response
func (*CreateHTTPErrorRuleAccepted) Error ¶
func (o *CreateHTTPErrorRuleAccepted) Error() string
func (*CreateHTTPErrorRuleAccepted) GetPayload ¶
func (o *CreateHTTPErrorRuleAccepted) GetPayload() *models.HTTPErrorRule
func (*CreateHTTPErrorRuleAccepted) IsClientError ¶
func (o *CreateHTTPErrorRuleAccepted) IsClientError() bool
IsClientError returns true when this create Http error rule accepted response has a 4xx status code
func (*CreateHTTPErrorRuleAccepted) IsCode ¶
func (o *CreateHTTPErrorRuleAccepted) IsCode(code int) bool
IsCode returns true when this create Http error rule accepted response a status code equal to that given
func (*CreateHTTPErrorRuleAccepted) IsRedirect ¶
func (o *CreateHTTPErrorRuleAccepted) IsRedirect() bool
IsRedirect returns true when this create Http error rule accepted response has a 3xx status code
func (*CreateHTTPErrorRuleAccepted) IsServerError ¶
func (o *CreateHTTPErrorRuleAccepted) IsServerError() bool
IsServerError returns true when this create Http error rule accepted response has a 5xx status code
func (*CreateHTTPErrorRuleAccepted) IsSuccess ¶
func (o *CreateHTTPErrorRuleAccepted) IsSuccess() bool
IsSuccess returns true when this create Http error rule accepted response has a 2xx status code
func (*CreateHTTPErrorRuleAccepted) String ¶
func (o *CreateHTTPErrorRuleAccepted) String() string
type CreateHTTPErrorRuleBadRequest ¶
type CreateHTTPErrorRuleBadRequest struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateHTTPErrorRuleBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateHTTPErrorRuleBadRequest ¶
func NewCreateHTTPErrorRuleBadRequest() *CreateHTTPErrorRuleBadRequest
NewCreateHTTPErrorRuleBadRequest creates a CreateHTTPErrorRuleBadRequest with default headers values
func (*CreateHTTPErrorRuleBadRequest) Code ¶ added in v1.1.5
func (o *CreateHTTPErrorRuleBadRequest) Code() int
Code gets the status code for the create Http error rule bad request response
func (*CreateHTTPErrorRuleBadRequest) Error ¶
func (o *CreateHTTPErrorRuleBadRequest) Error() string
func (*CreateHTTPErrorRuleBadRequest) GetPayload ¶
func (o *CreateHTTPErrorRuleBadRequest) GetPayload() *models.Error
func (*CreateHTTPErrorRuleBadRequest) IsClientError ¶
func (o *CreateHTTPErrorRuleBadRequest) IsClientError() bool
IsClientError returns true when this create Http error rule bad request response has a 4xx status code
func (*CreateHTTPErrorRuleBadRequest) IsCode ¶
func (o *CreateHTTPErrorRuleBadRequest) IsCode(code int) bool
IsCode returns true when this create Http error rule bad request response a status code equal to that given
func (*CreateHTTPErrorRuleBadRequest) IsRedirect ¶
func (o *CreateHTTPErrorRuleBadRequest) IsRedirect() bool
IsRedirect returns true when this create Http error rule bad request response has a 3xx status code
func (*CreateHTTPErrorRuleBadRequest) IsServerError ¶
func (o *CreateHTTPErrorRuleBadRequest) IsServerError() bool
IsServerError returns true when this create Http error rule bad request response has a 5xx status code
func (*CreateHTTPErrorRuleBadRequest) IsSuccess ¶
func (o *CreateHTTPErrorRuleBadRequest) IsSuccess() bool
IsSuccess returns true when this create Http error rule bad request response has a 2xx status code
func (*CreateHTTPErrorRuleBadRequest) String ¶
func (o *CreateHTTPErrorRuleBadRequest) String() string
type CreateHTTPErrorRuleConflict ¶
type CreateHTTPErrorRuleConflict struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateHTTPErrorRuleConflict describes a response with status code 409, with default header values.
The specified resource already exists
func NewCreateHTTPErrorRuleConflict ¶
func NewCreateHTTPErrorRuleConflict() *CreateHTTPErrorRuleConflict
NewCreateHTTPErrorRuleConflict creates a CreateHTTPErrorRuleConflict with default headers values
func (*CreateHTTPErrorRuleConflict) Code ¶ added in v1.1.5
func (o *CreateHTTPErrorRuleConflict) Code() int
Code gets the status code for the create Http error rule conflict response
func (*CreateHTTPErrorRuleConflict) Error ¶
func (o *CreateHTTPErrorRuleConflict) Error() string
func (*CreateHTTPErrorRuleConflict) GetPayload ¶
func (o *CreateHTTPErrorRuleConflict) GetPayload() *models.Error
func (*CreateHTTPErrorRuleConflict) IsClientError ¶
func (o *CreateHTTPErrorRuleConflict) IsClientError() bool
IsClientError returns true when this create Http error rule conflict response has a 4xx status code
func (*CreateHTTPErrorRuleConflict) IsCode ¶
func (o *CreateHTTPErrorRuleConflict) IsCode(code int) bool
IsCode returns true when this create Http error rule conflict response a status code equal to that given
func (*CreateHTTPErrorRuleConflict) IsRedirect ¶
func (o *CreateHTTPErrorRuleConflict) IsRedirect() bool
IsRedirect returns true when this create Http error rule conflict response has a 3xx status code
func (*CreateHTTPErrorRuleConflict) IsServerError ¶
func (o *CreateHTTPErrorRuleConflict) IsServerError() bool
IsServerError returns true when this create Http error rule conflict response has a 5xx status code
func (*CreateHTTPErrorRuleConflict) IsSuccess ¶
func (o *CreateHTTPErrorRuleConflict) IsSuccess() bool
IsSuccess returns true when this create Http error rule conflict response has a 2xx status code
func (*CreateHTTPErrorRuleConflict) String ¶
func (o *CreateHTTPErrorRuleConflict) String() string
type CreateHTTPErrorRuleCreated ¶
type CreateHTTPErrorRuleCreated struct {
Payload *models.HTTPErrorRule
}
CreateHTTPErrorRuleCreated describes a response with status code 201, with default header values.
HTTP Error Rule created
func NewCreateHTTPErrorRuleCreated ¶
func NewCreateHTTPErrorRuleCreated() *CreateHTTPErrorRuleCreated
NewCreateHTTPErrorRuleCreated creates a CreateHTTPErrorRuleCreated with default headers values
func (*CreateHTTPErrorRuleCreated) Code ¶ added in v1.1.5
func (o *CreateHTTPErrorRuleCreated) Code() int
Code gets the status code for the create Http error rule created response
func (*CreateHTTPErrorRuleCreated) Error ¶
func (o *CreateHTTPErrorRuleCreated) Error() string
func (*CreateHTTPErrorRuleCreated) GetPayload ¶
func (o *CreateHTTPErrorRuleCreated) GetPayload() *models.HTTPErrorRule
func (*CreateHTTPErrorRuleCreated) IsClientError ¶
func (o *CreateHTTPErrorRuleCreated) IsClientError() bool
IsClientError returns true when this create Http error rule created response has a 4xx status code
func (*CreateHTTPErrorRuleCreated) IsCode ¶
func (o *CreateHTTPErrorRuleCreated) IsCode(code int) bool
IsCode returns true when this create Http error rule created response a status code equal to that given
func (*CreateHTTPErrorRuleCreated) IsRedirect ¶
func (o *CreateHTTPErrorRuleCreated) IsRedirect() bool
IsRedirect returns true when this create Http error rule created response has a 3xx status code
func (*CreateHTTPErrorRuleCreated) IsServerError ¶
func (o *CreateHTTPErrorRuleCreated) IsServerError() bool
IsServerError returns true when this create Http error rule created response has a 5xx status code
func (*CreateHTTPErrorRuleCreated) IsSuccess ¶
func (o *CreateHTTPErrorRuleCreated) IsSuccess() bool
IsSuccess returns true when this create Http error rule created response has a 2xx status code
func (*CreateHTTPErrorRuleCreated) String ¶
func (o *CreateHTTPErrorRuleCreated) String() string
type CreateHTTPErrorRuleDefault ¶
type CreateHTTPErrorRuleDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
CreateHTTPErrorRuleDefault describes a response with status code -1, with default header values.
General Error
func NewCreateHTTPErrorRuleDefault ¶
func NewCreateHTTPErrorRuleDefault(code int) *CreateHTTPErrorRuleDefault
NewCreateHTTPErrorRuleDefault creates a CreateHTTPErrorRuleDefault with default headers values
func (*CreateHTTPErrorRuleDefault) Code ¶
func (o *CreateHTTPErrorRuleDefault) Code() int
Code gets the status code for the create HTTP error rule default response
func (*CreateHTTPErrorRuleDefault) Error ¶
func (o *CreateHTTPErrorRuleDefault) Error() string
func (*CreateHTTPErrorRuleDefault) GetPayload ¶
func (o *CreateHTTPErrorRuleDefault) GetPayload() *models.Error
func (*CreateHTTPErrorRuleDefault) IsClientError ¶
func (o *CreateHTTPErrorRuleDefault) IsClientError() bool
IsClientError returns true when this create HTTP error rule default response has a 4xx status code
func (*CreateHTTPErrorRuleDefault) IsCode ¶
func (o *CreateHTTPErrorRuleDefault) IsCode(code int) bool
IsCode returns true when this create HTTP error rule default response a status code equal to that given
func (*CreateHTTPErrorRuleDefault) IsRedirect ¶
func (o *CreateHTTPErrorRuleDefault) IsRedirect() bool
IsRedirect returns true when this create HTTP error rule default response has a 3xx status code
func (*CreateHTTPErrorRuleDefault) IsServerError ¶
func (o *CreateHTTPErrorRuleDefault) IsServerError() bool
IsServerError returns true when this create HTTP error rule default response has a 5xx status code
func (*CreateHTTPErrorRuleDefault) IsSuccess ¶
func (o *CreateHTTPErrorRuleDefault) IsSuccess() bool
IsSuccess returns true when this create HTTP error rule default response has a 2xx status code
func (*CreateHTTPErrorRuleDefault) String ¶
func (o *CreateHTTPErrorRuleDefault) String() string
type CreateHTTPErrorRuleParams ¶
type CreateHTTPErrorRuleParams struct { // Data. Data *models.HTTPErrorRule /* 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 }
CreateHTTPErrorRuleParams contains all the parameters to send to the API endpoint
for the create HTTP error rule operation. Typically these are written to a http.Request.
func NewCreateHTTPErrorRuleParams ¶
func NewCreateHTTPErrorRuleParams() *CreateHTTPErrorRuleParams
NewCreateHTTPErrorRuleParams creates a new CreateHTTPErrorRuleParams 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 NewCreateHTTPErrorRuleParamsWithContext ¶
func NewCreateHTTPErrorRuleParamsWithContext(ctx context.Context) *CreateHTTPErrorRuleParams
NewCreateHTTPErrorRuleParamsWithContext creates a new CreateHTTPErrorRuleParams object with the ability to set a context for a request.
func NewCreateHTTPErrorRuleParamsWithHTTPClient ¶
func NewCreateHTTPErrorRuleParamsWithHTTPClient(client *http.Client) *CreateHTTPErrorRuleParams
NewCreateHTTPErrorRuleParamsWithHTTPClient creates a new CreateHTTPErrorRuleParams object with the ability to set a custom HTTPClient for a request.
func NewCreateHTTPErrorRuleParamsWithTimeout ¶
func NewCreateHTTPErrorRuleParamsWithTimeout(timeout time.Duration) *CreateHTTPErrorRuleParams
NewCreateHTTPErrorRuleParamsWithTimeout creates a new CreateHTTPErrorRuleParams object with the ability to set a timeout on a request.
func (*CreateHTTPErrorRuleParams) SetContext ¶
func (o *CreateHTTPErrorRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the create HTTP error rule params
func (*CreateHTTPErrorRuleParams) SetData ¶
func (o *CreateHTTPErrorRuleParams) SetData(data *models.HTTPErrorRule)
SetData adds the data to the create HTTP error rule params
func (*CreateHTTPErrorRuleParams) SetDefaults ¶
func (o *CreateHTTPErrorRuleParams) SetDefaults()
SetDefaults hydrates default values in the create HTTP error rule params (not the query body).
All values with no default are reset to their zero value.
func (*CreateHTTPErrorRuleParams) SetForceReload ¶
func (o *CreateHTTPErrorRuleParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the create HTTP error rule params
func (*CreateHTTPErrorRuleParams) SetHTTPClient ¶
func (o *CreateHTTPErrorRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create HTTP error rule params
func (*CreateHTTPErrorRuleParams) SetParentName ¶
func (o *CreateHTTPErrorRuleParams) SetParentName(parentName *string)
SetParentName adds the parentName to the create HTTP error rule params
func (*CreateHTTPErrorRuleParams) SetParentType ¶
func (o *CreateHTTPErrorRuleParams) SetParentType(parentType string)
SetParentType adds the parentType to the create HTTP error rule params
func (*CreateHTTPErrorRuleParams) SetTimeout ¶
func (o *CreateHTTPErrorRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create HTTP error rule params
func (*CreateHTTPErrorRuleParams) SetTransactionID ¶
func (o *CreateHTTPErrorRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the create HTTP error rule params
func (*CreateHTTPErrorRuleParams) SetVersion ¶
func (o *CreateHTTPErrorRuleParams) SetVersion(version *int64)
SetVersion adds the version to the create HTTP error rule params
func (*CreateHTTPErrorRuleParams) WithContext ¶
func (o *CreateHTTPErrorRuleParams) WithContext(ctx context.Context) *CreateHTTPErrorRuleParams
WithContext adds the context to the create HTTP error rule params
func (*CreateHTTPErrorRuleParams) WithData ¶
func (o *CreateHTTPErrorRuleParams) WithData(data *models.HTTPErrorRule) *CreateHTTPErrorRuleParams
WithData adds the data to the create HTTP error rule params
func (*CreateHTTPErrorRuleParams) WithDefaults ¶
func (o *CreateHTTPErrorRuleParams) WithDefaults() *CreateHTTPErrorRuleParams
WithDefaults hydrates default values in the create HTTP error rule params (not the query body).
All values with no default are reset to their zero value.
func (*CreateHTTPErrorRuleParams) WithForceReload ¶
func (o *CreateHTTPErrorRuleParams) WithForceReload(forceReload *bool) *CreateHTTPErrorRuleParams
WithForceReload adds the forceReload to the create HTTP error rule params
func (*CreateHTTPErrorRuleParams) WithHTTPClient ¶
func (o *CreateHTTPErrorRuleParams) WithHTTPClient(client *http.Client) *CreateHTTPErrorRuleParams
WithHTTPClient adds the HTTPClient to the create HTTP error rule params
func (*CreateHTTPErrorRuleParams) WithParentName ¶
func (o *CreateHTTPErrorRuleParams) WithParentName(parentName *string) *CreateHTTPErrorRuleParams
WithParentName adds the parentName to the create HTTP error rule params
func (*CreateHTTPErrorRuleParams) WithParentType ¶
func (o *CreateHTTPErrorRuleParams) WithParentType(parentType string) *CreateHTTPErrorRuleParams
WithParentType adds the parentType to the create HTTP error rule params
func (*CreateHTTPErrorRuleParams) WithTimeout ¶
func (o *CreateHTTPErrorRuleParams) WithTimeout(timeout time.Duration) *CreateHTTPErrorRuleParams
WithTimeout adds the timeout to the create HTTP error rule params
func (*CreateHTTPErrorRuleParams) WithTransactionID ¶
func (o *CreateHTTPErrorRuleParams) WithTransactionID(transactionID *string) *CreateHTTPErrorRuleParams
WithTransactionID adds the transactionID to the create HTTP error rule params
func (*CreateHTTPErrorRuleParams) WithVersion ¶
func (o *CreateHTTPErrorRuleParams) WithVersion(version *int64) *CreateHTTPErrorRuleParams
WithVersion adds the version to the create HTTP error rule params
func (*CreateHTTPErrorRuleParams) WriteToRequest ¶
func (o *CreateHTTPErrorRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateHTTPErrorRuleReader ¶
type CreateHTTPErrorRuleReader struct {
// contains filtered or unexported fields
}
CreateHTTPErrorRuleReader is a Reader for the CreateHTTPErrorRule structure.
func (*CreateHTTPErrorRuleReader) ReadResponse ¶
func (o *CreateHTTPErrorRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteHTTPErrorRuleAccepted ¶
type DeleteHTTPErrorRuleAccepted struct { /* ID of the requested reload */ ReloadID string }
DeleteHTTPErrorRuleAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewDeleteHTTPErrorRuleAccepted ¶
func NewDeleteHTTPErrorRuleAccepted() *DeleteHTTPErrorRuleAccepted
NewDeleteHTTPErrorRuleAccepted creates a DeleteHTTPErrorRuleAccepted with default headers values
func (*DeleteHTTPErrorRuleAccepted) Code ¶ added in v1.1.5
func (o *DeleteHTTPErrorRuleAccepted) Code() int
Code gets the status code for the delete Http error rule accepted response
func (*DeleteHTTPErrorRuleAccepted) Error ¶
func (o *DeleteHTTPErrorRuleAccepted) Error() string
func (*DeleteHTTPErrorRuleAccepted) IsClientError ¶
func (o *DeleteHTTPErrorRuleAccepted) IsClientError() bool
IsClientError returns true when this delete Http error rule accepted response has a 4xx status code
func (*DeleteHTTPErrorRuleAccepted) IsCode ¶
func (o *DeleteHTTPErrorRuleAccepted) IsCode(code int) bool
IsCode returns true when this delete Http error rule accepted response a status code equal to that given
func (*DeleteHTTPErrorRuleAccepted) IsRedirect ¶
func (o *DeleteHTTPErrorRuleAccepted) IsRedirect() bool
IsRedirect returns true when this delete Http error rule accepted response has a 3xx status code
func (*DeleteHTTPErrorRuleAccepted) IsServerError ¶
func (o *DeleteHTTPErrorRuleAccepted) IsServerError() bool
IsServerError returns true when this delete Http error rule accepted response has a 5xx status code
func (*DeleteHTTPErrorRuleAccepted) IsSuccess ¶
func (o *DeleteHTTPErrorRuleAccepted) IsSuccess() bool
IsSuccess returns true when this delete Http error rule accepted response has a 2xx status code
func (*DeleteHTTPErrorRuleAccepted) String ¶
func (o *DeleteHTTPErrorRuleAccepted) String() string
type DeleteHTTPErrorRuleDefault ¶
type DeleteHTTPErrorRuleDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
DeleteHTTPErrorRuleDefault describes a response with status code -1, with default header values.
General Error
func NewDeleteHTTPErrorRuleDefault ¶
func NewDeleteHTTPErrorRuleDefault(code int) *DeleteHTTPErrorRuleDefault
NewDeleteHTTPErrorRuleDefault creates a DeleteHTTPErrorRuleDefault with default headers values
func (*DeleteHTTPErrorRuleDefault) Code ¶
func (o *DeleteHTTPErrorRuleDefault) Code() int
Code gets the status code for the delete HTTP error rule default response
func (*DeleteHTTPErrorRuleDefault) Error ¶
func (o *DeleteHTTPErrorRuleDefault) Error() string
func (*DeleteHTTPErrorRuleDefault) GetPayload ¶
func (o *DeleteHTTPErrorRuleDefault) GetPayload() *models.Error
func (*DeleteHTTPErrorRuleDefault) IsClientError ¶
func (o *DeleteHTTPErrorRuleDefault) IsClientError() bool
IsClientError returns true when this delete HTTP error rule default response has a 4xx status code
func (*DeleteHTTPErrorRuleDefault) IsCode ¶
func (o *DeleteHTTPErrorRuleDefault) IsCode(code int) bool
IsCode returns true when this delete HTTP error rule default response a status code equal to that given
func (*DeleteHTTPErrorRuleDefault) IsRedirect ¶
func (o *DeleteHTTPErrorRuleDefault) IsRedirect() bool
IsRedirect returns true when this delete HTTP error rule default response has a 3xx status code
func (*DeleteHTTPErrorRuleDefault) IsServerError ¶
func (o *DeleteHTTPErrorRuleDefault) IsServerError() bool
IsServerError returns true when this delete HTTP error rule default response has a 5xx status code
func (*DeleteHTTPErrorRuleDefault) IsSuccess ¶
func (o *DeleteHTTPErrorRuleDefault) IsSuccess() bool
IsSuccess returns true when this delete HTTP error rule default response has a 2xx status code
func (*DeleteHTTPErrorRuleDefault) String ¶
func (o *DeleteHTTPErrorRuleDefault) String() string
type DeleteHTTPErrorRuleNoContent ¶
type DeleteHTTPErrorRuleNoContent struct { }
DeleteHTTPErrorRuleNoContent describes a response with status code 204, with default header values.
HTTP Error Rule deleted
func NewDeleteHTTPErrorRuleNoContent ¶
func NewDeleteHTTPErrorRuleNoContent() *DeleteHTTPErrorRuleNoContent
NewDeleteHTTPErrorRuleNoContent creates a DeleteHTTPErrorRuleNoContent with default headers values
func (*DeleteHTTPErrorRuleNoContent) Code ¶ added in v1.1.5
func (o *DeleteHTTPErrorRuleNoContent) Code() int
Code gets the status code for the delete Http error rule no content response
func (*DeleteHTTPErrorRuleNoContent) Error ¶
func (o *DeleteHTTPErrorRuleNoContent) Error() string
func (*DeleteHTTPErrorRuleNoContent) IsClientError ¶
func (o *DeleteHTTPErrorRuleNoContent) IsClientError() bool
IsClientError returns true when this delete Http error rule no content response has a 4xx status code
func (*DeleteHTTPErrorRuleNoContent) IsCode ¶
func (o *DeleteHTTPErrorRuleNoContent) IsCode(code int) bool
IsCode returns true when this delete Http error rule no content response a status code equal to that given
func (*DeleteHTTPErrorRuleNoContent) IsRedirect ¶
func (o *DeleteHTTPErrorRuleNoContent) IsRedirect() bool
IsRedirect returns true when this delete Http error rule no content response has a 3xx status code
func (*DeleteHTTPErrorRuleNoContent) IsServerError ¶
func (o *DeleteHTTPErrorRuleNoContent) IsServerError() bool
IsServerError returns true when this delete Http error rule no content response has a 5xx status code
func (*DeleteHTTPErrorRuleNoContent) IsSuccess ¶
func (o *DeleteHTTPErrorRuleNoContent) IsSuccess() bool
IsSuccess returns true when this delete Http error rule no content response has a 2xx status code
func (*DeleteHTTPErrorRuleNoContent) String ¶
func (o *DeleteHTTPErrorRuleNoContent) String() string
type DeleteHTTPErrorRuleNotFound ¶
type DeleteHTTPErrorRuleNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
DeleteHTTPErrorRuleNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewDeleteHTTPErrorRuleNotFound ¶
func NewDeleteHTTPErrorRuleNotFound() *DeleteHTTPErrorRuleNotFound
NewDeleteHTTPErrorRuleNotFound creates a DeleteHTTPErrorRuleNotFound with default headers values
func (*DeleteHTTPErrorRuleNotFound) Code ¶ added in v1.1.5
func (o *DeleteHTTPErrorRuleNotFound) Code() int
Code gets the status code for the delete Http error rule not found response
func (*DeleteHTTPErrorRuleNotFound) Error ¶
func (o *DeleteHTTPErrorRuleNotFound) Error() string
func (*DeleteHTTPErrorRuleNotFound) GetPayload ¶
func (o *DeleteHTTPErrorRuleNotFound) GetPayload() *models.Error
func (*DeleteHTTPErrorRuleNotFound) IsClientError ¶
func (o *DeleteHTTPErrorRuleNotFound) IsClientError() bool
IsClientError returns true when this delete Http error rule not found response has a 4xx status code
func (*DeleteHTTPErrorRuleNotFound) IsCode ¶
func (o *DeleteHTTPErrorRuleNotFound) IsCode(code int) bool
IsCode returns true when this delete Http error rule not found response a status code equal to that given
func (*DeleteHTTPErrorRuleNotFound) IsRedirect ¶
func (o *DeleteHTTPErrorRuleNotFound) IsRedirect() bool
IsRedirect returns true when this delete Http error rule not found response has a 3xx status code
func (*DeleteHTTPErrorRuleNotFound) IsServerError ¶
func (o *DeleteHTTPErrorRuleNotFound) IsServerError() bool
IsServerError returns true when this delete Http error rule not found response has a 5xx status code
func (*DeleteHTTPErrorRuleNotFound) IsSuccess ¶
func (o *DeleteHTTPErrorRuleNotFound) IsSuccess() bool
IsSuccess returns true when this delete Http error rule not found response has a 2xx status code
func (*DeleteHTTPErrorRuleNotFound) String ¶
func (o *DeleteHTTPErrorRuleNotFound) String() string
type DeleteHTTPErrorRuleParams ¶
type DeleteHTTPErrorRuleParams 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 Error 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 }
DeleteHTTPErrorRuleParams contains all the parameters to send to the API endpoint
for the delete HTTP error rule operation. Typically these are written to a http.Request.
func NewDeleteHTTPErrorRuleParams ¶
func NewDeleteHTTPErrorRuleParams() *DeleteHTTPErrorRuleParams
NewDeleteHTTPErrorRuleParams creates a new DeleteHTTPErrorRuleParams 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 NewDeleteHTTPErrorRuleParamsWithContext ¶
func NewDeleteHTTPErrorRuleParamsWithContext(ctx context.Context) *DeleteHTTPErrorRuleParams
NewDeleteHTTPErrorRuleParamsWithContext creates a new DeleteHTTPErrorRuleParams object with the ability to set a context for a request.
func NewDeleteHTTPErrorRuleParamsWithHTTPClient ¶
func NewDeleteHTTPErrorRuleParamsWithHTTPClient(client *http.Client) *DeleteHTTPErrorRuleParams
NewDeleteHTTPErrorRuleParamsWithHTTPClient creates a new DeleteHTTPErrorRuleParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteHTTPErrorRuleParamsWithTimeout ¶
func NewDeleteHTTPErrorRuleParamsWithTimeout(timeout time.Duration) *DeleteHTTPErrorRuleParams
NewDeleteHTTPErrorRuleParamsWithTimeout creates a new DeleteHTTPErrorRuleParams object with the ability to set a timeout on a request.
func (*DeleteHTTPErrorRuleParams) SetContext ¶
func (o *DeleteHTTPErrorRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the delete HTTP error rule params
func (*DeleteHTTPErrorRuleParams) SetDefaults ¶
func (o *DeleteHTTPErrorRuleParams) SetDefaults()
SetDefaults hydrates default values in the delete HTTP error rule params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteHTTPErrorRuleParams) SetForceReload ¶
func (o *DeleteHTTPErrorRuleParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the delete HTTP error rule params
func (*DeleteHTTPErrorRuleParams) SetHTTPClient ¶
func (o *DeleteHTTPErrorRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete HTTP error rule params
func (*DeleteHTTPErrorRuleParams) SetIndex ¶
func (o *DeleteHTTPErrorRuleParams) SetIndex(index int64)
SetIndex adds the index to the delete HTTP error rule params
func (*DeleteHTTPErrorRuleParams) SetParentName ¶
func (o *DeleteHTTPErrorRuleParams) SetParentName(parentName *string)
SetParentName adds the parentName to the delete HTTP error rule params
func (*DeleteHTTPErrorRuleParams) SetParentType ¶
func (o *DeleteHTTPErrorRuleParams) SetParentType(parentType string)
SetParentType adds the parentType to the delete HTTP error rule params
func (*DeleteHTTPErrorRuleParams) SetTimeout ¶
func (o *DeleteHTTPErrorRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete HTTP error rule params
func (*DeleteHTTPErrorRuleParams) SetTransactionID ¶
func (o *DeleteHTTPErrorRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the delete HTTP error rule params
func (*DeleteHTTPErrorRuleParams) SetVersion ¶
func (o *DeleteHTTPErrorRuleParams) SetVersion(version *int64)
SetVersion adds the version to the delete HTTP error rule params
func (*DeleteHTTPErrorRuleParams) WithContext ¶
func (o *DeleteHTTPErrorRuleParams) WithContext(ctx context.Context) *DeleteHTTPErrorRuleParams
WithContext adds the context to the delete HTTP error rule params
func (*DeleteHTTPErrorRuleParams) WithDefaults ¶
func (o *DeleteHTTPErrorRuleParams) WithDefaults() *DeleteHTTPErrorRuleParams
WithDefaults hydrates default values in the delete HTTP error rule params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteHTTPErrorRuleParams) WithForceReload ¶
func (o *DeleteHTTPErrorRuleParams) WithForceReload(forceReload *bool) *DeleteHTTPErrorRuleParams
WithForceReload adds the forceReload to the delete HTTP error rule params
func (*DeleteHTTPErrorRuleParams) WithHTTPClient ¶
func (o *DeleteHTTPErrorRuleParams) WithHTTPClient(client *http.Client) *DeleteHTTPErrorRuleParams
WithHTTPClient adds the HTTPClient to the delete HTTP error rule params
func (*DeleteHTTPErrorRuleParams) WithIndex ¶
func (o *DeleteHTTPErrorRuleParams) WithIndex(index int64) *DeleteHTTPErrorRuleParams
WithIndex adds the index to the delete HTTP error rule params
func (*DeleteHTTPErrorRuleParams) WithParentName ¶
func (o *DeleteHTTPErrorRuleParams) WithParentName(parentName *string) *DeleteHTTPErrorRuleParams
WithParentName adds the parentName to the delete HTTP error rule params
func (*DeleteHTTPErrorRuleParams) WithParentType ¶
func (o *DeleteHTTPErrorRuleParams) WithParentType(parentType string) *DeleteHTTPErrorRuleParams
WithParentType adds the parentType to the delete HTTP error rule params
func (*DeleteHTTPErrorRuleParams) WithTimeout ¶
func (o *DeleteHTTPErrorRuleParams) WithTimeout(timeout time.Duration) *DeleteHTTPErrorRuleParams
WithTimeout adds the timeout to the delete HTTP error rule params
func (*DeleteHTTPErrorRuleParams) WithTransactionID ¶
func (o *DeleteHTTPErrorRuleParams) WithTransactionID(transactionID *string) *DeleteHTTPErrorRuleParams
WithTransactionID adds the transactionID to the delete HTTP error rule params
func (*DeleteHTTPErrorRuleParams) WithVersion ¶
func (o *DeleteHTTPErrorRuleParams) WithVersion(version *int64) *DeleteHTTPErrorRuleParams
WithVersion adds the version to the delete HTTP error rule params
func (*DeleteHTTPErrorRuleParams) WriteToRequest ¶
func (o *DeleteHTTPErrorRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteHTTPErrorRuleReader ¶
type DeleteHTTPErrorRuleReader struct {
// contains filtered or unexported fields
}
DeleteHTTPErrorRuleReader is a Reader for the DeleteHTTPErrorRule structure.
func (*DeleteHTTPErrorRuleReader) ReadResponse ¶
func (o *DeleteHTTPErrorRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetHTTPErrorRuleDefault ¶
type GetHTTPErrorRuleDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetHTTPErrorRuleDefault describes a response with status code -1, with default header values.
General Error
func NewGetHTTPErrorRuleDefault ¶
func NewGetHTTPErrorRuleDefault(code int) *GetHTTPErrorRuleDefault
NewGetHTTPErrorRuleDefault creates a GetHTTPErrorRuleDefault with default headers values
func (*GetHTTPErrorRuleDefault) Code ¶
func (o *GetHTTPErrorRuleDefault) Code() int
Code gets the status code for the get HTTP error rule default response
func (*GetHTTPErrorRuleDefault) Error ¶
func (o *GetHTTPErrorRuleDefault) Error() string
func (*GetHTTPErrorRuleDefault) GetPayload ¶
func (o *GetHTTPErrorRuleDefault) GetPayload() *models.Error
func (*GetHTTPErrorRuleDefault) IsClientError ¶
func (o *GetHTTPErrorRuleDefault) IsClientError() bool
IsClientError returns true when this get HTTP error rule default response has a 4xx status code
func (*GetHTTPErrorRuleDefault) IsCode ¶
func (o *GetHTTPErrorRuleDefault) IsCode(code int) bool
IsCode returns true when this get HTTP error rule default response a status code equal to that given
func (*GetHTTPErrorRuleDefault) IsRedirect ¶
func (o *GetHTTPErrorRuleDefault) IsRedirect() bool
IsRedirect returns true when this get HTTP error rule default response has a 3xx status code
func (*GetHTTPErrorRuleDefault) IsServerError ¶
func (o *GetHTTPErrorRuleDefault) IsServerError() bool
IsServerError returns true when this get HTTP error rule default response has a 5xx status code
func (*GetHTTPErrorRuleDefault) IsSuccess ¶
func (o *GetHTTPErrorRuleDefault) IsSuccess() bool
IsSuccess returns true when this get HTTP error rule default response has a 2xx status code
func (*GetHTTPErrorRuleDefault) String ¶
func (o *GetHTTPErrorRuleDefault) String() string
type GetHTTPErrorRuleNotFound ¶
type GetHTTPErrorRuleNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
GetHTTPErrorRuleNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewGetHTTPErrorRuleNotFound ¶
func NewGetHTTPErrorRuleNotFound() *GetHTTPErrorRuleNotFound
NewGetHTTPErrorRuleNotFound creates a GetHTTPErrorRuleNotFound with default headers values
func (*GetHTTPErrorRuleNotFound) Code ¶ added in v1.1.5
func (o *GetHTTPErrorRuleNotFound) Code() int
Code gets the status code for the get Http error rule not found response
func (*GetHTTPErrorRuleNotFound) Error ¶
func (o *GetHTTPErrorRuleNotFound) Error() string
func (*GetHTTPErrorRuleNotFound) GetPayload ¶
func (o *GetHTTPErrorRuleNotFound) GetPayload() *models.Error
func (*GetHTTPErrorRuleNotFound) IsClientError ¶
func (o *GetHTTPErrorRuleNotFound) IsClientError() bool
IsClientError returns true when this get Http error rule not found response has a 4xx status code
func (*GetHTTPErrorRuleNotFound) IsCode ¶
func (o *GetHTTPErrorRuleNotFound) IsCode(code int) bool
IsCode returns true when this get Http error rule not found response a status code equal to that given
func (*GetHTTPErrorRuleNotFound) IsRedirect ¶
func (o *GetHTTPErrorRuleNotFound) IsRedirect() bool
IsRedirect returns true when this get Http error rule not found response has a 3xx status code
func (*GetHTTPErrorRuleNotFound) IsServerError ¶
func (o *GetHTTPErrorRuleNotFound) IsServerError() bool
IsServerError returns true when this get Http error rule not found response has a 5xx status code
func (*GetHTTPErrorRuleNotFound) IsSuccess ¶
func (o *GetHTTPErrorRuleNotFound) IsSuccess() bool
IsSuccess returns true when this get Http error rule not found response has a 2xx status code
func (*GetHTTPErrorRuleNotFound) String ¶
func (o *GetHTTPErrorRuleNotFound) String() string
type GetHTTPErrorRuleOK ¶
type GetHTTPErrorRuleOK struct { /* Configuration file version */ ConfigurationVersion string Payload *GetHTTPErrorRuleOKBody }
GetHTTPErrorRuleOK describes a response with status code 200, with default header values.
Successful operation
func NewGetHTTPErrorRuleOK ¶
func NewGetHTTPErrorRuleOK() *GetHTTPErrorRuleOK
NewGetHTTPErrorRuleOK creates a GetHTTPErrorRuleOK with default headers values
func (*GetHTTPErrorRuleOK) Code ¶ added in v1.1.5
func (o *GetHTTPErrorRuleOK) Code() int
Code gets the status code for the get Http error rule o k response
func (*GetHTTPErrorRuleOK) Error ¶
func (o *GetHTTPErrorRuleOK) Error() string
func (*GetHTTPErrorRuleOK) GetPayload ¶
func (o *GetHTTPErrorRuleOK) GetPayload() *GetHTTPErrorRuleOKBody
func (*GetHTTPErrorRuleOK) IsClientError ¶
func (o *GetHTTPErrorRuleOK) IsClientError() bool
IsClientError returns true when this get Http error rule o k response has a 4xx status code
func (*GetHTTPErrorRuleOK) IsCode ¶
func (o *GetHTTPErrorRuleOK) IsCode(code int) bool
IsCode returns true when this get Http error rule o k response a status code equal to that given
func (*GetHTTPErrorRuleOK) IsRedirect ¶
func (o *GetHTTPErrorRuleOK) IsRedirect() bool
IsRedirect returns true when this get Http error rule o k response has a 3xx status code
func (*GetHTTPErrorRuleOK) IsServerError ¶
func (o *GetHTTPErrorRuleOK) IsServerError() bool
IsServerError returns true when this get Http error rule o k response has a 5xx status code
func (*GetHTTPErrorRuleOK) IsSuccess ¶
func (o *GetHTTPErrorRuleOK) IsSuccess() bool
IsSuccess returns true when this get Http error rule o k response has a 2xx status code
func (*GetHTTPErrorRuleOK) String ¶
func (o *GetHTTPErrorRuleOK) String() string
type GetHTTPErrorRuleOKBody ¶
type GetHTTPErrorRuleOKBody struct { // version Version int64 `json:"_version,omitempty"` // data Data *models.HTTPErrorRule `json:"data,omitempty"` }
GetHTTPErrorRuleOKBody get HTTP error rule o k body swagger:model GetHTTPErrorRuleOKBody
func (*GetHTTPErrorRuleOKBody) ContextValidate ¶
func (o *GetHTTPErrorRuleOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get HTTP error rule o k body based on the context it is used
func (*GetHTTPErrorRuleOKBody) MarshalBinary ¶
func (o *GetHTTPErrorRuleOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetHTTPErrorRuleOKBody) UnmarshalBinary ¶
func (o *GetHTTPErrorRuleOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetHTTPErrorRuleParams ¶
type GetHTTPErrorRuleParams struct { /* Index. HTTP Error 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 }
GetHTTPErrorRuleParams contains all the parameters to send to the API endpoint
for the get HTTP error rule operation. Typically these are written to a http.Request.
func NewGetHTTPErrorRuleParams ¶
func NewGetHTTPErrorRuleParams() *GetHTTPErrorRuleParams
NewGetHTTPErrorRuleParams creates a new GetHTTPErrorRuleParams 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 NewGetHTTPErrorRuleParamsWithContext ¶
func NewGetHTTPErrorRuleParamsWithContext(ctx context.Context) *GetHTTPErrorRuleParams
NewGetHTTPErrorRuleParamsWithContext creates a new GetHTTPErrorRuleParams object with the ability to set a context for a request.
func NewGetHTTPErrorRuleParamsWithHTTPClient ¶
func NewGetHTTPErrorRuleParamsWithHTTPClient(client *http.Client) *GetHTTPErrorRuleParams
NewGetHTTPErrorRuleParamsWithHTTPClient creates a new GetHTTPErrorRuleParams object with the ability to set a custom HTTPClient for a request.
func NewGetHTTPErrorRuleParamsWithTimeout ¶
func NewGetHTTPErrorRuleParamsWithTimeout(timeout time.Duration) *GetHTTPErrorRuleParams
NewGetHTTPErrorRuleParamsWithTimeout creates a new GetHTTPErrorRuleParams object with the ability to set a timeout on a request.
func (*GetHTTPErrorRuleParams) SetContext ¶
func (o *GetHTTPErrorRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the get HTTP error rule params
func (*GetHTTPErrorRuleParams) SetDefaults ¶
func (o *GetHTTPErrorRuleParams) SetDefaults()
SetDefaults hydrates default values in the get HTTP error rule params (not the query body).
All values with no default are reset to their zero value.
func (*GetHTTPErrorRuleParams) SetHTTPClient ¶
func (o *GetHTTPErrorRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get HTTP error rule params
func (*GetHTTPErrorRuleParams) SetIndex ¶
func (o *GetHTTPErrorRuleParams) SetIndex(index int64)
SetIndex adds the index to the get HTTP error rule params
func (*GetHTTPErrorRuleParams) SetParentName ¶
func (o *GetHTTPErrorRuleParams) SetParentName(parentName *string)
SetParentName adds the parentName to the get HTTP error rule params
func (*GetHTTPErrorRuleParams) SetParentType ¶
func (o *GetHTTPErrorRuleParams) SetParentType(parentType string)
SetParentType adds the parentType to the get HTTP error rule params
func (*GetHTTPErrorRuleParams) SetTimeout ¶
func (o *GetHTTPErrorRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get HTTP error rule params
func (*GetHTTPErrorRuleParams) SetTransactionID ¶
func (o *GetHTTPErrorRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get HTTP error rule params
func (*GetHTTPErrorRuleParams) WithContext ¶
func (o *GetHTTPErrorRuleParams) WithContext(ctx context.Context) *GetHTTPErrorRuleParams
WithContext adds the context to the get HTTP error rule params
func (*GetHTTPErrorRuleParams) WithDefaults ¶
func (o *GetHTTPErrorRuleParams) WithDefaults() *GetHTTPErrorRuleParams
WithDefaults hydrates default values in the get HTTP error rule params (not the query body).
All values with no default are reset to their zero value.
func (*GetHTTPErrorRuleParams) WithHTTPClient ¶
func (o *GetHTTPErrorRuleParams) WithHTTPClient(client *http.Client) *GetHTTPErrorRuleParams
WithHTTPClient adds the HTTPClient to the get HTTP error rule params
func (*GetHTTPErrorRuleParams) WithIndex ¶
func (o *GetHTTPErrorRuleParams) WithIndex(index int64) *GetHTTPErrorRuleParams
WithIndex adds the index to the get HTTP error rule params
func (*GetHTTPErrorRuleParams) WithParentName ¶
func (o *GetHTTPErrorRuleParams) WithParentName(parentName *string) *GetHTTPErrorRuleParams
WithParentName adds the parentName to the get HTTP error rule params
func (*GetHTTPErrorRuleParams) WithParentType ¶
func (o *GetHTTPErrorRuleParams) WithParentType(parentType string) *GetHTTPErrorRuleParams
WithParentType adds the parentType to the get HTTP error rule params
func (*GetHTTPErrorRuleParams) WithTimeout ¶
func (o *GetHTTPErrorRuleParams) WithTimeout(timeout time.Duration) *GetHTTPErrorRuleParams
WithTimeout adds the timeout to the get HTTP error rule params
func (*GetHTTPErrorRuleParams) WithTransactionID ¶
func (o *GetHTTPErrorRuleParams) WithTransactionID(transactionID *string) *GetHTTPErrorRuleParams
WithTransactionID adds the transactionID to the get HTTP error rule params
func (*GetHTTPErrorRuleParams) WriteToRequest ¶
func (o *GetHTTPErrorRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetHTTPErrorRuleReader ¶
type GetHTTPErrorRuleReader struct {
// contains filtered or unexported fields
}
GetHTTPErrorRuleReader is a Reader for the GetHTTPErrorRule structure.
func (*GetHTTPErrorRuleReader) ReadResponse ¶
func (o *GetHTTPErrorRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetHTTPErrorRulesDefault ¶
type GetHTTPErrorRulesDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetHTTPErrorRulesDefault describes a response with status code -1, with default header values.
General Error
func NewGetHTTPErrorRulesDefault ¶
func NewGetHTTPErrorRulesDefault(code int) *GetHTTPErrorRulesDefault
NewGetHTTPErrorRulesDefault creates a GetHTTPErrorRulesDefault with default headers values
func (*GetHTTPErrorRulesDefault) Code ¶
func (o *GetHTTPErrorRulesDefault) Code() int
Code gets the status code for the get HTTP error rules default response
func (*GetHTTPErrorRulesDefault) Error ¶
func (o *GetHTTPErrorRulesDefault) Error() string
func (*GetHTTPErrorRulesDefault) GetPayload ¶
func (o *GetHTTPErrorRulesDefault) GetPayload() *models.Error
func (*GetHTTPErrorRulesDefault) IsClientError ¶
func (o *GetHTTPErrorRulesDefault) IsClientError() bool
IsClientError returns true when this get HTTP error rules default response has a 4xx status code
func (*GetHTTPErrorRulesDefault) IsCode ¶
func (o *GetHTTPErrorRulesDefault) IsCode(code int) bool
IsCode returns true when this get HTTP error rules default response a status code equal to that given
func (*GetHTTPErrorRulesDefault) IsRedirect ¶
func (o *GetHTTPErrorRulesDefault) IsRedirect() bool
IsRedirect returns true when this get HTTP error rules default response has a 3xx status code
func (*GetHTTPErrorRulesDefault) IsServerError ¶
func (o *GetHTTPErrorRulesDefault) IsServerError() bool
IsServerError returns true when this get HTTP error rules default response has a 5xx status code
func (*GetHTTPErrorRulesDefault) IsSuccess ¶
func (o *GetHTTPErrorRulesDefault) IsSuccess() bool
IsSuccess returns true when this get HTTP error rules default response has a 2xx status code
func (*GetHTTPErrorRulesDefault) String ¶
func (o *GetHTTPErrorRulesDefault) String() string
type GetHTTPErrorRulesOK ¶
type GetHTTPErrorRulesOK struct { /* Configuration file version */ ConfigurationVersion string Payload *GetHTTPErrorRulesOKBody }
GetHTTPErrorRulesOK describes a response with status code 200, with default header values.
Successful operation
func NewGetHTTPErrorRulesOK ¶
func NewGetHTTPErrorRulesOK() *GetHTTPErrorRulesOK
NewGetHTTPErrorRulesOK creates a GetHTTPErrorRulesOK with default headers values
func (*GetHTTPErrorRulesOK) Code ¶ added in v1.1.5
func (o *GetHTTPErrorRulesOK) Code() int
Code gets the status code for the get Http error rules o k response
func (*GetHTTPErrorRulesOK) Error ¶
func (o *GetHTTPErrorRulesOK) Error() string
func (*GetHTTPErrorRulesOK) GetPayload ¶
func (o *GetHTTPErrorRulesOK) GetPayload() *GetHTTPErrorRulesOKBody
func (*GetHTTPErrorRulesOK) IsClientError ¶
func (o *GetHTTPErrorRulesOK) IsClientError() bool
IsClientError returns true when this get Http error rules o k response has a 4xx status code
func (*GetHTTPErrorRulesOK) IsCode ¶
func (o *GetHTTPErrorRulesOK) IsCode(code int) bool
IsCode returns true when this get Http error rules o k response a status code equal to that given
func (*GetHTTPErrorRulesOK) IsRedirect ¶
func (o *GetHTTPErrorRulesOK) IsRedirect() bool
IsRedirect returns true when this get Http error rules o k response has a 3xx status code
func (*GetHTTPErrorRulesOK) IsServerError ¶
func (o *GetHTTPErrorRulesOK) IsServerError() bool
IsServerError returns true when this get Http error rules o k response has a 5xx status code
func (*GetHTTPErrorRulesOK) IsSuccess ¶
func (o *GetHTTPErrorRulesOK) IsSuccess() bool
IsSuccess returns true when this get Http error rules o k response has a 2xx status code
func (*GetHTTPErrorRulesOK) String ¶
func (o *GetHTTPErrorRulesOK) String() string
type GetHTTPErrorRulesOKBody ¶
type GetHTTPErrorRulesOKBody struct { // version Version int64 `json:"_version,omitempty"` // data // Required: true Data models.HTTPErrorRules `json:"data"` }
GetHTTPErrorRulesOKBody get HTTP error rules o k body swagger:model GetHTTPErrorRulesOKBody
func (*GetHTTPErrorRulesOKBody) ContextValidate ¶
func (o *GetHTTPErrorRulesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get HTTP error rules o k body based on the context it is used
func (*GetHTTPErrorRulesOKBody) MarshalBinary ¶
func (o *GetHTTPErrorRulesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetHTTPErrorRulesOKBody) UnmarshalBinary ¶
func (o *GetHTTPErrorRulesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetHTTPErrorRulesParams ¶
type GetHTTPErrorRulesParams 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 }
GetHTTPErrorRulesParams contains all the parameters to send to the API endpoint
for the get HTTP error rules operation. Typically these are written to a http.Request.
func NewGetHTTPErrorRulesParams ¶
func NewGetHTTPErrorRulesParams() *GetHTTPErrorRulesParams
NewGetHTTPErrorRulesParams creates a new GetHTTPErrorRulesParams 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 NewGetHTTPErrorRulesParamsWithContext ¶
func NewGetHTTPErrorRulesParamsWithContext(ctx context.Context) *GetHTTPErrorRulesParams
NewGetHTTPErrorRulesParamsWithContext creates a new GetHTTPErrorRulesParams object with the ability to set a context for a request.
func NewGetHTTPErrorRulesParamsWithHTTPClient ¶
func NewGetHTTPErrorRulesParamsWithHTTPClient(client *http.Client) *GetHTTPErrorRulesParams
NewGetHTTPErrorRulesParamsWithHTTPClient creates a new GetHTTPErrorRulesParams object with the ability to set a custom HTTPClient for a request.
func NewGetHTTPErrorRulesParamsWithTimeout ¶
func NewGetHTTPErrorRulesParamsWithTimeout(timeout time.Duration) *GetHTTPErrorRulesParams
NewGetHTTPErrorRulesParamsWithTimeout creates a new GetHTTPErrorRulesParams object with the ability to set a timeout on a request.
func (*GetHTTPErrorRulesParams) SetContext ¶
func (o *GetHTTPErrorRulesParams) SetContext(ctx context.Context)
SetContext adds the context to the get HTTP error rules params
func (*GetHTTPErrorRulesParams) SetDefaults ¶
func (o *GetHTTPErrorRulesParams) SetDefaults()
SetDefaults hydrates default values in the get HTTP error rules params (not the query body).
All values with no default are reset to their zero value.
func (*GetHTTPErrorRulesParams) SetHTTPClient ¶
func (o *GetHTTPErrorRulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get HTTP error rules params
func (*GetHTTPErrorRulesParams) SetParentName ¶
func (o *GetHTTPErrorRulesParams) SetParentName(parentName *string)
SetParentName adds the parentName to the get HTTP error rules params
func (*GetHTTPErrorRulesParams) SetParentType ¶
func (o *GetHTTPErrorRulesParams) SetParentType(parentType string)
SetParentType adds the parentType to the get HTTP error rules params
func (*GetHTTPErrorRulesParams) SetTimeout ¶
func (o *GetHTTPErrorRulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get HTTP error rules params
func (*GetHTTPErrorRulesParams) SetTransactionID ¶
func (o *GetHTTPErrorRulesParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get HTTP error rules params
func (*GetHTTPErrorRulesParams) WithContext ¶
func (o *GetHTTPErrorRulesParams) WithContext(ctx context.Context) *GetHTTPErrorRulesParams
WithContext adds the context to the get HTTP error rules params
func (*GetHTTPErrorRulesParams) WithDefaults ¶
func (o *GetHTTPErrorRulesParams) WithDefaults() *GetHTTPErrorRulesParams
WithDefaults hydrates default values in the get HTTP error rules params (not the query body).
All values with no default are reset to their zero value.
func (*GetHTTPErrorRulesParams) WithHTTPClient ¶
func (o *GetHTTPErrorRulesParams) WithHTTPClient(client *http.Client) *GetHTTPErrorRulesParams
WithHTTPClient adds the HTTPClient to the get HTTP error rules params
func (*GetHTTPErrorRulesParams) WithParentName ¶
func (o *GetHTTPErrorRulesParams) WithParentName(parentName *string) *GetHTTPErrorRulesParams
WithParentName adds the parentName to the get HTTP error rules params
func (*GetHTTPErrorRulesParams) WithParentType ¶
func (o *GetHTTPErrorRulesParams) WithParentType(parentType string) *GetHTTPErrorRulesParams
WithParentType adds the parentType to the get HTTP error rules params
func (*GetHTTPErrorRulesParams) WithTimeout ¶
func (o *GetHTTPErrorRulesParams) WithTimeout(timeout time.Duration) *GetHTTPErrorRulesParams
WithTimeout adds the timeout to the get HTTP error rules params
func (*GetHTTPErrorRulesParams) WithTransactionID ¶
func (o *GetHTTPErrorRulesParams) WithTransactionID(transactionID *string) *GetHTTPErrorRulesParams
WithTransactionID adds the transactionID to the get HTTP error rules params
func (*GetHTTPErrorRulesParams) WriteToRequest ¶
func (o *GetHTTPErrorRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetHTTPErrorRulesReader ¶
type GetHTTPErrorRulesReader struct {
// contains filtered or unexported fields
}
GetHTTPErrorRulesReader is a Reader for the GetHTTPErrorRules structure.
func (*GetHTTPErrorRulesReader) ReadResponse ¶
func (o *GetHTTPErrorRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplaceHTTPErrorRuleAccepted ¶
type ReplaceHTTPErrorRuleAccepted struct { /* ID of the requested reload */ ReloadID string Payload *models.HTTPErrorRule }
ReplaceHTTPErrorRuleAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewReplaceHTTPErrorRuleAccepted ¶
func NewReplaceHTTPErrorRuleAccepted() *ReplaceHTTPErrorRuleAccepted
NewReplaceHTTPErrorRuleAccepted creates a ReplaceHTTPErrorRuleAccepted with default headers values
func (*ReplaceHTTPErrorRuleAccepted) Code ¶ added in v1.1.5
func (o *ReplaceHTTPErrorRuleAccepted) Code() int
Code gets the status code for the replace Http error rule accepted response
func (*ReplaceHTTPErrorRuleAccepted) Error ¶
func (o *ReplaceHTTPErrorRuleAccepted) Error() string
func (*ReplaceHTTPErrorRuleAccepted) GetPayload ¶
func (o *ReplaceHTTPErrorRuleAccepted) GetPayload() *models.HTTPErrorRule
func (*ReplaceHTTPErrorRuleAccepted) IsClientError ¶
func (o *ReplaceHTTPErrorRuleAccepted) IsClientError() bool
IsClientError returns true when this replace Http error rule accepted response has a 4xx status code
func (*ReplaceHTTPErrorRuleAccepted) IsCode ¶
func (o *ReplaceHTTPErrorRuleAccepted) IsCode(code int) bool
IsCode returns true when this replace Http error rule accepted response a status code equal to that given
func (*ReplaceHTTPErrorRuleAccepted) IsRedirect ¶
func (o *ReplaceHTTPErrorRuleAccepted) IsRedirect() bool
IsRedirect returns true when this replace Http error rule accepted response has a 3xx status code
func (*ReplaceHTTPErrorRuleAccepted) IsServerError ¶
func (o *ReplaceHTTPErrorRuleAccepted) IsServerError() bool
IsServerError returns true when this replace Http error rule accepted response has a 5xx status code
func (*ReplaceHTTPErrorRuleAccepted) IsSuccess ¶
func (o *ReplaceHTTPErrorRuleAccepted) IsSuccess() bool
IsSuccess returns true when this replace Http error rule accepted response has a 2xx status code
func (*ReplaceHTTPErrorRuleAccepted) String ¶
func (o *ReplaceHTTPErrorRuleAccepted) String() string
type ReplaceHTTPErrorRuleBadRequest ¶
type ReplaceHTTPErrorRuleBadRequest struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceHTTPErrorRuleBadRequest describes a response with status code 400, with default header values.
Bad request
func NewReplaceHTTPErrorRuleBadRequest ¶
func NewReplaceHTTPErrorRuleBadRequest() *ReplaceHTTPErrorRuleBadRequest
NewReplaceHTTPErrorRuleBadRequest creates a ReplaceHTTPErrorRuleBadRequest with default headers values
func (*ReplaceHTTPErrorRuleBadRequest) Code ¶ added in v1.1.5
func (o *ReplaceHTTPErrorRuleBadRequest) Code() int
Code gets the status code for the replace Http error rule bad request response
func (*ReplaceHTTPErrorRuleBadRequest) Error ¶
func (o *ReplaceHTTPErrorRuleBadRequest) Error() string
func (*ReplaceHTTPErrorRuleBadRequest) GetPayload ¶
func (o *ReplaceHTTPErrorRuleBadRequest) GetPayload() *models.Error
func (*ReplaceHTTPErrorRuleBadRequest) IsClientError ¶
func (o *ReplaceHTTPErrorRuleBadRequest) IsClientError() bool
IsClientError returns true when this replace Http error rule bad request response has a 4xx status code
func (*ReplaceHTTPErrorRuleBadRequest) IsCode ¶
func (o *ReplaceHTTPErrorRuleBadRequest) IsCode(code int) bool
IsCode returns true when this replace Http error rule bad request response a status code equal to that given
func (*ReplaceHTTPErrorRuleBadRequest) IsRedirect ¶
func (o *ReplaceHTTPErrorRuleBadRequest) IsRedirect() bool
IsRedirect returns true when this replace Http error rule bad request response has a 3xx status code
func (*ReplaceHTTPErrorRuleBadRequest) IsServerError ¶
func (o *ReplaceHTTPErrorRuleBadRequest) IsServerError() bool
IsServerError returns true when this replace Http error rule bad request response has a 5xx status code
func (*ReplaceHTTPErrorRuleBadRequest) IsSuccess ¶
func (o *ReplaceHTTPErrorRuleBadRequest) IsSuccess() bool
IsSuccess returns true when this replace Http error rule bad request response has a 2xx status code
func (*ReplaceHTTPErrorRuleBadRequest) String ¶
func (o *ReplaceHTTPErrorRuleBadRequest) String() string
type ReplaceHTTPErrorRuleDefault ¶
type ReplaceHTTPErrorRuleDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
ReplaceHTTPErrorRuleDefault describes a response with status code -1, with default header values.
General Error
func NewReplaceHTTPErrorRuleDefault ¶
func NewReplaceHTTPErrorRuleDefault(code int) *ReplaceHTTPErrorRuleDefault
NewReplaceHTTPErrorRuleDefault creates a ReplaceHTTPErrorRuleDefault with default headers values
func (*ReplaceHTTPErrorRuleDefault) Code ¶
func (o *ReplaceHTTPErrorRuleDefault) Code() int
Code gets the status code for the replace HTTP error rule default response
func (*ReplaceHTTPErrorRuleDefault) Error ¶
func (o *ReplaceHTTPErrorRuleDefault) Error() string
func (*ReplaceHTTPErrorRuleDefault) GetPayload ¶
func (o *ReplaceHTTPErrorRuleDefault) GetPayload() *models.Error
func (*ReplaceHTTPErrorRuleDefault) IsClientError ¶
func (o *ReplaceHTTPErrorRuleDefault) IsClientError() bool
IsClientError returns true when this replace HTTP error rule default response has a 4xx status code
func (*ReplaceHTTPErrorRuleDefault) IsCode ¶
func (o *ReplaceHTTPErrorRuleDefault) IsCode(code int) bool
IsCode returns true when this replace HTTP error rule default response a status code equal to that given
func (*ReplaceHTTPErrorRuleDefault) IsRedirect ¶
func (o *ReplaceHTTPErrorRuleDefault) IsRedirect() bool
IsRedirect returns true when this replace HTTP error rule default response has a 3xx status code
func (*ReplaceHTTPErrorRuleDefault) IsServerError ¶
func (o *ReplaceHTTPErrorRuleDefault) IsServerError() bool
IsServerError returns true when this replace HTTP error rule default response has a 5xx status code
func (*ReplaceHTTPErrorRuleDefault) IsSuccess ¶
func (o *ReplaceHTTPErrorRuleDefault) IsSuccess() bool
IsSuccess returns true when this replace HTTP error rule default response has a 2xx status code
func (*ReplaceHTTPErrorRuleDefault) String ¶
func (o *ReplaceHTTPErrorRuleDefault) String() string
type ReplaceHTTPErrorRuleNotFound ¶
type ReplaceHTTPErrorRuleNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceHTTPErrorRuleNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewReplaceHTTPErrorRuleNotFound ¶
func NewReplaceHTTPErrorRuleNotFound() *ReplaceHTTPErrorRuleNotFound
NewReplaceHTTPErrorRuleNotFound creates a ReplaceHTTPErrorRuleNotFound with default headers values
func (*ReplaceHTTPErrorRuleNotFound) Code ¶ added in v1.1.5
func (o *ReplaceHTTPErrorRuleNotFound) Code() int
Code gets the status code for the replace Http error rule not found response
func (*ReplaceHTTPErrorRuleNotFound) Error ¶
func (o *ReplaceHTTPErrorRuleNotFound) Error() string
func (*ReplaceHTTPErrorRuleNotFound) GetPayload ¶
func (o *ReplaceHTTPErrorRuleNotFound) GetPayload() *models.Error
func (*ReplaceHTTPErrorRuleNotFound) IsClientError ¶
func (o *ReplaceHTTPErrorRuleNotFound) IsClientError() bool
IsClientError returns true when this replace Http error rule not found response has a 4xx status code
func (*ReplaceHTTPErrorRuleNotFound) IsCode ¶
func (o *ReplaceHTTPErrorRuleNotFound) IsCode(code int) bool
IsCode returns true when this replace Http error rule not found response a status code equal to that given
func (*ReplaceHTTPErrorRuleNotFound) IsRedirect ¶
func (o *ReplaceHTTPErrorRuleNotFound) IsRedirect() bool
IsRedirect returns true when this replace Http error rule not found response has a 3xx status code
func (*ReplaceHTTPErrorRuleNotFound) IsServerError ¶
func (o *ReplaceHTTPErrorRuleNotFound) IsServerError() bool
IsServerError returns true when this replace Http error rule not found response has a 5xx status code
func (*ReplaceHTTPErrorRuleNotFound) IsSuccess ¶
func (o *ReplaceHTTPErrorRuleNotFound) IsSuccess() bool
IsSuccess returns true when this replace Http error rule not found response has a 2xx status code
func (*ReplaceHTTPErrorRuleNotFound) String ¶
func (o *ReplaceHTTPErrorRuleNotFound) String() string
type ReplaceHTTPErrorRuleOK ¶
type ReplaceHTTPErrorRuleOK struct {
Payload *models.HTTPErrorRule
}
ReplaceHTTPErrorRuleOK describes a response with status code 200, with default header values.
HTTP Error Rule replaced
func NewReplaceHTTPErrorRuleOK ¶
func NewReplaceHTTPErrorRuleOK() *ReplaceHTTPErrorRuleOK
NewReplaceHTTPErrorRuleOK creates a ReplaceHTTPErrorRuleOK with default headers values
func (*ReplaceHTTPErrorRuleOK) Code ¶ added in v1.1.5
func (o *ReplaceHTTPErrorRuleOK) Code() int
Code gets the status code for the replace Http error rule o k response
func (*ReplaceHTTPErrorRuleOK) Error ¶
func (o *ReplaceHTTPErrorRuleOK) Error() string
func (*ReplaceHTTPErrorRuleOK) GetPayload ¶
func (o *ReplaceHTTPErrorRuleOK) GetPayload() *models.HTTPErrorRule
func (*ReplaceHTTPErrorRuleOK) IsClientError ¶
func (o *ReplaceHTTPErrorRuleOK) IsClientError() bool
IsClientError returns true when this replace Http error rule o k response has a 4xx status code
func (*ReplaceHTTPErrorRuleOK) IsCode ¶
func (o *ReplaceHTTPErrorRuleOK) IsCode(code int) bool
IsCode returns true when this replace Http error rule o k response a status code equal to that given
func (*ReplaceHTTPErrorRuleOK) IsRedirect ¶
func (o *ReplaceHTTPErrorRuleOK) IsRedirect() bool
IsRedirect returns true when this replace Http error rule o k response has a 3xx status code
func (*ReplaceHTTPErrorRuleOK) IsServerError ¶
func (o *ReplaceHTTPErrorRuleOK) IsServerError() bool
IsServerError returns true when this replace Http error rule o k response has a 5xx status code
func (*ReplaceHTTPErrorRuleOK) IsSuccess ¶
func (o *ReplaceHTTPErrorRuleOK) IsSuccess() bool
IsSuccess returns true when this replace Http error rule o k response has a 2xx status code
func (*ReplaceHTTPErrorRuleOK) String ¶
func (o *ReplaceHTTPErrorRuleOK) String() string
type ReplaceHTTPErrorRuleParams ¶
type ReplaceHTTPErrorRuleParams struct { // Data. Data *models.HTTPErrorRule /* 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 Error 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 }
ReplaceHTTPErrorRuleParams contains all the parameters to send to the API endpoint
for the replace HTTP error rule operation. Typically these are written to a http.Request.
func NewReplaceHTTPErrorRuleParams ¶
func NewReplaceHTTPErrorRuleParams() *ReplaceHTTPErrorRuleParams
NewReplaceHTTPErrorRuleParams creates a new ReplaceHTTPErrorRuleParams 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 NewReplaceHTTPErrorRuleParamsWithContext ¶
func NewReplaceHTTPErrorRuleParamsWithContext(ctx context.Context) *ReplaceHTTPErrorRuleParams
NewReplaceHTTPErrorRuleParamsWithContext creates a new ReplaceHTTPErrorRuleParams object with the ability to set a context for a request.
func NewReplaceHTTPErrorRuleParamsWithHTTPClient ¶
func NewReplaceHTTPErrorRuleParamsWithHTTPClient(client *http.Client) *ReplaceHTTPErrorRuleParams
NewReplaceHTTPErrorRuleParamsWithHTTPClient creates a new ReplaceHTTPErrorRuleParams object with the ability to set a custom HTTPClient for a request.
func NewReplaceHTTPErrorRuleParamsWithTimeout ¶
func NewReplaceHTTPErrorRuleParamsWithTimeout(timeout time.Duration) *ReplaceHTTPErrorRuleParams
NewReplaceHTTPErrorRuleParamsWithTimeout creates a new ReplaceHTTPErrorRuleParams object with the ability to set a timeout on a request.
func (*ReplaceHTTPErrorRuleParams) SetContext ¶
func (o *ReplaceHTTPErrorRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the replace HTTP error rule params
func (*ReplaceHTTPErrorRuleParams) SetData ¶
func (o *ReplaceHTTPErrorRuleParams) SetData(data *models.HTTPErrorRule)
SetData adds the data to the replace HTTP error rule params
func (*ReplaceHTTPErrorRuleParams) SetDefaults ¶
func (o *ReplaceHTTPErrorRuleParams) SetDefaults()
SetDefaults hydrates default values in the replace HTTP error rule params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceHTTPErrorRuleParams) SetForceReload ¶
func (o *ReplaceHTTPErrorRuleParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the replace HTTP error rule params
func (*ReplaceHTTPErrorRuleParams) SetHTTPClient ¶
func (o *ReplaceHTTPErrorRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replace HTTP error rule params
func (*ReplaceHTTPErrorRuleParams) SetIndex ¶
func (o *ReplaceHTTPErrorRuleParams) SetIndex(index int64)
SetIndex adds the index to the replace HTTP error rule params
func (*ReplaceHTTPErrorRuleParams) SetParentName ¶
func (o *ReplaceHTTPErrorRuleParams) SetParentName(parentName *string)
SetParentName adds the parentName to the replace HTTP error rule params
func (*ReplaceHTTPErrorRuleParams) SetParentType ¶
func (o *ReplaceHTTPErrorRuleParams) SetParentType(parentType string)
SetParentType adds the parentType to the replace HTTP error rule params
func (*ReplaceHTTPErrorRuleParams) SetTimeout ¶
func (o *ReplaceHTTPErrorRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replace HTTP error rule params
func (*ReplaceHTTPErrorRuleParams) SetTransactionID ¶
func (o *ReplaceHTTPErrorRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the replace HTTP error rule params
func (*ReplaceHTTPErrorRuleParams) SetVersion ¶
func (o *ReplaceHTTPErrorRuleParams) SetVersion(version *int64)
SetVersion adds the version to the replace HTTP error rule params
func (*ReplaceHTTPErrorRuleParams) WithContext ¶
func (o *ReplaceHTTPErrorRuleParams) WithContext(ctx context.Context) *ReplaceHTTPErrorRuleParams
WithContext adds the context to the replace HTTP error rule params
func (*ReplaceHTTPErrorRuleParams) WithData ¶
func (o *ReplaceHTTPErrorRuleParams) WithData(data *models.HTTPErrorRule) *ReplaceHTTPErrorRuleParams
WithData adds the data to the replace HTTP error rule params
func (*ReplaceHTTPErrorRuleParams) WithDefaults ¶
func (o *ReplaceHTTPErrorRuleParams) WithDefaults() *ReplaceHTTPErrorRuleParams
WithDefaults hydrates default values in the replace HTTP error rule params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceHTTPErrorRuleParams) WithForceReload ¶
func (o *ReplaceHTTPErrorRuleParams) WithForceReload(forceReload *bool) *ReplaceHTTPErrorRuleParams
WithForceReload adds the forceReload to the replace HTTP error rule params
func (*ReplaceHTTPErrorRuleParams) WithHTTPClient ¶
func (o *ReplaceHTTPErrorRuleParams) WithHTTPClient(client *http.Client) *ReplaceHTTPErrorRuleParams
WithHTTPClient adds the HTTPClient to the replace HTTP error rule params
func (*ReplaceHTTPErrorRuleParams) WithIndex ¶
func (o *ReplaceHTTPErrorRuleParams) WithIndex(index int64) *ReplaceHTTPErrorRuleParams
WithIndex adds the index to the replace HTTP error rule params
func (*ReplaceHTTPErrorRuleParams) WithParentName ¶
func (o *ReplaceHTTPErrorRuleParams) WithParentName(parentName *string) *ReplaceHTTPErrorRuleParams
WithParentName adds the parentName to the replace HTTP error rule params
func (*ReplaceHTTPErrorRuleParams) WithParentType ¶
func (o *ReplaceHTTPErrorRuleParams) WithParentType(parentType string) *ReplaceHTTPErrorRuleParams
WithParentType adds the parentType to the replace HTTP error rule params
func (*ReplaceHTTPErrorRuleParams) WithTimeout ¶
func (o *ReplaceHTTPErrorRuleParams) WithTimeout(timeout time.Duration) *ReplaceHTTPErrorRuleParams
WithTimeout adds the timeout to the replace HTTP error rule params
func (*ReplaceHTTPErrorRuleParams) WithTransactionID ¶
func (o *ReplaceHTTPErrorRuleParams) WithTransactionID(transactionID *string) *ReplaceHTTPErrorRuleParams
WithTransactionID adds the transactionID to the replace HTTP error rule params
func (*ReplaceHTTPErrorRuleParams) WithVersion ¶
func (o *ReplaceHTTPErrorRuleParams) WithVersion(version *int64) *ReplaceHTTPErrorRuleParams
WithVersion adds the version to the replace HTTP error rule params
func (*ReplaceHTTPErrorRuleParams) WriteToRequest ¶
func (o *ReplaceHTTPErrorRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplaceHTTPErrorRuleReader ¶
type ReplaceHTTPErrorRuleReader struct {
// contains filtered or unexported fields
}
ReplaceHTTPErrorRuleReader is a Reader for the ReplaceHTTPErrorRule structure.
func (*ReplaceHTTPErrorRuleReader) ReadResponse ¶
func (o *ReplaceHTTPErrorRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_http_error_rule_parameters.go
- create_http_error_rule_responses.go
- delete_http_error_rule_parameters.go
- delete_http_error_rule_responses.go
- get_http_error_rule_parameters.go
- get_http_error_rule_responses.go
- get_http_error_rules_parameters.go
- get_http_error_rules_responses.go
- http_error_rule_client.go
- replace_http_error_rule_parameters.go
- replace_http_error_rule_responses.go