Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateHTTPResponseRule(params *CreateHTTPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateHTTPResponseRuleCreated, *CreateHTTPResponseRuleAccepted, error)
- func (a *Client) DeleteHTTPResponseRule(params *DeleteHTTPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteHTTPResponseRuleAccepted, *DeleteHTTPResponseRuleNoContent, error)
- func (a *Client) GetHTTPResponseRule(params *GetHTTPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetHTTPResponseRuleOK, error)
- func (a *Client) GetHTTPResponseRules(params *GetHTTPResponseRulesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetHTTPResponseRulesOK, error)
- func (a *Client) ReplaceHTTPResponseRule(params *ReplaceHTTPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReplaceHTTPResponseRuleOK, *ReplaceHTTPResponseRuleAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateHTTPResponseRuleAccepted
- func (o *CreateHTTPResponseRuleAccepted) Error() string
- func (o *CreateHTTPResponseRuleAccepted) GetPayload() *models.HTTPResponseRule
- func (o *CreateHTTPResponseRuleAccepted) IsClientError() bool
- func (o *CreateHTTPResponseRuleAccepted) IsCode(code int) bool
- func (o *CreateHTTPResponseRuleAccepted) IsRedirect() bool
- func (o *CreateHTTPResponseRuleAccepted) IsServerError() bool
- func (o *CreateHTTPResponseRuleAccepted) IsSuccess() bool
- func (o *CreateHTTPResponseRuleAccepted) String() string
- type CreateHTTPResponseRuleBadRequest
- func (o *CreateHTTPResponseRuleBadRequest) Error() string
- func (o *CreateHTTPResponseRuleBadRequest) GetPayload() *models.Error
- func (o *CreateHTTPResponseRuleBadRequest) IsClientError() bool
- func (o *CreateHTTPResponseRuleBadRequest) IsCode(code int) bool
- func (o *CreateHTTPResponseRuleBadRequest) IsRedirect() bool
- func (o *CreateHTTPResponseRuleBadRequest) IsServerError() bool
- func (o *CreateHTTPResponseRuleBadRequest) IsSuccess() bool
- func (o *CreateHTTPResponseRuleBadRequest) String() string
- type CreateHTTPResponseRuleConflict
- func (o *CreateHTTPResponseRuleConflict) Error() string
- func (o *CreateHTTPResponseRuleConflict) GetPayload() *models.Error
- func (o *CreateHTTPResponseRuleConflict) IsClientError() bool
- func (o *CreateHTTPResponseRuleConflict) IsCode(code int) bool
- func (o *CreateHTTPResponseRuleConflict) IsRedirect() bool
- func (o *CreateHTTPResponseRuleConflict) IsServerError() bool
- func (o *CreateHTTPResponseRuleConflict) IsSuccess() bool
- func (o *CreateHTTPResponseRuleConflict) String() string
- type CreateHTTPResponseRuleCreated
- func (o *CreateHTTPResponseRuleCreated) Error() string
- func (o *CreateHTTPResponseRuleCreated) GetPayload() *models.HTTPResponseRule
- func (o *CreateHTTPResponseRuleCreated) IsClientError() bool
- func (o *CreateHTTPResponseRuleCreated) IsCode(code int) bool
- func (o *CreateHTTPResponseRuleCreated) IsRedirect() bool
- func (o *CreateHTTPResponseRuleCreated) IsServerError() bool
- func (o *CreateHTTPResponseRuleCreated) IsSuccess() bool
- func (o *CreateHTTPResponseRuleCreated) String() string
- type CreateHTTPResponseRuleDefault
- func (o *CreateHTTPResponseRuleDefault) Code() int
- func (o *CreateHTTPResponseRuleDefault) Error() string
- func (o *CreateHTTPResponseRuleDefault) GetPayload() *models.Error
- func (o *CreateHTTPResponseRuleDefault) IsClientError() bool
- func (o *CreateHTTPResponseRuleDefault) IsCode(code int) bool
- func (o *CreateHTTPResponseRuleDefault) IsRedirect() bool
- func (o *CreateHTTPResponseRuleDefault) IsServerError() bool
- func (o *CreateHTTPResponseRuleDefault) IsSuccess() bool
- func (o *CreateHTTPResponseRuleDefault) String() string
- type CreateHTTPResponseRuleParams
- func NewCreateHTTPResponseRuleParams() *CreateHTTPResponseRuleParams
- func NewCreateHTTPResponseRuleParamsWithContext(ctx context.Context) *CreateHTTPResponseRuleParams
- func NewCreateHTTPResponseRuleParamsWithHTTPClient(client *http.Client) *CreateHTTPResponseRuleParams
- func NewCreateHTTPResponseRuleParamsWithTimeout(timeout time.Duration) *CreateHTTPResponseRuleParams
- func (o *CreateHTTPResponseRuleParams) SetContext(ctx context.Context)
- func (o *CreateHTTPResponseRuleParams) SetData(data *models.HTTPResponseRule)
- func (o *CreateHTTPResponseRuleParams) SetDefaults()
- func (o *CreateHTTPResponseRuleParams) SetForceReload(forceReload *bool)
- func (o *CreateHTTPResponseRuleParams) SetHTTPClient(client *http.Client)
- func (o *CreateHTTPResponseRuleParams) SetParentName(parentName string)
- func (o *CreateHTTPResponseRuleParams) SetParentType(parentType string)
- func (o *CreateHTTPResponseRuleParams) SetTimeout(timeout time.Duration)
- func (o *CreateHTTPResponseRuleParams) SetTransactionID(transactionID *string)
- func (o *CreateHTTPResponseRuleParams) SetVersion(version *int64)
- func (o *CreateHTTPResponseRuleParams) WithContext(ctx context.Context) *CreateHTTPResponseRuleParams
- func (o *CreateHTTPResponseRuleParams) WithData(data *models.HTTPResponseRule) *CreateHTTPResponseRuleParams
- func (o *CreateHTTPResponseRuleParams) WithDefaults() *CreateHTTPResponseRuleParams
- func (o *CreateHTTPResponseRuleParams) WithForceReload(forceReload *bool) *CreateHTTPResponseRuleParams
- func (o *CreateHTTPResponseRuleParams) WithHTTPClient(client *http.Client) *CreateHTTPResponseRuleParams
- func (o *CreateHTTPResponseRuleParams) WithParentName(parentName string) *CreateHTTPResponseRuleParams
- func (o *CreateHTTPResponseRuleParams) WithParentType(parentType string) *CreateHTTPResponseRuleParams
- func (o *CreateHTTPResponseRuleParams) WithTimeout(timeout time.Duration) *CreateHTTPResponseRuleParams
- func (o *CreateHTTPResponseRuleParams) WithTransactionID(transactionID *string) *CreateHTTPResponseRuleParams
- func (o *CreateHTTPResponseRuleParams) WithVersion(version *int64) *CreateHTTPResponseRuleParams
- func (o *CreateHTTPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateHTTPResponseRuleReader
- type DeleteHTTPResponseRuleAccepted
- func (o *DeleteHTTPResponseRuleAccepted) Error() string
- func (o *DeleteHTTPResponseRuleAccepted) IsClientError() bool
- func (o *DeleteHTTPResponseRuleAccepted) IsCode(code int) bool
- func (o *DeleteHTTPResponseRuleAccepted) IsRedirect() bool
- func (o *DeleteHTTPResponseRuleAccepted) IsServerError() bool
- func (o *DeleteHTTPResponseRuleAccepted) IsSuccess() bool
- func (o *DeleteHTTPResponseRuleAccepted) String() string
- type DeleteHTTPResponseRuleDefault
- func (o *DeleteHTTPResponseRuleDefault) Code() int
- func (o *DeleteHTTPResponseRuleDefault) Error() string
- func (o *DeleteHTTPResponseRuleDefault) GetPayload() *models.Error
- func (o *DeleteHTTPResponseRuleDefault) IsClientError() bool
- func (o *DeleteHTTPResponseRuleDefault) IsCode(code int) bool
- func (o *DeleteHTTPResponseRuleDefault) IsRedirect() bool
- func (o *DeleteHTTPResponseRuleDefault) IsServerError() bool
- func (o *DeleteHTTPResponseRuleDefault) IsSuccess() bool
- func (o *DeleteHTTPResponseRuleDefault) String() string
- type DeleteHTTPResponseRuleNoContent
- func (o *DeleteHTTPResponseRuleNoContent) Error() string
- func (o *DeleteHTTPResponseRuleNoContent) IsClientError() bool
- func (o *DeleteHTTPResponseRuleNoContent) IsCode(code int) bool
- func (o *DeleteHTTPResponseRuleNoContent) IsRedirect() bool
- func (o *DeleteHTTPResponseRuleNoContent) IsServerError() bool
- func (o *DeleteHTTPResponseRuleNoContent) IsSuccess() bool
- func (o *DeleteHTTPResponseRuleNoContent) String() string
- type DeleteHTTPResponseRuleNotFound
- func (o *DeleteHTTPResponseRuleNotFound) Error() string
- func (o *DeleteHTTPResponseRuleNotFound) GetPayload() *models.Error
- func (o *DeleteHTTPResponseRuleNotFound) IsClientError() bool
- func (o *DeleteHTTPResponseRuleNotFound) IsCode(code int) bool
- func (o *DeleteHTTPResponseRuleNotFound) IsRedirect() bool
- func (o *DeleteHTTPResponseRuleNotFound) IsServerError() bool
- func (o *DeleteHTTPResponseRuleNotFound) IsSuccess() bool
- func (o *DeleteHTTPResponseRuleNotFound) String() string
- type DeleteHTTPResponseRuleParams
- func NewDeleteHTTPResponseRuleParams() *DeleteHTTPResponseRuleParams
- func NewDeleteHTTPResponseRuleParamsWithContext(ctx context.Context) *DeleteHTTPResponseRuleParams
- func NewDeleteHTTPResponseRuleParamsWithHTTPClient(client *http.Client) *DeleteHTTPResponseRuleParams
- func NewDeleteHTTPResponseRuleParamsWithTimeout(timeout time.Duration) *DeleteHTTPResponseRuleParams
- func (o *DeleteHTTPResponseRuleParams) SetContext(ctx context.Context)
- func (o *DeleteHTTPResponseRuleParams) SetDefaults()
- func (o *DeleteHTTPResponseRuleParams) SetForceReload(forceReload *bool)
- func (o *DeleteHTTPResponseRuleParams) SetHTTPClient(client *http.Client)
- func (o *DeleteHTTPResponseRuleParams) SetIndex(index int64)
- func (o *DeleteHTTPResponseRuleParams) SetParentName(parentName string)
- func (o *DeleteHTTPResponseRuleParams) SetParentType(parentType string)
- func (o *DeleteHTTPResponseRuleParams) SetTimeout(timeout time.Duration)
- func (o *DeleteHTTPResponseRuleParams) SetTransactionID(transactionID *string)
- func (o *DeleteHTTPResponseRuleParams) SetVersion(version *int64)
- func (o *DeleteHTTPResponseRuleParams) WithContext(ctx context.Context) *DeleteHTTPResponseRuleParams
- func (o *DeleteHTTPResponseRuleParams) WithDefaults() *DeleteHTTPResponseRuleParams
- func (o *DeleteHTTPResponseRuleParams) WithForceReload(forceReload *bool) *DeleteHTTPResponseRuleParams
- func (o *DeleteHTTPResponseRuleParams) WithHTTPClient(client *http.Client) *DeleteHTTPResponseRuleParams
- func (o *DeleteHTTPResponseRuleParams) WithIndex(index int64) *DeleteHTTPResponseRuleParams
- func (o *DeleteHTTPResponseRuleParams) WithParentName(parentName string) *DeleteHTTPResponseRuleParams
- func (o *DeleteHTTPResponseRuleParams) WithParentType(parentType string) *DeleteHTTPResponseRuleParams
- func (o *DeleteHTTPResponseRuleParams) WithTimeout(timeout time.Duration) *DeleteHTTPResponseRuleParams
- func (o *DeleteHTTPResponseRuleParams) WithTransactionID(transactionID *string) *DeleteHTTPResponseRuleParams
- func (o *DeleteHTTPResponseRuleParams) WithVersion(version *int64) *DeleteHTTPResponseRuleParams
- func (o *DeleteHTTPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteHTTPResponseRuleReader
- type GetHTTPResponseRuleDefault
- func (o *GetHTTPResponseRuleDefault) Code() int
- func (o *GetHTTPResponseRuleDefault) Error() string
- func (o *GetHTTPResponseRuleDefault) GetPayload() *models.Error
- func (o *GetHTTPResponseRuleDefault) IsClientError() bool
- func (o *GetHTTPResponseRuleDefault) IsCode(code int) bool
- func (o *GetHTTPResponseRuleDefault) IsRedirect() bool
- func (o *GetHTTPResponseRuleDefault) IsServerError() bool
- func (o *GetHTTPResponseRuleDefault) IsSuccess() bool
- func (o *GetHTTPResponseRuleDefault) String() string
- type GetHTTPResponseRuleNotFound
- func (o *GetHTTPResponseRuleNotFound) Error() string
- func (o *GetHTTPResponseRuleNotFound) GetPayload() *models.Error
- func (o *GetHTTPResponseRuleNotFound) IsClientError() bool
- func (o *GetHTTPResponseRuleNotFound) IsCode(code int) bool
- func (o *GetHTTPResponseRuleNotFound) IsRedirect() bool
- func (o *GetHTTPResponseRuleNotFound) IsServerError() bool
- func (o *GetHTTPResponseRuleNotFound) IsSuccess() bool
- func (o *GetHTTPResponseRuleNotFound) String() string
- type GetHTTPResponseRuleOK
- func (o *GetHTTPResponseRuleOK) Error() string
- func (o *GetHTTPResponseRuleOK) GetPayload() *GetHTTPResponseRuleOKBody
- func (o *GetHTTPResponseRuleOK) IsClientError() bool
- func (o *GetHTTPResponseRuleOK) IsCode(code int) bool
- func (o *GetHTTPResponseRuleOK) IsRedirect() bool
- func (o *GetHTTPResponseRuleOK) IsServerError() bool
- func (o *GetHTTPResponseRuleOK) IsSuccess() bool
- func (o *GetHTTPResponseRuleOK) String() string
- type GetHTTPResponseRuleOKBody
- func (o *GetHTTPResponseRuleOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetHTTPResponseRuleOKBody) MarshalBinary() ([]byte, error)
- func (o *GetHTTPResponseRuleOKBody) UnmarshalBinary(b []byte) error
- func (o *GetHTTPResponseRuleOKBody) Validate(formats strfmt.Registry) error
- type GetHTTPResponseRuleParams
- func NewGetHTTPResponseRuleParams() *GetHTTPResponseRuleParams
- func NewGetHTTPResponseRuleParamsWithContext(ctx context.Context) *GetHTTPResponseRuleParams
- func NewGetHTTPResponseRuleParamsWithHTTPClient(client *http.Client) *GetHTTPResponseRuleParams
- func NewGetHTTPResponseRuleParamsWithTimeout(timeout time.Duration) *GetHTTPResponseRuleParams
- func (o *GetHTTPResponseRuleParams) SetContext(ctx context.Context)
- func (o *GetHTTPResponseRuleParams) SetDefaults()
- func (o *GetHTTPResponseRuleParams) SetHTTPClient(client *http.Client)
- func (o *GetHTTPResponseRuleParams) SetIndex(index int64)
- func (o *GetHTTPResponseRuleParams) SetParentName(parentName string)
- func (o *GetHTTPResponseRuleParams) SetParentType(parentType string)
- func (o *GetHTTPResponseRuleParams) SetTimeout(timeout time.Duration)
- func (o *GetHTTPResponseRuleParams) SetTransactionID(transactionID *string)
- func (o *GetHTTPResponseRuleParams) WithContext(ctx context.Context) *GetHTTPResponseRuleParams
- func (o *GetHTTPResponseRuleParams) WithDefaults() *GetHTTPResponseRuleParams
- func (o *GetHTTPResponseRuleParams) WithHTTPClient(client *http.Client) *GetHTTPResponseRuleParams
- func (o *GetHTTPResponseRuleParams) WithIndex(index int64) *GetHTTPResponseRuleParams
- func (o *GetHTTPResponseRuleParams) WithParentName(parentName string) *GetHTTPResponseRuleParams
- func (o *GetHTTPResponseRuleParams) WithParentType(parentType string) *GetHTTPResponseRuleParams
- func (o *GetHTTPResponseRuleParams) WithTimeout(timeout time.Duration) *GetHTTPResponseRuleParams
- func (o *GetHTTPResponseRuleParams) WithTransactionID(transactionID *string) *GetHTTPResponseRuleParams
- func (o *GetHTTPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHTTPResponseRuleReader
- type GetHTTPResponseRulesDefault
- func (o *GetHTTPResponseRulesDefault) Code() int
- func (o *GetHTTPResponseRulesDefault) Error() string
- func (o *GetHTTPResponseRulesDefault) GetPayload() *models.Error
- func (o *GetHTTPResponseRulesDefault) IsClientError() bool
- func (o *GetHTTPResponseRulesDefault) IsCode(code int) bool
- func (o *GetHTTPResponseRulesDefault) IsRedirect() bool
- func (o *GetHTTPResponseRulesDefault) IsServerError() bool
- func (o *GetHTTPResponseRulesDefault) IsSuccess() bool
- func (o *GetHTTPResponseRulesDefault) String() string
- type GetHTTPResponseRulesOK
- func (o *GetHTTPResponseRulesOK) Error() string
- func (o *GetHTTPResponseRulesOK) GetPayload() *GetHTTPResponseRulesOKBody
- func (o *GetHTTPResponseRulesOK) IsClientError() bool
- func (o *GetHTTPResponseRulesOK) IsCode(code int) bool
- func (o *GetHTTPResponseRulesOK) IsRedirect() bool
- func (o *GetHTTPResponseRulesOK) IsServerError() bool
- func (o *GetHTTPResponseRulesOK) IsSuccess() bool
- func (o *GetHTTPResponseRulesOK) String() string
- type GetHTTPResponseRulesOKBody
- func (o *GetHTTPResponseRulesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetHTTPResponseRulesOKBody) MarshalBinary() ([]byte, error)
- func (o *GetHTTPResponseRulesOKBody) UnmarshalBinary(b []byte) error
- func (o *GetHTTPResponseRulesOKBody) Validate(formats strfmt.Registry) error
- type GetHTTPResponseRulesParams
- func NewGetHTTPResponseRulesParams() *GetHTTPResponseRulesParams
- func NewGetHTTPResponseRulesParamsWithContext(ctx context.Context) *GetHTTPResponseRulesParams
- func NewGetHTTPResponseRulesParamsWithHTTPClient(client *http.Client) *GetHTTPResponseRulesParams
- func NewGetHTTPResponseRulesParamsWithTimeout(timeout time.Duration) *GetHTTPResponseRulesParams
- func (o *GetHTTPResponseRulesParams) SetContext(ctx context.Context)
- func (o *GetHTTPResponseRulesParams) SetDefaults()
- func (o *GetHTTPResponseRulesParams) SetHTTPClient(client *http.Client)
- func (o *GetHTTPResponseRulesParams) SetParentName(parentName string)
- func (o *GetHTTPResponseRulesParams) SetParentType(parentType string)
- func (o *GetHTTPResponseRulesParams) SetTimeout(timeout time.Duration)
- func (o *GetHTTPResponseRulesParams) SetTransactionID(transactionID *string)
- func (o *GetHTTPResponseRulesParams) WithContext(ctx context.Context) *GetHTTPResponseRulesParams
- func (o *GetHTTPResponseRulesParams) WithDefaults() *GetHTTPResponseRulesParams
- func (o *GetHTTPResponseRulesParams) WithHTTPClient(client *http.Client) *GetHTTPResponseRulesParams
- func (o *GetHTTPResponseRulesParams) WithParentName(parentName string) *GetHTTPResponseRulesParams
- func (o *GetHTTPResponseRulesParams) WithParentType(parentType string) *GetHTTPResponseRulesParams
- func (o *GetHTTPResponseRulesParams) WithTimeout(timeout time.Duration) *GetHTTPResponseRulesParams
- func (o *GetHTTPResponseRulesParams) WithTransactionID(transactionID *string) *GetHTTPResponseRulesParams
- func (o *GetHTTPResponseRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetHTTPResponseRulesReader
- type ReplaceHTTPResponseRuleAccepted
- func (o *ReplaceHTTPResponseRuleAccepted) Error() string
- func (o *ReplaceHTTPResponseRuleAccepted) GetPayload() *models.HTTPResponseRule
- func (o *ReplaceHTTPResponseRuleAccepted) IsClientError() bool
- func (o *ReplaceHTTPResponseRuleAccepted) IsCode(code int) bool
- func (o *ReplaceHTTPResponseRuleAccepted) IsRedirect() bool
- func (o *ReplaceHTTPResponseRuleAccepted) IsServerError() bool
- func (o *ReplaceHTTPResponseRuleAccepted) IsSuccess() bool
- func (o *ReplaceHTTPResponseRuleAccepted) String() string
- type ReplaceHTTPResponseRuleBadRequest
- func (o *ReplaceHTTPResponseRuleBadRequest) Error() string
- func (o *ReplaceHTTPResponseRuleBadRequest) GetPayload() *models.Error
- func (o *ReplaceHTTPResponseRuleBadRequest) IsClientError() bool
- func (o *ReplaceHTTPResponseRuleBadRequest) IsCode(code int) bool
- func (o *ReplaceHTTPResponseRuleBadRequest) IsRedirect() bool
- func (o *ReplaceHTTPResponseRuleBadRequest) IsServerError() bool
- func (o *ReplaceHTTPResponseRuleBadRequest) IsSuccess() bool
- func (o *ReplaceHTTPResponseRuleBadRequest) String() string
- type ReplaceHTTPResponseRuleDefault
- func (o *ReplaceHTTPResponseRuleDefault) Code() int
- func (o *ReplaceHTTPResponseRuleDefault) Error() string
- func (o *ReplaceHTTPResponseRuleDefault) GetPayload() *models.Error
- func (o *ReplaceHTTPResponseRuleDefault) IsClientError() bool
- func (o *ReplaceHTTPResponseRuleDefault) IsCode(code int) bool
- func (o *ReplaceHTTPResponseRuleDefault) IsRedirect() bool
- func (o *ReplaceHTTPResponseRuleDefault) IsServerError() bool
- func (o *ReplaceHTTPResponseRuleDefault) IsSuccess() bool
- func (o *ReplaceHTTPResponseRuleDefault) String() string
- type ReplaceHTTPResponseRuleNotFound
- func (o *ReplaceHTTPResponseRuleNotFound) Error() string
- func (o *ReplaceHTTPResponseRuleNotFound) GetPayload() *models.Error
- func (o *ReplaceHTTPResponseRuleNotFound) IsClientError() bool
- func (o *ReplaceHTTPResponseRuleNotFound) IsCode(code int) bool
- func (o *ReplaceHTTPResponseRuleNotFound) IsRedirect() bool
- func (o *ReplaceHTTPResponseRuleNotFound) IsServerError() bool
- func (o *ReplaceHTTPResponseRuleNotFound) IsSuccess() bool
- func (o *ReplaceHTTPResponseRuleNotFound) String() string
- type ReplaceHTTPResponseRuleOK
- func (o *ReplaceHTTPResponseRuleOK) Error() string
- func (o *ReplaceHTTPResponseRuleOK) GetPayload() *models.HTTPResponseRule
- func (o *ReplaceHTTPResponseRuleOK) IsClientError() bool
- func (o *ReplaceHTTPResponseRuleOK) IsCode(code int) bool
- func (o *ReplaceHTTPResponseRuleOK) IsRedirect() bool
- func (o *ReplaceHTTPResponseRuleOK) IsServerError() bool
- func (o *ReplaceHTTPResponseRuleOK) IsSuccess() bool
- func (o *ReplaceHTTPResponseRuleOK) String() string
- type ReplaceHTTPResponseRuleParams
- func NewReplaceHTTPResponseRuleParams() *ReplaceHTTPResponseRuleParams
- func NewReplaceHTTPResponseRuleParamsWithContext(ctx context.Context) *ReplaceHTTPResponseRuleParams
- func NewReplaceHTTPResponseRuleParamsWithHTTPClient(client *http.Client) *ReplaceHTTPResponseRuleParams
- func NewReplaceHTTPResponseRuleParamsWithTimeout(timeout time.Duration) *ReplaceHTTPResponseRuleParams
- func (o *ReplaceHTTPResponseRuleParams) SetContext(ctx context.Context)
- func (o *ReplaceHTTPResponseRuleParams) SetData(data *models.HTTPResponseRule)
- func (o *ReplaceHTTPResponseRuleParams) SetDefaults()
- func (o *ReplaceHTTPResponseRuleParams) SetForceReload(forceReload *bool)
- func (o *ReplaceHTTPResponseRuleParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceHTTPResponseRuleParams) SetIndex(index int64)
- func (o *ReplaceHTTPResponseRuleParams) SetParentName(parentName string)
- func (o *ReplaceHTTPResponseRuleParams) SetParentType(parentType string)
- func (o *ReplaceHTTPResponseRuleParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceHTTPResponseRuleParams) SetTransactionID(transactionID *string)
- func (o *ReplaceHTTPResponseRuleParams) SetVersion(version *int64)
- func (o *ReplaceHTTPResponseRuleParams) WithContext(ctx context.Context) *ReplaceHTTPResponseRuleParams
- func (o *ReplaceHTTPResponseRuleParams) WithData(data *models.HTTPResponseRule) *ReplaceHTTPResponseRuleParams
- func (o *ReplaceHTTPResponseRuleParams) WithDefaults() *ReplaceHTTPResponseRuleParams
- func (o *ReplaceHTTPResponseRuleParams) WithForceReload(forceReload *bool) *ReplaceHTTPResponseRuleParams
- func (o *ReplaceHTTPResponseRuleParams) WithHTTPClient(client *http.Client) *ReplaceHTTPResponseRuleParams
- func (o *ReplaceHTTPResponseRuleParams) WithIndex(index int64) *ReplaceHTTPResponseRuleParams
- func (o *ReplaceHTTPResponseRuleParams) WithParentName(parentName string) *ReplaceHTTPResponseRuleParams
- func (o *ReplaceHTTPResponseRuleParams) WithParentType(parentType string) *ReplaceHTTPResponseRuleParams
- func (o *ReplaceHTTPResponseRuleParams) WithTimeout(timeout time.Duration) *ReplaceHTTPResponseRuleParams
- func (o *ReplaceHTTPResponseRuleParams) WithTransactionID(transactionID *string) *ReplaceHTTPResponseRuleParams
- func (o *ReplaceHTTPResponseRuleParams) WithVersion(version *int64) *ReplaceHTTPResponseRuleParams
- func (o *ReplaceHTTPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceHTTPResponseRuleReader
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 response rule API
func (*Client) CreateHTTPResponseRule ¶
func (a *Client) CreateHTTPResponseRule(params *CreateHTTPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateHTTPResponseRuleCreated, *CreateHTTPResponseRuleAccepted, error)
CreateHTTPResponseRule adds a new HTTP response rule
Adds a new HTTP Response Rule of the specified type in the specified parent.
func (*Client) DeleteHTTPResponseRule ¶
func (a *Client) DeleteHTTPResponseRule(params *DeleteHTTPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteHTTPResponseRuleAccepted, *DeleteHTTPResponseRuleNoContent, error)
DeleteHTTPResponseRule deletes a HTTP response rule
Deletes a HTTP Response Rule configuration by it's index from the specified parent.
func (*Client) GetHTTPResponseRule ¶
func (a *Client) GetHTTPResponseRule(params *GetHTTPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHTTPResponseRuleOK, error)
GetHTTPResponseRule returns one HTTP response rule
Returns one HTTP Response Rule configuration by it's index in the specified parent.
func (*Client) GetHTTPResponseRules ¶
func (a *Client) GetHTTPResponseRules(params *GetHTTPResponseRulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHTTPResponseRulesOK, error)
GetHTTPResponseRules returns an array of all HTTP response rules
Returns all HTTP Response Rules that are configured in specified parent.
func (*Client) ReplaceHTTPResponseRule ¶
func (a *Client) ReplaceHTTPResponseRule(params *ReplaceHTTPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceHTTPResponseRuleOK, *ReplaceHTTPResponseRuleAccepted, error)
ReplaceHTTPResponseRule replaces a HTTP response rule
Replaces a HTTP Response Rule configuration by it's index in the specified parent.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateHTTPResponseRule(params *CreateHTTPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateHTTPResponseRuleCreated, *CreateHTTPResponseRuleAccepted, error) DeleteHTTPResponseRule(params *DeleteHTTPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteHTTPResponseRuleAccepted, *DeleteHTTPResponseRuleNoContent, error) GetHTTPResponseRule(params *GetHTTPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHTTPResponseRuleOK, error) GetHTTPResponseRules(params *GetHTTPResponseRulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHTTPResponseRulesOK, error) ReplaceHTTPResponseRule(params *ReplaceHTTPResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceHTTPResponseRuleOK, *ReplaceHTTPResponseRuleAccepted, 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 response rule API client.
type CreateHTTPResponseRuleAccepted ¶
type CreateHTTPResponseRuleAccepted struct { /* ID of the requested reload */ ReloadID string Payload *models.HTTPResponseRule }
CreateHTTPResponseRuleAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewCreateHTTPResponseRuleAccepted ¶
func NewCreateHTTPResponseRuleAccepted() *CreateHTTPResponseRuleAccepted
NewCreateHTTPResponseRuleAccepted creates a CreateHTTPResponseRuleAccepted with default headers values
func (*CreateHTTPResponseRuleAccepted) Error ¶
func (o *CreateHTTPResponseRuleAccepted) Error() string
func (*CreateHTTPResponseRuleAccepted) GetPayload ¶
func (o *CreateHTTPResponseRuleAccepted) GetPayload() *models.HTTPResponseRule
func (*CreateHTTPResponseRuleAccepted) IsClientError ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleAccepted) IsClientError() bool
IsClientError returns true when this create Http response rule accepted response has a 4xx status code
func (*CreateHTTPResponseRuleAccepted) IsCode ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleAccepted) IsCode(code int) bool
IsCode returns true when this create Http response rule accepted response a status code equal to that given
func (*CreateHTTPResponseRuleAccepted) IsRedirect ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleAccepted) IsRedirect() bool
IsRedirect returns true when this create Http response rule accepted response has a 3xx status code
func (*CreateHTTPResponseRuleAccepted) IsServerError ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleAccepted) IsServerError() bool
IsServerError returns true when this create Http response rule accepted response has a 5xx status code
func (*CreateHTTPResponseRuleAccepted) IsSuccess ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleAccepted) IsSuccess() bool
IsSuccess returns true when this create Http response rule accepted response has a 2xx status code
func (*CreateHTTPResponseRuleAccepted) String ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleAccepted) String() string
type CreateHTTPResponseRuleBadRequest ¶
type CreateHTTPResponseRuleBadRequest struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateHTTPResponseRuleBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateHTTPResponseRuleBadRequest ¶
func NewCreateHTTPResponseRuleBadRequest() *CreateHTTPResponseRuleBadRequest
NewCreateHTTPResponseRuleBadRequest creates a CreateHTTPResponseRuleBadRequest with default headers values
func (*CreateHTTPResponseRuleBadRequest) Error ¶
func (o *CreateHTTPResponseRuleBadRequest) Error() string
func (*CreateHTTPResponseRuleBadRequest) GetPayload ¶
func (o *CreateHTTPResponseRuleBadRequest) GetPayload() *models.Error
func (*CreateHTTPResponseRuleBadRequest) IsClientError ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleBadRequest) IsClientError() bool
IsClientError returns true when this create Http response rule bad request response has a 4xx status code
func (*CreateHTTPResponseRuleBadRequest) IsCode ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleBadRequest) IsCode(code int) bool
IsCode returns true when this create Http response rule bad request response a status code equal to that given
func (*CreateHTTPResponseRuleBadRequest) IsRedirect ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleBadRequest) IsRedirect() bool
IsRedirect returns true when this create Http response rule bad request response has a 3xx status code
func (*CreateHTTPResponseRuleBadRequest) IsServerError ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleBadRequest) IsServerError() bool
IsServerError returns true when this create Http response rule bad request response has a 5xx status code
func (*CreateHTTPResponseRuleBadRequest) IsSuccess ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleBadRequest) IsSuccess() bool
IsSuccess returns true when this create Http response rule bad request response has a 2xx status code
func (*CreateHTTPResponseRuleBadRequest) String ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleBadRequest) String() string
type CreateHTTPResponseRuleConflict ¶
type CreateHTTPResponseRuleConflict struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateHTTPResponseRuleConflict describes a response with status code 409, with default header values.
The specified resource already exists
func NewCreateHTTPResponseRuleConflict ¶
func NewCreateHTTPResponseRuleConflict() *CreateHTTPResponseRuleConflict
NewCreateHTTPResponseRuleConflict creates a CreateHTTPResponseRuleConflict with default headers values
func (*CreateHTTPResponseRuleConflict) Error ¶
func (o *CreateHTTPResponseRuleConflict) Error() string
func (*CreateHTTPResponseRuleConflict) GetPayload ¶
func (o *CreateHTTPResponseRuleConflict) GetPayload() *models.Error
func (*CreateHTTPResponseRuleConflict) IsClientError ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleConflict) IsClientError() bool
IsClientError returns true when this create Http response rule conflict response has a 4xx status code
func (*CreateHTTPResponseRuleConflict) IsCode ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleConflict) IsCode(code int) bool
IsCode returns true when this create Http response rule conflict response a status code equal to that given
func (*CreateHTTPResponseRuleConflict) IsRedirect ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleConflict) IsRedirect() bool
IsRedirect returns true when this create Http response rule conflict response has a 3xx status code
func (*CreateHTTPResponseRuleConflict) IsServerError ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleConflict) IsServerError() bool
IsServerError returns true when this create Http response rule conflict response has a 5xx status code
func (*CreateHTTPResponseRuleConflict) IsSuccess ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleConflict) IsSuccess() bool
IsSuccess returns true when this create Http response rule conflict response has a 2xx status code
func (*CreateHTTPResponseRuleConflict) String ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleConflict) String() string
type CreateHTTPResponseRuleCreated ¶
type CreateHTTPResponseRuleCreated struct {
Payload *models.HTTPResponseRule
}
CreateHTTPResponseRuleCreated describes a response with status code 201, with default header values.
HTTP Response Rule created
func NewCreateHTTPResponseRuleCreated ¶
func NewCreateHTTPResponseRuleCreated() *CreateHTTPResponseRuleCreated
NewCreateHTTPResponseRuleCreated creates a CreateHTTPResponseRuleCreated with default headers values
func (*CreateHTTPResponseRuleCreated) Error ¶
func (o *CreateHTTPResponseRuleCreated) Error() string
func (*CreateHTTPResponseRuleCreated) GetPayload ¶
func (o *CreateHTTPResponseRuleCreated) GetPayload() *models.HTTPResponseRule
func (*CreateHTTPResponseRuleCreated) IsClientError ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleCreated) IsClientError() bool
IsClientError returns true when this create Http response rule created response has a 4xx status code
func (*CreateHTTPResponseRuleCreated) IsCode ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleCreated) IsCode(code int) bool
IsCode returns true when this create Http response rule created response a status code equal to that given
func (*CreateHTTPResponseRuleCreated) IsRedirect ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleCreated) IsRedirect() bool
IsRedirect returns true when this create Http response rule created response has a 3xx status code
func (*CreateHTTPResponseRuleCreated) IsServerError ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleCreated) IsServerError() bool
IsServerError returns true when this create Http response rule created response has a 5xx status code
func (*CreateHTTPResponseRuleCreated) IsSuccess ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleCreated) IsSuccess() bool
IsSuccess returns true when this create Http response rule created response has a 2xx status code
func (*CreateHTTPResponseRuleCreated) String ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleCreated) String() string
type CreateHTTPResponseRuleDefault ¶
type CreateHTTPResponseRuleDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
CreateHTTPResponseRuleDefault describes a response with status code -1, with default header values.
General Error
func NewCreateHTTPResponseRuleDefault ¶
func NewCreateHTTPResponseRuleDefault(code int) *CreateHTTPResponseRuleDefault
NewCreateHTTPResponseRuleDefault creates a CreateHTTPResponseRuleDefault with default headers values
func (*CreateHTTPResponseRuleDefault) Code ¶
func (o *CreateHTTPResponseRuleDefault) Code() int
Code gets the status code for the create HTTP response rule default response
func (*CreateHTTPResponseRuleDefault) Error ¶
func (o *CreateHTTPResponseRuleDefault) Error() string
func (*CreateHTTPResponseRuleDefault) GetPayload ¶
func (o *CreateHTTPResponseRuleDefault) GetPayload() *models.Error
func (*CreateHTTPResponseRuleDefault) IsClientError ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleDefault) IsClientError() bool
IsClientError returns true when this create HTTP response rule default response has a 4xx status code
func (*CreateHTTPResponseRuleDefault) IsCode ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleDefault) IsCode(code int) bool
IsCode returns true when this create HTTP response rule default response a status code equal to that given
func (*CreateHTTPResponseRuleDefault) IsRedirect ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleDefault) IsRedirect() bool
IsRedirect returns true when this create HTTP response rule default response has a 3xx status code
func (*CreateHTTPResponseRuleDefault) IsServerError ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleDefault) IsServerError() bool
IsServerError returns true when this create HTTP response rule default response has a 5xx status code
func (*CreateHTTPResponseRuleDefault) IsSuccess ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleDefault) IsSuccess() bool
IsSuccess returns true when this create HTTP response rule default response has a 2xx status code
func (*CreateHTTPResponseRuleDefault) String ¶ added in v1.1.0
func (o *CreateHTTPResponseRuleDefault) String() string
type CreateHTTPResponseRuleParams ¶
type CreateHTTPResponseRuleParams struct { // Data. Data *models.HTTPResponseRule /* 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 }
CreateHTTPResponseRuleParams contains all the parameters to send to the API endpoint
for the create HTTP response rule operation. Typically these are written to a http.Request.
func NewCreateHTTPResponseRuleParams ¶
func NewCreateHTTPResponseRuleParams() *CreateHTTPResponseRuleParams
NewCreateHTTPResponseRuleParams creates a new CreateHTTPResponseRuleParams 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 NewCreateHTTPResponseRuleParamsWithContext ¶
func NewCreateHTTPResponseRuleParamsWithContext(ctx context.Context) *CreateHTTPResponseRuleParams
NewCreateHTTPResponseRuleParamsWithContext creates a new CreateHTTPResponseRuleParams object with the ability to set a context for a request.
func NewCreateHTTPResponseRuleParamsWithHTTPClient ¶
func NewCreateHTTPResponseRuleParamsWithHTTPClient(client *http.Client) *CreateHTTPResponseRuleParams
NewCreateHTTPResponseRuleParamsWithHTTPClient creates a new CreateHTTPResponseRuleParams object with the ability to set a custom HTTPClient for a request.
func NewCreateHTTPResponseRuleParamsWithTimeout ¶
func NewCreateHTTPResponseRuleParamsWithTimeout(timeout time.Duration) *CreateHTTPResponseRuleParams
NewCreateHTTPResponseRuleParamsWithTimeout creates a new CreateHTTPResponseRuleParams object with the ability to set a timeout on a request.
func (*CreateHTTPResponseRuleParams) SetContext ¶
func (o *CreateHTTPResponseRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) SetData ¶
func (o *CreateHTTPResponseRuleParams) SetData(data *models.HTTPResponseRule)
SetData adds the data to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) SetDefaults ¶
func (o *CreateHTTPResponseRuleParams) SetDefaults()
SetDefaults hydrates default values in the create HTTP response rule params (not the query body).
All values with no default are reset to their zero value.
func (*CreateHTTPResponseRuleParams) SetForceReload ¶
func (o *CreateHTTPResponseRuleParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) SetHTTPClient ¶
func (o *CreateHTTPResponseRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) SetParentName ¶
func (o *CreateHTTPResponseRuleParams) SetParentName(parentName string)
SetParentName adds the parentName to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) SetParentType ¶
func (o *CreateHTTPResponseRuleParams) SetParentType(parentType string)
SetParentType adds the parentType to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) SetTimeout ¶
func (o *CreateHTTPResponseRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) SetTransactionID ¶
func (o *CreateHTTPResponseRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) SetVersion ¶
func (o *CreateHTTPResponseRuleParams) SetVersion(version *int64)
SetVersion adds the version to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) WithContext ¶
func (o *CreateHTTPResponseRuleParams) WithContext(ctx context.Context) *CreateHTTPResponseRuleParams
WithContext adds the context to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) WithData ¶
func (o *CreateHTTPResponseRuleParams) WithData(data *models.HTTPResponseRule) *CreateHTTPResponseRuleParams
WithData adds the data to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) WithDefaults ¶
func (o *CreateHTTPResponseRuleParams) WithDefaults() *CreateHTTPResponseRuleParams
WithDefaults hydrates default values in the create HTTP response rule params (not the query body).
All values with no default are reset to their zero value.
func (*CreateHTTPResponseRuleParams) WithForceReload ¶
func (o *CreateHTTPResponseRuleParams) WithForceReload(forceReload *bool) *CreateHTTPResponseRuleParams
WithForceReload adds the forceReload to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) WithHTTPClient ¶
func (o *CreateHTTPResponseRuleParams) WithHTTPClient(client *http.Client) *CreateHTTPResponseRuleParams
WithHTTPClient adds the HTTPClient to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) WithParentName ¶
func (o *CreateHTTPResponseRuleParams) WithParentName(parentName string) *CreateHTTPResponseRuleParams
WithParentName adds the parentName to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) WithParentType ¶
func (o *CreateHTTPResponseRuleParams) WithParentType(parentType string) *CreateHTTPResponseRuleParams
WithParentType adds the parentType to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) WithTimeout ¶
func (o *CreateHTTPResponseRuleParams) WithTimeout(timeout time.Duration) *CreateHTTPResponseRuleParams
WithTimeout adds the timeout to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) WithTransactionID ¶
func (o *CreateHTTPResponseRuleParams) WithTransactionID(transactionID *string) *CreateHTTPResponseRuleParams
WithTransactionID adds the transactionID to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) WithVersion ¶
func (o *CreateHTTPResponseRuleParams) WithVersion(version *int64) *CreateHTTPResponseRuleParams
WithVersion adds the version to the create HTTP response rule params
func (*CreateHTTPResponseRuleParams) WriteToRequest ¶
func (o *CreateHTTPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateHTTPResponseRuleReader ¶
type CreateHTTPResponseRuleReader struct {
// contains filtered or unexported fields
}
CreateHTTPResponseRuleReader is a Reader for the CreateHTTPResponseRule structure.
func (*CreateHTTPResponseRuleReader) ReadResponse ¶
func (o *CreateHTTPResponseRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteHTTPResponseRuleAccepted ¶
type DeleteHTTPResponseRuleAccepted struct { /* ID of the requested reload */ ReloadID string }
DeleteHTTPResponseRuleAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewDeleteHTTPResponseRuleAccepted ¶
func NewDeleteHTTPResponseRuleAccepted() *DeleteHTTPResponseRuleAccepted
NewDeleteHTTPResponseRuleAccepted creates a DeleteHTTPResponseRuleAccepted with default headers values
func (*DeleteHTTPResponseRuleAccepted) Error ¶
func (o *DeleteHTTPResponseRuleAccepted) Error() string
func (*DeleteHTTPResponseRuleAccepted) IsClientError ¶ added in v1.1.0
func (o *DeleteHTTPResponseRuleAccepted) IsClientError() bool
IsClientError returns true when this delete Http response rule accepted response has a 4xx status code
func (*DeleteHTTPResponseRuleAccepted) IsCode ¶ added in v1.1.0
func (o *DeleteHTTPResponseRuleAccepted) IsCode(code int) bool
IsCode returns true when this delete Http response rule accepted response a status code equal to that given
func (*DeleteHTTPResponseRuleAccepted) IsRedirect ¶ added in v1.1.0
func (o *DeleteHTTPResponseRuleAccepted) IsRedirect() bool
IsRedirect returns true when this delete Http response rule accepted response has a 3xx status code
func (*DeleteHTTPResponseRuleAccepted) IsServerError ¶ added in v1.1.0
func (o *DeleteHTTPResponseRuleAccepted) IsServerError() bool
IsServerError returns true when this delete Http response rule accepted response has a 5xx status code
func (*DeleteHTTPResponseRuleAccepted) IsSuccess ¶ added in v1.1.0
func (o *DeleteHTTPResponseRuleAccepted) IsSuccess() bool
IsSuccess returns true when this delete Http response rule accepted response has a 2xx status code
func (*DeleteHTTPResponseRuleAccepted) String ¶ added in v1.1.0
func (o *DeleteHTTPResponseRuleAccepted) String() string
type DeleteHTTPResponseRuleDefault ¶
type DeleteHTTPResponseRuleDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
DeleteHTTPResponseRuleDefault describes a response with status code -1, with default header values.
General Error
func NewDeleteHTTPResponseRuleDefault ¶
func NewDeleteHTTPResponseRuleDefault(code int) *DeleteHTTPResponseRuleDefault
NewDeleteHTTPResponseRuleDefault creates a DeleteHTTPResponseRuleDefault with default headers values
func (*DeleteHTTPResponseRuleDefault) Code ¶
func (o *DeleteHTTPResponseRuleDefault) Code() int
Code gets the status code for the delete HTTP response rule default response
func (*DeleteHTTPResponseRuleDefault) Error ¶
func (o *DeleteHTTPResponseRuleDefault) Error() string
func (*DeleteHTTPResponseRuleDefault) GetPayload ¶
func (o *DeleteHTTPResponseRuleDefault) GetPayload() *models.Error
func (*DeleteHTTPResponseRuleDefault) IsClientError ¶ added in v1.1.0
func (o *DeleteHTTPResponseRuleDefault) IsClientError() bool
IsClientError returns true when this delete HTTP response rule default response has a 4xx status code
func (*DeleteHTTPResponseRuleDefault) IsCode ¶ added in v1.1.0
func (o *DeleteHTTPResponseRuleDefault) IsCode(code int) bool
IsCode returns true when this delete HTTP response rule default response a status code equal to that given
func (*DeleteHTTPResponseRuleDefault) IsRedirect ¶ added in v1.1.0
func (o *DeleteHTTPResponseRuleDefault) IsRedirect() bool
IsRedirect returns true when this delete HTTP response rule default response has a 3xx status code
func (*DeleteHTTPResponseRuleDefault) IsServerError ¶ added in v1.1.0
func (o *DeleteHTTPResponseRuleDefault) IsServerError() bool
IsServerError returns true when this delete HTTP response rule default response has a 5xx status code
func (*DeleteHTTPResponseRuleDefault) IsSuccess ¶ added in v1.1.0
func (o *DeleteHTTPResponseRuleDefault) IsSuccess() bool
IsSuccess returns true when this delete HTTP response rule default response has a 2xx status code
func (*DeleteHTTPResponseRuleDefault) String ¶ added in v1.1.0
func (o *DeleteHTTPResponseRuleDefault) String() string
type DeleteHTTPResponseRuleNoContent ¶
type DeleteHTTPResponseRuleNoContent struct { }
DeleteHTTPResponseRuleNoContent describes a response with status code 204, with default header values.
HTTP Response Rule deleted
func NewDeleteHTTPResponseRuleNoContent ¶
func NewDeleteHTTPResponseRuleNoContent() *DeleteHTTPResponseRuleNoContent
NewDeleteHTTPResponseRuleNoContent creates a DeleteHTTPResponseRuleNoContent with default headers values
func (*DeleteHTTPResponseRuleNoContent) Error ¶
func (o *DeleteHTTPResponseRuleNoContent) Error() string
func (*DeleteHTTPResponseRuleNoContent) IsClientError ¶ added in v1.1.0
func (o *DeleteHTTPResponseRuleNoContent) IsClientError() bool
IsClientError returns true when this delete Http response rule no content response has a 4xx status code
func (*DeleteHTTPResponseRuleNoContent) IsCode ¶ added in v1.1.0
func (o *DeleteHTTPResponseRuleNoContent) IsCode(code int) bool
IsCode returns true when this delete Http response rule no content response a status code equal to that given
func (*DeleteHTTPResponseRuleNoContent) IsRedirect ¶ added in v1.1.0
func (o *DeleteHTTPResponseRuleNoContent) IsRedirect() bool
IsRedirect returns true when this delete Http response rule no content response has a 3xx status code
func (*DeleteHTTPResponseRuleNoContent) IsServerError ¶ added in v1.1.0
func (o *DeleteHTTPResponseRuleNoContent) IsServerError() bool
IsServerError returns true when this delete Http response rule no content response has a 5xx status code
func (*DeleteHTTPResponseRuleNoContent) IsSuccess ¶ added in v1.1.0
func (o *DeleteHTTPResponseRuleNoContent) IsSuccess() bool
IsSuccess returns true when this delete Http response rule no content response has a 2xx status code
func (*DeleteHTTPResponseRuleNoContent) String ¶ added in v1.1.0
func (o *DeleteHTTPResponseRuleNoContent) String() string
type DeleteHTTPResponseRuleNotFound ¶
type DeleteHTTPResponseRuleNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
DeleteHTTPResponseRuleNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewDeleteHTTPResponseRuleNotFound ¶
func NewDeleteHTTPResponseRuleNotFound() *DeleteHTTPResponseRuleNotFound
NewDeleteHTTPResponseRuleNotFound creates a DeleteHTTPResponseRuleNotFound with default headers values
func (*DeleteHTTPResponseRuleNotFound) Error ¶
func (o *DeleteHTTPResponseRuleNotFound) Error() string
func (*DeleteHTTPResponseRuleNotFound) GetPayload ¶
func (o *DeleteHTTPResponseRuleNotFound) GetPayload() *models.Error
func (*DeleteHTTPResponseRuleNotFound) IsClientError ¶ added in v1.1.0
func (o *DeleteHTTPResponseRuleNotFound) IsClientError() bool
IsClientError returns true when this delete Http response rule not found response has a 4xx status code
func (*DeleteHTTPResponseRuleNotFound) IsCode ¶ added in v1.1.0
func (o *DeleteHTTPResponseRuleNotFound) IsCode(code int) bool
IsCode returns true when this delete Http response rule not found response a status code equal to that given
func (*DeleteHTTPResponseRuleNotFound) IsRedirect ¶ added in v1.1.0
func (o *DeleteHTTPResponseRuleNotFound) IsRedirect() bool
IsRedirect returns true when this delete Http response rule not found response has a 3xx status code
func (*DeleteHTTPResponseRuleNotFound) IsServerError ¶ added in v1.1.0
func (o *DeleteHTTPResponseRuleNotFound) IsServerError() bool
IsServerError returns true when this delete Http response rule not found response has a 5xx status code
func (*DeleteHTTPResponseRuleNotFound) IsSuccess ¶ added in v1.1.0
func (o *DeleteHTTPResponseRuleNotFound) IsSuccess() bool
IsSuccess returns true when this delete Http response rule not found response has a 2xx status code
func (*DeleteHTTPResponseRuleNotFound) String ¶ added in v1.1.0
func (o *DeleteHTTPResponseRuleNotFound) String() string
type DeleteHTTPResponseRuleParams ¶
type DeleteHTTPResponseRuleParams 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 Response Rule Index */ Index int64 /* ParentName. Parent name */ ParentName string /* ParentType. Parent type */ ParentType string /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string /* Version. Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteHTTPResponseRuleParams contains all the parameters to send to the API endpoint
for the delete HTTP response rule operation. Typically these are written to a http.Request.
func NewDeleteHTTPResponseRuleParams ¶
func NewDeleteHTTPResponseRuleParams() *DeleteHTTPResponseRuleParams
NewDeleteHTTPResponseRuleParams creates a new DeleteHTTPResponseRuleParams 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 NewDeleteHTTPResponseRuleParamsWithContext ¶
func NewDeleteHTTPResponseRuleParamsWithContext(ctx context.Context) *DeleteHTTPResponseRuleParams
NewDeleteHTTPResponseRuleParamsWithContext creates a new DeleteHTTPResponseRuleParams object with the ability to set a context for a request.
func NewDeleteHTTPResponseRuleParamsWithHTTPClient ¶
func NewDeleteHTTPResponseRuleParamsWithHTTPClient(client *http.Client) *DeleteHTTPResponseRuleParams
NewDeleteHTTPResponseRuleParamsWithHTTPClient creates a new DeleteHTTPResponseRuleParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteHTTPResponseRuleParamsWithTimeout ¶
func NewDeleteHTTPResponseRuleParamsWithTimeout(timeout time.Duration) *DeleteHTTPResponseRuleParams
NewDeleteHTTPResponseRuleParamsWithTimeout creates a new DeleteHTTPResponseRuleParams object with the ability to set a timeout on a request.
func (*DeleteHTTPResponseRuleParams) SetContext ¶
func (o *DeleteHTTPResponseRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) SetDefaults ¶
func (o *DeleteHTTPResponseRuleParams) SetDefaults()
SetDefaults hydrates default values in the delete HTTP response rule params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteHTTPResponseRuleParams) SetForceReload ¶
func (o *DeleteHTTPResponseRuleParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) SetHTTPClient ¶
func (o *DeleteHTTPResponseRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) SetIndex ¶
func (o *DeleteHTTPResponseRuleParams) SetIndex(index int64)
SetIndex adds the index to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) SetParentName ¶
func (o *DeleteHTTPResponseRuleParams) SetParentName(parentName string)
SetParentName adds the parentName to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) SetParentType ¶
func (o *DeleteHTTPResponseRuleParams) SetParentType(parentType string)
SetParentType adds the parentType to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) SetTimeout ¶
func (o *DeleteHTTPResponseRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) SetTransactionID ¶
func (o *DeleteHTTPResponseRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) SetVersion ¶
func (o *DeleteHTTPResponseRuleParams) SetVersion(version *int64)
SetVersion adds the version to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) WithContext ¶
func (o *DeleteHTTPResponseRuleParams) WithContext(ctx context.Context) *DeleteHTTPResponseRuleParams
WithContext adds the context to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) WithDefaults ¶
func (o *DeleteHTTPResponseRuleParams) WithDefaults() *DeleteHTTPResponseRuleParams
WithDefaults hydrates default values in the delete HTTP response rule params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteHTTPResponseRuleParams) WithForceReload ¶
func (o *DeleteHTTPResponseRuleParams) WithForceReload(forceReload *bool) *DeleteHTTPResponseRuleParams
WithForceReload adds the forceReload to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) WithHTTPClient ¶
func (o *DeleteHTTPResponseRuleParams) WithHTTPClient(client *http.Client) *DeleteHTTPResponseRuleParams
WithHTTPClient adds the HTTPClient to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) WithIndex ¶
func (o *DeleteHTTPResponseRuleParams) WithIndex(index int64) *DeleteHTTPResponseRuleParams
WithIndex adds the index to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) WithParentName ¶
func (o *DeleteHTTPResponseRuleParams) WithParentName(parentName string) *DeleteHTTPResponseRuleParams
WithParentName adds the parentName to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) WithParentType ¶
func (o *DeleteHTTPResponseRuleParams) WithParentType(parentType string) *DeleteHTTPResponseRuleParams
WithParentType adds the parentType to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) WithTimeout ¶
func (o *DeleteHTTPResponseRuleParams) WithTimeout(timeout time.Duration) *DeleteHTTPResponseRuleParams
WithTimeout adds the timeout to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) WithTransactionID ¶
func (o *DeleteHTTPResponseRuleParams) WithTransactionID(transactionID *string) *DeleteHTTPResponseRuleParams
WithTransactionID adds the transactionID to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) WithVersion ¶
func (o *DeleteHTTPResponseRuleParams) WithVersion(version *int64) *DeleteHTTPResponseRuleParams
WithVersion adds the version to the delete HTTP response rule params
func (*DeleteHTTPResponseRuleParams) WriteToRequest ¶
func (o *DeleteHTTPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteHTTPResponseRuleReader ¶
type DeleteHTTPResponseRuleReader struct {
// contains filtered or unexported fields
}
DeleteHTTPResponseRuleReader is a Reader for the DeleteHTTPResponseRule structure.
func (*DeleteHTTPResponseRuleReader) ReadResponse ¶
func (o *DeleteHTTPResponseRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetHTTPResponseRuleDefault ¶
type GetHTTPResponseRuleDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetHTTPResponseRuleDefault describes a response with status code -1, with default header values.
General Error
func NewGetHTTPResponseRuleDefault ¶
func NewGetHTTPResponseRuleDefault(code int) *GetHTTPResponseRuleDefault
NewGetHTTPResponseRuleDefault creates a GetHTTPResponseRuleDefault with default headers values
func (*GetHTTPResponseRuleDefault) Code ¶
func (o *GetHTTPResponseRuleDefault) Code() int
Code gets the status code for the get HTTP response rule default response
func (*GetHTTPResponseRuleDefault) Error ¶
func (o *GetHTTPResponseRuleDefault) Error() string
func (*GetHTTPResponseRuleDefault) GetPayload ¶
func (o *GetHTTPResponseRuleDefault) GetPayload() *models.Error
func (*GetHTTPResponseRuleDefault) IsClientError ¶ added in v1.1.0
func (o *GetHTTPResponseRuleDefault) IsClientError() bool
IsClientError returns true when this get HTTP response rule default response has a 4xx status code
func (*GetHTTPResponseRuleDefault) IsCode ¶ added in v1.1.0
func (o *GetHTTPResponseRuleDefault) IsCode(code int) bool
IsCode returns true when this get HTTP response rule default response a status code equal to that given
func (*GetHTTPResponseRuleDefault) IsRedirect ¶ added in v1.1.0
func (o *GetHTTPResponseRuleDefault) IsRedirect() bool
IsRedirect returns true when this get HTTP response rule default response has a 3xx status code
func (*GetHTTPResponseRuleDefault) IsServerError ¶ added in v1.1.0
func (o *GetHTTPResponseRuleDefault) IsServerError() bool
IsServerError returns true when this get HTTP response rule default response has a 5xx status code
func (*GetHTTPResponseRuleDefault) IsSuccess ¶ added in v1.1.0
func (o *GetHTTPResponseRuleDefault) IsSuccess() bool
IsSuccess returns true when this get HTTP response rule default response has a 2xx status code
func (*GetHTTPResponseRuleDefault) String ¶ added in v1.1.0
func (o *GetHTTPResponseRuleDefault) String() string
type GetHTTPResponseRuleNotFound ¶
type GetHTTPResponseRuleNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
GetHTTPResponseRuleNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewGetHTTPResponseRuleNotFound ¶
func NewGetHTTPResponseRuleNotFound() *GetHTTPResponseRuleNotFound
NewGetHTTPResponseRuleNotFound creates a GetHTTPResponseRuleNotFound with default headers values
func (*GetHTTPResponseRuleNotFound) Error ¶
func (o *GetHTTPResponseRuleNotFound) Error() string
func (*GetHTTPResponseRuleNotFound) GetPayload ¶
func (o *GetHTTPResponseRuleNotFound) GetPayload() *models.Error
func (*GetHTTPResponseRuleNotFound) IsClientError ¶ added in v1.1.0
func (o *GetHTTPResponseRuleNotFound) IsClientError() bool
IsClientError returns true when this get Http response rule not found response has a 4xx status code
func (*GetHTTPResponseRuleNotFound) IsCode ¶ added in v1.1.0
func (o *GetHTTPResponseRuleNotFound) IsCode(code int) bool
IsCode returns true when this get Http response rule not found response a status code equal to that given
func (*GetHTTPResponseRuleNotFound) IsRedirect ¶ added in v1.1.0
func (o *GetHTTPResponseRuleNotFound) IsRedirect() bool
IsRedirect returns true when this get Http response rule not found response has a 3xx status code
func (*GetHTTPResponseRuleNotFound) IsServerError ¶ added in v1.1.0
func (o *GetHTTPResponseRuleNotFound) IsServerError() bool
IsServerError returns true when this get Http response rule not found response has a 5xx status code
func (*GetHTTPResponseRuleNotFound) IsSuccess ¶ added in v1.1.0
func (o *GetHTTPResponseRuleNotFound) IsSuccess() bool
IsSuccess returns true when this get Http response rule not found response has a 2xx status code
func (*GetHTTPResponseRuleNotFound) String ¶ added in v1.1.0
func (o *GetHTTPResponseRuleNotFound) String() string
type GetHTTPResponseRuleOK ¶
type GetHTTPResponseRuleOK struct { /* Configuration file version */ ConfigurationVersion string Payload *GetHTTPResponseRuleOKBody }
GetHTTPResponseRuleOK describes a response with status code 200, with default header values.
Successful operation
func NewGetHTTPResponseRuleOK ¶
func NewGetHTTPResponseRuleOK() *GetHTTPResponseRuleOK
NewGetHTTPResponseRuleOK creates a GetHTTPResponseRuleOK with default headers values
func (*GetHTTPResponseRuleOK) Error ¶
func (o *GetHTTPResponseRuleOK) Error() string
func (*GetHTTPResponseRuleOK) GetPayload ¶
func (o *GetHTTPResponseRuleOK) GetPayload() *GetHTTPResponseRuleOKBody
func (*GetHTTPResponseRuleOK) IsClientError ¶ added in v1.1.0
func (o *GetHTTPResponseRuleOK) IsClientError() bool
IsClientError returns true when this get Http response rule o k response has a 4xx status code
func (*GetHTTPResponseRuleOK) IsCode ¶ added in v1.1.0
func (o *GetHTTPResponseRuleOK) IsCode(code int) bool
IsCode returns true when this get Http response rule o k response a status code equal to that given
func (*GetHTTPResponseRuleOK) IsRedirect ¶ added in v1.1.0
func (o *GetHTTPResponseRuleOK) IsRedirect() bool
IsRedirect returns true when this get Http response rule o k response has a 3xx status code
func (*GetHTTPResponseRuleOK) IsServerError ¶ added in v1.1.0
func (o *GetHTTPResponseRuleOK) IsServerError() bool
IsServerError returns true when this get Http response rule o k response has a 5xx status code
func (*GetHTTPResponseRuleOK) IsSuccess ¶ added in v1.1.0
func (o *GetHTTPResponseRuleOK) IsSuccess() bool
IsSuccess returns true when this get Http response rule o k response has a 2xx status code
func (*GetHTTPResponseRuleOK) String ¶ added in v1.1.0
func (o *GetHTTPResponseRuleOK) String() string
type GetHTTPResponseRuleOKBody ¶
type GetHTTPResponseRuleOKBody struct { // version Version int64 `json:"_version,omitempty"` // data Data *models.HTTPResponseRule `json:"data,omitempty"` }
GetHTTPResponseRuleOKBody get HTTP response rule o k body swagger:model GetHTTPResponseRuleOKBody
func (*GetHTTPResponseRuleOKBody) ContextValidate ¶
func (o *GetHTTPResponseRuleOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get HTTP response rule o k body based on the context it is used
func (*GetHTTPResponseRuleOKBody) MarshalBinary ¶
func (o *GetHTTPResponseRuleOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetHTTPResponseRuleOKBody) UnmarshalBinary ¶
func (o *GetHTTPResponseRuleOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetHTTPResponseRuleParams ¶
type GetHTTPResponseRuleParams struct { /* Index. HTTP Response Rule Index */ Index int64 /* ParentName. Parent name */ ParentName string /* ParentType. Parent type */ ParentType string /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetHTTPResponseRuleParams contains all the parameters to send to the API endpoint
for the get HTTP response rule operation. Typically these are written to a http.Request.
func NewGetHTTPResponseRuleParams ¶
func NewGetHTTPResponseRuleParams() *GetHTTPResponseRuleParams
NewGetHTTPResponseRuleParams creates a new GetHTTPResponseRuleParams 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 NewGetHTTPResponseRuleParamsWithContext ¶
func NewGetHTTPResponseRuleParamsWithContext(ctx context.Context) *GetHTTPResponseRuleParams
NewGetHTTPResponseRuleParamsWithContext creates a new GetHTTPResponseRuleParams object with the ability to set a context for a request.
func NewGetHTTPResponseRuleParamsWithHTTPClient ¶
func NewGetHTTPResponseRuleParamsWithHTTPClient(client *http.Client) *GetHTTPResponseRuleParams
NewGetHTTPResponseRuleParamsWithHTTPClient creates a new GetHTTPResponseRuleParams object with the ability to set a custom HTTPClient for a request.
func NewGetHTTPResponseRuleParamsWithTimeout ¶
func NewGetHTTPResponseRuleParamsWithTimeout(timeout time.Duration) *GetHTTPResponseRuleParams
NewGetHTTPResponseRuleParamsWithTimeout creates a new GetHTTPResponseRuleParams object with the ability to set a timeout on a request.
func (*GetHTTPResponseRuleParams) SetContext ¶
func (o *GetHTTPResponseRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the get HTTP response rule params
func (*GetHTTPResponseRuleParams) SetDefaults ¶
func (o *GetHTTPResponseRuleParams) SetDefaults()
SetDefaults hydrates default values in the get HTTP response rule params (not the query body).
All values with no default are reset to their zero value.
func (*GetHTTPResponseRuleParams) SetHTTPClient ¶
func (o *GetHTTPResponseRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get HTTP response rule params
func (*GetHTTPResponseRuleParams) SetIndex ¶
func (o *GetHTTPResponseRuleParams) SetIndex(index int64)
SetIndex adds the index to the get HTTP response rule params
func (*GetHTTPResponseRuleParams) SetParentName ¶
func (o *GetHTTPResponseRuleParams) SetParentName(parentName string)
SetParentName adds the parentName to the get HTTP response rule params
func (*GetHTTPResponseRuleParams) SetParentType ¶
func (o *GetHTTPResponseRuleParams) SetParentType(parentType string)
SetParentType adds the parentType to the get HTTP response rule params
func (*GetHTTPResponseRuleParams) SetTimeout ¶
func (o *GetHTTPResponseRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get HTTP response rule params
func (*GetHTTPResponseRuleParams) SetTransactionID ¶
func (o *GetHTTPResponseRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get HTTP response rule params
func (*GetHTTPResponseRuleParams) WithContext ¶
func (o *GetHTTPResponseRuleParams) WithContext(ctx context.Context) *GetHTTPResponseRuleParams
WithContext adds the context to the get HTTP response rule params
func (*GetHTTPResponseRuleParams) WithDefaults ¶
func (o *GetHTTPResponseRuleParams) WithDefaults() *GetHTTPResponseRuleParams
WithDefaults hydrates default values in the get HTTP response rule params (not the query body).
All values with no default are reset to their zero value.
func (*GetHTTPResponseRuleParams) WithHTTPClient ¶
func (o *GetHTTPResponseRuleParams) WithHTTPClient(client *http.Client) *GetHTTPResponseRuleParams
WithHTTPClient adds the HTTPClient to the get HTTP response rule params
func (*GetHTTPResponseRuleParams) WithIndex ¶
func (o *GetHTTPResponseRuleParams) WithIndex(index int64) *GetHTTPResponseRuleParams
WithIndex adds the index to the get HTTP response rule params
func (*GetHTTPResponseRuleParams) WithParentName ¶
func (o *GetHTTPResponseRuleParams) WithParentName(parentName string) *GetHTTPResponseRuleParams
WithParentName adds the parentName to the get HTTP response rule params
func (*GetHTTPResponseRuleParams) WithParentType ¶
func (o *GetHTTPResponseRuleParams) WithParentType(parentType string) *GetHTTPResponseRuleParams
WithParentType adds the parentType to the get HTTP response rule params
func (*GetHTTPResponseRuleParams) WithTimeout ¶
func (o *GetHTTPResponseRuleParams) WithTimeout(timeout time.Duration) *GetHTTPResponseRuleParams
WithTimeout adds the timeout to the get HTTP response rule params
func (*GetHTTPResponseRuleParams) WithTransactionID ¶
func (o *GetHTTPResponseRuleParams) WithTransactionID(transactionID *string) *GetHTTPResponseRuleParams
WithTransactionID adds the transactionID to the get HTTP response rule params
func (*GetHTTPResponseRuleParams) WriteToRequest ¶
func (o *GetHTTPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetHTTPResponseRuleReader ¶
type GetHTTPResponseRuleReader struct {
// contains filtered or unexported fields
}
GetHTTPResponseRuleReader is a Reader for the GetHTTPResponseRule structure.
func (*GetHTTPResponseRuleReader) ReadResponse ¶
func (o *GetHTTPResponseRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetHTTPResponseRulesDefault ¶
type GetHTTPResponseRulesDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetHTTPResponseRulesDefault describes a response with status code -1, with default header values.
General Error
func NewGetHTTPResponseRulesDefault ¶
func NewGetHTTPResponseRulesDefault(code int) *GetHTTPResponseRulesDefault
NewGetHTTPResponseRulesDefault creates a GetHTTPResponseRulesDefault with default headers values
func (*GetHTTPResponseRulesDefault) Code ¶
func (o *GetHTTPResponseRulesDefault) Code() int
Code gets the status code for the get HTTP response rules default response
func (*GetHTTPResponseRulesDefault) Error ¶
func (o *GetHTTPResponseRulesDefault) Error() string
func (*GetHTTPResponseRulesDefault) GetPayload ¶
func (o *GetHTTPResponseRulesDefault) GetPayload() *models.Error
func (*GetHTTPResponseRulesDefault) IsClientError ¶ added in v1.1.0
func (o *GetHTTPResponseRulesDefault) IsClientError() bool
IsClientError returns true when this get HTTP response rules default response has a 4xx status code
func (*GetHTTPResponseRulesDefault) IsCode ¶ added in v1.1.0
func (o *GetHTTPResponseRulesDefault) IsCode(code int) bool
IsCode returns true when this get HTTP response rules default response a status code equal to that given
func (*GetHTTPResponseRulesDefault) IsRedirect ¶ added in v1.1.0
func (o *GetHTTPResponseRulesDefault) IsRedirect() bool
IsRedirect returns true when this get HTTP response rules default response has a 3xx status code
func (*GetHTTPResponseRulesDefault) IsServerError ¶ added in v1.1.0
func (o *GetHTTPResponseRulesDefault) IsServerError() bool
IsServerError returns true when this get HTTP response rules default response has a 5xx status code
func (*GetHTTPResponseRulesDefault) IsSuccess ¶ added in v1.1.0
func (o *GetHTTPResponseRulesDefault) IsSuccess() bool
IsSuccess returns true when this get HTTP response rules default response has a 2xx status code
func (*GetHTTPResponseRulesDefault) String ¶ added in v1.1.0
func (o *GetHTTPResponseRulesDefault) String() string
type GetHTTPResponseRulesOK ¶
type GetHTTPResponseRulesOK struct { /* Configuration file version */ ConfigurationVersion string Payload *GetHTTPResponseRulesOKBody }
GetHTTPResponseRulesOK describes a response with status code 200, with default header values.
Successful operation
func NewGetHTTPResponseRulesOK ¶
func NewGetHTTPResponseRulesOK() *GetHTTPResponseRulesOK
NewGetHTTPResponseRulesOK creates a GetHTTPResponseRulesOK with default headers values
func (*GetHTTPResponseRulesOK) Error ¶
func (o *GetHTTPResponseRulesOK) Error() string
func (*GetHTTPResponseRulesOK) GetPayload ¶
func (o *GetHTTPResponseRulesOK) GetPayload() *GetHTTPResponseRulesOKBody
func (*GetHTTPResponseRulesOK) IsClientError ¶ added in v1.1.0
func (o *GetHTTPResponseRulesOK) IsClientError() bool
IsClientError returns true when this get Http response rules o k response has a 4xx status code
func (*GetHTTPResponseRulesOK) IsCode ¶ added in v1.1.0
func (o *GetHTTPResponseRulesOK) IsCode(code int) bool
IsCode returns true when this get Http response rules o k response a status code equal to that given
func (*GetHTTPResponseRulesOK) IsRedirect ¶ added in v1.1.0
func (o *GetHTTPResponseRulesOK) IsRedirect() bool
IsRedirect returns true when this get Http response rules o k response has a 3xx status code
func (*GetHTTPResponseRulesOK) IsServerError ¶ added in v1.1.0
func (o *GetHTTPResponseRulesOK) IsServerError() bool
IsServerError returns true when this get Http response rules o k response has a 5xx status code
func (*GetHTTPResponseRulesOK) IsSuccess ¶ added in v1.1.0
func (o *GetHTTPResponseRulesOK) IsSuccess() bool
IsSuccess returns true when this get Http response rules o k response has a 2xx status code
func (*GetHTTPResponseRulesOK) String ¶ added in v1.1.0
func (o *GetHTTPResponseRulesOK) String() string
type GetHTTPResponseRulesOKBody ¶
type GetHTTPResponseRulesOKBody struct { // version Version int64 `json:"_version,omitempty"` // data // Required: true Data models.HTTPResponseRules `json:"data"` }
GetHTTPResponseRulesOKBody get HTTP response rules o k body swagger:model GetHTTPResponseRulesOKBody
func (*GetHTTPResponseRulesOKBody) ContextValidate ¶
func (o *GetHTTPResponseRulesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get HTTP response rules o k body based on the context it is used
func (*GetHTTPResponseRulesOKBody) MarshalBinary ¶
func (o *GetHTTPResponseRulesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetHTTPResponseRulesOKBody) UnmarshalBinary ¶
func (o *GetHTTPResponseRulesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetHTTPResponseRulesParams ¶
type GetHTTPResponseRulesParams 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 }
GetHTTPResponseRulesParams contains all the parameters to send to the API endpoint
for the get HTTP response rules operation. Typically these are written to a http.Request.
func NewGetHTTPResponseRulesParams ¶
func NewGetHTTPResponseRulesParams() *GetHTTPResponseRulesParams
NewGetHTTPResponseRulesParams creates a new GetHTTPResponseRulesParams 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 NewGetHTTPResponseRulesParamsWithContext ¶
func NewGetHTTPResponseRulesParamsWithContext(ctx context.Context) *GetHTTPResponseRulesParams
NewGetHTTPResponseRulesParamsWithContext creates a new GetHTTPResponseRulesParams object with the ability to set a context for a request.
func NewGetHTTPResponseRulesParamsWithHTTPClient ¶
func NewGetHTTPResponseRulesParamsWithHTTPClient(client *http.Client) *GetHTTPResponseRulesParams
NewGetHTTPResponseRulesParamsWithHTTPClient creates a new GetHTTPResponseRulesParams object with the ability to set a custom HTTPClient for a request.
func NewGetHTTPResponseRulesParamsWithTimeout ¶
func NewGetHTTPResponseRulesParamsWithTimeout(timeout time.Duration) *GetHTTPResponseRulesParams
NewGetHTTPResponseRulesParamsWithTimeout creates a new GetHTTPResponseRulesParams object with the ability to set a timeout on a request.
func (*GetHTTPResponseRulesParams) SetContext ¶
func (o *GetHTTPResponseRulesParams) SetContext(ctx context.Context)
SetContext adds the context to the get HTTP response rules params
func (*GetHTTPResponseRulesParams) SetDefaults ¶
func (o *GetHTTPResponseRulesParams) SetDefaults()
SetDefaults hydrates default values in the get HTTP response rules params (not the query body).
All values with no default are reset to their zero value.
func (*GetHTTPResponseRulesParams) SetHTTPClient ¶
func (o *GetHTTPResponseRulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get HTTP response rules params
func (*GetHTTPResponseRulesParams) SetParentName ¶
func (o *GetHTTPResponseRulesParams) SetParentName(parentName string)
SetParentName adds the parentName to the get HTTP response rules params
func (*GetHTTPResponseRulesParams) SetParentType ¶
func (o *GetHTTPResponseRulesParams) SetParentType(parentType string)
SetParentType adds the parentType to the get HTTP response rules params
func (*GetHTTPResponseRulesParams) SetTimeout ¶
func (o *GetHTTPResponseRulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get HTTP response rules params
func (*GetHTTPResponseRulesParams) SetTransactionID ¶
func (o *GetHTTPResponseRulesParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get HTTP response rules params
func (*GetHTTPResponseRulesParams) WithContext ¶
func (o *GetHTTPResponseRulesParams) WithContext(ctx context.Context) *GetHTTPResponseRulesParams
WithContext adds the context to the get HTTP response rules params
func (*GetHTTPResponseRulesParams) WithDefaults ¶
func (o *GetHTTPResponseRulesParams) WithDefaults() *GetHTTPResponseRulesParams
WithDefaults hydrates default values in the get HTTP response rules params (not the query body).
All values with no default are reset to their zero value.
func (*GetHTTPResponseRulesParams) WithHTTPClient ¶
func (o *GetHTTPResponseRulesParams) WithHTTPClient(client *http.Client) *GetHTTPResponseRulesParams
WithHTTPClient adds the HTTPClient to the get HTTP response rules params
func (*GetHTTPResponseRulesParams) WithParentName ¶
func (o *GetHTTPResponseRulesParams) WithParentName(parentName string) *GetHTTPResponseRulesParams
WithParentName adds the parentName to the get HTTP response rules params
func (*GetHTTPResponseRulesParams) WithParentType ¶
func (o *GetHTTPResponseRulesParams) WithParentType(parentType string) *GetHTTPResponseRulesParams
WithParentType adds the parentType to the get HTTP response rules params
func (*GetHTTPResponseRulesParams) WithTimeout ¶
func (o *GetHTTPResponseRulesParams) WithTimeout(timeout time.Duration) *GetHTTPResponseRulesParams
WithTimeout adds the timeout to the get HTTP response rules params
func (*GetHTTPResponseRulesParams) WithTransactionID ¶
func (o *GetHTTPResponseRulesParams) WithTransactionID(transactionID *string) *GetHTTPResponseRulesParams
WithTransactionID adds the transactionID to the get HTTP response rules params
func (*GetHTTPResponseRulesParams) WriteToRequest ¶
func (o *GetHTTPResponseRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetHTTPResponseRulesReader ¶
type GetHTTPResponseRulesReader struct {
// contains filtered or unexported fields
}
GetHTTPResponseRulesReader is a Reader for the GetHTTPResponseRules structure.
func (*GetHTTPResponseRulesReader) ReadResponse ¶
func (o *GetHTTPResponseRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplaceHTTPResponseRuleAccepted ¶
type ReplaceHTTPResponseRuleAccepted struct { /* ID of the requested reload */ ReloadID string Payload *models.HTTPResponseRule }
ReplaceHTTPResponseRuleAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewReplaceHTTPResponseRuleAccepted ¶
func NewReplaceHTTPResponseRuleAccepted() *ReplaceHTTPResponseRuleAccepted
NewReplaceHTTPResponseRuleAccepted creates a ReplaceHTTPResponseRuleAccepted with default headers values
func (*ReplaceHTTPResponseRuleAccepted) Error ¶
func (o *ReplaceHTTPResponseRuleAccepted) Error() string
func (*ReplaceHTTPResponseRuleAccepted) GetPayload ¶
func (o *ReplaceHTTPResponseRuleAccepted) GetPayload() *models.HTTPResponseRule
func (*ReplaceHTTPResponseRuleAccepted) IsClientError ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleAccepted) IsClientError() bool
IsClientError returns true when this replace Http response rule accepted response has a 4xx status code
func (*ReplaceHTTPResponseRuleAccepted) IsCode ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleAccepted) IsCode(code int) bool
IsCode returns true when this replace Http response rule accepted response a status code equal to that given
func (*ReplaceHTTPResponseRuleAccepted) IsRedirect ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleAccepted) IsRedirect() bool
IsRedirect returns true when this replace Http response rule accepted response has a 3xx status code
func (*ReplaceHTTPResponseRuleAccepted) IsServerError ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleAccepted) IsServerError() bool
IsServerError returns true when this replace Http response rule accepted response has a 5xx status code
func (*ReplaceHTTPResponseRuleAccepted) IsSuccess ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleAccepted) IsSuccess() bool
IsSuccess returns true when this replace Http response rule accepted response has a 2xx status code
func (*ReplaceHTTPResponseRuleAccepted) String ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleAccepted) String() string
type ReplaceHTTPResponseRuleBadRequest ¶
type ReplaceHTTPResponseRuleBadRequest struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceHTTPResponseRuleBadRequest describes a response with status code 400, with default header values.
Bad request
func NewReplaceHTTPResponseRuleBadRequest ¶
func NewReplaceHTTPResponseRuleBadRequest() *ReplaceHTTPResponseRuleBadRequest
NewReplaceHTTPResponseRuleBadRequest creates a ReplaceHTTPResponseRuleBadRequest with default headers values
func (*ReplaceHTTPResponseRuleBadRequest) Error ¶
func (o *ReplaceHTTPResponseRuleBadRequest) Error() string
func (*ReplaceHTTPResponseRuleBadRequest) GetPayload ¶
func (o *ReplaceHTTPResponseRuleBadRequest) GetPayload() *models.Error
func (*ReplaceHTTPResponseRuleBadRequest) IsClientError ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleBadRequest) IsClientError() bool
IsClientError returns true when this replace Http response rule bad request response has a 4xx status code
func (*ReplaceHTTPResponseRuleBadRequest) IsCode ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleBadRequest) IsCode(code int) bool
IsCode returns true when this replace Http response rule bad request response a status code equal to that given
func (*ReplaceHTTPResponseRuleBadRequest) IsRedirect ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleBadRequest) IsRedirect() bool
IsRedirect returns true when this replace Http response rule bad request response has a 3xx status code
func (*ReplaceHTTPResponseRuleBadRequest) IsServerError ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleBadRequest) IsServerError() bool
IsServerError returns true when this replace Http response rule bad request response has a 5xx status code
func (*ReplaceHTTPResponseRuleBadRequest) IsSuccess ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleBadRequest) IsSuccess() bool
IsSuccess returns true when this replace Http response rule bad request response has a 2xx status code
func (*ReplaceHTTPResponseRuleBadRequest) String ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleBadRequest) String() string
type ReplaceHTTPResponseRuleDefault ¶
type ReplaceHTTPResponseRuleDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
ReplaceHTTPResponseRuleDefault describes a response with status code -1, with default header values.
General Error
func NewReplaceHTTPResponseRuleDefault ¶
func NewReplaceHTTPResponseRuleDefault(code int) *ReplaceHTTPResponseRuleDefault
NewReplaceHTTPResponseRuleDefault creates a ReplaceHTTPResponseRuleDefault with default headers values
func (*ReplaceHTTPResponseRuleDefault) Code ¶
func (o *ReplaceHTTPResponseRuleDefault) Code() int
Code gets the status code for the replace HTTP response rule default response
func (*ReplaceHTTPResponseRuleDefault) Error ¶
func (o *ReplaceHTTPResponseRuleDefault) Error() string
func (*ReplaceHTTPResponseRuleDefault) GetPayload ¶
func (o *ReplaceHTTPResponseRuleDefault) GetPayload() *models.Error
func (*ReplaceHTTPResponseRuleDefault) IsClientError ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleDefault) IsClientError() bool
IsClientError returns true when this replace HTTP response rule default response has a 4xx status code
func (*ReplaceHTTPResponseRuleDefault) IsCode ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleDefault) IsCode(code int) bool
IsCode returns true when this replace HTTP response rule default response a status code equal to that given
func (*ReplaceHTTPResponseRuleDefault) IsRedirect ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleDefault) IsRedirect() bool
IsRedirect returns true when this replace HTTP response rule default response has a 3xx status code
func (*ReplaceHTTPResponseRuleDefault) IsServerError ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleDefault) IsServerError() bool
IsServerError returns true when this replace HTTP response rule default response has a 5xx status code
func (*ReplaceHTTPResponseRuleDefault) IsSuccess ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleDefault) IsSuccess() bool
IsSuccess returns true when this replace HTTP response rule default response has a 2xx status code
func (*ReplaceHTTPResponseRuleDefault) String ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleDefault) String() string
type ReplaceHTTPResponseRuleNotFound ¶
type ReplaceHTTPResponseRuleNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceHTTPResponseRuleNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewReplaceHTTPResponseRuleNotFound ¶
func NewReplaceHTTPResponseRuleNotFound() *ReplaceHTTPResponseRuleNotFound
NewReplaceHTTPResponseRuleNotFound creates a ReplaceHTTPResponseRuleNotFound with default headers values
func (*ReplaceHTTPResponseRuleNotFound) Error ¶
func (o *ReplaceHTTPResponseRuleNotFound) Error() string
func (*ReplaceHTTPResponseRuleNotFound) GetPayload ¶
func (o *ReplaceHTTPResponseRuleNotFound) GetPayload() *models.Error
func (*ReplaceHTTPResponseRuleNotFound) IsClientError ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleNotFound) IsClientError() bool
IsClientError returns true when this replace Http response rule not found response has a 4xx status code
func (*ReplaceHTTPResponseRuleNotFound) IsCode ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleNotFound) IsCode(code int) bool
IsCode returns true when this replace Http response rule not found response a status code equal to that given
func (*ReplaceHTTPResponseRuleNotFound) IsRedirect ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleNotFound) IsRedirect() bool
IsRedirect returns true when this replace Http response rule not found response has a 3xx status code
func (*ReplaceHTTPResponseRuleNotFound) IsServerError ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleNotFound) IsServerError() bool
IsServerError returns true when this replace Http response rule not found response has a 5xx status code
func (*ReplaceHTTPResponseRuleNotFound) IsSuccess ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleNotFound) IsSuccess() bool
IsSuccess returns true when this replace Http response rule not found response has a 2xx status code
func (*ReplaceHTTPResponseRuleNotFound) String ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleNotFound) String() string
type ReplaceHTTPResponseRuleOK ¶
type ReplaceHTTPResponseRuleOK struct {
Payload *models.HTTPResponseRule
}
ReplaceHTTPResponseRuleOK describes a response with status code 200, with default header values.
HTTP Response Rule replaced
func NewReplaceHTTPResponseRuleOK ¶
func NewReplaceHTTPResponseRuleOK() *ReplaceHTTPResponseRuleOK
NewReplaceHTTPResponseRuleOK creates a ReplaceHTTPResponseRuleOK with default headers values
func (*ReplaceHTTPResponseRuleOK) Error ¶
func (o *ReplaceHTTPResponseRuleOK) Error() string
func (*ReplaceHTTPResponseRuleOK) GetPayload ¶
func (o *ReplaceHTTPResponseRuleOK) GetPayload() *models.HTTPResponseRule
func (*ReplaceHTTPResponseRuleOK) IsClientError ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleOK) IsClientError() bool
IsClientError returns true when this replace Http response rule o k response has a 4xx status code
func (*ReplaceHTTPResponseRuleOK) IsCode ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleOK) IsCode(code int) bool
IsCode returns true when this replace Http response rule o k response a status code equal to that given
func (*ReplaceHTTPResponseRuleOK) IsRedirect ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleOK) IsRedirect() bool
IsRedirect returns true when this replace Http response rule o k response has a 3xx status code
func (*ReplaceHTTPResponseRuleOK) IsServerError ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleOK) IsServerError() bool
IsServerError returns true when this replace Http response rule o k response has a 5xx status code
func (*ReplaceHTTPResponseRuleOK) IsSuccess ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleOK) IsSuccess() bool
IsSuccess returns true when this replace Http response rule o k response has a 2xx status code
func (*ReplaceHTTPResponseRuleOK) String ¶ added in v1.1.0
func (o *ReplaceHTTPResponseRuleOK) String() string
type ReplaceHTTPResponseRuleParams ¶
type ReplaceHTTPResponseRuleParams struct { // Data. Data *models.HTTPResponseRule /* 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 Response Rule Index */ Index int64 /* ParentName. Parent name */ ParentName string /* ParentType. Parent type */ ParentType string /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string /* Version. Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReplaceHTTPResponseRuleParams contains all the parameters to send to the API endpoint
for the replace HTTP response rule operation. Typically these are written to a http.Request.
func NewReplaceHTTPResponseRuleParams ¶
func NewReplaceHTTPResponseRuleParams() *ReplaceHTTPResponseRuleParams
NewReplaceHTTPResponseRuleParams creates a new ReplaceHTTPResponseRuleParams 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 NewReplaceHTTPResponseRuleParamsWithContext ¶
func NewReplaceHTTPResponseRuleParamsWithContext(ctx context.Context) *ReplaceHTTPResponseRuleParams
NewReplaceHTTPResponseRuleParamsWithContext creates a new ReplaceHTTPResponseRuleParams object with the ability to set a context for a request.
func NewReplaceHTTPResponseRuleParamsWithHTTPClient ¶
func NewReplaceHTTPResponseRuleParamsWithHTTPClient(client *http.Client) *ReplaceHTTPResponseRuleParams
NewReplaceHTTPResponseRuleParamsWithHTTPClient creates a new ReplaceHTTPResponseRuleParams object with the ability to set a custom HTTPClient for a request.
func NewReplaceHTTPResponseRuleParamsWithTimeout ¶
func NewReplaceHTTPResponseRuleParamsWithTimeout(timeout time.Duration) *ReplaceHTTPResponseRuleParams
NewReplaceHTTPResponseRuleParamsWithTimeout creates a new ReplaceHTTPResponseRuleParams object with the ability to set a timeout on a request.
func (*ReplaceHTTPResponseRuleParams) SetContext ¶
func (o *ReplaceHTTPResponseRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) SetData ¶
func (o *ReplaceHTTPResponseRuleParams) SetData(data *models.HTTPResponseRule)
SetData adds the data to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) SetDefaults ¶
func (o *ReplaceHTTPResponseRuleParams) SetDefaults()
SetDefaults hydrates default values in the replace HTTP response rule params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceHTTPResponseRuleParams) SetForceReload ¶
func (o *ReplaceHTTPResponseRuleParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) SetHTTPClient ¶
func (o *ReplaceHTTPResponseRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) SetIndex ¶
func (o *ReplaceHTTPResponseRuleParams) SetIndex(index int64)
SetIndex adds the index to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) SetParentName ¶
func (o *ReplaceHTTPResponseRuleParams) SetParentName(parentName string)
SetParentName adds the parentName to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) SetParentType ¶
func (o *ReplaceHTTPResponseRuleParams) SetParentType(parentType string)
SetParentType adds the parentType to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) SetTimeout ¶
func (o *ReplaceHTTPResponseRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) SetTransactionID ¶
func (o *ReplaceHTTPResponseRuleParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) SetVersion ¶
func (o *ReplaceHTTPResponseRuleParams) SetVersion(version *int64)
SetVersion adds the version to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) WithContext ¶
func (o *ReplaceHTTPResponseRuleParams) WithContext(ctx context.Context) *ReplaceHTTPResponseRuleParams
WithContext adds the context to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) WithData ¶
func (o *ReplaceHTTPResponseRuleParams) WithData(data *models.HTTPResponseRule) *ReplaceHTTPResponseRuleParams
WithData adds the data to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) WithDefaults ¶
func (o *ReplaceHTTPResponseRuleParams) WithDefaults() *ReplaceHTTPResponseRuleParams
WithDefaults hydrates default values in the replace HTTP response rule params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceHTTPResponseRuleParams) WithForceReload ¶
func (o *ReplaceHTTPResponseRuleParams) WithForceReload(forceReload *bool) *ReplaceHTTPResponseRuleParams
WithForceReload adds the forceReload to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) WithHTTPClient ¶
func (o *ReplaceHTTPResponseRuleParams) WithHTTPClient(client *http.Client) *ReplaceHTTPResponseRuleParams
WithHTTPClient adds the HTTPClient to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) WithIndex ¶
func (o *ReplaceHTTPResponseRuleParams) WithIndex(index int64) *ReplaceHTTPResponseRuleParams
WithIndex adds the index to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) WithParentName ¶
func (o *ReplaceHTTPResponseRuleParams) WithParentName(parentName string) *ReplaceHTTPResponseRuleParams
WithParentName adds the parentName to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) WithParentType ¶
func (o *ReplaceHTTPResponseRuleParams) WithParentType(parentType string) *ReplaceHTTPResponseRuleParams
WithParentType adds the parentType to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) WithTimeout ¶
func (o *ReplaceHTTPResponseRuleParams) WithTimeout(timeout time.Duration) *ReplaceHTTPResponseRuleParams
WithTimeout adds the timeout to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) WithTransactionID ¶
func (o *ReplaceHTTPResponseRuleParams) WithTransactionID(transactionID *string) *ReplaceHTTPResponseRuleParams
WithTransactionID adds the transactionID to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) WithVersion ¶
func (o *ReplaceHTTPResponseRuleParams) WithVersion(version *int64) *ReplaceHTTPResponseRuleParams
WithVersion adds the version to the replace HTTP response rule params
func (*ReplaceHTTPResponseRuleParams) WriteToRequest ¶
func (o *ReplaceHTTPResponseRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplaceHTTPResponseRuleReader ¶
type ReplaceHTTPResponseRuleReader struct {
// contains filtered or unexported fields
}
ReplaceHTTPResponseRuleReader is a Reader for the ReplaceHTTPResponseRule structure.
func (*ReplaceHTTPResponseRuleReader) ReadResponse ¶
func (o *ReplaceHTTPResponseRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_http_response_rule_parameters.go
- create_http_response_rule_responses.go
- delete_http_response_rule_parameters.go
- delete_http_response_rule_responses.go
- get_http_response_rule_parameters.go
- get_http_response_rule_responses.go
- get_http_response_rules_parameters.go
- get_http_response_rules_responses.go
- http_response_rule_client.go
- replace_http_response_rule_parameters.go
- replace_http_response_rule_responses.go