http_error_rule

package
v1.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for http error rule API

func (*Client) CreateHTTPErrorRule

CreateHTTPErrorRule adds a new HTTP error rule

Adds a new HTTP Error Rule of the specified type in the specified parent.

func (*Client) DeleteHTTPErrorRule

DeleteHTTPErrorRule deletes a HTTP error rule

Deletes a HTTP Error Rule configuration by its index from the specified parent.

func (*Client) GetHTTPErrorRule

func (a *Client) GetHTTPErrorRule(params *GetHTTPErrorRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHTTPErrorRuleOK, error)

GetHTTPErrorRule returns one HTTP error rule

Returns one HTTP Error Rule configuration by its index in the specified parent.

func (*Client) GetHTTPErrorRules

func (a *Client) GetHTTPErrorRules(params *GetHTTPErrorRulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHTTPErrorRulesOK, error)

GetHTTPErrorRules returns an array of all HTTP error rules

Returns all HTTP Error Rules that are configured in the specified parent.

func (*Client) ReplaceHTTPErrorRule

ReplaceHTTPErrorRule replaces a HTTP error rule

Replaces a HTTP Error Rule configuration by its index in the specified parent.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new http error rule API client.

type CreateHTTPErrorRuleAccepted

type CreateHTTPErrorRuleAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string

	Payload *models.HTTPErrorRule
}

CreateHTTPErrorRuleAccepted describes a response with status code 202, with default header values.

Configuration change accepted and reload requested

func NewCreateHTTPErrorRuleAccepted

func NewCreateHTTPErrorRuleAccepted() *CreateHTTPErrorRuleAccepted

NewCreateHTTPErrorRuleAccepted creates a CreateHTTPErrorRuleAccepted with default headers values

func (*CreateHTTPErrorRuleAccepted) Code added in v1.1.5

func (o *CreateHTTPErrorRuleAccepted) Code() int

Code gets the status code for the create Http error rule accepted response

func (*CreateHTTPErrorRuleAccepted) Error

func (*CreateHTTPErrorRuleAccepted) GetPayload

func (*CreateHTTPErrorRuleAccepted) IsClientError

func (o *CreateHTTPErrorRuleAccepted) IsClientError() bool

IsClientError returns true when this create Http error rule accepted response has a 4xx status code

func (*CreateHTTPErrorRuleAccepted) IsCode

func (o *CreateHTTPErrorRuleAccepted) IsCode(code int) bool

IsCode returns true when this create Http error rule accepted response a status code equal to that given

func (*CreateHTTPErrorRuleAccepted) IsRedirect

func (o *CreateHTTPErrorRuleAccepted) IsRedirect() bool

IsRedirect returns true when this create Http error rule accepted response has a 3xx status code

func (*CreateHTTPErrorRuleAccepted) IsServerError

func (o *CreateHTTPErrorRuleAccepted) IsServerError() bool

IsServerError returns true when this create Http error rule accepted response has a 5xx status code

func (*CreateHTTPErrorRuleAccepted) IsSuccess

func (o *CreateHTTPErrorRuleAccepted) IsSuccess() bool

IsSuccess returns true when this create Http error rule accepted response has a 2xx status code

func (*CreateHTTPErrorRuleAccepted) String

func (o *CreateHTTPErrorRuleAccepted) String() string

type CreateHTTPErrorRuleBadRequest

type CreateHTTPErrorRuleBadRequest struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

CreateHTTPErrorRuleBadRequest describes a response with status code 400, with default header values.

Bad request

func NewCreateHTTPErrorRuleBadRequest

func NewCreateHTTPErrorRuleBadRequest() *CreateHTTPErrorRuleBadRequest

NewCreateHTTPErrorRuleBadRequest creates a CreateHTTPErrorRuleBadRequest with default headers values

func (*CreateHTTPErrorRuleBadRequest) Code added in v1.1.5

Code gets the status code for the create Http error rule bad request response

func (*CreateHTTPErrorRuleBadRequest) Error

func (*CreateHTTPErrorRuleBadRequest) GetPayload

func (o *CreateHTTPErrorRuleBadRequest) GetPayload() *models.Error

func (*CreateHTTPErrorRuleBadRequest) IsClientError

func (o *CreateHTTPErrorRuleBadRequest) IsClientError() bool

IsClientError returns true when this create Http error rule bad request response has a 4xx status code

func (*CreateHTTPErrorRuleBadRequest) IsCode

func (o *CreateHTTPErrorRuleBadRequest) IsCode(code int) bool

IsCode returns true when this create Http error rule bad request response a status code equal to that given

func (*CreateHTTPErrorRuleBadRequest) IsRedirect

func (o *CreateHTTPErrorRuleBadRequest) IsRedirect() bool

IsRedirect returns true when this create Http error rule bad request response has a 3xx status code

func (*CreateHTTPErrorRuleBadRequest) IsServerError

func (o *CreateHTTPErrorRuleBadRequest) IsServerError() bool

IsServerError returns true when this create Http error rule bad request response has a 5xx status code

func (*CreateHTTPErrorRuleBadRequest) IsSuccess

func (o *CreateHTTPErrorRuleBadRequest) IsSuccess() bool

IsSuccess returns true when this create Http error rule bad request response has a 2xx status code

func (*CreateHTTPErrorRuleBadRequest) String

type CreateHTTPErrorRuleConflict

type CreateHTTPErrorRuleConflict struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

CreateHTTPErrorRuleConflict describes a response with status code 409, with default header values.

The specified resource already exists

func NewCreateHTTPErrorRuleConflict

func NewCreateHTTPErrorRuleConflict() *CreateHTTPErrorRuleConflict

NewCreateHTTPErrorRuleConflict creates a CreateHTTPErrorRuleConflict with default headers values

func (*CreateHTTPErrorRuleConflict) Code added in v1.1.5

func (o *CreateHTTPErrorRuleConflict) Code() int

Code gets the status code for the create Http error rule conflict response

func (*CreateHTTPErrorRuleConflict) Error

func (*CreateHTTPErrorRuleConflict) GetPayload

func (o *CreateHTTPErrorRuleConflict) GetPayload() *models.Error

func (*CreateHTTPErrorRuleConflict) IsClientError

func (o *CreateHTTPErrorRuleConflict) IsClientError() bool

IsClientError returns true when this create Http error rule conflict response has a 4xx status code

func (*CreateHTTPErrorRuleConflict) IsCode

func (o *CreateHTTPErrorRuleConflict) IsCode(code int) bool

IsCode returns true when this create Http error rule conflict response a status code equal to that given

func (*CreateHTTPErrorRuleConflict) IsRedirect

func (o *CreateHTTPErrorRuleConflict) IsRedirect() bool

IsRedirect returns true when this create Http error rule conflict response has a 3xx status code

func (*CreateHTTPErrorRuleConflict) IsServerError

func (o *CreateHTTPErrorRuleConflict) IsServerError() bool

IsServerError returns true when this create Http error rule conflict response has a 5xx status code

func (*CreateHTTPErrorRuleConflict) IsSuccess

func (o *CreateHTTPErrorRuleConflict) IsSuccess() bool

IsSuccess returns true when this create Http error rule conflict response has a 2xx status code

func (*CreateHTTPErrorRuleConflict) String

func (o *CreateHTTPErrorRuleConflict) String() string

type CreateHTTPErrorRuleCreated

type CreateHTTPErrorRuleCreated struct {
	Payload *models.HTTPErrorRule
}

CreateHTTPErrorRuleCreated describes a response with status code 201, with default header values.

HTTP Error Rule created

func NewCreateHTTPErrorRuleCreated

func NewCreateHTTPErrorRuleCreated() *CreateHTTPErrorRuleCreated

NewCreateHTTPErrorRuleCreated creates a CreateHTTPErrorRuleCreated with default headers values

func (*CreateHTTPErrorRuleCreated) Code added in v1.1.5

func (o *CreateHTTPErrorRuleCreated) Code() int

Code gets the status code for the create Http error rule created response

func (*CreateHTTPErrorRuleCreated) Error

func (*CreateHTTPErrorRuleCreated) GetPayload

func (*CreateHTTPErrorRuleCreated) IsClientError

func (o *CreateHTTPErrorRuleCreated) IsClientError() bool

IsClientError returns true when this create Http error rule created response has a 4xx status code

func (*CreateHTTPErrorRuleCreated) IsCode

func (o *CreateHTTPErrorRuleCreated) IsCode(code int) bool

IsCode returns true when this create Http error rule created response a status code equal to that given

func (*CreateHTTPErrorRuleCreated) IsRedirect

func (o *CreateHTTPErrorRuleCreated) IsRedirect() bool

