http_after_response_rule

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 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 after response rule API

func (*Client) CreateHTTPAfterResponseRule

CreateHTTPAfterResponseRule adds a new HTTP after response rule

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

func (*Client) DeleteHTTPAfterResponseRule

DeleteHTTPAfterResponseRule deletes a HTTP after response rule

Deletes a HTTP After Response Rule configuration by it's index from the specified parent.

func (*Client) GetHTTPAfterResponseRule

func (a *Client) GetHTTPAfterResponseRule(params *GetHTTPAfterResponseRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHTTPAfterResponseRuleOK, error)

GetHTTPAfterResponseRule returns one HTTP after response rule

Returns one HTTP After Response Rule configuration by it's index in the specified parent.

func (*Client) GetHTTPAfterResponseRules

func (a *Client) GetHTTPAfterResponseRules(params *GetHTTPAfterResponseRulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHTTPAfterResponseRulesOK, error)

GetHTTPAfterResponseRules returns an array of all HTTP after response rules

Returns all HTTP After Response Rules that are configured in specified parent.

func (*Client) ReplaceHTTPAfterResponseRule

ReplaceHTTPAfterResponseRule replaces a HTTP after response rule

Replaces a HTTP After Response Rule configuration by it's index in the specified parent.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

ClientService is the interface for Client methods

func New

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

New creates a new http after response rule API client.

type CreateHTTPAfterResponseRuleAccepted

type CreateHTTPAfterResponseRuleAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string

	Payload *models.HTTPAfterResponseRule
}

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

Configuration change accepted and reload requested

func NewCreateHTTPAfterResponseRuleAccepted

func NewCreateHTTPAfterResponseRuleAccepted() *CreateHTTPAfterResponseRuleAccepted

NewCreateHTTPAfterResponseRuleAccepted creates a CreateHTTPAfterResponseRuleAccepted with default headers values

func (*CreateHTTPAfterResponseRuleAccepted) Error

func (*CreateHTTPAfterResponseRuleAccepted) GetPayload

func (*CreateHTTPAfterResponseRuleAccepted) IsClientError added in v1.1.0

func (o *CreateHTTPAfterResponseRuleAccepted) IsClientError() bool

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

func (*CreateHTTPAfterResponseRuleAccepted) IsCode added in v1.1.0

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

func (*CreateHTTPAfterResponseRuleAccepted) IsRedirect added in v1.1.0

func (o *CreateHTTPAfterResponseRuleAccepted) IsRedirect() bool

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

func (*CreateHTTPAfterResponseRuleAccepted) IsServerError added in v1.1.0

func (o *CreateHTTPAfterResponseRuleAccepted) IsServerError() bool

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

func (*CreateHTTPAfterResponseRuleAccepted) IsSuccess added in v1.1.0

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

func (*CreateHTTPAfterResponseRuleAccepted) String added in v1.1.0

type CreateHTTPAfterResponseRuleBadRequest

type CreateHTTPAfterResponseRuleBadRequest struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

Bad request

func NewCreateHTTPAfterResponseRuleBadRequest

func NewCreateHTTPAfterResponseRuleBadRequest() *CreateHTTPAfterResponseRuleBadRequest

NewCreateHTTPAfterResponseRuleBadRequest creates a CreateHTTPAfterResponseRuleBadRequest with default headers values

func (*CreateHTTPAfterResponseRuleBadRequest) Error

func (*CreateHTTPAfterResponseRuleBadRequest) GetPayload

func (*CreateHTTPAfterResponseRuleBadRequest) IsClientError added in v1.1.0

func (o *CreateHTTPAfterResponseRuleBadRequest) IsClientError() bool

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

func (*CreateHTTPAfterResponseRuleBadRequest) IsCode added in v1.1.0

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

func (*CreateHTTPAfterResponseRuleBadRequest) IsRedirect added in v1.1.0

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

func (*CreateHTTPAfterResponseRuleBadRequest) IsServerError added in v1.1.0

func (o *CreateHTTPAfterResponseRuleBadRequest) IsServerError() bool

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

func (*CreateHTTPAfterResponseRuleBadRequest) IsSuccess added in v1.1.0

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

func (*CreateHTTPAfterResponseRuleBadRequest) String added in v1.1.0

type CreateHTTPAfterResponseRuleConflict

type CreateHTTPAfterResponseRuleConflict struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource already exists

func NewCreateHTTPAfterResponseRuleConflict

func NewCreateHTTPAfterResponseRuleConflict() *CreateHTTPAfterResponseRuleConflict

NewCreateHTTPAfterResponseRuleConflict creates a CreateHTTPAfterResponseRuleConflict with default headers values

func (*CreateHTTPAfterResponseRuleConflict) Error

func (*CreateHTTPAfterResponseRuleConflict) GetPayload

func (*CreateHTTPAfterResponseRuleConflict) IsClientError added in v1.1.0

func (o *CreateHTTPAfterResponseRuleConflict) IsClientError() bool

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

func (*CreateHTTPAfterResponseRuleConflict) IsCode added in v1.1.0

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

func (*CreateHTTPAfterResponseRuleConflict) IsRedirect added in v1.1.0

func (o *CreateHTTPAfterResponseRuleConflict) IsRedirect() bool

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

func (*CreateHTTPAfterResponseRuleConflict) IsServerError added in v1.1.0

func (o *CreateHTTPAfterResponseRuleConflict) IsServerError() bool

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

func (*CreateHTTPAfterResponseRuleConflict) IsSuccess added in v1.1.0

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

func (*CreateHTTPAfterResponseRuleConflict) String added in v1.1.0

type CreateHTTPAfterResponseRuleCreated

type CreateHTTPAfterResponseRuleCreated struct {
	Payload *models.HTTPAfterResponseRule
}

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

HTTP Response Rule created

func NewCreateHTTPAfterResponseRuleCreated

func NewCreateHTTPAfterResponseRuleCreated() *CreateHTTPAfterResponseRuleCreated

NewCreateHTTPAfterResponseRuleCreated creates a CreateHTTPAfterResponseRuleCreated with default headers values

func (*CreateHTTPAfterResponseRuleCreated) Error

func (*CreateHTTPAfterResponseRuleCreated) GetPayload

func (*CreateHTTPAfterResponseRuleCreated) IsClientError added in v1.1.0

func (o *CreateHTTPAfterResponseRuleCreated) IsClientError() bool

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

func (*CreateHTTPAfterResponseRuleCreated) IsCode added in v1.1.0

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

func (*CreateHTTPAfterResponseRuleCreated) IsRedirect added in v1.1.0

func (o *CreateHTTPAfterResponseRuleCreated) IsRedirect() bool

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

func (*CreateHTTPAfterResponseRuleCreated) IsServerError added in v1.1.0

func (o *CreateHTTPAfterResponseRuleCreated) IsServerError() bool

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

func (*CreateHTTPAfterResponseRuleCreated) IsSuccess added in v1.1.0

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

func (*CreateHTTPAfterResponseRuleCreated) String added in v1.1.0

type CreateHTTPAfterResponseRuleDefault

type CreateHTTPAfterResponseRuleDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

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

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

General Error

func NewCreateHTTPAfterResponseRuleDefault

func NewCreateHTTPAfterResponseRuleDefault(code int) *CreateHTTPAfterResponseRuleDefault

NewCreateHTTPAfterResponseRuleDefault creates a CreateHTTPAfterResponseRuleDefault with default headers values

func (*CreateHTTPAfterResponseRuleDefault) Code

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

func (*CreateHTTPAfterResponseRuleDefault) Error

func (*CreateHTTPAfterResponseRuleDefault) GetPayload

func (*CreateHTTPAfterResponseRuleDefault) IsClientError added in v1.1.0

func (o *CreateHTTPAfterResponseRuleDefault) IsClientError() bool

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

func (*CreateHTTPAfterResponseRuleDefault) IsCode added in v1.1.0

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

func (*CreateHTTPAfterResponseRuleDefault) IsRedirect added in v1.1.0

func (o *CreateHTTPAfterResponseRuleDefault) IsRedirect() bool

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

func (*CreateHTTPAfterResponseRuleDefault) IsServerError added in v1.1.0

func (o *CreateHTTPAfterResponseRuleDefault) IsServerError() bool

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

func (*CreateHTTPAfterResponseRuleDefault) IsSuccess added in v1.1.0

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

func (*CreateHTTPAfterResponseRuleDefault) String added in v1.1.0

type CreateHTTPAfterResponseRuleParams

type CreateHTTPAfterResponseRuleParams struct {

	// Data.
	Data *models.HTTPAfterResponseRule

	/* ForceReload.

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

	/* ParentName.

	   Parent name
	*/
	ParentName string

	/* ParentType.

	   Parent type
	*/
	ParentType string

	/* TransactionID.

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

	/* Version.

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

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

CreateHTTPAfterResponseRuleParams contains all the parameters to send to the API endpoint

for the create HTTP after response rule operation.

Typically these are written to a http.Request.

func NewCreateHTTPAfterResponseRuleParams

func NewCreateHTTPAfterResponseRuleParams() *CreateHTTPAfterResponseRuleParams

NewCreateHTTPAfterResponseRuleParams creates a new CreateHTTPAfterResponseRuleParams object, with the default timeout for this client.

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

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

func NewCreateHTTPAfterResponseRuleParamsWithContext

func NewCreateHTTPAfterResponseRuleParamsWithContext(ctx context.Context) *CreateHTTPAfterResponseRuleParams

NewCreateHTTPAfterResponseRuleParamsWithContext creates a new CreateHTTPAfterResponseRuleParams object with the ability to set a context for a request.

func NewCreateHTTPAfterResponseRuleParamsWithHTTPClient

func NewCreateHTTPAfterResponseRuleParamsWithHTTPClient(client *http.Client) *CreateHTTPAfterResponseRuleParams

NewCreateHTTPAfterResponseRuleParamsWithHTTPClient creates a new CreateHTTPAfterResponseRuleParams object with the ability to set a custom HTTPClient for a request.

func NewCreateHTTPAfterResponseRuleParamsWithTimeout

func NewCreateHTTPAfterResponseRuleParamsWithTimeout(timeout time.Duration) *CreateHTTPAfterResponseRuleParams

NewCreateHTTPAfterResponseRuleParamsWithTimeout creates a new CreateHTTPAfterResponseRuleParams object with the ability to set a timeout on a request.

func (*CreateHTTPAfterResponseRuleParams) SetContext

SetContext adds the context to the create HTTP after response rule params

func (*CreateHTTPAfterResponseRuleParams) SetData

SetData adds the data to the create HTTP after response rule params

func (*CreateHTTPAfterResponseRuleParams) SetDefaults

func (o *CreateHTTPAfterResponseRuleParams) SetDefaults()

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

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

func (*CreateHTTPAfterResponseRuleParams) SetForceReload

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

SetForceReload adds the forceReload to the create HTTP after response rule params

func (*CreateHTTPAfterResponseRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create HTTP after response rule params

func (*CreateHTTPAfterResponseRuleParams) SetParentName

func (o *CreateHTTPAfterResponseRuleParams) SetParentName(parentName string)

SetParentName adds the parentName to the create HTTP after response rule params

func (*CreateHTTPAfterResponseRuleParams) SetParentType

func (o *CreateHTTPAfterResponseRuleParams) SetParentType(parentType string)

SetParentType adds the parentType to the create HTTP after response rule params

func (*CreateHTTPAfterResponseRuleParams) SetTimeout

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

SetTimeout adds the timeout to the create HTTP after response rule params

func (*CreateHTTPAfterResponseRuleParams) SetTransactionID

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

SetTransactionID adds the transactionId to the create HTTP after response rule params

func (*CreateHTTPAfterResponseRuleParams) SetVersion

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

SetVersion adds the version to the create HTTP after response rule params

func (*CreateHTTPAfterResponseRuleParams) WithContext

WithContext adds the context to the create HTTP after response rule params

func (*CreateHTTPAfterResponseRuleParams) WithData

WithData adds the data to the create HTTP after response rule params

func (*CreateHTTPAfterResponseRuleParams) WithDefaults

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

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

func (*CreateHTTPAfterResponseRuleParams) WithForceReload

WithForceReload adds the forceReload to the create HTTP after response rule params

func (*CreateHTTPAfterResponseRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create HTTP after response rule params

func (*CreateHTTPAfterResponseRuleParams) WithParentName

WithParentName adds the parentName to the create HTTP after response rule params

func (*CreateHTTPAfterResponseRuleParams) WithParentType

WithParentType adds the parentType to the create HTTP after response rule params

func (*CreateHTTPAfterResponseRuleParams) WithTimeout

WithTimeout adds the timeout to the create HTTP after response rule params

func (*CreateHTTPAfterResponseRuleParams) WithTransactionID

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

WithTransactionID adds the transactionID to the create HTTP after response rule params

func (*CreateHTTPAfterResponseRuleParams) WithVersion

WithVersion adds the version to the create HTTP after response rule params

func (*CreateHTTPAfterResponseRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateHTTPAfterResponseRuleReader

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

CreateHTTPAfterResponseRuleReader is a Reader for the CreateHTTPAfterResponseRule structure.

func (*CreateHTTPAfterResponseRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteHTTPAfterResponseRuleAccepted

type DeleteHTTPAfterResponseRuleAccepted struct {

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

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

Configuration change accepted and reload requested

func NewDeleteHTTPAfterResponseRuleAccepted

func NewDeleteHTTPAfterResponseRuleAccepted() *DeleteHTTPAfterResponseRuleAccepted

NewDeleteHTTPAfterResponseRuleAccepted creates a DeleteHTTPAfterResponseRuleAccepted with default headers values

func (*DeleteHTTPAfterResponseRuleAccepted) Error

func (*DeleteHTTPAfterResponseRuleAccepted) IsClientError added in v1.1.0

func (o *DeleteHTTPAfterResponseRuleAccepted) IsClientError() bool

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

func (*DeleteHTTPAfterResponseRuleAccepted) IsCode added in v1.1.0

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

func (*DeleteHTTPAfterResponseRuleAccepted) IsRedirect added in v1.1.0

func (o *DeleteHTTPAfterResponseRuleAccepted) IsRedirect() bool

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

func (*DeleteHTTPAfterResponseRuleAccepted) IsServerError added in v1.1.0

func (o *DeleteHTTPAfterResponseRuleAccepted) IsServerError() bool

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

func (*DeleteHTTPAfterResponseRuleAccepted) IsSuccess added in v1.1.0

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

func (*DeleteHTTPAfterResponseRuleAccepted) String added in v1.1.0

type DeleteHTTPAfterResponseRuleDefault

type DeleteHTTPAfterResponseRuleDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

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

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

General Error

func NewDeleteHTTPAfterResponseRuleDefault

func NewDeleteHTTPAfterResponseRuleDefault(code int) *DeleteHTTPAfterResponseRuleDefault

NewDeleteHTTPAfterResponseRuleDefault creates a DeleteHTTPAfterResponseRuleDefault with default headers values

func (*DeleteHTTPAfterResponseRuleDefault) Code

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

func (*DeleteHTTPAfterResponseRuleDefault) Error

func (*DeleteHTTPAfterResponseRuleDefault) GetPayload

func (*DeleteHTTPAfterResponseRuleDefault) IsClientError added in v1.1.0

func (o *DeleteHTTPAfterResponseRuleDefault) IsClientError() bool

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

func (*DeleteHTTPAfterResponseRuleDefault) IsCode added in v1.1.0

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

func (*DeleteHTTPAfterResponseRuleDefault) IsRedirect added in v1.1.0

func (o *DeleteHTTPAfterResponseRuleDefault) IsRedirect() bool

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

func (*DeleteHTTPAfterResponseRuleDefault) IsServerError added in v1.1.0

func (o *DeleteHTTPAfterResponseRuleDefault) IsServerError() bool

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

func (*DeleteHTTPAfterResponseRuleDefault) IsSuccess added in v1.1.0

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

func (*DeleteHTTPAfterResponseRuleDefault) String added in v1.1.0

type DeleteHTTPAfterResponseRuleNoContent

type DeleteHTTPAfterResponseRuleNoContent struct {
}

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

HTTP After Response Rule deleted

func NewDeleteHTTPAfterResponseRuleNoContent

func NewDeleteHTTPAfterResponseRuleNoContent() *DeleteHTTPAfterResponseRuleNoContent

NewDeleteHTTPAfterResponseRuleNoContent creates a DeleteHTTPAfterResponseRuleNoContent with default headers values

func (*DeleteHTTPAfterResponseRuleNoContent) Error

func (*DeleteHTTPAfterResponseRuleNoContent) IsClientError added in v1.1.0

func (o *DeleteHTTPAfterResponseRuleNoContent) IsClientError() bool

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

func (*DeleteHTTPAfterResponseRuleNoContent) IsCode added in v1.1.0

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

func (*DeleteHTTPAfterResponseRuleNoContent) IsRedirect added in v1.1.0

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

func (*DeleteHTTPAfterResponseRuleNoContent) IsServerError added in v1.1.0

func (o *DeleteHTTPAfterResponseRuleNoContent) IsServerError() bool

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

func (*DeleteHTTPAfterResponseRuleNoContent) IsSuccess added in v1.1.0

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

func (*DeleteHTTPAfterResponseRuleNoContent) String added in v1.1.0

type DeleteHTTPAfterResponseRuleNotFound

type DeleteHTTPAfterResponseRuleNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource was not found

func NewDeleteHTTPAfterResponseRuleNotFound

func NewDeleteHTTPAfterResponseRuleNotFound() *DeleteHTTPAfterResponseRuleNotFound

NewDeleteHTTPAfterResponseRuleNotFound creates a DeleteHTTPAfterResponseRuleNotFound with default headers values

func (*DeleteHTTPAfterResponseRuleNotFound) Error

func (*DeleteHTTPAfterResponseRuleNotFound) GetPayload

func (*DeleteHTTPAfterResponseRuleNotFound) IsClientError added in v1.1.0

func (o *DeleteHTTPAfterResponseRuleNotFound) IsClientError() bool

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

func (*DeleteHTTPAfterResponseRuleNotFound) IsCode added in v1.1.0

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

func (*DeleteHTTPAfterResponseRuleNotFound) IsRedirect added in v1.1.0

func (o *DeleteHTTPAfterResponseRuleNotFound) IsRedirect() bool

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

func (*DeleteHTTPAfterResponseRuleNotFound) IsServerError added in v1.1.0

func (o *DeleteHTTPAfterResponseRuleNotFound) IsServerError() bool

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

func (*DeleteHTTPAfterResponseRuleNotFound) IsSuccess added in v1.1.0

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

func (*DeleteHTTPAfterResponseRuleNotFound) String added in v1.1.0

type DeleteHTTPAfterResponseRuleParams

type DeleteHTTPAfterResponseRuleParams struct {

	/* ForceReload.

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

	/* Index.

	   HTTP After Response Rule Index
	*/
	Index int64

	/* ParentName.

	   Parent name
	*/
	ParentName string

	/* ParentType.

	   Parent type
	*/
	ParentType string

	/* TransactionID.

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

	/* Version.

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

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

DeleteHTTPAfterResponseRuleParams contains all the parameters to send to the API endpoint

for the delete HTTP after response rule operation.

Typically these are written to a http.Request.

func NewDeleteHTTPAfterResponseRuleParams

func NewDeleteHTTPAfterResponseRuleParams() *DeleteHTTPAfterResponseRuleParams

NewDeleteHTTPAfterResponseRuleParams creates a new DeleteHTTPAfterResponseRuleParams object, with the default timeout for this client.

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

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

func NewDeleteHTTPAfterResponseRuleParamsWithContext

func NewDeleteHTTPAfterResponseRuleParamsWithContext(ctx context.Context) *DeleteHTTPAfterResponseRuleParams

NewDeleteHTTPAfterResponseRuleParamsWithContext creates a new DeleteHTTPAfterResponseRuleParams object with the ability to set a context for a request.

func NewDeleteHTTPAfterResponseRuleParamsWithHTTPClient

func NewDeleteHTTPAfterResponseRuleParamsWithHTTPClient(client *http.Client) *DeleteHTTPAfterResponseRuleParams

NewDeleteHTTPAfterResponseRuleParamsWithHTTPClient creates a new DeleteHTTPAfterResponseRuleParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteHTTPAfterResponseRuleParamsWithTimeout

func NewDeleteHTTPAfterResponseRuleParamsWithTimeout(timeout time.Duration) *DeleteHTTPAfterResponseRuleParams

NewDeleteHTTPAfterResponseRuleParamsWithTimeout creates a new DeleteHTTPAfterResponseRuleParams object with the ability to set a timeout on a request.

func (*DeleteHTTPAfterResponseRuleParams) SetContext

SetContext adds the context to the delete HTTP after response rule params

func (*DeleteHTTPAfterResponseRuleParams) SetDefaults

func (o *DeleteHTTPAfterResponseRuleParams) SetDefaults()

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

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

func (*DeleteHTTPAfterResponseRuleParams) SetForceReload

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

SetForceReload adds the forceReload to the delete HTTP after response rule params

func (*DeleteHTTPAfterResponseRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete HTTP after response rule params

func (*DeleteHTTPAfterResponseRuleParams) SetIndex

func (o *DeleteHTTPAfterResponseRuleParams) SetIndex(index int64)

SetIndex adds the index to the delete HTTP after response rule params

func (*DeleteHTTPAfterResponseRuleParams) SetParentName

func (o *DeleteHTTPAfterResponseRuleParams) SetParentName(parentName string)

SetParentName adds the parentName to the delete HTTP after response rule params

func (*DeleteHTTPAfterResponseRuleParams) SetParentType

func (o *DeleteHTTPAfterResponseRuleParams) SetParentType(parentType string)

SetParentType adds the parentType to the delete HTTP after response rule params

func (*DeleteHTTPAfterResponseRuleParams) SetTimeout

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

SetTimeout adds the timeout to the delete HTTP after response rule params

func (*DeleteHTTPAfterResponseRuleParams) SetTransactionID

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

SetTransactionID adds the transactionId to the delete HTTP after response rule params

func (*DeleteHTTPAfterResponseRuleParams) SetVersion

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

SetVersion adds the version to the delete HTTP after response rule params

func (*DeleteHTTPAfterResponseRuleParams) WithContext

WithContext adds the context to the delete HTTP after response rule params

func (*DeleteHTTPAfterResponseRuleParams) WithDefaults

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

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

func (*DeleteHTTPAfterResponseRuleParams) WithForceReload

WithForceReload adds the forceReload to the delete HTTP after response rule params

func (*DeleteHTTPAfterResponseRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete HTTP after response rule params

func (*DeleteHTTPAfterResponseRuleParams) WithIndex

WithIndex adds the index to the delete HTTP after response rule params

func (*DeleteHTTPAfterResponseRuleParams) WithParentName

WithParentName adds the parentName to the delete HTTP after response rule params

func (*DeleteHTTPAfterResponseRuleParams) WithParentType

WithParentType adds the parentType to the delete HTTP after response rule params

func (*DeleteHTTPAfterResponseRuleParams) WithTimeout

WithTimeout adds the timeout to the delete HTTP after response rule params

func (*DeleteHTTPAfterResponseRuleParams) WithTransactionID

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

WithTransactionID adds the transactionID to the delete HTTP after response rule params

func (*DeleteHTTPAfterResponseRuleParams) WithVersion

WithVersion adds the version to the delete HTTP after response rule params

func (*DeleteHTTPAfterResponseRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteHTTPAfterResponseRuleReader

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

DeleteHTTPAfterResponseRuleReader is a Reader for the DeleteHTTPAfterResponseRule structure.

func (*DeleteHTTPAfterResponseRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetHTTPAfterResponseRuleDefault

type GetHTTPAfterResponseRuleDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

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

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

General Error

func NewGetHTTPAfterResponseRuleDefault

func NewGetHTTPAfterResponseRuleDefault(code int) *GetHTTPAfterResponseRuleDefault

NewGetHTTPAfterResponseRuleDefault creates a GetHTTPAfterResponseRuleDefault with default headers values

func (*GetHTTPAfterResponseRuleDefault) Code

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

func (*GetHTTPAfterResponseRuleDefault) Error

func (*GetHTTPAfterResponseRuleDefault) GetPayload

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

func (*GetHTTPAfterResponseRuleDefault) IsClientError added in v1.1.0

func (o *GetHTTPAfterResponseRuleDefault) IsClientError() bool

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

func (*GetHTTPAfterResponseRuleDefault) IsCode added in v1.1.0

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

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

func (*GetHTTPAfterResponseRuleDefault) IsRedirect added in v1.1.0

func (o *GetHTTPAfterResponseRuleDefault) IsRedirect() bool

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

func (*GetHTTPAfterResponseRuleDefault) IsServerError added in v1.1.0

func (o *GetHTTPAfterResponseRuleDefault) IsServerError() bool

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

func (*GetHTTPAfterResponseRuleDefault) IsSuccess added in v1.1.0

func (o *GetHTTPAfterResponseRuleDefault) IsSuccess() bool

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

func (*GetHTTPAfterResponseRuleDefault) String added in v1.1.0

type GetHTTPAfterResponseRuleNotFound

type GetHTTPAfterResponseRuleNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource was not found

func NewGetHTTPAfterResponseRuleNotFound

func NewGetHTTPAfterResponseRuleNotFound() *GetHTTPAfterResponseRuleNotFound

NewGetHTTPAfterResponseRuleNotFound creates a GetHTTPAfterResponseRuleNotFound with default headers values

func (*GetHTTPAfterResponseRuleNotFound) Error

func (*GetHTTPAfterResponseRuleNotFound) GetPayload

func (*GetHTTPAfterResponseRuleNotFound) IsClientError added in v1.1.0

func (o *GetHTTPAfterResponseRuleNotFound) IsClientError() bool

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

func (*GetHTTPAfterResponseRuleNotFound) IsCode added in v1.1.0

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

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

func (*GetHTTPAfterResponseRuleNotFound) IsRedirect added in v1.1.0

func (o *GetHTTPAfterResponseRuleNotFound) IsRedirect() bool

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

func (*GetHTTPAfterResponseRuleNotFound) IsServerError added in v1.1.0

func (o *GetHTTPAfterResponseRuleNotFound) IsServerError() bool

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

func (*GetHTTPAfterResponseRuleNotFound) IsSuccess added in v1.1.0

func (o *GetHTTPAfterResponseRuleNotFound) IsSuccess() bool

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

func (*GetHTTPAfterResponseRuleNotFound) String added in v1.1.0

type GetHTTPAfterResponseRuleOK

type GetHTTPAfterResponseRuleOK struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *GetHTTPAfterResponseRuleOKBody
}

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

Successful operation

func NewGetHTTPAfterResponseRuleOK

func NewGetHTTPAfterResponseRuleOK() *GetHTTPAfterResponseRuleOK

NewGetHTTPAfterResponseRuleOK creates a GetHTTPAfterResponseRuleOK with default headers values

func (*GetHTTPAfterResponseRuleOK) Error

func (*GetHTTPAfterResponseRuleOK) GetPayload

func (*GetHTTPAfterResponseRuleOK) IsClientError added in v1.1.0

func (o *GetHTTPAfterResponseRuleOK) IsClientError() bool

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

func (*GetHTTPAfterResponseRuleOK) IsCode added in v1.1.0

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

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

func (*GetHTTPAfterResponseRuleOK) IsRedirect added in v1.1.0

func (o *GetHTTPAfterResponseRuleOK) IsRedirect() bool

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

func (*GetHTTPAfterResponseRuleOK) IsServerError added in v1.1.0

func (o *GetHTTPAfterResponseRuleOK) IsServerError() bool

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

func (*GetHTTPAfterResponseRuleOK) IsSuccess added in v1.1.0

func (o *GetHTTPAfterResponseRuleOK) IsSuccess() bool

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

func (*GetHTTPAfterResponseRuleOK) String added in v1.1.0

func (o *GetHTTPAfterResponseRuleOK) String() string

type GetHTTPAfterResponseRuleOKBody

type GetHTTPAfterResponseRuleOKBody struct {

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

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

GetHTTPAfterResponseRuleOKBody get HTTP after response rule o k body swagger:model GetHTTPAfterResponseRuleOKBody

func (*GetHTTPAfterResponseRuleOKBody) ContextValidate

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

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

func (*GetHTTPAfterResponseRuleOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetHTTPAfterResponseRuleOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetHTTPAfterResponseRuleOKBody) Validate

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

Validate validates this get HTTP after response rule o k body

type GetHTTPAfterResponseRuleParams

type GetHTTPAfterResponseRuleParams struct {

	/* Index.

	   HTTP After Response Rule Index
	*/
	Index int64

	/* ParentName.

	   Parent name
	*/
	ParentName string

	/* ParentType.

	   Parent type
	*/
	ParentType string

	/* TransactionID.

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

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

GetHTTPAfterResponseRuleParams contains all the parameters to send to the API endpoint

for the get HTTP after response rule operation.

Typically these are written to a http.Request.

func NewGetHTTPAfterResponseRuleParams

func NewGetHTTPAfterResponseRuleParams() *GetHTTPAfterResponseRuleParams

NewGetHTTPAfterResponseRuleParams creates a new GetHTTPAfterResponseRuleParams object, with the default timeout for this client.

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

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

func NewGetHTTPAfterResponseRuleParamsWithContext

func NewGetHTTPAfterResponseRuleParamsWithContext(ctx context.Context) *GetHTTPAfterResponseRuleParams

NewGetHTTPAfterResponseRuleParamsWithContext creates a new GetHTTPAfterResponseRuleParams object with the ability to set a context for a request.

func NewGetHTTPAfterResponseRuleParamsWithHTTPClient

func NewGetHTTPAfterResponseRuleParamsWithHTTPClient(client *http.Client) *GetHTTPAfterResponseRuleParams

NewGetHTTPAfterResponseRuleParamsWithHTTPClient creates a new GetHTTPAfterResponseRuleParams object with the ability to set a custom HTTPClient for a request.

func NewGetHTTPAfterResponseRuleParamsWithTimeout

func NewGetHTTPAfterResponseRuleParamsWithTimeout(timeout time.Duration) *GetHTTPAfterResponseRuleParams

NewGetHTTPAfterResponseRuleParamsWithTimeout creates a new GetHTTPAfterResponseRuleParams object with the ability to set a timeout on a request.

func (*GetHTTPAfterResponseRuleParams) SetContext

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

SetContext adds the context to the get HTTP after response rule params

func (*GetHTTPAfterResponseRuleParams) SetDefaults

func (o *GetHTTPAfterResponseRuleParams) SetDefaults()

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

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

func (*GetHTTPAfterResponseRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get HTTP after response rule params

func (*GetHTTPAfterResponseRuleParams) SetIndex

func (o *GetHTTPAfterResponseRuleParams) SetIndex(index int64)

SetIndex adds the index to the get HTTP after response rule params

func (*GetHTTPAfterResponseRuleParams) SetParentName

func (o *GetHTTPAfterResponseRuleParams) SetParentName(parentName string)

SetParentName adds the parentName to the get HTTP after response rule params

func (*GetHTTPAfterResponseRuleParams) SetParentType

func (o *GetHTTPAfterResponseRuleParams) SetParentType(parentType string)

SetParentType adds the parentType to the get HTTP after response rule params

func (*GetHTTPAfterResponseRuleParams) SetTimeout

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

SetTimeout adds the timeout to the get HTTP after response rule params

func (*GetHTTPAfterResponseRuleParams) SetTransactionID

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

SetTransactionID adds the transactionId to the get HTTP after response rule params

func (*GetHTTPAfterResponseRuleParams) WithContext

WithContext adds the context to the get HTTP after response rule params

func (*GetHTTPAfterResponseRuleParams) WithDefaults

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

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

func (*GetHTTPAfterResponseRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get HTTP after response rule params

func (*GetHTTPAfterResponseRuleParams) WithIndex

WithIndex adds the index to the get HTTP after response rule params

func (*GetHTTPAfterResponseRuleParams) WithParentName

WithParentName adds the parentName to the get HTTP after response rule params

func (*GetHTTPAfterResponseRuleParams) WithParentType

WithParentType adds the parentType to the get HTTP after response rule params

func (*GetHTTPAfterResponseRuleParams) WithTimeout

WithTimeout adds the timeout to the get HTTP after response rule params

func (*GetHTTPAfterResponseRuleParams) WithTransactionID

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

WithTransactionID adds the transactionID to the get HTTP after response rule params

func (*GetHTTPAfterResponseRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetHTTPAfterResponseRuleReader

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

GetHTTPAfterResponseRuleReader is a Reader for the GetHTTPAfterResponseRule structure.

func (*GetHTTPAfterResponseRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetHTTPAfterResponseRulesDefault

type GetHTTPAfterResponseRulesDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

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

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

General Error

func NewGetHTTPAfterResponseRulesDefault

func NewGetHTTPAfterResponseRulesDefault(code int) *GetHTTPAfterResponseRulesDefault

NewGetHTTPAfterResponseRulesDefault creates a GetHTTPAfterResponseRulesDefault with default headers values

func (*GetHTTPAfterResponseRulesDefault) Code

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

func (*GetHTTPAfterResponseRulesDefault) Error

func (*GetHTTPAfterResponseRulesDefault) GetPayload

func (*GetHTTPAfterResponseRulesDefault) IsClientError added in v1.1.0

func (o *GetHTTPAfterResponseRulesDefault) IsClientError() bool

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

func (*GetHTTPAfterResponseRulesDefault) IsCode added in v1.1.0

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

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

func (*GetHTTPAfterResponseRulesDefault) IsRedirect added in v1.1.0

func (o *GetHTTPAfterResponseRulesDefault) IsRedirect() bool

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

func (*GetHTTPAfterResponseRulesDefault) IsServerError added in v1.1.0

func (o *GetHTTPAfterResponseRulesDefault) IsServerError() bool

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

func (*GetHTTPAfterResponseRulesDefault) IsSuccess added in v1.1.0

func (o *GetHTTPAfterResponseRulesDefault) IsSuccess() bool

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

func (*GetHTTPAfterResponseRulesDefault) String added in v1.1.0

type GetHTTPAfterResponseRulesOK

type GetHTTPAfterResponseRulesOK struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *GetHTTPAfterResponseRulesOKBody
}

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

Successful operation

func NewGetHTTPAfterResponseRulesOK

func NewGetHTTPAfterResponseRulesOK() *GetHTTPAfterResponseRulesOK

NewGetHTTPAfterResponseRulesOK creates a GetHTTPAfterResponseRulesOK with default headers values

func (*GetHTTPAfterResponseRulesOK) Error

func (*GetHTTPAfterResponseRulesOK) GetPayload

func (*GetHTTPAfterResponseRulesOK) IsClientError added in v1.1.0

func (o *GetHTTPAfterResponseRulesOK) IsClientError() bool

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

func (*GetHTTPAfterResponseRulesOK) IsCode added in v1.1.0

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

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

func (*GetHTTPAfterResponseRulesOK) IsRedirect added in v1.1.0

func (o *GetHTTPAfterResponseRulesOK) IsRedirect() bool

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

func (*GetHTTPAfterResponseRulesOK) IsServerError added in v1.1.0

func (o *GetHTTPAfterResponseRulesOK) IsServerError() bool

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

func (*GetHTTPAfterResponseRulesOK) IsSuccess added in v1.1.0

func (o *GetHTTPAfterResponseRulesOK) IsSuccess() bool

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

func (*GetHTTPAfterResponseRulesOK) String added in v1.1.0

func (o *GetHTTPAfterResponseRulesOK) String() string

type GetHTTPAfterResponseRulesOKBody

type GetHTTPAfterResponseRulesOKBody struct {

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

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

GetHTTPAfterResponseRulesOKBody get HTTP after response rules o k body swagger:model GetHTTPAfterResponseRulesOKBody

func (*GetHTTPAfterResponseRulesOKBody) ContextValidate

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

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

func (*GetHTTPAfterResponseRulesOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetHTTPAfterResponseRulesOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetHTTPAfterResponseRulesOKBody) Validate

Validate validates this get HTTP after response rules o k body

type GetHTTPAfterResponseRulesParams

type GetHTTPAfterResponseRulesParams struct {

	/* ParentName.

	   Parent name
	*/
	ParentName string

	/* ParentType.

	   Parent type
	*/
	ParentType string

	/* TransactionID.

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

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

GetHTTPAfterResponseRulesParams contains all the parameters to send to the API endpoint

for the get HTTP after response rules operation.

Typically these are written to a http.Request.

func NewGetHTTPAfterResponseRulesParams

func NewGetHTTPAfterResponseRulesParams() *GetHTTPAfterResponseRulesParams

NewGetHTTPAfterResponseRulesParams creates a new GetHTTPAfterResponseRulesParams object, with the default timeout for this client.

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

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

func NewGetHTTPAfterResponseRulesParamsWithContext

func NewGetHTTPAfterResponseRulesParamsWithContext(ctx context.Context) *GetHTTPAfterResponseRulesParams

NewGetHTTPAfterResponseRulesParamsWithContext creates a new GetHTTPAfterResponseRulesParams object with the ability to set a context for a request.

func NewGetHTTPAfterResponseRulesParamsWithHTTPClient

func NewGetHTTPAfterResponseRulesParamsWithHTTPClient(client *http.Client) *GetHTTPAfterResponseRulesParams

NewGetHTTPAfterResponseRulesParamsWithHTTPClient creates a new GetHTTPAfterResponseRulesParams object with the ability to set a custom HTTPClient for a request.

func NewGetHTTPAfterResponseRulesParamsWithTimeout

func NewGetHTTPAfterResponseRulesParamsWithTimeout(timeout time.Duration) *GetHTTPAfterResponseRulesParams

NewGetHTTPAfterResponseRulesParamsWithTimeout creates a new GetHTTPAfterResponseRulesParams object with the ability to set a timeout on a request.

func (*GetHTTPAfterResponseRulesParams) SetContext

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

SetContext adds the context to the get HTTP after response rules params

func (*GetHTTPAfterResponseRulesParams) SetDefaults

func (o *GetHTTPAfterResponseRulesParams) SetDefaults()

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

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

func (*GetHTTPAfterResponseRulesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get HTTP after response rules params

func (*GetHTTPAfterResponseRulesParams) SetParentName

func (o *GetHTTPAfterResponseRulesParams) SetParentName(parentName string)

SetParentName adds the parentName to the get HTTP after response rules params

func (*GetHTTPAfterResponseRulesParams) SetParentType

func (o *GetHTTPAfterResponseRulesParams) SetParentType(parentType string)

SetParentType adds the parentType to the get HTTP after response rules params

func (*GetHTTPAfterResponseRulesParams) SetTimeout

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

SetTimeout adds the timeout to the get HTTP after response rules params

func (*GetHTTPAfterResponseRulesParams) SetTransactionID

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

SetTransactionID adds the transactionId to the get HTTP after response rules params

func (*GetHTTPAfterResponseRulesParams) WithContext

WithContext adds the context to the get HTTP after response rules params

func (*GetHTTPAfterResponseRulesParams) WithDefaults

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

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

func (*GetHTTPAfterResponseRulesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get HTTP after response rules params

func (*GetHTTPAfterResponseRulesParams) WithParentName

WithParentName adds the parentName to the get HTTP after response rules params

func (*GetHTTPAfterResponseRulesParams) WithParentType

WithParentType adds the parentType to the get HTTP after response rules params

func (*GetHTTPAfterResponseRulesParams) WithTimeout

WithTimeout adds the timeout to the get HTTP after response rules params

func (*GetHTTPAfterResponseRulesParams) WithTransactionID

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

WithTransactionID adds the transactionID to the get HTTP after response rules params

func (*GetHTTPAfterResponseRulesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetHTTPAfterResponseRulesReader

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

GetHTTPAfterResponseRulesReader is a Reader for the GetHTTPAfterResponseRules structure.

func (*GetHTTPAfterResponseRulesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReplaceHTTPAfterResponseRuleAccepted

type ReplaceHTTPAfterResponseRuleAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string

	Payload *models.HTTPAfterResponseRule
}

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

Configuration change accepted and reload requested

func NewReplaceHTTPAfterResponseRuleAccepted

func NewReplaceHTTPAfterResponseRuleAccepted() *ReplaceHTTPAfterResponseRuleAccepted

NewReplaceHTTPAfterResponseRuleAccepted creates a ReplaceHTTPAfterResponseRuleAccepted with default headers values

func (*ReplaceHTTPAfterResponseRuleAccepted) Error

func (*ReplaceHTTPAfterResponseRuleAccepted) GetPayload

func (*ReplaceHTTPAfterResponseRuleAccepted) IsClientError added in v1.1.0

func (o *ReplaceHTTPAfterResponseRuleAccepted) IsClientError() bool

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

func (*ReplaceHTTPAfterResponseRuleAccepted) IsCode added in v1.1.0

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

func (*ReplaceHTTPAfterResponseRuleAccepted) IsRedirect added in v1.1.0

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

func (*ReplaceHTTPAfterResponseRuleAccepted) IsServerError added in v1.1.0

func (o *ReplaceHTTPAfterResponseRuleAccepted) IsServerError() bool

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

func (*ReplaceHTTPAfterResponseRuleAccepted) IsSuccess added in v1.1.0

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

func (*ReplaceHTTPAfterResponseRuleAccepted) String added in v1.1.0

type ReplaceHTTPAfterResponseRuleBadRequest

type ReplaceHTTPAfterResponseRuleBadRequest struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

Bad request

func NewReplaceHTTPAfterResponseRuleBadRequest

func NewReplaceHTTPAfterResponseRuleBadRequest() *ReplaceHTTPAfterResponseRuleBadRequest

NewReplaceHTTPAfterResponseRuleBadRequest creates a ReplaceHTTPAfterResponseRuleBadRequest with default headers values

func (*ReplaceHTTPAfterResponseRuleBadRequest) Error

func (*ReplaceHTTPAfterResponseRuleBadRequest) GetPayload

func (*ReplaceHTTPAfterResponseRuleBadRequest) IsClientError added in v1.1.0

func (o *ReplaceHTTPAfterResponseRuleBadRequest) IsClientError() bool

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

func (*ReplaceHTTPAfterResponseRuleBadRequest) IsCode added in v1.1.0

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

func (*ReplaceHTTPAfterResponseRuleBadRequest) IsRedirect added in v1.1.0

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

func (*ReplaceHTTPAfterResponseRuleBadRequest) IsServerError added in v1.1.0

func (o *ReplaceHTTPAfterResponseRuleBadRequest) IsServerError() bool

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

func (*ReplaceHTTPAfterResponseRuleBadRequest) IsSuccess added in v1.1.0

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

func (*ReplaceHTTPAfterResponseRuleBadRequest) String added in v1.1.0

type ReplaceHTTPAfterResponseRuleDefault

type ReplaceHTTPAfterResponseRuleDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

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

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

General Error

func NewReplaceHTTPAfterResponseRuleDefault

func NewReplaceHTTPAfterResponseRuleDefault(code int) *ReplaceHTTPAfterResponseRuleDefault

NewReplaceHTTPAfterResponseRuleDefault creates a ReplaceHTTPAfterResponseRuleDefault with default headers values

func (*ReplaceHTTPAfterResponseRuleDefault) Code

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

func (*ReplaceHTTPAfterResponseRuleDefault) Error

func (*ReplaceHTTPAfterResponseRuleDefault) GetPayload

func (*ReplaceHTTPAfterResponseRuleDefault) IsClientError added in v1.1.0

func (o *ReplaceHTTPAfterResponseRuleDefault) IsClientError() bool

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

func (*ReplaceHTTPAfterResponseRuleDefault) IsCode added in v1.1.0

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

func (*ReplaceHTTPAfterResponseRuleDefault) IsRedirect added in v1.1.0

func (o *ReplaceHTTPAfterResponseRuleDefault) IsRedirect() bool

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

func (*ReplaceHTTPAfterResponseRuleDefault) IsServerError added in v1.1.0

func (o *ReplaceHTTPAfterResponseRuleDefault) IsServerError() bool

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

func (*ReplaceHTTPAfterResponseRuleDefault) IsSuccess added in v1.1.0

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

func (*ReplaceHTTPAfterResponseRuleDefault) String added in v1.1.0

type ReplaceHTTPAfterResponseRuleNotFound

type ReplaceHTTPAfterResponseRuleNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource was not found

func NewReplaceHTTPAfterResponseRuleNotFound

func NewReplaceHTTPAfterResponseRuleNotFound() *ReplaceHTTPAfterResponseRuleNotFound

NewReplaceHTTPAfterResponseRuleNotFound creates a ReplaceHTTPAfterResponseRuleNotFound with default headers values

func (*ReplaceHTTPAfterResponseRuleNotFound) Error

func (*ReplaceHTTPAfterResponseRuleNotFound) GetPayload

func (*ReplaceHTTPAfterResponseRuleNotFound) IsClientError added in v1.1.0

func (o *ReplaceHTTPAfterResponseRuleNotFound) IsClientError() bool

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

func (*ReplaceHTTPAfterResponseRuleNotFound) IsCode added in v1.1.0

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

func (*ReplaceHTTPAfterResponseRuleNotFound) IsRedirect added in v1.1.0

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

func (*ReplaceHTTPAfterResponseRuleNotFound) IsServerError added in v1.1.0

func (o *ReplaceHTTPAfterResponseRuleNotFound) IsServerError() bool

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

func (*ReplaceHTTPAfterResponseRuleNotFound) IsSuccess added in v1.1.0

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

func (*ReplaceHTTPAfterResponseRuleNotFound) String added in v1.1.0

type ReplaceHTTPAfterResponseRuleOK

type ReplaceHTTPAfterResponseRuleOK struct {
	Payload *models.HTTPAfterResponseRule
}

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

HTTP After Response Rule replaced

func NewReplaceHTTPAfterResponseRuleOK

func NewReplaceHTTPAfterResponseRuleOK() *ReplaceHTTPAfterResponseRuleOK

NewReplaceHTTPAfterResponseRuleOK creates a ReplaceHTTPAfterResponseRuleOK with default headers values

func (*ReplaceHTTPAfterResponseRuleOK) Error

func (*ReplaceHTTPAfterResponseRuleOK) GetPayload

func (*ReplaceHTTPAfterResponseRuleOK) IsClientError added in v1.1.0

func (o *ReplaceHTTPAfterResponseRuleOK) IsClientError() bool

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

func (*ReplaceHTTPAfterResponseRuleOK) IsCode added in v1.1.0

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

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

func (*ReplaceHTTPAfterResponseRuleOK) IsRedirect added in v1.1.0

func (o *ReplaceHTTPAfterResponseRuleOK) IsRedirect() bool

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

func (*ReplaceHTTPAfterResponseRuleOK) IsServerError added in v1.1.0

func (o *ReplaceHTTPAfterResponseRuleOK) IsServerError() bool

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

func (*ReplaceHTTPAfterResponseRuleOK) IsSuccess added in v1.1.0

func (o *ReplaceHTTPAfterResponseRuleOK) IsSuccess() bool

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

func (*ReplaceHTTPAfterResponseRuleOK) String added in v1.1.0

type ReplaceHTTPAfterResponseRuleParams

type ReplaceHTTPAfterResponseRuleParams struct {

	// Data.
	Data *models.HTTPAfterResponseRule

	/* ForceReload.

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

	/* Index.

	   HTTP After Response Rule Index
	*/
	Index int64

	/* ParentName.

	   Parent name
	*/
	ParentName string

	/* ParentType.

	   Parent type
	*/
	ParentType string

	/* TransactionID.

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

	/* Version.

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

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

ReplaceHTTPAfterResponseRuleParams contains all the parameters to send to the API endpoint

for the replace HTTP after response rule operation.

Typically these are written to a http.Request.

func NewReplaceHTTPAfterResponseRuleParams

func NewReplaceHTTPAfterResponseRuleParams() *ReplaceHTTPAfterResponseRuleParams

NewReplaceHTTPAfterResponseRuleParams creates a new ReplaceHTTPAfterResponseRuleParams object, with the default timeout for this client.

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

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

func NewReplaceHTTPAfterResponseRuleParamsWithContext

func NewReplaceHTTPAfterResponseRuleParamsWithContext(ctx context.Context) *ReplaceHTTPAfterResponseRuleParams

NewReplaceHTTPAfterResponseRuleParamsWithContext creates a new ReplaceHTTPAfterResponseRuleParams object with the ability to set a context for a request.

func NewReplaceHTTPAfterResponseRuleParamsWithHTTPClient

func NewReplaceHTTPAfterResponseRuleParamsWithHTTPClient(client *http.Client) *ReplaceHTTPAfterResponseRuleParams

NewReplaceHTTPAfterResponseRuleParamsWithHTTPClient creates a new ReplaceHTTPAfterResponseRuleParams object with the ability to set a custom HTTPClient for a request.

func NewReplaceHTTPAfterResponseRuleParamsWithTimeout

func NewReplaceHTTPAfterResponseRuleParamsWithTimeout(timeout time.Duration) *ReplaceHTTPAfterResponseRuleParams

NewReplaceHTTPAfterResponseRuleParamsWithTimeout creates a new ReplaceHTTPAfterResponseRuleParams object with the ability to set a timeout on a request.

func (*ReplaceHTTPAfterResponseRuleParams) SetContext

SetContext adds the context to the replace HTTP after response rule params

func (*ReplaceHTTPAfterResponseRuleParams) SetData

SetData adds the data to the replace HTTP after response rule params

func (*ReplaceHTTPAfterResponseRuleParams) SetDefaults

func (o *ReplaceHTTPAfterResponseRuleParams) SetDefaults()

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

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

func (*ReplaceHTTPAfterResponseRuleParams) SetForceReload

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

SetForceReload adds the forceReload to the replace HTTP after response rule params

func (*ReplaceHTTPAfterResponseRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the replace HTTP after response rule params

func (*ReplaceHTTPAfterResponseRuleParams) SetIndex

func (o *ReplaceHTTPAfterResponseRuleParams) SetIndex(index int64)

SetIndex adds the index to the replace HTTP after response rule params

func (*ReplaceHTTPAfterResponseRuleParams) SetParentName

func (o *ReplaceHTTPAfterResponseRuleParams) SetParentName(parentName string)

SetParentName adds the parentName to the replace HTTP after response rule params

func (*ReplaceHTTPAfterResponseRuleParams) SetParentType

func (o *ReplaceHTTPAfterResponseRuleParams) SetParentType(parentType string)

SetParentType adds the parentType to the replace HTTP after response rule params

func (*ReplaceHTTPAfterResponseRuleParams) SetTimeout

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

SetTimeout adds the timeout to the replace HTTP after response rule params

func (*ReplaceHTTPAfterResponseRuleParams) SetTransactionID

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

SetTransactionID adds the transactionId to the replace HTTP after response rule params

func (*ReplaceHTTPAfterResponseRuleParams) SetVersion

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

SetVersion adds the version to the replace HTTP after response rule params

func (*ReplaceHTTPAfterResponseRuleParams) WithContext

WithContext adds the context to the replace HTTP after response rule params

func (*ReplaceHTTPAfterResponseRuleParams) WithData

WithData adds the data to the replace HTTP after response rule params

func (*ReplaceHTTPAfterResponseRuleParams) WithDefaults

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

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

func (*ReplaceHTTPAfterResponseRuleParams) WithForceReload

WithForceReload adds the forceReload to the replace HTTP after response rule params

func (*ReplaceHTTPAfterResponseRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the replace HTTP after response rule params

func (*ReplaceHTTPAfterResponseRuleParams) WithIndex

WithIndex adds the index to the replace HTTP after response rule params

func (*ReplaceHTTPAfterResponseRuleParams) WithParentName

WithParentName adds the parentName to the replace HTTP after response rule params

func (*ReplaceHTTPAfterResponseRuleParams) WithParentType

WithParentType adds the parentType to the replace HTTP after response rule params

func (*ReplaceHTTPAfterResponseRuleParams) WithTimeout

WithTimeout adds the timeout to the replace HTTP after response rule params

func (*ReplaceHTTPAfterResponseRuleParams) WithTransactionID

WithTransactionID adds the transactionID to the replace HTTP after response rule params

func (*ReplaceHTTPAfterResponseRuleParams) WithVersion

WithVersion adds the version to the replace HTTP after response rule params

func (*ReplaceHTTPAfterResponseRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReplaceHTTPAfterResponseRuleReader

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

ReplaceHTTPAfterResponseRuleReader is a Reader for the ReplaceHTTPAfterResponseRule structure.

func (*ReplaceHTTPAfterResponseRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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