http_response_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 response rule API

func (*Client) CreateHTTPResponseRule

CreateHTTPResponseRule adds a new HTTP response rule

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

func (*Client) DeleteHTTPResponseRule

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

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

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) Code added in v1.1.5

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

func (*CreateHTTPResponseRuleAccepted) Error

func (*CreateHTTPResponseRuleAccepted) GetPayload

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

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) Code added in v1.1.5

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

func (*CreateHTTPResponseRuleBadRequest) Error

func (*CreateHTTPResponseRuleBadRequest) GetPayload

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

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) Code added in v1.1.5

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

func (*CreateHTTPResponseRuleConflict) Error

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

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) Code added in v1.1.5

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

func (*CreateHTTPResponseRuleCreated) Error

func (*CreateHTTPResponseRuleCreated) GetPayload

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

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

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

func (*CreateHTTPResponseRuleDefault) Error

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

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

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

WithContext adds the context to the create HTTP response rule params

func (*CreateHTTPResponseRuleParams) WithData

WithData adds the data to the create HTTP response rule params

func (*CreateHTTPResponseRuleParams) WithDefaults

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

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

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

WithVersion adds the version to the create HTTP response rule params

func (*CreateHTTPResponseRuleParams) WriteToRequest

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) Code added in v1.1.5

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

func (*DeleteHTTPResponseRuleAccepted) Error

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

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

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

func (*DeleteHTTPResponseRuleDefault) Error

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

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) Code added in v1.1.5

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

func (*DeleteHTTPResponseRuleNoContent) Error

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

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) Code added in v1.1.5

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

func (*DeleteHTTPResponseRuleNotFound) Error

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

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

WithContext adds the context to the delete HTTP response rule params

func (*DeleteHTTPResponseRuleParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the delete HTTP response rule params

func (*DeleteHTTPResponseRuleParams) WithIndex

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

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

WithVersion adds the version to the delete HTTP response rule params

func (*DeleteHTTPResponseRuleParams) WriteToRequest

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 (*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) Code added in v1.1.5

func (o *GetHTTPResponseRuleNotFound) Code() int

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

func (*GetHTTPResponseRuleNotFound) Error

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) Code added in v1.1.5

func (o *GetHTTPResponseRuleOK) Code() int

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

func (*GetHTTPResponseRuleOK) Error

func (o *GetHTTPResponseRuleOK) Error() string

func (*GetHTTPResponseRuleOK) GetPayload

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

func (*GetHTTPResponseRuleOKBody) Validate

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

Validate validates this get HTTP response rule o k body

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

WithContext adds the context to the get HTTP response rule params

func (*GetHTTPResponseRuleParams) WithDefaults

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

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

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

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 (*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) Code added in v1.1.5

func (o *GetHTTPResponseRulesOK) Code() int

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

func (*GetHTTPResponseRulesOK) Error

func (o *GetHTTPResponseRulesOK) Error() string

func (*GetHTTPResponseRulesOK) GetPayload

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

func (*GetHTTPResponseRulesOKBody) Validate

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

Validate validates this get HTTP response rules o k body

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

WithContext adds the context to the get HTTP response rules params

func (*GetHTTPResponseRulesParams) WithDefaults

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

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

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

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) Code added in v1.1.5

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

func (*ReplaceHTTPResponseRuleAccepted) Error

func (*ReplaceHTTPResponseRuleAccepted) GetPayload

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

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) Code added in v1.1.5

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

func (*ReplaceHTTPResponseRuleBadRequest) Error

func (*ReplaceHTTPResponseRuleBadRequest) GetPayload

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

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

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

func (*ReplaceHTTPResponseRuleDefault) Error

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

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) Code added in v1.1.5

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

func (*ReplaceHTTPResponseRuleNotFound) Error

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

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) Code added in v1.1.5

func (o *ReplaceHTTPResponseRuleOK) Code() int

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

func (*ReplaceHTTPResponseRuleOK) Error

func (o *ReplaceHTTPResponseRuleOK) Error() string

func (*ReplaceHTTPResponseRuleOK) GetPayload

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

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

WithContext adds the context to the replace HTTP response rule params

func (*ReplaceHTTPResponseRuleParams) WithData

WithData adds the data to the replace HTTP response rule params

func (*ReplaceHTTPResponseRuleParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the replace HTTP response rule params

func (*ReplaceHTTPResponseRuleParams) WithIndex

WithIndex adds the index to the replace HTTP response rule params

func (*ReplaceHTTPResponseRuleParams) WithParentName

WithParentName adds the parentName to the replace HTTP response rule params

func (*ReplaceHTTPResponseRuleParams) WithParentType

WithParentType adds the parentType to the replace HTTP response rule params

func (*ReplaceHTTPResponseRuleParams) WithTimeout

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

WithVersion adds the version to the replace HTTP response rule params

func (*ReplaceHTTPResponseRuleParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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