IsRedirect returns true when this create Http error rule created response has a 3xx status code

func (*CreateHTTPErrorRuleCreated) IsServerError

func (o *CreateHTTPErrorRuleCreated) IsServerError() bool

IsServerError returns true when this create Http error rule created response has a 5xx status code

func (*CreateHTTPErrorRuleCreated) IsSuccess

func (o *CreateHTTPErrorRuleCreated) IsSuccess() bool

IsSuccess returns true when this create Http error rule created response has a 2xx status code

func (*CreateHTTPErrorRuleCreated) String

func (o *CreateHTTPErrorRuleCreated) String() string

type CreateHTTPErrorRuleDefault

type CreateHTTPErrorRuleDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

CreateHTTPErrorRuleDefault describes a response with status code -1, with default header values.

General Error

func NewCreateHTTPErrorRuleDefault

func NewCreateHTTPErrorRuleDefault(code int) *CreateHTTPErrorRuleDefault

NewCreateHTTPErrorRuleDefault creates a CreateHTTPErrorRuleDefault with default headers values

func (*CreateHTTPErrorRuleDefault) Code

func (o *CreateHTTPErrorRuleDefault) Code() int

Code gets the status code for the create HTTP error rule default response

func (*CreateHTTPErrorRuleDefault) Error

func (*CreateHTTPErrorRuleDefault) GetPayload

func (o *CreateHTTPErrorRuleDefault) GetPayload() *models.Error

func (*CreateHTTPErrorRuleDefault) IsClientError

func (o *CreateHTTPErrorRuleDefault) IsClientError() bool

IsClientError returns true when this create HTTP error rule default response has a 4xx status code

func (*CreateHTTPErrorRuleDefault) IsCode

func (o *CreateHTTPErrorRuleDefault) IsCode(code int) bool

IsCode returns true when this create HTTP error rule default response a status code equal to that given

func (*CreateHTTPErrorRuleDefault) IsRedirect

func (o *CreateHTTPErrorRuleDefault) IsRedirect() bool

IsRedirect returns true when this create HTTP error rule default response has a 3xx status code

func (*CreateHTTPErrorRuleDefault) IsServerError

func (o *CreateHTTPErrorRuleDefault) IsServerError() bool

IsServerError returns true when this create HTTP error rule default response has a 5xx status code

func (*CreateHTTPErrorRuleDefault) IsSuccess

func (o *CreateHTTPErrorRuleDefault) IsSuccess() bool

IsSuccess returns true when this create HTTP error rule default response has a 2xx status code

func (*CreateHTTPErrorRuleDefault) String

func (o *CreateHTTPErrorRuleDefault) String() string

type CreateHTTPErrorRuleParams

