http_request_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 request rule API

func (*Client) CreateHTTPRequestRule

CreateHTTPRequestRule adds a new HTTP request rule

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

func (*Client) DeleteHTTPRequestRule

DeleteHTTPRequestRule deletes a HTTP request rule

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

func (*Client) GetHTTPRequestRule

func (a *Client) GetHTTPRequestRule(params *GetHTTPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHTTPRequestRuleOK, error)

GetHTTPRequestRule returns one HTTP request rule

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

func (*Client) GetHTTPRequestRules

func (a *Client) GetHTTPRequestRules(params *GetHTTPRequestRulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetHTTPRequestRulesOK, error)

GetHTTPRequestRules returns an array of all HTTP request rules

Returns all HTTP Request Rules that are configured in specified parent.

func (*Client) ReplaceHTTPRequestRule

ReplaceHTTPRequestRule replaces a HTTP request rule

Replaces a HTTP Request 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 request rule API client.

type CreateHTTPRequestRuleAccepted

type CreateHTTPRequestRuleAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string

	Payload *models.HTTPRequestRule
}

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

Configuration change accepted and reload requested

func NewCreateHTTPRequestRuleAccepted

func NewCreateHTTPRequestRuleAccepted() *CreateHTTPRequestRuleAccepted

NewCreateHTTPRequestRuleAccepted creates a CreateHTTPRequestRuleAccepted with default headers values

func (*CreateHTTPRequestRuleAccepted) Code added in v1.1.5

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

func (*CreateHTTPRequestRuleAccepted) Error

func (*CreateHTTPRequestRuleAccepted) GetPayload

func (*CreateHTTPRequestRuleAccepted) IsClientError added in v1.1.0

func (o *CreateHTTPRequestRuleAccepted) IsClientError() bool

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

func (*CreateHTTPRequestRuleAccepted) IsCode added in v1.1.0

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

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

func (*CreateHTTPRequestRuleAccepted) IsRedirect added in v1.1.0

func (o *CreateHTTPRequestRuleAccepted) IsRedirect() bool

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

func (*CreateHTTPRequestRuleAccepted) IsServerError added in v1.1.0

func (o *CreateHTTPRequestRuleAccepted) IsServerError() bool

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

func (*CreateHTTPRequestRuleAccepted) IsSuccess added in v1.1.0

func (o *CreateHTTPRequestRuleAccepted) IsSuccess() bool

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

func (*CreateHTTPRequestRuleAccepted) String added in v1.1.0

type CreateHTTPRequestRuleBadRequest

type CreateHTTPRequestRuleBadRequest struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

Bad request

func NewCreateHTTPRequestRuleBadRequest

func NewCreateHTTPRequestRuleBadRequest() *CreateHTTPRequestRuleBadRequest

NewCreateHTTPRequestRuleBadRequest creates a CreateHTTPRequestRuleBadRequest with default headers values

func (*CreateHTTPRequestRuleBadRequest) Code added in v1.1.5

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

func (*CreateHTTPRequestRuleBadRequest) Error

func (*CreateHTTPRequestRuleBadRequest) GetPayload

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

func (*CreateHTTPRequestRuleBadRequest) IsClientError added in v1.1.0

func (o *CreateHTTPRequestRuleBadRequest) IsClientError() bool

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

func (*CreateHTTPRequestRuleBadRequest) IsCode added in v1.1.0

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

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

func (*CreateHTTPRequestRuleBadRequest) IsRedirect added in v1.1.0

func (o *CreateHTTPRequestRuleBadRequest) IsRedirect() bool

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

func (*CreateHTTPRequestRuleBadRequest) IsServerError added in v1.1.0

func (o *CreateHTTPRequestRuleBadRequest) IsServerError() bool

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

func (*CreateHTTPRequestRuleBadRequest) IsSuccess added in v1.1.0

func (o *CreateHTTPRequestRuleBadRequest) IsSuccess() bool

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

func (*CreateHTTPRequestRuleBadRequest) String added in v1.1.0

type CreateHTTPRequestRuleConflict

type CreateHTTPRequestRuleConflict struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource already exists

func NewCreateHTTPRequestRuleConflict

func NewCreateHTTPRequestRuleConflict() *CreateHTTPRequestRuleConflict

NewCreateHTTPRequestRuleConflict creates a CreateHTTPRequestRuleConflict with default headers values

func (*CreateHTTPRequestRuleConflict) Code added in v1.1.5

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

func (*CreateHTTPRequestRuleConflict) Error

func (*CreateHTTPRequestRuleConflict) GetPayload

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

func (*CreateHTTPRequestRuleConflict) IsClientError added in v1.1.0

func (o *CreateHTTPRequestRuleConflict) IsClientError() bool

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

func (*CreateHTTPRequestRuleConflict) IsCode added in v1.1.0

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

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

func (*CreateHTTPRequestRuleConflict) IsRedirect added in v1.1.0

func (o *CreateHTTPRequestRuleConflict) IsRedirect() bool

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

func (*CreateHTTPRequestRuleConflict) IsServerError added in v1.1.0

func (o *CreateHTTPRequestRuleConflict) IsServerError() bool

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

func (*CreateHTTPRequestRuleConflict) IsSuccess added in v1.1.0

func (o *CreateHTTPRequestRuleConflict) IsSuccess() bool

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

func (*CreateHTTPRequestRuleConflict) String added in v1.1.0

type CreateHTTPRequestRuleCreated

type CreateHTTPRequestRuleCreated struct {
	Payload *models.HTTPRequestRule
}

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

HTTP Request Rule created

func NewCreateHTTPRequestRuleCreated

func NewCreateHTTPRequestRuleCreated() *CreateHTTPRequestRuleCreated

NewCreateHTTPRequestRuleCreated creates a CreateHTTPRequestRuleCreated with default headers values

func (*CreateHTTPRequestRuleCreated) Code added in v1.1.5

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

func (*CreateHTTPRequestRuleCreated) Error

func (*CreateHTTPRequestRuleCreated) GetPayload

func (*CreateHTTPRequestRuleCreated) IsClientError added in v1.1.0

func (o *CreateHTTPRequestRuleCreated) IsClientError() bool

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

func (*CreateHTTPRequestRuleCreated) IsCode added in v1.1.0

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

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

func (*CreateHTTPRequestRuleCreated) IsRedirect added in v1.1.0

func (o *CreateHTTPRequestRuleCreated) IsRedirect() bool

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

func (*CreateHTTPRequestRuleCreated) IsServerError added in v1.1.0

func (o *CreateHTTPRequestRuleCreated) IsServerError() bool

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

func (*CreateHTTPRequestRuleCreated) IsSuccess added in v1.1.0

func (o *CreateHTTPRequestRuleCreated) IsSuccess() bool

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

func (*CreateHTTPRequestRuleCreated) String added in v1.1.0

type CreateHTTPRequestRuleDefault

type CreateHTTPRequestRuleDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

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

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

General Error

func NewCreateHTTPRequestRuleDefault

func NewCreateHTTPRequestRuleDefault(code int) *CreateHTTPRequestRuleDefault

NewCreateHTTPRequestRuleDefault creates a CreateHTTPRequestRuleDefault with default headers values

func (*CreateHTTPRequestRuleDefault) Code

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

func (*CreateHTTPRequestRuleDefault) Error

func (*CreateHTTPRequestRuleDefault) GetPayload

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

func (*CreateHTTPRequestRuleDefault) IsClientError added in v1.1.0

func (o *CreateHTTPRequestRuleDefault) IsClientError() bool

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

func (*CreateHTTPRequestRuleDefault) IsCode added in v1.1.0

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

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

func (*CreateHTTPRequestRuleDefault) IsRedirect added in v1.1.0

func (o *CreateHTTPRequestRuleDefault) IsRedirect() bool

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

func (*CreateHTTPRequestRuleDefault) IsServerError added in v1.1.0

func (o *CreateHTTPRequestRuleDefault) IsServerError() bool

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

func (*CreateHTTPRequestRuleDefault) IsSuccess added in v1.1.0

func (o *CreateHTTPRequestRuleDefault) IsSuccess() bool

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

func (*CreateHTTPRequestRuleDefault) String added in v1.1.0

type CreateHTTPRequestRuleParams

type CreateHTTPRequestRuleParams struct {

	// Data.
	Data *models.HTTPRequestRule

	/* 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
}

CreateHTTPRequestRuleParams contains all the parameters to send to the API endpoint

for the create HTTP request rule operation.

Typically these are written to a http.Request.

func NewCreateHTTPRequestRuleParams

func NewCreateHTTPRequestRuleParams() *CreateHTTPRequestRuleParams

NewCreateHTTPRequestRuleParams creates a new CreateHTTPRequestRuleParams 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 NewCreateHTTPRequestRuleParamsWithContext

func NewCreateHTTPRequestRuleParamsWithContext(ctx context.Context) *CreateHTTPRequestRuleParams

NewCreateHTTPRequestRuleParamsWithContext creates a new CreateHTTPRequestRuleParams object with the ability to set a context for a request.

func NewCreateHTTPRequestRuleParamsWithHTTPClient

func NewCreateHTTPRequestRuleParamsWithHTTPClient(client *http.Client) *CreateHTTPRequestRuleParams

NewCreateHTTPRequestRuleParamsWithHTTPClient creates a new CreateHTTPRequestRuleParams object with the ability to set a custom HTTPClient for a request.

func NewCreateHTTPRequestRuleParamsWithTimeout

func NewCreateHTTPRequestRuleParamsWithTimeout(timeout time.Duration) *CreateHTTPRequestRuleParams

NewCreateHTTPRequestRuleParamsWithTimeout creates a new CreateHTTPRequestRuleParams object with the ability to set a timeout on a request.

func (*CreateHTTPRequestRuleParams) SetContext

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

SetContext adds the context to the create HTTP request rule params

func (*CreateHTTPRequestRuleParams) SetData

SetData adds the data to the create HTTP request rule params

func (*CreateHTTPRequestRuleParams) SetDefaults

func (o *CreateHTTPRequestRuleParams) SetDefaults()

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

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

func (*CreateHTTPRequestRuleParams) SetForceReload

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

SetForceReload adds the forceReload to the create HTTP request rule params

func (*CreateHTTPRequestRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create HTTP request rule params

func (*CreateHTTPRequestRuleParams) SetParentName

func (o *CreateHTTPRequestRuleParams) SetParentName(parentName string)

SetParentName adds the parentName to the create HTTP request rule params

func (*CreateHTTPRequestRuleParams) SetParentType

func (o *CreateHTTPRequestRuleParams) SetParentType(parentType string)

SetParentType adds the parentType to the create HTTP request rule params

func (*CreateHTTPRequestRuleParams) SetTimeout

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

SetTimeout adds the timeout to the create HTTP request rule params

func (*CreateHTTPRequestRuleParams) SetTransactionID

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

SetTransactionID adds the transactionId to the create HTTP request rule params

func (*CreateHTTPRequestRuleParams) SetVersion

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

SetVersion adds the version to the create HTTP request rule params

func (*CreateHTTPRequestRuleParams) WithContext

WithContext adds the context to the create HTTP request rule params

func (*CreateHTTPRequestRuleParams) WithData

WithData adds the data to the create HTTP request rule params

func (*CreateHTTPRequestRuleParams) WithDefaults

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

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

func (*CreateHTTPRequestRuleParams) WithForceReload

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

WithForceReload adds the forceReload to the create HTTP request rule params

func (*CreateHTTPRequestRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create HTTP request rule params

func (*CreateHTTPRequestRuleParams) WithParentName

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

WithParentName adds the parentName to the create HTTP request rule params

func (*CreateHTTPRequestRuleParams) WithParentType

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

WithParentType adds the parentType to the create HTTP request rule params

func (*CreateHTTPRequestRuleParams) WithTimeout

WithTimeout adds the timeout to the create HTTP request rule params

func (*CreateHTTPRequestRuleParams) WithTransactionID

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

WithTransactionID adds the transactionID to the create HTTP request rule params

func (*CreateHTTPRequestRuleParams) WithVersion

WithVersion adds the version to the create HTTP request rule params

func (*CreateHTTPRequestRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateHTTPRequestRuleReader

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

CreateHTTPRequestRuleReader is a Reader for the CreateHTTPRequestRule structure.

func (*CreateHTTPRequestRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteHTTPRequestRuleAccepted

type DeleteHTTPRequestRuleAccepted struct {

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

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

Configuration change accepted and reload requested

func NewDeleteHTTPRequestRuleAccepted

func NewDeleteHTTPRequestRuleAccepted() *DeleteHTTPRequestRuleAccepted

NewDeleteHTTPRequestRuleAccepted creates a DeleteHTTPRequestRuleAccepted with default headers values

func (*DeleteHTTPRequestRuleAccepted) Code added in v1.1.5

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

func (*DeleteHTTPRequestRuleAccepted) Error

func (*DeleteHTTPRequestRuleAccepted) IsClientError added in v1.1.0

func (o *DeleteHTTPRequestRuleAccepted) IsClientError() bool

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

func (*DeleteHTTPRequestRuleAccepted) IsCode added in v1.1.0

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

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

func (*DeleteHTTPRequestRuleAccepted) IsRedirect added in v1.1.0

func (o *DeleteHTTPRequestRuleAccepted) IsRedirect() bool

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

func (*DeleteHTTPRequestRuleAccepted) IsServerError added in v1.1.0

func (o *DeleteHTTPRequestRuleAccepted) IsServerError() bool

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

func (*DeleteHTTPRequestRuleAccepted) IsSuccess added in v1.1.0

func (o *DeleteHTTPRequestRuleAccepted) IsSuccess() bool

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

func (*DeleteHTTPRequestRuleAccepted) String added in v1.1.0

type DeleteHTTPRequestRuleDefault

type DeleteHTTPRequestRuleDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

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

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

General Error

func NewDeleteHTTPRequestRuleDefault

func NewDeleteHTTPRequestRuleDefault(code int) *DeleteHTTPRequestRuleDefault

NewDeleteHTTPRequestRuleDefault creates a DeleteHTTPRequestRuleDefault with default headers values

func (*DeleteHTTPRequestRuleDefault) Code

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

func (*DeleteHTTPRequestRuleDefault) Error

func (*DeleteHTTPRequestRuleDefault) GetPayload

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

func (*DeleteHTTPRequestRuleDefault) IsClientError added in v1.1.0

func (o *DeleteHTTPRequestRuleDefault) IsClientError() bool

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

func (*DeleteHTTPRequestRuleDefault) IsCode added in v1.1.0

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

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

func (*DeleteHTTPRequestRuleDefault) IsRedirect added in v1.1.0

func (o *DeleteHTTPRequestRuleDefault) IsRedirect() bool

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

func (*DeleteHTTPRequestRuleDefault) IsServerError added in v1.1.0

func (o *DeleteHTTPRequestRuleDefault) IsServerError() bool

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

func (*DeleteHTTPRequestRuleDefault) IsSuccess added in v1.1.0

func (o *DeleteHTTPRequestRuleDefault) IsSuccess() bool

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

func (*DeleteHTTPRequestRuleDefault) String added in v1.1.0

type DeleteHTTPRequestRuleNoContent

type DeleteHTTPRequestRuleNoContent struct {
}

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

HTTP Request Rule deleted

func NewDeleteHTTPRequestRuleNoContent

func NewDeleteHTTPRequestRuleNoContent() *DeleteHTTPRequestRuleNoContent

NewDeleteHTTPRequestRuleNoContent creates a DeleteHTTPRequestRuleNoContent with default headers values

func (*DeleteHTTPRequestRuleNoContent) Code added in v1.1.5

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

func (*DeleteHTTPRequestRuleNoContent) Error

func (*DeleteHTTPRequestRuleNoContent) IsClientError added in v1.1.0

func (o *DeleteHTTPRequestRuleNoContent) IsClientError() bool

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

func (*DeleteHTTPRequestRuleNoContent) IsCode added in v1.1.0

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

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

func (*DeleteHTTPRequestRuleNoContent) IsRedirect added in v1.1.0

func (o *DeleteHTTPRequestRuleNoContent) IsRedirect() bool

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

func (*DeleteHTTPRequestRuleNoContent) IsServerError added in v1.1.0

func (o *DeleteHTTPRequestRuleNoContent) IsServerError() bool

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

func (*DeleteHTTPRequestRuleNoContent) IsSuccess added in v1.1.0

func (o *DeleteHTTPRequestRuleNoContent) IsSuccess() bool

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

func (*DeleteHTTPRequestRuleNoContent) String added in v1.1.0

type DeleteHTTPRequestRuleNotFound

type DeleteHTTPRequestRuleNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource was not found

func NewDeleteHTTPRequestRuleNotFound

func NewDeleteHTTPRequestRuleNotFound() *DeleteHTTPRequestRuleNotFound

NewDeleteHTTPRequestRuleNotFound creates a DeleteHTTPRequestRuleNotFound with default headers values

func (*DeleteHTTPRequestRuleNotFound) Code added in v1.1.5

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

func (*DeleteHTTPRequestRuleNotFound) Error

func (*DeleteHTTPRequestRuleNotFound) GetPayload

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

func (*DeleteHTTPRequestRuleNotFound) IsClientError added in v1.1.0

func (o *DeleteHTTPRequestRuleNotFound) IsClientError() bool

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

func (*DeleteHTTPRequestRuleNotFound) IsCode added in v1.1.0

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

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

func (*DeleteHTTPRequestRuleNotFound) IsRedirect added in v1.1.0

func (o *DeleteHTTPRequestRuleNotFound) IsRedirect() bool

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

func (*DeleteHTTPRequestRuleNotFound) IsServerError added in v1.1.0

func (o *DeleteHTTPRequestRuleNotFound) IsServerError() bool

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

func (*DeleteHTTPRequestRuleNotFound) IsSuccess added in v1.1.0

func (o *DeleteHTTPRequestRuleNotFound) IsSuccess() bool

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

func (*DeleteHTTPRequestRuleNotFound) String added in v1.1.0

type DeleteHTTPRequestRuleParams

type DeleteHTTPRequestRuleParams 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 Request 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
}

DeleteHTTPRequestRuleParams contains all the parameters to send to the API endpoint

for the delete HTTP request rule operation.

Typically these are written to a http.Request.

func NewDeleteHTTPRequestRuleParams

func NewDeleteHTTPRequestRuleParams() *DeleteHTTPRequestRuleParams

NewDeleteHTTPRequestRuleParams creates a new DeleteHTTPRequestRuleParams 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 NewDeleteHTTPRequestRuleParamsWithContext

func NewDeleteHTTPRequestRuleParamsWithContext(ctx context.Context) *DeleteHTTPRequestRuleParams

NewDeleteHTTPRequestRuleParamsWithContext creates a new DeleteHTTPRequestRuleParams object with the ability to set a context for a request.

func NewDeleteHTTPRequestRuleParamsWithHTTPClient

func NewDeleteHTTPRequestRuleParamsWithHTTPClient(client *http.Client) *DeleteHTTPRequestRuleParams

NewDeleteHTTPRequestRuleParamsWithHTTPClient creates a new DeleteHTTPRequestRuleParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteHTTPRequestRuleParamsWithTimeout

func NewDeleteHTTPRequestRuleParamsWithTimeout(timeout time.Duration) *DeleteHTTPRequestRuleParams

NewDeleteHTTPRequestRuleParamsWithTimeout creates a new DeleteHTTPRequestRuleParams object with the ability to set a timeout on a request.

func (*DeleteHTTPRequestRuleParams) SetContext

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

SetContext adds the context to the delete HTTP request rule params

func (*DeleteHTTPRequestRuleParams) SetDefaults

func (o *DeleteHTTPRequestRuleParams) SetDefaults()

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

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

func (*DeleteHTTPRequestRuleParams) SetForceReload

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

SetForceReload adds the forceReload to the delete HTTP request rule params

func (*DeleteHTTPRequestRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete HTTP request rule params

func (*DeleteHTTPRequestRuleParams) SetIndex

func (o *DeleteHTTPRequestRuleParams) SetIndex(index int64)

SetIndex adds the index to the delete HTTP request rule params

func (*DeleteHTTPRequestRuleParams) SetParentName

func (o *DeleteHTTPRequestRuleParams) SetParentName(parentName string)

SetParentName adds the parentName to the delete HTTP request rule params

func (*DeleteHTTPRequestRuleParams) SetParentType

func (o *DeleteHTTPRequestRuleParams) SetParentType(parentType string)

SetParentType adds the parentType to the delete HTTP request rule params

func (*DeleteHTTPRequestRuleParams) SetTimeout

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

SetTimeout adds the timeout to the delete HTTP request rule params

func (*DeleteHTTPRequestRuleParams) SetTransactionID

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

SetTransactionID adds the transactionId to the delete HTTP request rule params

func (*DeleteHTTPRequestRuleParams) SetVersion

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

SetVersion adds the version to the delete HTTP request rule params

func (*DeleteHTTPRequestRuleParams) WithContext

WithContext adds the context to the delete HTTP request rule params

func (*DeleteHTTPRequestRuleParams) WithDefaults

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

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

func (*DeleteHTTPRequestRuleParams) WithForceReload

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

WithForceReload adds the forceReload to the delete HTTP request rule params

func (*DeleteHTTPRequestRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete HTTP request rule params

func (*DeleteHTTPRequestRuleParams) WithIndex

WithIndex adds the index to the delete HTTP request rule params

func (*DeleteHTTPRequestRuleParams) WithParentName

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

WithParentName adds the parentName to the delete HTTP request rule params

func (*DeleteHTTPRequestRuleParams) WithParentType

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

WithParentType adds the parentType to the delete HTTP request rule params

func (*DeleteHTTPRequestRuleParams) WithTimeout

WithTimeout adds the timeout to the delete HTTP request rule params

func (*DeleteHTTPRequestRuleParams) WithTransactionID

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

WithTransactionID adds the transactionID to the delete HTTP request rule params

func (*DeleteHTTPRequestRuleParams) WithVersion

WithVersion adds the version to the delete HTTP request rule params

func (*DeleteHTTPRequestRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteHTTPRequestRuleReader

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

DeleteHTTPRequestRuleReader is a Reader for the DeleteHTTPRequestRule structure.

func (*DeleteHTTPRequestRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetHTTPRequestRuleDefault

type GetHTTPRequestRuleDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

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

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

General Error

func NewGetHTTPRequestRuleDefault

func NewGetHTTPRequestRuleDefault(code int) *GetHTTPRequestRuleDefault

NewGetHTTPRequestRuleDefault creates a GetHTTPRequestRuleDefault with default headers values

func (*GetHTTPRequestRuleDefault) Code

func (o *GetHTTPRequestRuleDefault) Code() int

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

func (*GetHTTPRequestRuleDefault) Error

func (o *GetHTTPRequestRuleDefault) Error() string

func (*GetHTTPRequestRuleDefault) GetPayload

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

func (*GetHTTPRequestRuleDefault) IsClientError added in v1.1.0

func (o *GetHTTPRequestRuleDefault) IsClientError() bool

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

func (*GetHTTPRequestRuleDefault) IsCode added in v1.1.0

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

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

func (*GetHTTPRequestRuleDefault) IsRedirect added in v1.1.0

func (o *GetHTTPRequestRuleDefault) IsRedirect() bool

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

func (*GetHTTPRequestRuleDefault) IsServerError added in v1.1.0

func (o *GetHTTPRequestRuleDefault) IsServerError() bool

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

func (*GetHTTPRequestRuleDefault) IsSuccess added in v1.1.0

func (o *GetHTTPRequestRuleDefault) IsSuccess() bool

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

func (*GetHTTPRequestRuleDefault) String added in v1.1.0

func (o *GetHTTPRequestRuleDefault) String() string

type GetHTTPRequestRuleNotFound

type GetHTTPRequestRuleNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource was not found

func NewGetHTTPRequestRuleNotFound

func NewGetHTTPRequestRuleNotFound() *GetHTTPRequestRuleNotFound

NewGetHTTPRequestRuleNotFound creates a GetHTTPRequestRuleNotFound with default headers values

func (*GetHTTPRequestRuleNotFound) Code added in v1.1.5

func (o *GetHTTPRequestRuleNotFound) Code() int

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

func (*GetHTTPRequestRuleNotFound) Error

func (*GetHTTPRequestRuleNotFound) GetPayload

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

func (*GetHTTPRequestRuleNotFound) IsClientError added in v1.1.0

func (o *GetHTTPRequestRuleNotFound) IsClientError() bool

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

func (*GetHTTPRequestRuleNotFound) IsCode added in v1.1.0

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

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

func (*GetHTTPRequestRuleNotFound) IsRedirect added in v1.1.0

func (o *GetHTTPRequestRuleNotFound) IsRedirect() bool

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

func (*GetHTTPRequestRuleNotFound) IsServerError added in v1.1.0

func (o *GetHTTPRequestRuleNotFound) IsServerError() bool

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

func (*GetHTTPRequestRuleNotFound) IsSuccess added in v1.1.0

func (o *GetHTTPRequestRuleNotFound) IsSuccess() bool

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

func (*GetHTTPRequestRuleNotFound) String added in v1.1.0

func (o *GetHTTPRequestRuleNotFound) String() string

type GetHTTPRequestRuleOK

type GetHTTPRequestRuleOK struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *GetHTTPRequestRuleOKBody
}

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

Successful operation

func NewGetHTTPRequestRuleOK

func NewGetHTTPRequestRuleOK() *GetHTTPRequestRuleOK

NewGetHTTPRequestRuleOK creates a GetHTTPRequestRuleOK with default headers values

func (*GetHTTPRequestRuleOK) Code added in v1.1.5

func (o *GetHTTPRequestRuleOK) Code() int

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

func (*GetHTTPRequestRuleOK) Error

func (o *GetHTTPRequestRuleOK) Error() string

func (*GetHTTPRequestRuleOK) GetPayload

func (*GetHTTPRequestRuleOK) IsClientError added in v1.1.0

func (o *GetHTTPRequestRuleOK) IsClientError() bool

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

func (*GetHTTPRequestRuleOK) IsCode added in v1.1.0

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

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

func (*GetHTTPRequestRuleOK) IsRedirect added in v1.1.0

func (o *GetHTTPRequestRuleOK) IsRedirect() bool

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

func (*GetHTTPRequestRuleOK) IsServerError added in v1.1.0

func (o *GetHTTPRequestRuleOK) IsServerError() bool

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

func (*GetHTTPRequestRuleOK) IsSuccess added in v1.1.0

func (o *GetHTTPRequestRuleOK) IsSuccess() bool

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

func (*GetHTTPRequestRuleOK) String added in v1.1.0

func (o *GetHTTPRequestRuleOK) String() string

type GetHTTPRequestRuleOKBody

type GetHTTPRequestRuleOKBody struct {

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

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

GetHTTPRequestRuleOKBody get HTTP request rule o k body swagger:model GetHTTPRequestRuleOKBody

func (*GetHTTPRequestRuleOKBody) ContextValidate

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

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

func (*GetHTTPRequestRuleOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetHTTPRequestRuleOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetHTTPRequestRuleOKBody) Validate

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

Validate validates this get HTTP request rule o k body

type GetHTTPRequestRuleParams

type GetHTTPRequestRuleParams struct {

	/* Index.

	   HTTP Request 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
}

GetHTTPRequestRuleParams contains all the parameters to send to the API endpoint

for the get HTTP request rule operation.

Typically these are written to a http.Request.

func NewGetHTTPRequestRuleParams

func NewGetHTTPRequestRuleParams() *GetHTTPRequestRuleParams

NewGetHTTPRequestRuleParams creates a new GetHTTPRequestRuleParams 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 NewGetHTTPRequestRuleParamsWithContext

func NewGetHTTPRequestRuleParamsWithContext(ctx context.Context) *GetHTTPRequestRuleParams

NewGetHTTPRequestRuleParamsWithContext creates a new GetHTTPRequestRuleParams object with the ability to set a context for a request.

func NewGetHTTPRequestRuleParamsWithHTTPClient

func NewGetHTTPRequestRuleParamsWithHTTPClient(client *http.Client) *GetHTTPRequestRuleParams

NewGetHTTPRequestRuleParamsWithHTTPClient creates a new GetHTTPRequestRuleParams object with the ability to set a custom HTTPClient for a request.

func NewGetHTTPRequestRuleParamsWithTimeout

func NewGetHTTPRequestRuleParamsWithTimeout(timeout time.Duration) *GetHTTPRequestRuleParams

NewGetHTTPRequestRuleParamsWithTimeout creates a new GetHTTPRequestRuleParams object with the ability to set a timeout on a request.

func (*GetHTTPRequestRuleParams) SetContext

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

SetContext adds the context to the get HTTP request rule params

func (*GetHTTPRequestRuleParams) SetDefaults

func (o *GetHTTPRequestRuleParams) SetDefaults()

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

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

func (*GetHTTPRequestRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get HTTP request rule params

func (*GetHTTPRequestRuleParams) SetIndex

func (o *GetHTTPRequestRuleParams) SetIndex(index int64)

SetIndex adds the index to the get HTTP request rule params

func (*GetHTTPRequestRuleParams) SetParentName

func (o *GetHTTPRequestRuleParams) SetParentName(parentName string)

SetParentName adds the parentName to the get HTTP request rule params

func (*GetHTTPRequestRuleParams) SetParentType

func (o *GetHTTPRequestRuleParams) SetParentType(parentType string)

SetParentType adds the parentType to the get HTTP request rule params

func (*GetHTTPRequestRuleParams) SetTimeout

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

SetTimeout adds the timeout to the get HTTP request rule params

func (*GetHTTPRequestRuleParams) SetTransactionID

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

SetTransactionID adds the transactionId to the get HTTP request rule params

func (*GetHTTPRequestRuleParams) WithContext

WithContext adds the context to the get HTTP request rule params

func (*GetHTTPRequestRuleParams) WithDefaults

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

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

func (*GetHTTPRequestRuleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get HTTP request rule params

func (*GetHTTPRequestRuleParams) WithIndex

WithIndex adds the index to the get HTTP request rule params

func (*GetHTTPRequestRuleParams) WithParentName

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

WithParentName adds the parentName to the get HTTP request rule params

func (*GetHTTPRequestRuleParams) WithParentType

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

WithParentType adds the parentType to the get HTTP request rule params

func (*GetHTTPRequestRuleParams) WithTimeout

WithTimeout adds the timeout to the get HTTP request rule params

func (*GetHTTPRequestRuleParams) WithTransactionID

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

WithTransactionID adds the transactionID to the get HTTP request rule params

func (*GetHTTPRequestRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetHTTPRequestRuleReader

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

GetHTTPRequestRuleReader is a Reader for the GetHTTPRequestRule structure.

func (*GetHTTPRequestRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetHTTPRequestRulesDefault

type GetHTTPRequestRulesDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

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

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

General Error

func NewGetHTTPRequestRulesDefault

func NewGetHTTPRequestRulesDefault(code int) *GetHTTPRequestRulesDefault

NewGetHTTPRequestRulesDefault creates a GetHTTPRequestRulesDefault with default headers values

func (*GetHTTPRequestRulesDefault) Code

func (o *GetHTTPRequestRulesDefault) Code() int

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

func (*GetHTTPRequestRulesDefault) Error

func (*GetHTTPRequestRulesDefault) GetPayload

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

func (*GetHTTPRequestRulesDefault) IsClientError added in v1.1.0

func (o *GetHTTPRequestRulesDefault) IsClientError() bool

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

func (*GetHTTPRequestRulesDefault) IsCode added in v1.1.0

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

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

func (*GetHTTPRequestRulesDefault) IsRedirect added in v1.1.0

func (o *GetHTTPRequestRulesDefault) IsRedirect() bool

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

func (*GetHTTPRequestRulesDefault) IsServerError added in v1.1.0

func (o *GetHTTPRequestRulesDefault) IsServerError() bool

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

func (*GetHTTPRequestRulesDefault) IsSuccess added in v1.1.0

func (o *GetHTTPRequestRulesDefault) IsSuccess() bool

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

func (*GetHTTPRequestRulesDefault) String added in v1.1.0

func (o *GetHTTPRequestRulesDefault) String() string

type GetHTTPRequestRulesOK

type GetHTTPRequestRulesOK struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *GetHTTPRequestRulesOKBody
}

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

Successful operation

func NewGetHTTPRequestRulesOK

func NewGetHTTPRequestRulesOK() *GetHTTPRequestRulesOK

NewGetHTTPRequestRulesOK creates a GetHTTPRequestRulesOK with default headers values

func (*GetHTTPRequestRulesOK) Code added in v1.1.5

func (o *GetHTTPRequestRulesOK) Code() int

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

func (*GetHTTPRequestRulesOK) Error

func (o *GetHTTPRequestRulesOK) Error() string

func (*GetHTTPRequestRulesOK) GetPayload

func (*GetHTTPRequestRulesOK) IsClientError added in v1.1.0

func (o *GetHTTPRequestRulesOK) IsClientError() bool

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

func (*GetHTTPRequestRulesOK) IsCode added in v1.1.0

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

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

func (*GetHTTPRequestRulesOK) IsRedirect added in v1.1.0

func (o *GetHTTPRequestRulesOK) IsRedirect() bool

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

func (*GetHTTPRequestRulesOK) IsServerError added in v1.1.0

func (o *GetHTTPRequestRulesOK) IsServerError() bool

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

func (*GetHTTPRequestRulesOK) IsSuccess added in v1.1.0

func (o *GetHTTPRequestRulesOK) IsSuccess() bool

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

func (*GetHTTPRequestRulesOK) String added in v1.1.0

func (o *GetHTTPRequestRulesOK) String() string

type GetHTTPRequestRulesOKBody

type GetHTTPRequestRulesOKBody struct {

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

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

GetHTTPRequestRulesOKBody get HTTP request rules o k body swagger:model GetHTTPRequestRulesOKBody

func (*GetHTTPRequestRulesOKBody) ContextValidate

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

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

func (*GetHTTPRequestRulesOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetHTTPRequestRulesOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetHTTPRequestRulesOKBody) Validate

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

Validate validates this get HTTP request rules o k body

type GetHTTPRequestRulesParams

type GetHTTPRequestRulesParams 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
}

GetHTTPRequestRulesParams contains all the parameters to send to the API endpoint

for the get HTTP request rules operation.

Typically these are written to a http.Request.

func NewGetHTTPRequestRulesParams

func NewGetHTTPRequestRulesParams() *GetHTTPRequestRulesParams

NewGetHTTPRequestRulesParams creates a new GetHTTPRequestRulesParams 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 NewGetHTTPRequestRulesParamsWithContext

func NewGetHTTPRequestRulesParamsWithContext(ctx context.Context) *GetHTTPRequestRulesParams

NewGetHTTPRequestRulesParamsWithContext creates a new GetHTTPRequestRulesParams object with the ability to set a context for a request.

func NewGetHTTPRequestRulesParamsWithHTTPClient

func NewGetHTTPRequestRulesParamsWithHTTPClient(client *http.Client) *GetHTTPRequestRulesParams

NewGetHTTPRequestRulesParamsWithHTTPClient creates a new GetHTTPRequestRulesParams object with the ability to set a custom HTTPClient for a request.

func NewGetHTTPRequestRulesParamsWithTimeout

func NewGetHTTPRequestRulesParamsWithTimeout(timeout time.Duration) *GetHTTPRequestRulesParams

NewGetHTTPRequestRulesParamsWithTimeout creates a new GetHTTPRequestRulesParams object with the ability to set a timeout on a request.

func (*GetHTTPRequestRulesParams) SetContext

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

SetContext adds the context to the get HTTP request rules params

func (*GetHTTPRequestRulesParams) SetDefaults

func (o *GetHTTPRequestRulesParams) SetDefaults()

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

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

func (*GetHTTPRequestRulesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get HTTP request rules params

func (*GetHTTPRequestRulesParams) SetParentName

func (o *GetHTTPRequestRulesParams) SetParentName(parentName string)

SetParentName adds the parentName to the get HTTP request rules params

func (*GetHTTPRequestRulesParams) SetParentType

func (o *GetHTTPRequestRulesParams) SetParentType(parentType string)

SetParentType adds the parentType to the get HTTP request rules params

func (*GetHTTPRequestRulesParams) SetTimeout

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

SetTimeout adds the timeout to the get HTTP request rules params

func (*GetHTTPRequestRulesParams) SetTransactionID

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

SetTransactionID adds the transactionId to the get HTTP request rules params

func (*GetHTTPRequestRulesParams) WithContext

WithContext adds the context to the get HTTP request rules params

func (*GetHTTPRequestRulesParams) WithDefaults

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

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

func (*GetHTTPRequestRulesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get HTTP request rules params

func (*GetHTTPRequestRulesParams) WithParentName

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

WithParentName adds the parentName to the get HTTP request rules params

func (*GetHTTPRequestRulesParams) WithParentType

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

WithParentType adds the parentType to the get HTTP request rules params

func (*GetHTTPRequestRulesParams) WithTimeout

WithTimeout adds the timeout to the get HTTP request rules params

func (*GetHTTPRequestRulesParams) WithTransactionID

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

WithTransactionID adds the transactionID to the get HTTP request rules params

func (*GetHTTPRequestRulesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetHTTPRequestRulesReader

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

GetHTTPRequestRulesReader is a Reader for the GetHTTPRequestRules structure.

func (*GetHTTPRequestRulesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReplaceHTTPRequestRuleAccepted

type ReplaceHTTPRequestRuleAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string

	Payload *models.HTTPRequestRule
}

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

Configuration change accepted and reload requested

func NewReplaceHTTPRequestRuleAccepted

func NewReplaceHTTPRequestRuleAccepted() *ReplaceHTTPRequestRuleAccepted

NewReplaceHTTPRequestRuleAccepted creates a ReplaceHTTPRequestRuleAccepted with default headers values

func (*ReplaceHTTPRequestRuleAccepted) Code added in v1.1.5

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

func (*ReplaceHTTPRequestRuleAccepted) Error

func (*ReplaceHTTPRequestRuleAccepted) GetPayload

func (*ReplaceHTTPRequestRuleAccepted) IsClientError added in v1.1.0

func (o *ReplaceHTTPRequestRuleAccepted) IsClientError() bool

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

func (*ReplaceHTTPRequestRuleAccepted) IsCode added in v1.1.0

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

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

func (*ReplaceHTTPRequestRuleAccepted) IsRedirect added in v1.1.0

func (o *ReplaceHTTPRequestRuleAccepted) IsRedirect() bool

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

func (*ReplaceHTTPRequestRuleAccepted) IsServerError added in v1.1.0

func (o *ReplaceHTTPRequestRuleAccepted) IsServerError() bool

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

func (*ReplaceHTTPRequestRuleAccepted) IsSuccess added in v1.1.0

func (o *ReplaceHTTPRequestRuleAccepted) IsSuccess() bool

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

func (*ReplaceHTTPRequestRuleAccepted) String added in v1.1.0

type ReplaceHTTPRequestRuleBadRequest

type ReplaceHTTPRequestRuleBadRequest struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

Bad request

func NewReplaceHTTPRequestRuleBadRequest

func NewReplaceHTTPRequestRuleBadRequest() *ReplaceHTTPRequestRuleBadRequest

NewReplaceHTTPRequestRuleBadRequest creates a ReplaceHTTPRequestRuleBadRequest with default headers values

func (*ReplaceHTTPRequestRuleBadRequest) Code added in v1.1.5

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

func (*ReplaceHTTPRequestRuleBadRequest) Error

func (*ReplaceHTTPRequestRuleBadRequest) GetPayload

func (*ReplaceHTTPRequestRuleBadRequest) IsClientError added in v1.1.0

func (o *ReplaceHTTPRequestRuleBadRequest) IsClientError() bool

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

func (*ReplaceHTTPRequestRuleBadRequest) IsCode added in v1.1.0

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

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

func (*ReplaceHTTPRequestRuleBadRequest) IsRedirect added in v1.1.0

func (o *ReplaceHTTPRequestRuleBadRequest) IsRedirect() bool

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

func (*ReplaceHTTPRequestRuleBadRequest) IsServerError added in v1.1.0

func (o *ReplaceHTTPRequestRuleBadRequest) IsServerError() bool

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

func (*ReplaceHTTPRequestRuleBadRequest) IsSuccess added in v1.1.0

func (o *ReplaceHTTPRequestRuleBadRequest) IsSuccess() bool

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

func (*ReplaceHTTPRequestRuleBadRequest) String added in v1.1.0

type ReplaceHTTPRequestRuleDefault

type ReplaceHTTPRequestRuleDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

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

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

General Error

func NewReplaceHTTPRequestRuleDefault

func NewReplaceHTTPRequestRuleDefault(code int) *ReplaceHTTPRequestRuleDefault

NewReplaceHTTPRequestRuleDefault creates a ReplaceHTTPRequestRuleDefault with default headers values

func (*ReplaceHTTPRequestRuleDefault) Code

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

func (*ReplaceHTTPRequestRuleDefault) Error

func (*ReplaceHTTPRequestRuleDefault) GetPayload

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

func (*ReplaceHTTPRequestRuleDefault) IsClientError added in v1.1.0

func (o *ReplaceHTTPRequestRuleDefault) IsClientError() bool

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

func (*ReplaceHTTPRequestRuleDefault) IsCode added in v1.1.0

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

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

func (*ReplaceHTTPRequestRuleDefault) IsRedirect added in v1.1.0

func (o *ReplaceHTTPRequestRuleDefault) IsRedirect() bool

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

func (*ReplaceHTTPRequestRuleDefault) IsServerError added in v1.1.0

func (o *ReplaceHTTPRequestRuleDefault) IsServerError() bool

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

func (*ReplaceHTTPRequestRuleDefault) IsSuccess added in v1.1.0

func (o *ReplaceHTTPRequestRuleDefault) IsSuccess() bool

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

func (*ReplaceHTTPRequestRuleDefault) String added in v1.1.0

type ReplaceHTTPRequestRuleNotFound

type ReplaceHTTPRequestRuleNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource was not found

func NewReplaceHTTPRequestRuleNotFound

func NewReplaceHTTPRequestRuleNotFound() *ReplaceHTTPRequestRuleNotFound

NewReplaceHTTPRequestRuleNotFound creates a ReplaceHTTPRequestRuleNotFound with default headers values

func (*ReplaceHTTPRequestRuleNotFound) Code added in v1.1.5

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

func (*ReplaceHTTPRequestRuleNotFound) Error

func (*ReplaceHTTPRequestRuleNotFound) GetPayload

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

func (*ReplaceHTTPRequestRuleNotFound) IsClientError added in v1.1.0

func (o *ReplaceHTTPRequestRuleNotFound) IsClientError() bool

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

func (*ReplaceHTTPRequestRuleNotFound) IsCode added in v1.1.0

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

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

func (*ReplaceHTTPRequestRuleNotFound) IsRedirect added in v1.1.0

func (o *ReplaceHTTPRequestRuleNotFound) IsRedirect() bool

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

func (*ReplaceHTTPRequestRuleNotFound) IsServerError added in v1.1.0

func (o *ReplaceHTTPRequestRuleNotFound) IsServerError() bool

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

func (*ReplaceHTTPRequestRuleNotFound) IsSuccess added in v1.1.0

func (o *ReplaceHTTPRequestRuleNotFound) IsSuccess() bool

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

func (*ReplaceHTTPRequestRuleNotFound) String added in v1.1.0

type ReplaceHTTPRequestRuleOK

type ReplaceHTTPRequestRuleOK struct {
	Payload *models.HTTPRequestRule
}

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

HTTP Request Rule replaced

func NewReplaceHTTPRequestRuleOK

func NewReplaceHTTPRequestRuleOK() *ReplaceHTTPRequestRuleOK

NewReplaceHTTPRequestRuleOK creates a ReplaceHTTPRequestRuleOK with default headers values

func (*ReplaceHTTPRequestRuleOK) Code added in v1.1.5

func (o *ReplaceHTTPRequestRuleOK) Code() int

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

func (*ReplaceHTTPRequestRuleOK) Error

func (o *ReplaceHTTPRequestRuleOK) Error() string

func (*ReplaceHTTPRequestRuleOK) GetPayload

func (*ReplaceHTTPRequestRuleOK) IsClientError added in v1.1.0

func (o *ReplaceHTTPRequestRuleOK) IsClientError() bool

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

func (*ReplaceHTTPRequestRuleOK) IsCode added in v1.1.0

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

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

func (*ReplaceHTTPRequestRuleOK) IsRedirect added in v1.1.0

func (o *ReplaceHTTPRequestRuleOK) IsRedirect() bool

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

func (*ReplaceHTTPRequestRuleOK) IsServerError added in v1.1.0

func (o *ReplaceHTTPRequestRuleOK) IsServerError() bool

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

func (*ReplaceHTTPRequestRuleOK) IsSuccess added in v1.1.0

func (o *ReplaceHTTPRequestRuleOK) IsSuccess() bool

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

func (*ReplaceHTTPRequestRuleOK) String added in v1.1.0

func (o *ReplaceHTTPRequestRuleOK) String() string

type ReplaceHTTPRequestRuleParams

type ReplaceHTTPRequestRuleParams struct {

	// Data.
	Data *models.HTTPRequestRule

	/* 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 Request 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
}

ReplaceHTTPRequestRuleParams contains all the parameters to send to the API endpoint

for the replace HTTP request rule operation.

Typically these are written to a http.Request.

func NewReplaceHTTPRequestRuleParams

func NewReplaceHTTPRequestRuleParams() *ReplaceHTTPRequestRuleParams

NewReplaceHTTPRequestRuleParams creates a new ReplaceHTTPRequestRuleParams 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 NewReplaceHTTPRequestRuleParamsWithContext

func NewReplaceHTTPRequestRuleParamsWithContext(ctx context.Context) *ReplaceHTTPRequestRuleParams

NewReplaceHTTPRequestRuleParamsWithContext creates a new ReplaceHTTPRequestRuleParams object with the ability to set a context for a request.

func NewReplaceHTTPRequestRuleParamsWithHTTPClient

func NewReplaceHTTPRequestRuleParamsWithHTTPClient(client *http.Client) *ReplaceHTTPRequestRuleParams

NewReplaceHTTPRequestRuleParamsWithHTTPClient creates a new ReplaceHTTPRequestRuleParams object with the ability to set a custom HTTPClient for a request.

func NewReplaceHTTPRequestRuleParamsWithTimeout

func NewReplaceHTTPRequestRuleParamsWithTimeout(timeout time.Duration) *ReplaceHTTPRequestRuleParams

NewReplaceHTTPRequestRuleParamsWithTimeout creates a new ReplaceHTTPRequestRuleParams object with the ability to set a timeout on a request.

func (*ReplaceHTTPRequestRuleParams) SetContext

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

SetContext adds the context to the replace HTTP request rule params

func (*ReplaceHTTPRequestRuleParams) SetData

SetData adds the data to the replace HTTP request rule params

func (*ReplaceHTTPRequestRuleParams) SetDefaults

func (o *ReplaceHTTPRequestRuleParams) SetDefaults()

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

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

func (*ReplaceHTTPRequestRuleParams) SetForceReload

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

SetForceReload adds the forceReload to the replace HTTP request rule params

func (*ReplaceHTTPRequestRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the replace HTTP request rule params

func (*ReplaceHTTPRequestRuleParams) SetIndex

func (o *ReplaceHTTPRequestRuleParams) SetIndex(index int64)

SetIndex adds the index to the replace HTTP request rule params

func (*ReplaceHTTPRequestRuleParams) SetParentName

func (o *ReplaceHTTPRequestRuleParams) SetParentName(parentName string)

SetParentName adds the parentName to the replace HTTP request rule params

func (*ReplaceHTTPRequestRuleParams) SetParentType

func (o *ReplaceHTTPRequestRuleParams) SetParentType(parentType string)

SetParentType adds the parentType to the replace HTTP request rule params

func (*ReplaceHTTPRequestRuleParams) SetTimeout

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

SetTimeout adds the timeout to the replace HTTP request rule params

func (*ReplaceHTTPRequestRuleParams) SetTransactionID

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

SetTransactionID adds the transactionId to the replace HTTP request rule params

func (*ReplaceHTTPRequestRuleParams) SetVersion

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

SetVersion adds the version to the replace HTTP request rule params

func (*ReplaceHTTPRequestRuleParams) WithContext

WithContext adds the context to the replace HTTP request rule params

func (*ReplaceHTTPRequestRuleParams) WithData

WithData adds the data to the replace HTTP request rule params

func (*ReplaceHTTPRequestRuleParams) WithDefaults

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

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

func (*ReplaceHTTPRequestRuleParams) WithForceReload

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

WithForceReload adds the forceReload to the replace HTTP request rule params

func (*ReplaceHTTPRequestRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the replace HTTP request rule params

func (*ReplaceHTTPRequestRuleParams) WithIndex

WithIndex adds the index to the replace HTTP request rule params

func (*ReplaceHTTPRequestRuleParams) WithParentName

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

WithParentName adds the parentName to the replace HTTP request rule params

func (*ReplaceHTTPRequestRuleParams) WithParentType

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

WithParentType adds the parentType to the replace HTTP request rule params

func (*ReplaceHTTPRequestRuleParams) WithTimeout

WithTimeout adds the timeout to the replace HTTP request rule params

func (*ReplaceHTTPRequestRuleParams) WithTransactionID

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

WithTransactionID adds the transactionID to the replace HTTP request rule params

func (*ReplaceHTTPRequestRuleParams) WithVersion

WithVersion adds the version to the replace HTTP request rule params

func (*ReplaceHTTPRequestRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReplaceHTTPRequestRuleReader

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

ReplaceHTTPRequestRuleReader is a Reader for the ReplaceHTTPRequestRule structure.

func (*ReplaceHTTPRequestRuleReader) ReadResponse

func (o *ReplaceHTTPRequestRuleReader) 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