type CreateHTTPErrorRuleParams struct {

	// Data.
	Data *models.HTTPErrorRule

	/* ForceReload.

	   If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	*/
	ForceReload *bool

	/* ParentName.

	   Parent name
	*/
	ParentName *string

	/* ParentType.

	   Parent type
	*/
	ParentType string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

	/* Version.

	   Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version.
	*/
	Version *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateHTTPErrorRuleParams contains all the parameters to send to the API endpoint

for the create HTTP error rule operation.

Typically these are written to a http.Request.

func NewCreateHTTPErrorRuleParams

func NewCreateHTTPErrorRuleParams() *CreateHTTPErrorRuleParams

NewCreateHTTPErrorRuleParams creates a new CreateHTTPErrorRuleParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateHTTPErrorRuleParamsWithContext

func NewCreateHTTPErrorRuleParamsWithContext(ctx context.Context) *CreateHTTPErrorRuleParams

NewCreateHTTPErrorRuleParamsWithContext creates a new CreateHTTPErrorRuleParams object with the ability to set a context for a request.

func NewCreateHTTPErrorRuleParamsWithHTTPClient

func NewCreateHTTPErrorRuleParamsWithHTTPClient(client *http.Client) *CreateHTTPErrorRuleParams

NewCreateHTTPErrorRuleParamsWithHTTPClient creates a new CreateHTTPErrorRuleParams object with the ability to set a custom HTTPClient for a request.

func NewCreateHTTPErrorRuleParamsWithTimeout

func NewCreateHTTPErrorRuleParamsWithTimeout(timeout time.Duration) *CreateHTTPErrorRuleParams

NewCreateHTTPErrorRuleParamsWithTimeout creates a new CreateHTTPErrorRuleParams object with the ability to set a timeout on a request.

func (*CreateHTTPErrorRuleParams) SetContext

func (o *CreateHTTPErrorRuleParams) SetContext(ctx context.Context)

SetContext adds the context to the create HTTP error rule params

func (*CreateHTTPErrorRuleParams) SetData

SetData adds the data to the create HTTP error rule params

func (*CreateHTTPErrorRuleParams) SetDefaults

func (o *CreateHTTPErrorRuleParams) SetDefaults()

SetDefaults hydrates default values in the create HTTP error rule params (not the query body).

All values with no default are reset to their zero value.

func (*CreateHTTPErrorRuleParams) SetForceReload

func (o *CreateHTTPErrorRuleParams) SetForceReload(forceReload *bool)

SetForceReload adds the forceReload to the create HTTP error rule params

func (*CreateHTTPErrorRuleParams) SetHTTPClient

func (o *CreateHTTPErrorRuleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create HTTP error rule params

func (*CreateHTTPErrorRuleParams) SetParentName

func (o *CreateHTTPErrorRuleParams) SetParentName(parentName *string)

SetParentName adds the parentName to the create HTTP error rule params

func (*CreateHTTPErrorRuleParams) SetParentType

func (o *CreateHTTPErrorRuleParams) SetParentType(parentType string)

SetParentType adds the parentType to the create HTTP error rule params

func (*CreateHTTPErrorRuleParams) SetTimeout

func (o *CreateHTTPErrorRuleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create HTTP error rule params

func (*CreateHTTPErrorRuleParams) SetTransactionID

func (o *CreateHTTPErrorRuleParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the create HTTP error rule params

func (*CreateHTTPErrorRuleParams) SetVersion

func (o *CreateHTTPErrorRuleParams) SetVersion(version *int64)

SetVersion adds the version to the create HTTP error rule params

func (*CreateHTTPErrorRuleParams) WithContext

WithContext adds the context to the create HTTP error rule params

func (*CreateHTTPErrorRuleParams) WithData

WithData adds the data to the create HTTP error rule params

func (*CreateHTTPErrorRuleParams) WithDefaults

WithDefaults hydrates default values in the create HTTP error rule params (not the query body).

All values with no default are reset to their zero value.

func (*CreateHTTPErrorRuleParams) WithForceReload

func (o *CreateHTTPErrorRuleParams) WithForceReload(forceReload *bool) *CreateHTTPErrorRuleParams

WithForceReload adds the forceReload to the create HTTP error rule params

func (*CreateHTTPErrorRuleParams) WithHTTPClient

func (o *CreateHTTPErrorRuleParams) WithHTTPClient(client *http.Client) *CreateHTTPErrorRuleParams

WithHTTPClient adds the HTTPClient to the create HTTP error rule params

func (*CreateHTTPErrorRuleParams) WithParentName

func (o *CreateHTTPErrorRuleParams) WithParentName(parentName *string) *CreateHTTPErrorRuleParams

WithParentName adds the parentName to the create HTTP error rule params

func (*CreateHTTPErrorRuleParams) WithParentType

func (o *CreateHTTPErrorRuleParams) WithParentType(parentType string) *CreateHTTPErrorRuleParams

WithParentType adds the parentType to the create HTTP error rule params

func (*CreateHTTPErrorRuleParams) WithTimeout

WithTimeout adds the timeout to the create HTTP error rule params

func (*CreateHTTPErrorRuleParams) WithTransactionID

func (o *CreateHTTPErrorRuleParams) WithTransactionID(transactionID *string) *CreateHTTPErrorRuleParams

WithTransactionID adds the transactionID to the create HTTP error rule params

func (*CreateHTTPErrorRuleParams) WithVersion

func (o *CreateHTTPErrorRuleParams) WithVersion(version *int64) *CreateHTTPErrorRuleParams

WithVersion adds the version to the create HTTP error rule params

func (*CreateHTTPErrorRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateHTTPErrorRuleReader

type CreateHTTPErrorRuleReader struct {
	// contains filtered or unexported fields
}

CreateHTTPErrorRuleReader is a Reader for the CreateHTTPErrorRule structure.

func (*CreateHTTPErrorRuleReader) ReadResponse

func (o *CreateHTTPErrorRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteHTTPErrorRuleAccepted

type DeleteHTTPErrorRuleAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string
}

DeleteHTTPErrorRuleAccepted describes a response with status code 202, with default header values.

Configuration change accepted and reload requested

func NewDeleteHTTPErrorRuleAccepted

func NewDeleteHTTPErrorRuleAccepted() *DeleteHTTPErrorRuleAccepted

NewDeleteHTTPErrorRuleAccepted creates a DeleteHTTPErrorRuleAccepted with default headers values

func (*DeleteHTTPErrorRuleAccepted) Code added in v1.1.5

func (o *DeleteHTTPErrorRuleAccepted) Code() int

Code gets the status code for the delete Http error rule accepted response

func (*DeleteHTTPErrorRuleAccepted) Error

func (*DeleteHTTPErrorRuleAccepted) IsClientError

func (o *DeleteHTTPErrorRuleAccepted) IsClientError() bool

IsClientError returns true when this delete Http error rule accepted response has a 4xx status code

func (*DeleteHTTPErrorRuleAccepted) IsCode

func (o *DeleteHTTPErrorRuleAccepted) IsCode(code int) bool

IsCode returns true when this delete Http error rule accepted response a status code equal to that given

func (*DeleteHTTPErrorRuleAccepted) IsRedirect

func (o *DeleteHTTPErrorRuleAccepted) IsRedirect() bool

IsRedirect returns true when this delete Http error rule accepted response has a 3xx status code

func (*DeleteHTTPErrorRuleAccepted) IsServerError

func (o *DeleteHTTPErrorRuleAccepted) IsServerError() bool

IsServerError returns true when this delete Http error rule accepted response has a 5xx status code

func (*DeleteHTTPErrorRuleAccepted) IsSuccess

func (o *DeleteHTTPErrorRuleAccepted) IsSuccess() bool

IsSuccess returns true when this delete Http error rule accepted response has a 2xx status code

func (*DeleteHTTPErrorRuleAccepted) String

func (o *DeleteHTTPErrorRuleAccepted) String() string

type DeleteHTTPErrorRuleDefault

type DeleteHTTPErrorRuleDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

DeleteHTTPErrorRuleDefault describes a response with status code -1, with default header values.

General Error

func NewDeleteHTTPErrorRuleDefault

func NewDeleteHTTPErrorRuleDefault(code int) *DeleteHTTPErrorRuleDefault

NewDeleteHTTPErrorRuleDefault creates a DeleteHTTPErrorRuleDefault with default headers values

func (*DeleteHTTPErrorRuleDefault) Code

func (o *DeleteHTTPErrorRuleDefault) Code() int

Code gets the status code for the delete HTTP error rule default response

func (*DeleteHTTPErrorRuleDefault) Error

func (*DeleteHTTPErrorRuleDefault) GetPayload

func (o *DeleteHTTPErrorRuleDefault) GetPayload() *models.Error

func (*DeleteHTTPErrorRuleDefault) IsClientError

func (o *DeleteHTTPErrorRuleDefault) IsClientError() bool

IsClientError returns true when this delete HTTP error rule default response has a 4xx status code

func (*DeleteHTTPErrorRuleDefault) IsCode

func (o *DeleteHTTPErrorRuleDefault) IsCode(code int) bool

IsCode returns true when this delete HTTP error rule default response a status code equal to that given

func (*DeleteHTTPErrorRuleDefault) IsRedirect

func (o *DeleteHTTPErrorRuleDefault) IsRedirect() bool

IsRedirect returns true when this delete HTTP error rule default response has a 3xx status code

func (*DeleteHTTPErrorRuleDefault) IsServerError

func (o *DeleteHTTPErrorRuleDefault) IsServerError() bool

IsServerError returns true when this delete HTTP error rule default response has a 5xx status code

func (*DeleteHTTPErrorRuleDefault) IsSuccess

func (o *DeleteHTTPErrorRuleDefault) IsSuccess() bool

IsSuccess returns true when this delete HTTP error rule default response has a 2xx status code

func (*DeleteHTTPErrorRuleDefault) String

func (o *DeleteHTTPErrorRuleDefault) String() string

type DeleteHTTPErrorRuleNoContent

type DeleteHTTPErrorRuleNoContent struct {
}

DeleteHTTPErrorRuleNoContent describes a response with status code 204, with default header values.

HTTP Error Rule deleted

func NewDeleteHTTPErrorRuleNoContent

func NewDeleteHTTPErrorRuleNoContent() *DeleteHTTPErrorRuleNoContent

NewDeleteHTTPErrorRuleNoContent creates a DeleteHTTPErrorRuleNoContent with default headers values

func (*DeleteHTTPErrorRuleNoContent) Code added in v1.1.5

Code gets the status code for the delete Http error rule no content response

func (*DeleteHTTPErrorRuleNoContent) Error

func (*DeleteHTTPErrorRuleNoContent) IsClientError

func (o *DeleteHTTPErrorRuleNoContent) IsClientError() bool

IsClientError returns true when this delete Http error rule no content response has a 4xx status code

func (*DeleteHTTPErrorRuleNoContent) IsCode

func (o *DeleteHTTPErrorRuleNoContent) IsCode(code int) bool

IsCode returns true when this delete Http error rule no content response a status code equal to that given

func (*DeleteHTTPErrorRuleNoContent) IsRedirect

func (o *DeleteHTTPErrorRuleNoContent) IsRedirect() bool

IsRedirect returns true when this delete Http error rule no content response has a 3xx status code

func (*DeleteHTTPErrorRuleNoContent) IsServerError

func (o *DeleteHTTPErrorRuleNoContent) IsServerError() bool

IsServerError returns true when this delete Http error rule no content response has a 5xx status code

func (*DeleteHTTPErrorRuleNoContent) IsSuccess

func (o *DeleteHTTPErrorRuleNoContent) IsSuccess() bool

IsSuccess returns true when this delete Http error rule no content response has a 2xx status code

func (*DeleteHTTPErrorRuleNoContent) String

type DeleteHTTPErrorRuleNotFound

type DeleteHTTPErrorRuleNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

DeleteHTTPErrorRuleNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewDeleteHTTPErrorRuleNotFound

func NewDeleteHTTPErrorRuleNotFound() *DeleteHTTPErrorRuleNotFound

NewDeleteHTTPErrorRuleNotFound creates a DeleteHTTPErrorRuleNotFound with default headers values

func (*DeleteHTTPErrorRuleNotFound) Code added in v1.1.5

func (o *DeleteHTTPErrorRuleNotFound) Code() int

Code gets the status code for the delete Http error rule not found response

func (*DeleteHTTPErrorRuleNotFound) Error

func (*DeleteHTTPErrorRuleNotFound) GetPayload

func (o *DeleteHTTPErrorRuleNotFound) GetPayload() *models.Error

func (*DeleteHTTPErrorRuleNotFound) IsClientError

func (o *DeleteHTTPErrorRuleNotFound) IsClientError() bool

IsClientError returns true when this delete Http error rule not found response has a 4xx status code

func (*DeleteHTTPErrorRuleNotFound) IsCode

func (o *DeleteHTTPErrorRuleNotFound) IsCode(code int) bool

IsCode returns true when this delete Http error rule not found response a status code equal to that given

func (*DeleteHTTPErrorRuleNotFound) IsRedirect

func (o *DeleteHTTPErrorRuleNotFound) IsRedirect() bool

IsRedirect returns true when this delete Http error rule not found response has a 3xx status code

func (*DeleteHTTPErrorRuleNotFound) IsServerError

func (o *DeleteHTTPErrorRuleNotFound) IsServerError() bool

IsServerError returns true when this delete Http error rule not found response has a 5xx status code

func (*DeleteHTTPErrorRuleNotFound) IsSuccess

func (o *DeleteHTTPErrorRuleNotFound) IsSuccess() bool

IsSuccess returns true when this delete Http error rule not found response has a 2xx status code

func (*DeleteHTTPErrorRuleNotFound) String

func (o *DeleteHTTPErrorRuleNotFound) String() string

type DeleteHTTPErrorRuleParams

type DeleteHTTPErrorRuleParams struct {

	/* ForceReload.

	   If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	*/
	ForceReload *bool

	/* Index.

	   HTTP Error Rule Index
	*/
	Index int64

	/* ParentName.

	   Parent name
	*/
	ParentName *string

	/* ParentType.

	   Parent type
	*/
	ParentType string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

	/* Version.

	   Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version.
	*/
	Version *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteHTTPErrorRuleParams contains all the parameters to send to the API endpoint

for the delete HTTP error rule operation.

Typically these are written to a http.Request.

func NewDeleteHTTPErrorRuleParams

func NewDeleteHTTPErrorRuleParams() *DeleteHTTPErrorRuleParams

NewDeleteHTTPErrorRuleParams creates a new DeleteHTTPErrorRuleParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteHTTPErrorRuleParamsWithContext

func NewDeleteHTTPErrorRuleParamsWithContext(ctx context.Context) *DeleteHTTPErrorRuleParams

NewDeleteHTTPErrorRuleParamsWithContext creates a new DeleteHTTPErrorRuleParams object with the ability to set a context for a request.

func NewDeleteHTTPErrorRuleParamsWithHTTPClient

func NewDeleteHTTPErrorRuleParamsWithHTTPClient(client *http.Client) *DeleteHTTPErrorRuleParams

NewDeleteHTTPErrorRuleParamsWithHTTPClient creates a new DeleteHTTPErrorRuleParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteHTTPErrorRuleParamsWithTimeout

func NewDeleteHTTPErrorRuleParamsWithTimeout(timeout time.Duration) *DeleteHTTPErrorRuleParams

NewDeleteHTTPErrorRuleParamsWithTimeout creates a new DeleteHTTPErrorRuleParams object with the ability to set a timeout on a request.

func (*DeleteHTTPErrorRuleParams) SetContext

func (o *DeleteHTTPErrorRuleParams) SetContext(ctx context.Context)

SetContext adds the context to the delete HTTP error rule params

func (*DeleteHTTPErrorRuleParams) SetDefaults

func (o *DeleteHTTPErrorRuleParams) SetDefaults()

SetDefaults hydrates default values in the delete HTTP error rule params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteHTTPErrorRuleParams) SetForceReload

func (o *DeleteHTTPErrorRuleParams) SetForceReload(forceReload *bool)

SetForceReload adds the forceReload to the delete HTTP error rule params

func (*DeleteHTTPErrorRuleParams) SetHTTPClient

func (o *DeleteHTTPErrorRuleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete HTTP error rule params

func (*DeleteHTTPErrorRuleParams) SetIndex

func (o *DeleteHTTPErrorRuleParams) SetIndex(index int64)

SetIndex adds the index to the delete HTTP error rule params

func (*DeleteHTTPErrorRuleParams) SetParentName

func (o *DeleteHTTPErrorRuleParams) SetParentName(parentName *string)

SetParentName adds the parentName to the delete HTTP error rule params

func (*DeleteHTTPErrorRuleParams) SetParentType

func (o *DeleteHTTPErrorRuleParams) SetParentType(parentType string)

SetParentType adds the parentType to the delete HTTP error rule params

func (*DeleteHTTPErrorRuleParams) SetTimeout

func (o *DeleteHTTPErrorRuleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete HTTP error rule params

func (*DeleteHTTPErrorRuleParams) SetTransactionID

func (o *DeleteHTTPErrorRuleParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the delete HTTP error rule params

func (*DeleteHTTPErrorRuleParams) SetVersion

func (o *DeleteHTTPErrorRuleParams) SetVersion(version *int64)

SetVersion adds the version to the delete HTTP error rule params

func (*DeleteHTTPErrorRuleParams) WithContext

WithContext adds the context to the delete HTTP error rule params

func (*DeleteHTTPErrorRuleParams) WithDefaults

WithDefaults hydrates default values in the delete HTTP error rule params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteHTTPErrorRuleParams) WithForceReload

func (o *DeleteHTTPErrorRuleParams) WithForceReload(forceReload *bool) *DeleteHTTPErrorRuleParams

WithForceReload adds the forceReload to the delete HTTP error rule params

func (*DeleteHTTPErrorRuleParams) WithHTTPClient

func (o *DeleteHTTPErrorRuleParams) WithHTTPClient(client *http.Client) *DeleteHTTPErrorRuleParams

WithHTTPClient adds the HTTPClient to the delete HTTP error rule params

func (*DeleteHTTPErrorRuleParams) WithIndex

WithIndex adds the index to the delete HTTP error rule params

func (*DeleteHTTPErrorRuleParams) WithParentName

func (o *DeleteHTTPErrorRuleParams) WithParentName(parentName *string) *DeleteHTTPErrorRuleParams

WithParentName adds the parentName to the delete HTTP error rule params

func (*DeleteHTTPErrorRuleParams) WithParentType

func (o *DeleteHTTPErrorRuleParams) WithParentType(parentType string) *DeleteHTTPErrorRuleParams

WithParentType adds the parentType to the delete HTTP error rule params

func (*DeleteHTTPErrorRuleParams) WithTimeout

WithTimeout adds the timeout to the delete HTTP error rule params

func (*DeleteHTTPErrorRuleParams) WithTransactionID

func (o *DeleteHTTPErrorRuleParams) WithTransactionID(transactionID *string) *DeleteHTTPErrorRuleParams

WithTransactionID adds the transactionID to the delete HTTP error rule params

func (*DeleteHTTPErrorRuleParams) WithVersion

func (o *DeleteHTTPErrorRuleParams) WithVersion(version *int64) *DeleteHTTPErrorRuleParams

WithVersion adds the version to the delete HTTP error rule params

func (*DeleteHTTPErrorRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteHTTPErrorRuleReader

type DeleteHTTPErrorRuleReader struct {
	// contains filtered or unexported fields
}

DeleteHTTPErrorRuleReader is a Reader for the DeleteHTTPErrorRule structure.

func (*DeleteHTTPErrorRuleReader) ReadResponse

func (o *DeleteHTTPErrorRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetHTTPErrorRuleDefault

type GetHTTPErrorRuleDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

GetHTTPErrorRuleDefault describes a response with status code -1, with default header values.

General Error

func NewGetHTTPErrorRuleDefault

func NewGetHTTPErrorRuleDefault(code int) *GetHTTPErrorRuleDefault

NewGetHTTPErrorRuleDefault creates a GetHTTPErrorRuleDefault with default headers values

func (*GetHTTPErrorRuleDefault) Code

func (o *GetHTTPErrorRuleDefault) Code() int

Code gets the status code for the get HTTP error rule default response

func (*GetHTTPErrorRuleDefault) Error

func (o *GetHTTPErrorRuleDefault) Error() string

func (*GetHTTPErrorRuleDefault) GetPayload

func (o *GetHTTPErrorRuleDefault) GetPayload() *models.Error

func (*GetHTTPErrorRuleDefault) IsClientError

func (o *GetHTTPErrorRuleDefault) IsClientError() bool

IsClientError returns true when this get HTTP error rule default response has a 4xx status code

func (*GetHTTPErrorRuleDefault) IsCode

func (o *GetHTTPErrorRuleDefault) IsCode(code int) bool

IsCode returns true when this get HTTP error rule default response a status code equal to that given

func (*GetHTTPErrorRuleDefault) IsRedirect

func (o *GetHTTPErrorRuleDefault) IsRedirect() bool

IsRedirect returns true when this get HTTP error rule default response has a 3xx status code

func (*GetHTTPErrorRuleDefault) IsServerError

func (o *GetHTTPErrorRuleDefault) IsServerError() bool

IsServerError returns true when this get HTTP error rule default response has a 5xx status code

func (*GetHTTPErrorRuleDefault) IsSuccess

func (o *GetHTTPErrorRuleDefault) IsSuccess() bool

IsSuccess returns true when this get HTTP error rule default response has a 2xx status code

func (*GetHTTPErrorRuleDefault) String

func (o *GetHTTPErrorRuleDefault) String() string

type GetHTTPErrorRuleNotFound

type GetHTTPErrorRuleNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

GetHTTPErrorRuleNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewGetHTTPErrorRuleNotFound

func NewGetHTTPErrorRuleNotFound() *GetHTTPErrorRuleNotFound

NewGetHTTPErrorRuleNotFound creates a GetHTTPErrorRuleNotFound with default headers values

func (*GetHTTPErrorRuleNotFound) Code added in v1.1.5

func (o *GetHTTPErrorRuleNotFound) Code() int

Code gets the status code for the get Http error rule not found response

func (*GetHTTPErrorRuleNotFound) Error

func (o *GetHTTPErrorRuleNotFound) Error() string

func (*GetHTTPErrorRuleNotFound) GetPayload

func (o *GetHTTPErrorRuleNotFound) GetPayload() *models.Error

func (*GetHTTPErrorRuleNotFound) IsClientError

func (o *GetHTTPErrorRuleNotFound) IsClientError() bool

IsClientError returns true when this get Http error rule not found response has a 4xx status code

func (*GetHTTPErrorRuleNotFound) IsCode

func (o *GetHTTPErrorRuleNotFound) IsCode(code int) bool

IsCode returns true when this get Http error rule not found response a status code equal to that given

func (*GetHTTPErrorRuleNotFound) IsRedirect

func (o *GetHTTPErrorRuleNotFound) IsRedirect() bool

IsRedirect returns true when this get Http error rule not found response has a 3xx status code

func (*GetHTTPErrorRuleNotFound) IsServerError

func (o *GetHTTPErrorRuleNotFound) IsServerError() bool

IsServerError returns true when this get Http error rule not found response has a 5xx status code

func (*GetHTTPErrorRuleNotFound) IsSuccess

func (o *GetHTTPErrorRuleNotFound) IsSuccess() bool

IsSuccess returns true when this get Http error rule not found response has a 2xx status code

func (*GetHTTPErrorRuleNotFound) String

func (o *GetHTTPErrorRuleNotFound) String() string

type GetHTTPErrorRuleOK

type GetHTTPErrorRuleOK struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *GetHTTPErrorRuleOKBody
}

GetHTTPErrorRuleOK describes a response with status code 200, with default header values.

Successful operation

func NewGetHTTPErrorRuleOK

func NewGetHTTPErrorRuleOK() *GetHTTPErrorRuleOK

NewGetHTTPErrorRuleOK creates a GetHTTPErrorRuleOK with default headers values

func (*GetHTTPErrorRuleOK) Code added in v1.1.5

func (o *GetHTTPErrorRuleOK) Code() int

Code gets the status code for the get Http error rule o k response

func (*GetHTTPErrorRuleOK) Error

func (o *GetHTTPErrorRuleOK) Error() string

func (*GetHTTPErrorRuleOK) GetPayload

func (o *GetHTTPErrorRuleOK) GetPayload() *GetHTTPErrorRuleOKBody

func (*GetHTTPErrorRuleOK) IsClientError

func (o *GetHTTPErrorRuleOK) IsClientError() bool

IsClientError returns true when this get Http error rule o k response has a 4xx status code

func (*GetHTTPErrorRuleOK) IsCode

func (o *GetHTTPErrorRuleOK) IsCode(code int) bool

IsCode returns true when this get Http error rule o k response a status code equal to that given

func (*GetHTTPErrorRuleOK) IsRedirect

func (o *GetHTTPErrorRuleOK) IsRedirect() bool

IsRedirect returns true when this get Http error rule o k response has a 3xx status code

func (*GetHTTPErrorRuleOK) IsServerError

func (o *GetHTTPErrorRuleOK) IsServerError() bool

IsServerError returns true when this get Http error rule o k response has a 5xx status code

func (*GetHTTPErrorRuleOK) IsSuccess

func (o *GetHTTPErrorRuleOK) IsSuccess() bool

IsSuccess returns true when this get Http error rule o k response has a 2xx status code

func (*GetHTTPErrorRuleOK) String

func (o *GetHTTPErrorRuleOK) String() string

type GetHTTPErrorRuleOKBody

type GetHTTPErrorRuleOKBody struct {

	// version
	Version int64 `json:"_version,omitempty"`

	// data
	Data *models.HTTPErrorRule `json:"data,omitempty"`
}

GetHTTPErrorRuleOKBody get HTTP error rule o k body swagger:model GetHTTPErrorRuleOKBody

func (*GetHTTPErrorRuleOKBody) ContextValidate

func (o *GetHTTPErrorRuleOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get HTTP error rule o k body based on the context it is used

func (*GetHTTPErrorRuleOKBody) MarshalBinary

func (o *GetHTTPErrorRuleOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetHTTPErrorRuleOKBody) UnmarshalBinary

func (o *GetHTTPErrorRuleOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetHTTPErrorRuleOKBody) Validate

func (o *GetHTTPErrorRuleOKBody) Validate(formats strfmt.Registry) error

Validate validates this get HTTP error rule o k body

type GetHTTPErrorRuleParams

type GetHTTPErrorRuleParams struct {

	/* Index.

	   HTTP Error Rule Index
	*/
	Index int64

	/* ParentName.

	   Parent name
	*/
	ParentName *string

	/* ParentType.

	   Parent type
	*/
	ParentType string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetHTTPErrorRuleParams contains all the parameters to send to the API endpoint

for the get HTTP error rule operation.

Typically these are written to a http.Request.

func NewGetHTTPErrorRuleParams

func NewGetHTTPErrorRuleParams() *GetHTTPErrorRuleParams

NewGetHTTPErrorRuleParams creates a new GetHTTPErrorRuleParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetHTTPErrorRuleParamsWithContext

func NewGetHTTPErrorRuleParamsWithContext(ctx context.Context) *GetHTTPErrorRuleParams

NewGetHTTPErrorRuleParamsWithContext creates a new GetHTTPErrorRuleParams object with the ability to set a context for a request.

func NewGetHTTPErrorRuleParamsWithHTTPClient

func NewGetHTTPErrorRuleParamsWithHTTPClient(client *http.Client) *GetHTTPErrorRuleParams

NewGetHTTPErrorRuleParamsWithHTTPClient creates a new GetHTTPErrorRuleParams object with the ability to set a custom HTTPClient for a request.

func NewGetHTTPErrorRuleParamsWithTimeout

func NewGetHTTPErrorRuleParamsWithTimeout(timeout time.Duration) *GetHTTPErrorRuleParams

NewGetHTTPErrorRuleParamsWithTimeout creates a new GetHTTPErrorRuleParams object with the ability to set a timeout on a request.

func (*GetHTTPErrorRuleParams) SetContext

func (o *GetHTTPErrorRuleParams) SetContext(ctx context.Context)

SetContext adds the context to the get HTTP error rule params

func (*GetHTTPErrorRuleParams) SetDefaults

func (o *GetHTTPErrorRuleParams) SetDefaults()

SetDefaults hydrates default values in the get HTTP error rule params (not the query body).

All values with no default are reset to their zero value.

func (*GetHTTPErrorRuleParams) SetHTTPClient

func (o *GetHTTPErrorRuleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get HTTP error rule params

func (*GetHTTPErrorRuleParams) SetIndex

func (o *GetHTTPErrorRuleParams) SetIndex(index int64)

SetIndex adds the index to the get HTTP error rule params

func (*GetHTTPErrorRuleParams) SetParentName

func (o *GetHTTPErrorRuleParams) SetParentName(parentName *string)

SetParentName adds the parentName to the get HTTP error rule params

func (*GetHTTPErrorRuleParams) SetParentType

func (o *GetHTTPErrorRuleParams) SetParentType(parentType string)

SetParentType adds the parentType to the get HTTP error rule params

func (*GetHTTPErrorRuleParams) SetTimeout

func (o *GetHTTPErrorRuleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get HTTP error rule params

func (*GetHTTPErrorRuleParams) SetTransactionID

func (o *GetHTTPErrorRuleParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the get HTTP error rule params

func (*GetHTTPErrorRuleParams) WithContext

WithContext adds the context to the get HTTP error rule params

func (*GetHTTPErrorRuleParams) WithDefaults

WithDefaults hydrates default values in the get HTTP error rule params (not the query body).

All values with no default are reset to their zero value.

func (*GetHTTPErrorRuleParams) WithHTTPClient

func (o *GetHTTPErrorRuleParams) WithHTTPClient(client *http.Client) *GetHTTPErrorRuleParams

WithHTTPClient adds the HTTPClient to the get HTTP error rule params

func (*GetHTTPErrorRuleParams) WithIndex

WithIndex adds the index to the get HTTP error rule params

func (*GetHTTPErrorRuleParams) WithParentName

func (o *GetHTTPErrorRuleParams) WithParentName(parentName *string) *GetHTTPErrorRuleParams

WithParentName adds the parentName to the get HTTP error rule params

func (*GetHTTPErrorRuleParams) WithParentType

func (o *GetHTTPErrorRuleParams) WithParentType(parentType string) *GetHTTPErrorRuleParams

WithParentType adds the parentType to the get HTTP error rule params

func (*GetHTTPErrorRuleParams) WithTimeout

WithTimeout adds the timeout to the get HTTP error rule params

func (*GetHTTPErrorRuleParams) WithTransactionID

func (o *GetHTTPErrorRuleParams) WithTransactionID(transactionID *string) *GetHTTPErrorRuleParams

WithTransactionID adds the transactionID to the get HTTP error rule params

func (*GetHTTPErrorRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetHTTPErrorRuleReader

type GetHTTPErrorRuleReader struct {
	// contains filtered or unexported fields
}

GetHTTPErrorRuleReader is a Reader for the GetHTTPErrorRule structure.

func (*GetHTTPErrorRuleReader) ReadResponse

func (o *GetHTTPErrorRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetHTTPErrorRulesDefault

type GetHTTPErrorRulesDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

GetHTTPErrorRulesDefault describes a response with status code -1, with default header values.

General Error

func NewGetHTTPErrorRulesDefault

func NewGetHTTPErrorRulesDefault(code int) *GetHTTPErrorRulesDefault

NewGetHTTPErrorRulesDefault creates a GetHTTPErrorRulesDefault with default headers values

func (*GetHTTPErrorRulesDefault) Code

func (o *GetHTTPErrorRulesDefault) Code() int

Code gets the status code for the get HTTP error rules default response

func (*GetHTTPErrorRulesDefault) Error

func (o *GetHTTPErrorRulesDefault) Error() string

func (*GetHTTPErrorRulesDefault) GetPayload

func (o *GetHTTPErrorRulesDefault) GetPayload() *models.Error

func (*GetHTTPErrorRulesDefault) IsClientError

func (o *GetHTTPErrorRulesDefault) IsClientError() bool

IsClientError returns true when this get HTTP error rules default response has a 4xx status code

func (*GetHTTPErrorRulesDefault) IsCode

func (o *GetHTTPErrorRulesDefault) IsCode(code int) bool

IsCode returns true when this get HTTP error rules default response a status code equal to that given

func (*GetHTTPErrorRulesDefault) IsRedirect

func (o *GetHTTPErrorRulesDefault) IsRedirect() bool

IsRedirect returns true when this get HTTP error rules default response has a 3xx status code

func (*GetHTTPErrorRulesDefault) IsServerError

func (o *GetHTTPErrorRulesDefault) IsServerError() bool

IsServerError returns true when this get HTTP error rules default response has a 5xx status code

func (*GetHTTPErrorRulesDefault) IsSuccess

func (o *GetHTTPErrorRulesDefault) IsSuccess() bool

IsSuccess returns true when this get HTTP error rules default response has a 2xx status code

func (*GetHTTPErrorRulesDefault) String

func (o *GetHTTPErrorRulesDefault) String() string

type GetHTTPErrorRulesOK

type GetHTTPErrorRulesOK struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *GetHTTPErrorRulesOKBody
}

GetHTTPErrorRulesOK describes a response with status code 200, with default header values.

Successful operation

func NewGetHTTPErrorRulesOK

func NewGetHTTPErrorRulesOK() *GetHTTPErrorRulesOK

NewGetHTTPErrorRulesOK creates a GetHTTPErrorRulesOK with default headers values

func (*GetHTTPErrorRulesOK) Code added in v1.1.5

func (o *GetHTTPErrorRulesOK) Code() int

Code gets the status code for the get Http error rules o k response

func (*GetHTTPErrorRulesOK) Error

func (o *GetHTTPErrorRulesOK) Error() string

func (*GetHTTPErrorRulesOK) GetPayload

func (*GetHTTPErrorRulesOK) IsClientError

func (o *GetHTTPErrorRulesOK) IsClientError() bool

IsClientError returns true when this get Http error rules o k response has a 4xx status code

func (*GetHTTPErrorRulesOK) IsCode

func (o *GetHTTPErrorRulesOK) IsCode(code int) bool

IsCode returns true when this get Http error rules o k response a status code equal to that given

func (*GetHTTPErrorRulesOK) IsRedirect

func (o *GetHTTPErrorRulesOK) IsRedirect() bool

IsRedirect returns true when this get Http error rules o k response has a 3xx status code

func (*GetHTTPErrorRulesOK) IsServerError

func (o *GetHTTPErrorRulesOK) IsServerError() bool

IsServerError returns true when this get Http error rules o k response has a 5xx status code

func (*GetHTTPErrorRulesOK) IsSuccess

func (o *GetHTTPErrorRulesOK) IsSuccess() bool

IsSuccess returns true when this get Http error rules o k response has a 2xx status code

func (*GetHTTPErrorRulesOK) String

func (o *GetHTTPErrorRulesOK) String() string

type GetHTTPErrorRulesOKBody

type GetHTTPErrorRulesOKBody struct {

	// version
	Version int64 `json:"_version,omitempty"`

	// data
	// Required: true
	Data models.HTTPErrorRules `json:"data"`
}

GetHTTPErrorRulesOKBody get HTTP error rules o k body swagger:model GetHTTPErrorRulesOKBody

func (*GetHTTPErrorRulesOKBody) ContextValidate

func (o *GetHTTPErrorRulesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get HTTP error rules o k body based on the context it is used

func (*GetHTTPErrorRulesOKBody) MarshalBinary

func (o *GetHTTPErrorRulesOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetHTTPErrorRulesOKBody) UnmarshalBinary

func (o *GetHTTPErrorRulesOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetHTTPErrorRulesOKBody) Validate

func (o *GetHTTPErrorRulesOKBody) Validate(formats strfmt.Registry) error

Validate validates this get HTTP error rules o k body

type GetHTTPErrorRulesParams

type GetHTTPErrorRulesParams struct {

	/* ParentName.

	   Parent name
	*/
	ParentName *string

	/* ParentType.

	   Parent type
	*/
	ParentType string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetHTTPErrorRulesParams contains all the parameters to send to the API endpoint

for the get HTTP error rules operation.

Typically these are written to a http.Request.

func NewGetHTTPErrorRulesParams

func NewGetHTTPErrorRulesParams() *GetHTTPErrorRulesParams

NewGetHTTPErrorRulesParams creates a new GetHTTPErrorRulesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetHTTPErrorRulesParamsWithContext

func NewGetHTTPErrorRulesParamsWithContext(ctx context.Context) *GetHTTPErrorRulesParams

NewGetHTTPErrorRulesParamsWithContext creates a new GetHTTPErrorRulesParams object with the ability to set a context for a request.

func NewGetHTTPErrorRulesParamsWithHTTPClient

func NewGetHTTPErrorRulesParamsWithHTTPClient(client *http.Client) *GetHTTPErrorRulesParams

NewGetHTTPErrorRulesParamsWithHTTPClient creates a new GetHTTPErrorRulesParams object with the ability to set a custom HTTPClient for a request.

func NewGetHTTPErrorRulesParamsWithTimeout

func NewGetHTTPErrorRulesParamsWithTimeout(timeout time.Duration) *GetHTTPErrorRulesParams

NewGetHTTPErrorRulesParamsWithTimeout creates a new GetHTTPErrorRulesParams object with the ability to set a timeout on a request.

func (*GetHTTPErrorRulesParams) SetContext

func (o *GetHTTPErrorRulesParams) SetContext(ctx context.Context)

SetContext adds the context to the get HTTP error rules params

func (*GetHTTPErrorRulesParams) SetDefaults

func (o *GetHTTPErrorRulesParams) SetDefaults()

SetDefaults hydrates default values in the get HTTP error rules params (not the query body).

All values with no default are reset to their zero value.

func (*GetHTTPErrorRulesParams) SetHTTPClient

func (o *GetHTTPErrorRulesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get HTTP error rules params

func (*GetHTTPErrorRulesParams) SetParentName

func (o *GetHTTPErrorRulesParams) SetParentName(parentName *string)

SetParentName adds the parentName to the get HTTP error rules params

func (*GetHTTPErrorRulesParams) SetParentType

func (o *GetHTTPErrorRulesParams) SetParentType(parentType string)

SetParentType adds the parentType to the get HTTP error rules params

func (*GetHTTPErrorRulesParams) SetTimeout

func (o *GetHTTPErrorRulesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get HTTP error rules params

func (*GetHTTPErrorRulesParams) SetTransactionID

func (o *GetHTTPErrorRulesParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the get HTTP error rules params

func (*GetHTTPErrorRulesParams) WithContext

WithContext adds the context to the get HTTP error rules params

func (*GetHTTPErrorRulesParams) WithDefaults

WithDefaults hydrates default values in the get HTTP error rules params (not the query body).

All values with no default are reset to their zero value.

func (*GetHTTPErrorRulesParams) WithHTTPClient

func (o *GetHTTPErrorRulesParams) WithHTTPClient(client *http.Client) *GetHTTPErrorRulesParams

WithHTTPClient adds the HTTPClient to the get HTTP error rules params

func (*GetHTTPErrorRulesParams) WithParentName

func (o *GetHTTPErrorRulesParams) WithParentName(parentName *string) *GetHTTPErrorRulesParams

WithParentName adds the parentName to the get HTTP error rules params

func (*GetHTTPErrorRulesParams) WithParentType

func (o *GetHTTPErrorRulesParams) WithParentType(parentType string) *GetHTTPErrorRulesParams

WithParentType adds the parentType to the get HTTP error rules params

func (*GetHTTPErrorRulesParams) WithTimeout

WithTimeout adds the timeout to the get HTTP error rules params

func (*GetHTTPErrorRulesParams) WithTransactionID

func (o *GetHTTPErrorRulesParams) WithTransactionID(transactionID *string) *GetHTTPErrorRulesParams

WithTransactionID adds the transactionID to the get HTTP error rules params

func (*GetHTTPErrorRulesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetHTTPErrorRulesReader

type GetHTTPErrorRulesReader struct {
	// contains filtered or unexported fields
}

GetHTTPErrorRulesReader is a Reader for the GetHTTPErrorRules structure.

func (*GetHTTPErrorRulesReader) ReadResponse

func (o *GetHTTPErrorRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ReplaceHTTPErrorRuleAccepted

type ReplaceHTTPErrorRuleAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string

	Payload *models.HTTPErrorRule
}

ReplaceHTTPErrorRuleAccepted describes a response with status code 202, with default header values.

Configuration change accepted and reload requested

func NewReplaceHTTPErrorRuleAccepted

func NewReplaceHTTPErrorRuleAccepted() *ReplaceHTTPErrorRuleAccepted

NewReplaceHTTPErrorRuleAccepted creates a ReplaceHTTPErrorRuleAccepted with default headers values

func (*ReplaceHTTPErrorRuleAccepted) Code added in v1.1.5

Code gets the status code for the replace Http error rule accepted response

func (*ReplaceHTTPErrorRuleAccepted) Error

func (*ReplaceHTTPErrorRuleAccepted) GetPayload

func (*ReplaceHTTPErrorRuleAccepted) IsClientError

func (o *ReplaceHTTPErrorRuleAccepted) IsClientError() bool

IsClientError returns true when this replace Http error rule accepted response has a 4xx status code

func (*ReplaceHTTPErrorRuleAccepted) IsCode

func (o *ReplaceHTTPErrorRuleAccepted) IsCode(code int) bool

IsCode returns true when this replace Http error rule accepted response a status code equal to that given

func (*ReplaceHTTPErrorRuleAccepted) IsRedirect

func (o *ReplaceHTTPErrorRuleAccepted) IsRedirect() bool

IsRedirect returns true when this replace Http error rule accepted response has a 3xx status code

func (*ReplaceHTTPErrorRuleAccepted) IsServerError

func (o *ReplaceHTTPErrorRuleAccepted) IsServerError() bool

IsServerError returns true when this replace Http error rule accepted response has a 5xx status code

func (*ReplaceHTTPErrorRuleAccepted) IsSuccess

func (o *ReplaceHTTPErrorRuleAccepted) IsSuccess() bool

IsSuccess returns true when this replace Http error rule accepted response has a 2xx status code

func (*ReplaceHTTPErrorRuleAccepted) String

type ReplaceHTTPErrorRuleBadRequest

type ReplaceHTTPErrorRuleBadRequest struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

ReplaceHTTPErrorRuleBadRequest describes a response with status code 400, with default header values.

Bad request

func NewReplaceHTTPErrorRuleBadRequest

func NewReplaceHTTPErrorRuleBadRequest() *ReplaceHTTPErrorRuleBadRequest

NewReplaceHTTPErrorRuleBadRequest creates a ReplaceHTTPErrorRuleBadRequest with default headers values

func (*ReplaceHTTPErrorRuleBadRequest) Code added in v1.1.5

Code gets the status code for the replace Http error rule bad request response

func (*ReplaceHTTPErrorRuleBadRequest) Error

func (*ReplaceHTTPErrorRuleBadRequest) GetPayload

func (o *ReplaceHTTPErrorRuleBadRequest) GetPayload() *models.Error

func (*ReplaceHTTPErrorRuleBadRequest) IsClientError

func (o *ReplaceHTTPErrorRuleBadRequest) IsClientError() bool

IsClientError returns true when this replace Http error rule bad request response has a 4xx status code

func (*ReplaceHTTPErrorRuleBadRequest) IsCode

func (o *ReplaceHTTPErrorRuleBadRequest) IsCode(code int) bool

IsCode returns true when this replace Http error rule bad request response a status code equal to that given

func (*ReplaceHTTPErrorRuleBadRequest) IsRedirect

func (o *ReplaceHTTPErrorRuleBadRequest) IsRedirect() bool

IsRedirect returns true when this replace Http error rule bad request response has a 3xx status code

func (*ReplaceHTTPErrorRuleBadRequest) IsServerError

func (o *ReplaceHTTPErrorRuleBadRequest) IsServerError() bool

IsServerError returns true when this replace Http error rule bad request response has a 5xx status code

func (*ReplaceHTTPErrorRuleBadRequest) IsSuccess

func (o *ReplaceHTTPErrorRuleBadRequest) IsSuccess() bool

IsSuccess returns true when this replace Http error rule bad request response has a 2xx status code

func (*ReplaceHTTPErrorRuleBadRequest) String

type ReplaceHTTPErrorRuleDefault

type ReplaceHTTPErrorRuleDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

ReplaceHTTPErrorRuleDefault describes a response with status code -1, with default header values.

General Error

func NewReplaceHTTPErrorRuleDefault

func NewReplaceHTTPErrorRuleDefault(code int) *ReplaceHTTPErrorRuleDefault

NewReplaceHTTPErrorRuleDefault creates a ReplaceHTTPErrorRuleDefault with default headers values

func (*ReplaceHTTPErrorRuleDefault) Code

func (o *ReplaceHTTPErrorRuleDefault) Code() int

Code gets the status code for the replace HTTP error rule default response

func (*ReplaceHTTPErrorRuleDefault) Error

func (*ReplaceHTTPErrorRuleDefault) GetPayload

func (o *ReplaceHTTPErrorRuleDefault) GetPayload() *models.Error

func (*ReplaceHTTPErrorRuleDefault) IsClientError

func (o *ReplaceHTTPErrorRuleDefault) IsClientError() bool

IsClientError returns true when this replace HTTP error rule default response has a 4xx status code

func (*ReplaceHTTPErrorRuleDefault) IsCode

func (o *ReplaceHTTPErrorRuleDefault) IsCode(code int) bool

IsCode returns true when this replace HTTP error rule default response a status code equal to that given

func (*ReplaceHTTPErrorRuleDefault) IsRedirect

func (o *ReplaceHTTPErrorRuleDefault) IsRedirect() bool

IsRedirect returns true when this replace HTTP error rule default response has a 3xx status code

func (*ReplaceHTTPErrorRuleDefault) IsServerError

func (o *ReplaceHTTPErrorRuleDefault) IsServerError() bool

IsServerError returns true when this replace HTTP error rule default response has a 5xx status code

func (*ReplaceHTTPErrorRuleDefault) IsSuccess

func (o *ReplaceHTTPErrorRuleDefault) IsSuccess() bool

IsSuccess returns true when this replace HTTP error rule default response has a 2xx status code

func (*ReplaceHTTPErrorRuleDefault) String

func (o *ReplaceHTTPErrorRuleDefault) String() string

type ReplaceHTTPErrorRuleNotFound

type ReplaceHTTPErrorRuleNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

ReplaceHTTPErrorRuleNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewReplaceHTTPErrorRuleNotFound

func NewReplaceHTTPErrorRuleNotFound() *ReplaceHTTPErrorRuleNotFound

NewReplaceHTTPErrorRuleNotFound creates a ReplaceHTTPErrorRuleNotFound with default headers values

func (*ReplaceHTTPErrorRuleNotFound) Code added in v1.1.5

Code gets the status code for the replace Http error rule not found response

func (*ReplaceHTTPErrorRuleNotFound) Error

func (*ReplaceHTTPErrorRuleNotFound) GetPayload

func (o *ReplaceHTTPErrorRuleNotFound) GetPayload() *models.Error

func (*ReplaceHTTPErrorRuleNotFound) IsClientError

func (o *ReplaceHTTPErrorRuleNotFound) IsClientError() bool

IsClientError returns true when this replace Http error rule not found response has a 4xx status code

func (*ReplaceHTTPErrorRuleNotFound) IsCode

func (o *ReplaceHTTPErrorRuleNotFound) IsCode(code int) bool

IsCode returns true when this replace Http error rule not found response a status code equal to that given

func (*ReplaceHTTPErrorRuleNotFound) IsRedirect

func (o *ReplaceHTTPErrorRuleNotFound) IsRedirect() bool

IsRedirect returns true when this replace Http error rule not found response has a 3xx status code

func (*ReplaceHTTPErrorRuleNotFound) IsServerError

func (o *ReplaceHTTPErrorRuleNotFound) IsServerError() bool

IsServerError returns true when this replace Http error rule not found response has a 5xx status code

func (*ReplaceHTTPErrorRuleNotFound) IsSuccess

func (o *ReplaceHTTPErrorRuleNotFound) IsSuccess() bool

IsSuccess returns true when this replace Http error rule not found response has a 2xx status code

func (*ReplaceHTTPErrorRuleNotFound) String

type ReplaceHTTPErrorRuleOK

type ReplaceHTTPErrorRuleOK struct {
	Payload *models.HTTPErrorRule
}

ReplaceHTTPErrorRuleOK describes a response with status code 200, with default header values.

HTTP Error Rule replaced

func NewReplaceHTTPErrorRuleOK

func NewReplaceHTTPErrorRuleOK() *ReplaceHTTPErrorRuleOK

NewReplaceHTTPErrorRuleOK creates a ReplaceHTTPErrorRuleOK with default headers values

func (*ReplaceHTTPErrorRuleOK) Code added in v1.1.5

func (o *ReplaceHTTPErrorRuleOK) Code() int

Code gets the status code for the replace Http error rule o k response

func (*ReplaceHTTPErrorRuleOK) Error

func (o *ReplaceHTTPErrorRuleOK) Error() string

func (*ReplaceHTTPErrorRuleOK) GetPayload

func (o *ReplaceHTTPErrorRuleOK) GetPayload() *models.HTTPErrorRule

func (*ReplaceHTTPErrorRuleOK) IsClientError

func (o *ReplaceHTTPErrorRuleOK) IsClientError() bool

IsClientError returns true when this replace Http error rule o k response has a 4xx status code

func (*ReplaceHTTPErrorRuleOK) IsCode

func (o *ReplaceHTTPErrorRuleOK) IsCode(code int) bool

IsCode returns true when this replace Http error rule o k response a status code equal to that given

func (*ReplaceHTTPErrorRuleOK) IsRedirect

func (o *ReplaceHTTPErrorRuleOK) IsRedirect() bool

IsRedirect returns true when this replace Http error rule o k response has a 3xx status code

func (*ReplaceHTTPErrorRuleOK) IsServerError

func (o *ReplaceHTTPErrorRuleOK) IsServerError() bool

IsServerError returns true when this replace Http error rule o k response has a 5xx status code

func (*ReplaceHTTPErrorRuleOK) IsSuccess

func (o *ReplaceHTTPErrorRuleOK) IsSuccess() bool

IsSuccess returns true when this replace Http error rule o k response has a 2xx status code

func (*ReplaceHTTPErrorRuleOK) String

func (o *ReplaceHTTPErrorRuleOK) String() string

type ReplaceHTTPErrorRuleParams

type ReplaceHTTPErrorRuleParams struct {

	// Data.
	Data *models.HTTPErrorRule

	/* ForceReload.

	   If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	*/
	ForceReload *bool

	/* Index.

	   HTTP Error Rule Index
	*/
	Index int64

	/* ParentName.

	   Parent name
	*/
	ParentName *string

	/* ParentType.

	   Parent type
	*/
	ParentType string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

	/* Version.

	   Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version.
	*/
	Version *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ReplaceHTTPErrorRuleParams contains all the parameters to send to the API endpoint

for the replace HTTP error rule operation.

Typically these are written to a http.Request.

func NewReplaceHTTPErrorRuleParams

func NewReplaceHTTPErrorRuleParams() *ReplaceHTTPErrorRuleParams

NewReplaceHTTPErrorRuleParams creates a new ReplaceHTTPErrorRuleParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewReplaceHTTPErrorRuleParamsWithContext

func NewReplaceHTTPErrorRuleParamsWithContext(ctx context.Context) *ReplaceHTTPErrorRuleParams

NewReplaceHTTPErrorRuleParamsWithContext creates a new ReplaceHTTPErrorRuleParams object with the ability to set a context for a request.

func NewReplaceHTTPErrorRuleParamsWithHTTPClient

func NewReplaceHTTPErrorRuleParamsWithHTTPClient(client *http.Client) *ReplaceHTTPErrorRuleParams

NewReplaceHTTPErrorRuleParamsWithHTTPClient creates a new ReplaceHTTPErrorRuleParams object with the ability to set a custom HTTPClient for a request.

func NewReplaceHTTPErrorRuleParamsWithTimeout

func NewReplaceHTTPErrorRuleParamsWithTimeout(timeout time.Duration) *ReplaceHTTPErrorRuleParams

NewReplaceHTTPErrorRuleParamsWithTimeout creates a new ReplaceHTTPErrorRuleParams object with the ability to set a timeout on a request.

func (*ReplaceHTTPErrorRuleParams) SetContext

func (o *ReplaceHTTPErrorRuleParams) SetContext(ctx context.Context)

SetContext adds the context to the replace HTTP error rule params

func (*ReplaceHTTPErrorRuleParams) SetData

SetData adds the data to the replace HTTP error rule params

func (*ReplaceHTTPErrorRuleParams) SetDefaults

func (o *ReplaceHTTPErrorRuleParams) SetDefaults()

SetDefaults hydrates default values in the replace HTTP error rule params (not the query body).

All values with no default are reset to their zero value.

func (*ReplaceHTTPErrorRuleParams) SetForceReload

func (o *ReplaceHTTPErrorRuleParams) SetForceReload(forceReload *bool)

SetForceReload adds the forceReload to the replace HTTP error rule params

func (*ReplaceHTTPErrorRuleParams) SetHTTPClient

func (o *ReplaceHTTPErrorRuleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the replace HTTP error rule params

func (*ReplaceHTTPErrorRuleParams) SetIndex

func (o *ReplaceHTTPErrorRuleParams) SetIndex(index int64)

SetIndex adds the index to the replace HTTP error rule params

func (*ReplaceHTTPErrorRuleParams) SetParentName

func (o *ReplaceHTTPErrorRuleParams) SetParentName(parentName *string)

SetParentName adds the parentName to the replace HTTP error rule params

func (*ReplaceHTTPErrorRuleParams) SetParentType

func (o *ReplaceHTTPErrorRuleParams) SetParentType(parentType string)

SetParentType adds the parentType to the replace HTTP error rule params

func (*ReplaceHTTPErrorRuleParams) SetTimeout

func (o *ReplaceHTTPErrorRuleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the replace HTTP error rule params

func (*ReplaceHTTPErrorRuleParams) SetTransactionID

func (o *ReplaceHTTPErrorRuleParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the replace HTTP error rule params

func (*ReplaceHTTPErrorRuleParams) SetVersion

func (o *ReplaceHTTPErrorRuleParams) SetVersion(version *int64)

SetVersion adds the version to the replace HTTP error rule params

func (*ReplaceHTTPErrorRuleParams) WithContext

WithContext adds the context to the replace HTTP error rule params

func (*ReplaceHTTPErrorRuleParams) WithData

WithData adds the data to the replace HTTP error rule params

func (*ReplaceHTTPErrorRuleParams) WithDefaults

WithDefaults hydrates default values in the replace HTTP error rule params (not the query body).

All values with no default are reset to their zero value.

func (*ReplaceHTTPErrorRuleParams) WithForceReload

func (o *ReplaceHTTPErrorRuleParams) WithForceReload(forceReload *bool) *ReplaceHTTPErrorRuleParams

WithForceReload adds the forceReload to the replace HTTP error rule params

func (*ReplaceHTTPErrorRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the replace HTTP error rule params

func (*ReplaceHTTPErrorRuleParams) WithIndex

WithIndex adds the index to the replace HTTP error rule params

func (*ReplaceHTTPErrorRuleParams) WithParentName

func (o *ReplaceHTTPErrorRuleParams) WithParentName(parentName *string) *ReplaceHTTPErrorRuleParams

WithParentName adds the parentName to the replace HTTP error rule params

func (*ReplaceHTTPErrorRuleParams) WithParentType

func (o *ReplaceHTTPErrorRuleParams) WithParentType(parentType string) *ReplaceHTTPErrorRuleParams

WithParentType adds the parentType to the replace HTTP error rule params

func (*ReplaceHTTPErrorRuleParams) WithTimeout

WithTimeout adds the timeout to the replace HTTP error rule params

func (*ReplaceHTTPErrorRuleParams) WithTransactionID

func (o *ReplaceHTTPErrorRuleParams) WithTransactionID(transactionID *string) *ReplaceHTTPErrorRuleParams

WithTransactionID adds the transactionID to the replace HTTP error rule params

func (*ReplaceHTTPErrorRuleParams) WithVersion

WithVersion adds the version to the replace HTTP error rule params

func (*ReplaceHTTPErrorRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReplaceHTTPErrorRuleReader

type ReplaceHTTPErrorRuleReader struct {
	// contains filtered or unexported fields
}

ReplaceHTTPErrorRuleReader is a Reader for the ReplaceHTTPErrorRule structure.

func (*ReplaceHTTPErrorRuleReader) ReadResponse

func (o *ReplaceHTTPErrorRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL