tcp_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 tcp request rule API

func (*Client) CreateTCPRequestRule

CreateTCPRequestRule adds a new TCP request rule

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

func (*Client) DeleteTCPRequestRule

DeleteTCPRequestRule deletes a TCP request rule

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

func (*Client) GetTCPRequestRule

func (a *Client) GetTCPRequestRule(params *GetTCPRequestRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTCPRequestRuleOK, error)

GetTCPRequestRule returns one TCP request rule

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

func (*Client) GetTCPRequestRules

func (a *Client) GetTCPRequestRules(params *GetTCPRequestRulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTCPRequestRulesOK, error)

GetTCPRequestRules returns an array of all TCP request rules

Returns all TCP Request Rules that are configured in specified parent and parent type.

func (*Client) ReplaceTCPRequestRule

ReplaceTCPRequestRule replaces a TCP request rule

Replaces a TCP 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 tcp request rule API client.

type CreateTCPRequestRuleAccepted

type CreateTCPRequestRuleAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string

	Payload *models.TCPRequestRule
}

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

Configuration change accepted and reload requested

func NewCreateTCPRequestRuleAccepted

func NewCreateTCPRequestRuleAccepted() *CreateTCPRequestRuleAccepted

NewCreateTCPRequestRuleAccepted creates a CreateTCPRequestRuleAccepted with default headers values

func (*CreateTCPRequestRuleAccepted) Code added in v1.1.5

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

func (*CreateTCPRequestRuleAccepted) Error

func (*CreateTCPRequestRuleAccepted) GetPayload

func (*CreateTCPRequestRuleAccepted) IsClientError added in v1.1.0

func (o *CreateTCPRequestRuleAccepted) IsClientError() bool

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

func (*CreateTCPRequestRuleAccepted) IsCode added in v1.1.0

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

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

func (*CreateTCPRequestRuleAccepted) IsRedirect added in v1.1.0

func (o *CreateTCPRequestRuleAccepted) IsRedirect() bool

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

func (*CreateTCPRequestRuleAccepted) IsServerError added in v1.1.0

func (o *CreateTCPRequestRuleAccepted) IsServerError() bool

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

func (*CreateTCPRequestRuleAccepted) IsSuccess added in v1.1.0

func (o *CreateTCPRequestRuleAccepted) IsSuccess() bool

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

func (*CreateTCPRequestRuleAccepted) String added in v1.1.0

type CreateTCPRequestRuleBadRequest

type CreateTCPRequestRuleBadRequest struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

Bad request

func NewCreateTCPRequestRuleBadRequest

func NewCreateTCPRequestRuleBadRequest() *CreateTCPRequestRuleBadRequest

NewCreateTCPRequestRuleBadRequest creates a CreateTCPRequestRuleBadRequest with default headers values

func (*CreateTCPRequestRuleBadRequest) Code added in v1.1.5

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

func (*CreateTCPRequestRuleBadRequest) Error

func (*CreateTCPRequestRuleBadRequest) GetPayload

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

func (*CreateTCPRequestRuleBadRequest) IsClientError added in v1.1.0

func (o *CreateTCPRequestRuleBadRequest) IsClientError() bool

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

func (*CreateTCPRequestRuleBadRequest) IsCode added in v1.1.0

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

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

func (*CreateTCPRequestRuleBadRequest) IsRedirect added in v1.1.0

func (o *CreateTCPRequestRuleBadRequest) IsRedirect() bool

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

func (*CreateTCPRequestRuleBadRequest) IsServerError added in v1.1.0

func (o *CreateTCPRequestRuleBadRequest) IsServerError() bool

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

func (*CreateTCPRequestRuleBadRequest) IsSuccess added in v1.1.0

func (o *CreateTCPRequestRuleBadRequest) IsSuccess() bool

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

func (*CreateTCPRequestRuleBadRequest) String added in v1.1.0

type CreateTCPRequestRuleConflict

type CreateTCPRequestRuleConflict struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource already exists

func NewCreateTCPRequestRuleConflict

func NewCreateTCPRequestRuleConflict() *CreateTCPRequestRuleConflict

NewCreateTCPRequestRuleConflict creates a CreateTCPRequestRuleConflict with default headers values

func (*CreateTCPRequestRuleConflict) Code added in v1.1.5

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

func (*CreateTCPRequestRuleConflict) Error

func (*CreateTCPRequestRuleConflict) GetPayload

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

func (*CreateTCPRequestRuleConflict) IsClientError added in v1.1.0

func (o *CreateTCPRequestRuleConflict) IsClientError() bool

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

func (*CreateTCPRequestRuleConflict) IsCode added in v1.1.0

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

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

func (*CreateTCPRequestRuleConflict) IsRedirect added in v1.1.0

func (o *CreateTCPRequestRuleConflict) IsRedirect() bool

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

func (*CreateTCPRequestRuleConflict) IsServerError added in v1.1.0

func (o *CreateTCPRequestRuleConflict) IsServerError() bool

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

func (*CreateTCPRequestRuleConflict) IsSuccess added in v1.1.0

func (o *CreateTCPRequestRuleConflict) IsSuccess() bool

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

func (*CreateTCPRequestRuleConflict) String added in v1.1.0

type CreateTCPRequestRuleCreated

type CreateTCPRequestRuleCreated struct {
	Payload *models.TCPRequestRule
}

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

TCP Request Rule created

func NewCreateTCPRequestRuleCreated

func NewCreateTCPRequestRuleCreated() *CreateTCPRequestRuleCreated

NewCreateTCPRequestRuleCreated creates a CreateTCPRequestRuleCreated with default headers values

func (*CreateTCPRequestRuleCreated) Code added in v1.1.5

func (o *CreateTCPRequestRuleCreated) Code() int

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

func (*CreateTCPRequestRuleCreated) Error

func (*CreateTCPRequestRuleCreated) GetPayload

func (*CreateTCPRequestRuleCreated) IsClientError added in v1.1.0

func (o *CreateTCPRequestRuleCreated) IsClientError() bool

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

func (*CreateTCPRequestRuleCreated) IsCode added in v1.1.0

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

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

func (*CreateTCPRequestRuleCreated) IsRedirect added in v1.1.0

func (o *CreateTCPRequestRuleCreated) IsRedirect() bool

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

func (*CreateTCPRequestRuleCreated) IsServerError added in v1.1.0

func (o *CreateTCPRequestRuleCreated) IsServerError() bool

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

func (*CreateTCPRequestRuleCreated) IsSuccess added in v1.1.0

func (o *CreateTCPRequestRuleCreated) IsSuccess() bool

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

func (*CreateTCPRequestRuleCreated) String added in v1.1.0

func (o *CreateTCPRequestRuleCreated) String() string

type CreateTCPRequestRuleDefault

type CreateTCPRequestRuleDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

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

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

General Error

func NewCreateTCPRequestRuleDefault

func NewCreateTCPRequestRuleDefault(code int) *CreateTCPRequestRuleDefault

NewCreateTCPRequestRuleDefault creates a CreateTCPRequestRuleDefault with default headers values

func (*CreateTCPRequestRuleDefault) Code

func (o *CreateTCPRequestRuleDefault) Code() int

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

func (*CreateTCPRequestRuleDefault) Error

func (*CreateTCPRequestRuleDefault) GetPayload

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

func (*CreateTCPRequestRuleDefault) IsClientError added in v1.1.0

func (o *CreateTCPRequestRuleDefault) IsClientError() bool

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

func (*CreateTCPRequestRuleDefault) IsCode added in v1.1.0

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

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

func (*CreateTCPRequestRuleDefault) IsRedirect added in v1.1.0

func (o *CreateTCPRequestRuleDefault) IsRedirect() bool

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

func (*CreateTCPRequestRuleDefault) IsServerError added in v1.1.0

func (o *CreateTCPRequestRuleDefault) IsServerError() bool

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

func (*CreateTCPRequestRuleDefault) IsSuccess added in v1.1.0

func (o *CreateTCPRequestRuleDefault) IsSuccess() bool

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

func (*CreateTCPRequestRuleDefault) String added in v1.1.0

func (o *CreateTCPRequestRuleDefault) String() string

type CreateTCPRequestRuleParams

type CreateTCPRequestRuleParams struct {

	// Data.
	Data *models.TCPRequestRule

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

CreateTCPRequestRuleParams contains all the parameters to send to the API endpoint

for the create TCP request rule operation.

Typically these are written to a http.Request.

func NewCreateTCPRequestRuleParams

func NewCreateTCPRequestRuleParams() *CreateTCPRequestRuleParams

NewCreateTCPRequestRuleParams creates a new CreateTCPRequestRuleParams 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 NewCreateTCPRequestRuleParamsWithContext

func NewCreateTCPRequestRuleParamsWithContext(ctx context.Context) *CreateTCPRequestRuleParams

NewCreateTCPRequestRuleParamsWithContext creates a new CreateTCPRequestRuleParams object with the ability to set a context for a request.

func NewCreateTCPRequestRuleParamsWithHTTPClient

func NewCreateTCPRequestRuleParamsWithHTTPClient(client *http.Client) *CreateTCPRequestRuleParams

NewCreateTCPRequestRuleParamsWithHTTPClient creates a new CreateTCPRequestRuleParams object with the ability to set a custom HTTPClient for a request.

func NewCreateTCPRequestRuleParamsWithTimeout

func NewCreateTCPRequestRuleParamsWithTimeout(timeout time.Duration) *CreateTCPRequestRuleParams

NewCreateTCPRequestRuleParamsWithTimeout creates a new CreateTCPRequestRuleParams object with the ability to set a timeout on a request.

func (*CreateTCPRequestRuleParams) SetContext

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

SetContext adds the context to the create TCP request rule params

func (*CreateTCPRequestRuleParams) SetData

SetData adds the data to the create TCP request rule params

func (*CreateTCPRequestRuleParams) SetDefaults

func (o *CreateTCPRequestRuleParams) SetDefaults()

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

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

func (*CreateTCPRequestRuleParams) SetForceReload

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

SetForceReload adds the forceReload to the create TCP request rule params

func (*CreateTCPRequestRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create TCP request rule params

func (*CreateTCPRequestRuleParams) SetParentName

func (o *CreateTCPRequestRuleParams) SetParentName(parentName string)

SetParentName adds the parentName to the create TCP request rule params

func (*CreateTCPRequestRuleParams) SetParentType

func (o *CreateTCPRequestRuleParams) SetParentType(parentType string)

SetParentType adds the parentType to the create TCP request rule params

func (*CreateTCPRequestRuleParams) SetTimeout

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

SetTimeout adds the timeout to the create TCP request rule params

func (*CreateTCPRequestRuleParams) SetTransactionID

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

SetTransactionID adds the transactionId to the create TCP request rule params

func (*CreateTCPRequestRuleParams) SetVersion

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

SetVersion adds the version to the create TCP request rule params

func (*CreateTCPRequestRuleParams) WithContext

WithContext adds the context to the create TCP request rule params

func (*CreateTCPRequestRuleParams) WithData

WithData adds the data to the create TCP request rule params

func (*CreateTCPRequestRuleParams) WithDefaults

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

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

func (*CreateTCPRequestRuleParams) WithForceReload

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

WithForceReload adds the forceReload to the create TCP request rule params

func (*CreateTCPRequestRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create TCP request rule params

func (*CreateTCPRequestRuleParams) WithParentName

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

WithParentName adds the parentName to the create TCP request rule params

func (*CreateTCPRequestRuleParams) WithParentType

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

WithParentType adds the parentType to the create TCP request rule params

func (*CreateTCPRequestRuleParams) WithTimeout

WithTimeout adds the timeout to the create TCP request rule params

func (*CreateTCPRequestRuleParams) WithTransactionID

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

WithTransactionID adds the transactionID to the create TCP request rule params

func (*CreateTCPRequestRuleParams) WithVersion

WithVersion adds the version to the create TCP request rule params

func (*CreateTCPRequestRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateTCPRequestRuleReader

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

CreateTCPRequestRuleReader is a Reader for the CreateTCPRequestRule structure.

func (*CreateTCPRequestRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteTCPRequestRuleAccepted

type DeleteTCPRequestRuleAccepted struct {

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

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

Configuration change accepted and reload requested

func NewDeleteTCPRequestRuleAccepted

func NewDeleteTCPRequestRuleAccepted() *DeleteTCPRequestRuleAccepted

NewDeleteTCPRequestRuleAccepted creates a DeleteTCPRequestRuleAccepted with default headers values

func (*DeleteTCPRequestRuleAccepted) Code added in v1.1.5

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

func (*DeleteTCPRequestRuleAccepted) Error

func (*DeleteTCPRequestRuleAccepted) IsClientError added in v1.1.0

func (o *DeleteTCPRequestRuleAccepted) IsClientError() bool

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

func (*DeleteTCPRequestRuleAccepted) IsCode added in v1.1.0

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

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

func (*DeleteTCPRequestRuleAccepted) IsRedirect added in v1.1.0

func (o *DeleteTCPRequestRuleAccepted) IsRedirect() bool

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

func (*DeleteTCPRequestRuleAccepted) IsServerError added in v1.1.0

func (o *DeleteTCPRequestRuleAccepted) IsServerError() bool

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

func (*DeleteTCPRequestRuleAccepted) IsSuccess added in v1.1.0

func (o *DeleteTCPRequestRuleAccepted) IsSuccess() bool

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

func (*DeleteTCPRequestRuleAccepted) String added in v1.1.0

type DeleteTCPRequestRuleDefault

type DeleteTCPRequestRuleDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

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

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

General Error

func NewDeleteTCPRequestRuleDefault

func NewDeleteTCPRequestRuleDefault(code int) *DeleteTCPRequestRuleDefault

NewDeleteTCPRequestRuleDefault creates a DeleteTCPRequestRuleDefault with default headers values

func (*DeleteTCPRequestRuleDefault) Code

func (o *DeleteTCPRequestRuleDefault) Code() int

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

func (*DeleteTCPRequestRuleDefault) Error

func (*DeleteTCPRequestRuleDefault) GetPayload

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

func (*DeleteTCPRequestRuleDefault) IsClientError added in v1.1.0

func (o *DeleteTCPRequestRuleDefault) IsClientError() bool

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

func (*DeleteTCPRequestRuleDefault) IsCode added in v1.1.0

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

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

func (*DeleteTCPRequestRuleDefault) IsRedirect added in v1.1.0

func (o *DeleteTCPRequestRuleDefault) IsRedirect() bool

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

func (*DeleteTCPRequestRuleDefault) IsServerError added in v1.1.0

func (o *DeleteTCPRequestRuleDefault) IsServerError() bool

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

func (*DeleteTCPRequestRuleDefault) IsSuccess added in v1.1.0

func (o *DeleteTCPRequestRuleDefault) IsSuccess() bool

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

func (*DeleteTCPRequestRuleDefault) String added in v1.1.0

func (o *DeleteTCPRequestRuleDefault) String() string

type DeleteTCPRequestRuleNoContent

type DeleteTCPRequestRuleNoContent struct {
}

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

TCP Request Rule deleted

func NewDeleteTCPRequestRuleNoContent

func NewDeleteTCPRequestRuleNoContent() *DeleteTCPRequestRuleNoContent

NewDeleteTCPRequestRuleNoContent creates a DeleteTCPRequestRuleNoContent with default headers values

func (*DeleteTCPRequestRuleNoContent) Code added in v1.1.5

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

func (*DeleteTCPRequestRuleNoContent) Error

func (*DeleteTCPRequestRuleNoContent) IsClientError added in v1.1.0

func (o *DeleteTCPRequestRuleNoContent) IsClientError() bool

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

func (*DeleteTCPRequestRuleNoContent) IsCode added in v1.1.0

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

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

func (*DeleteTCPRequestRuleNoContent) IsRedirect added in v1.1.0

func (o *DeleteTCPRequestRuleNoContent) IsRedirect() bool

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

func (*DeleteTCPRequestRuleNoContent) IsServerError added in v1.1.0

func (o *DeleteTCPRequestRuleNoContent) IsServerError() bool

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

func (*DeleteTCPRequestRuleNoContent) IsSuccess added in v1.1.0

func (o *DeleteTCPRequestRuleNoContent) IsSuccess() bool

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

func (*DeleteTCPRequestRuleNoContent) String added in v1.1.0

type DeleteTCPRequestRuleNotFound

type DeleteTCPRequestRuleNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource was not found

func NewDeleteTCPRequestRuleNotFound

func NewDeleteTCPRequestRuleNotFound() *DeleteTCPRequestRuleNotFound

NewDeleteTCPRequestRuleNotFound creates a DeleteTCPRequestRuleNotFound with default headers values

func (*DeleteTCPRequestRuleNotFound) Code added in v1.1.5

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

func (*DeleteTCPRequestRuleNotFound) Error

func (*DeleteTCPRequestRuleNotFound) GetPayload

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

func (*DeleteTCPRequestRuleNotFound) IsClientError added in v1.1.0

func (o *DeleteTCPRequestRuleNotFound) IsClientError() bool

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

func (*DeleteTCPRequestRuleNotFound) IsCode added in v1.1.0

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

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

func (*DeleteTCPRequestRuleNotFound) IsRedirect added in v1.1.0

func (o *DeleteTCPRequestRuleNotFound) IsRedirect() bool

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

func (*DeleteTCPRequestRuleNotFound) IsServerError added in v1.1.0

func (o *DeleteTCPRequestRuleNotFound) IsServerError() bool

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

func (*DeleteTCPRequestRuleNotFound) IsSuccess added in v1.1.0

func (o *DeleteTCPRequestRuleNotFound) IsSuccess() bool

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

func (*DeleteTCPRequestRuleNotFound) String added in v1.1.0

type DeleteTCPRequestRuleParams

type DeleteTCPRequestRuleParams 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.

	   TCP 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
}

DeleteTCPRequestRuleParams contains all the parameters to send to the API endpoint

for the delete TCP request rule operation.

Typically these are written to a http.Request.

func NewDeleteTCPRequestRuleParams

func NewDeleteTCPRequestRuleParams() *DeleteTCPRequestRuleParams

NewDeleteTCPRequestRuleParams creates a new DeleteTCPRequestRuleParams 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 NewDeleteTCPRequestRuleParamsWithContext

func NewDeleteTCPRequestRuleParamsWithContext(ctx context.Context) *DeleteTCPRequestRuleParams

NewDeleteTCPRequestRuleParamsWithContext creates a new DeleteTCPRequestRuleParams object with the ability to set a context for a request.

func NewDeleteTCPRequestRuleParamsWithHTTPClient

func NewDeleteTCPRequestRuleParamsWithHTTPClient(client *http.Client) *DeleteTCPRequestRuleParams

NewDeleteTCPRequestRuleParamsWithHTTPClient creates a new DeleteTCPRequestRuleParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteTCPRequestRuleParamsWithTimeout

func NewDeleteTCPRequestRuleParamsWithTimeout(timeout time.Duration) *DeleteTCPRequestRuleParams

NewDeleteTCPRequestRuleParamsWithTimeout creates a new DeleteTCPRequestRuleParams object with the ability to set a timeout on a request.

func (*DeleteTCPRequestRuleParams) SetContext

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

SetContext adds the context to the delete TCP request rule params

func (*DeleteTCPRequestRuleParams) SetDefaults

func (o *DeleteTCPRequestRuleParams) SetDefaults()

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

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

func (*DeleteTCPRequestRuleParams) SetForceReload

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

SetForceReload adds the forceReload to the delete TCP request rule params

func (*DeleteTCPRequestRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete TCP request rule params

func (*DeleteTCPRequestRuleParams) SetIndex

func (o *DeleteTCPRequestRuleParams) SetIndex(index int64)

SetIndex adds the index to the delete TCP request rule params

func (*DeleteTCPRequestRuleParams) SetParentName

func (o *DeleteTCPRequestRuleParams) SetParentName(parentName string)

SetParentName adds the parentName to the delete TCP request rule params

func (*DeleteTCPRequestRuleParams) SetParentType

func (o *DeleteTCPRequestRuleParams) SetParentType(parentType string)

SetParentType adds the parentType to the delete TCP request rule params

func (*DeleteTCPRequestRuleParams) SetTimeout

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

SetTimeout adds the timeout to the delete TCP request rule params

func (*DeleteTCPRequestRuleParams) SetTransactionID

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

SetTransactionID adds the transactionId to the delete TCP request rule params

func (*DeleteTCPRequestRuleParams) SetVersion

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

SetVersion adds the version to the delete TCP request rule params

func (*DeleteTCPRequestRuleParams) WithContext

WithContext adds the context to the delete TCP request rule params

func (*DeleteTCPRequestRuleParams) WithDefaults

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

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

func (*DeleteTCPRequestRuleParams) WithForceReload

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

WithForceReload adds the forceReload to the delete TCP request rule params

func (*DeleteTCPRequestRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete TCP request rule params

func (*DeleteTCPRequestRuleParams) WithIndex

WithIndex adds the index to the delete TCP request rule params

func (*DeleteTCPRequestRuleParams) WithParentName

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

WithParentName adds the parentName to the delete TCP request rule params

func (*DeleteTCPRequestRuleParams) WithParentType

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

WithParentType adds the parentType to the delete TCP request rule params

func (*DeleteTCPRequestRuleParams) WithTimeout

WithTimeout adds the timeout to the delete TCP request rule params

func (*DeleteTCPRequestRuleParams) WithTransactionID

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

WithTransactionID adds the transactionID to the delete TCP request rule params

func (*DeleteTCPRequestRuleParams) WithVersion

WithVersion adds the version to the delete TCP request rule params

func (*DeleteTCPRequestRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteTCPRequestRuleReader

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

DeleteTCPRequestRuleReader is a Reader for the DeleteTCPRequestRule structure.

func (*DeleteTCPRequestRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetTCPRequestRuleDefault

type GetTCPRequestRuleDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

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

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

General Error

func NewGetTCPRequestRuleDefault

func NewGetTCPRequestRuleDefault(code int) *GetTCPRequestRuleDefault

NewGetTCPRequestRuleDefault creates a GetTCPRequestRuleDefault with default headers values

func (*GetTCPRequestRuleDefault) Code

func (o *GetTCPRequestRuleDefault) Code() int

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

func (*GetTCPRequestRuleDefault) Error

func (o *GetTCPRequestRuleDefault) Error() string

func (*GetTCPRequestRuleDefault) GetPayload

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

func (*GetTCPRequestRuleDefault) IsClientError added in v1.1.0

func (o *GetTCPRequestRuleDefault) IsClientError() bool

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

func (*GetTCPRequestRuleDefault) IsCode added in v1.1.0

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

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

func (*GetTCPRequestRuleDefault) IsRedirect added in v1.1.0

func (o *GetTCPRequestRuleDefault) IsRedirect() bool

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

func (*GetTCPRequestRuleDefault) IsServerError added in v1.1.0

func (o *GetTCPRequestRuleDefault) IsServerError() bool

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

func (*GetTCPRequestRuleDefault) IsSuccess added in v1.1.0

func (o *GetTCPRequestRuleDefault) IsSuccess() bool

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

func (*GetTCPRequestRuleDefault) String added in v1.1.0

func (o *GetTCPRequestRuleDefault) String() string

type GetTCPRequestRuleNotFound

type GetTCPRequestRuleNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource was not found

func NewGetTCPRequestRuleNotFound

func NewGetTCPRequestRuleNotFound() *GetTCPRequestRuleNotFound

NewGetTCPRequestRuleNotFound creates a GetTCPRequestRuleNotFound with default headers values

func (*GetTCPRequestRuleNotFound) Code added in v1.1.5

func (o *GetTCPRequestRuleNotFound) Code() int

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

func (*GetTCPRequestRuleNotFound) Error

func (o *GetTCPRequestRuleNotFound) Error() string

func (*GetTCPRequestRuleNotFound) GetPayload

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

func (*GetTCPRequestRuleNotFound) IsClientError added in v1.1.0

func (o *GetTCPRequestRuleNotFound) IsClientError() bool

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

func (*GetTCPRequestRuleNotFound) IsCode added in v1.1.0

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

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

func (*GetTCPRequestRuleNotFound) IsRedirect added in v1.1.0

func (o *GetTCPRequestRuleNotFound) IsRedirect() bool

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

func (*GetTCPRequestRuleNotFound) IsServerError added in v1.1.0

func (o *GetTCPRequestRuleNotFound) IsServerError() bool

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

func (*GetTCPRequestRuleNotFound) IsSuccess added in v1.1.0

func (o *GetTCPRequestRuleNotFound) IsSuccess() bool

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

func (*GetTCPRequestRuleNotFound) String added in v1.1.0

func (o *GetTCPRequestRuleNotFound) String() string

type GetTCPRequestRuleOK

type GetTCPRequestRuleOK struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *GetTCPRequestRuleOKBody
}

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

Successful operation

func NewGetTCPRequestRuleOK

func NewGetTCPRequestRuleOK() *GetTCPRequestRuleOK

NewGetTCPRequestRuleOK creates a GetTCPRequestRuleOK with default headers values

func (*GetTCPRequestRuleOK) Code added in v1.1.5

func (o *GetTCPRequestRuleOK) Code() int

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

func (*GetTCPRequestRuleOK) Error

func (o *GetTCPRequestRuleOK) Error() string

func (*GetTCPRequestRuleOK) GetPayload

func (*GetTCPRequestRuleOK) IsClientError added in v1.1.0

func (o *GetTCPRequestRuleOK) IsClientError() bool

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

func (*GetTCPRequestRuleOK) IsCode added in v1.1.0

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

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

func (*GetTCPRequestRuleOK) IsRedirect added in v1.1.0

func (o *GetTCPRequestRuleOK) IsRedirect() bool

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

func (*GetTCPRequestRuleOK) IsServerError added in v1.1.0

func (o *GetTCPRequestRuleOK) IsServerError() bool

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

func (*GetTCPRequestRuleOK) IsSuccess added in v1.1.0

func (o *GetTCPRequestRuleOK) IsSuccess() bool

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

func (*GetTCPRequestRuleOK) String added in v1.1.0

func (o *GetTCPRequestRuleOK) String() string

type GetTCPRequestRuleOKBody

type GetTCPRequestRuleOKBody struct {

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

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

GetTCPRequestRuleOKBody get TCP request rule o k body swagger:model GetTCPRequestRuleOKBody

func (*GetTCPRequestRuleOKBody) ContextValidate

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

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

func (*GetTCPRequestRuleOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetTCPRequestRuleOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetTCPRequestRuleOKBody) Validate

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

Validate validates this get TCP request rule o k body

type GetTCPRequestRuleParams

type GetTCPRequestRuleParams struct {

	/* Index.

	   TCP 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
}

GetTCPRequestRuleParams contains all the parameters to send to the API endpoint

for the get TCP request rule operation.

Typically these are written to a http.Request.

func NewGetTCPRequestRuleParams

func NewGetTCPRequestRuleParams() *GetTCPRequestRuleParams

NewGetTCPRequestRuleParams creates a new GetTCPRequestRuleParams 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 NewGetTCPRequestRuleParamsWithContext

func NewGetTCPRequestRuleParamsWithContext(ctx context.Context) *GetTCPRequestRuleParams

NewGetTCPRequestRuleParamsWithContext creates a new GetTCPRequestRuleParams object with the ability to set a context for a request.

func NewGetTCPRequestRuleParamsWithHTTPClient

func NewGetTCPRequestRuleParamsWithHTTPClient(client *http.Client) *GetTCPRequestRuleParams

NewGetTCPRequestRuleParamsWithHTTPClient creates a new GetTCPRequestRuleParams object with the ability to set a custom HTTPClient for a request.

func NewGetTCPRequestRuleParamsWithTimeout

func NewGetTCPRequestRuleParamsWithTimeout(timeout time.Duration) *GetTCPRequestRuleParams

NewGetTCPRequestRuleParamsWithTimeout creates a new GetTCPRequestRuleParams object with the ability to set a timeout on a request.

func (*GetTCPRequestRuleParams) SetContext

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

SetContext adds the context to the get TCP request rule params

func (*GetTCPRequestRuleParams) SetDefaults

func (o *GetTCPRequestRuleParams) SetDefaults()

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

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

func (*GetTCPRequestRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get TCP request rule params

func (*GetTCPRequestRuleParams) SetIndex

func (o *GetTCPRequestRuleParams) SetIndex(index int64)

SetIndex adds the index to the get TCP request rule params

func (*GetTCPRequestRuleParams) SetParentName

func (o *GetTCPRequestRuleParams) SetParentName(parentName string)

SetParentName adds the parentName to the get TCP request rule params

func (*GetTCPRequestRuleParams) SetParentType

func (o *GetTCPRequestRuleParams) SetParentType(parentType string)

SetParentType adds the parentType to the get TCP request rule params

func (*GetTCPRequestRuleParams) SetTimeout

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

SetTimeout adds the timeout to the get TCP request rule params

func (*GetTCPRequestRuleParams) SetTransactionID

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

SetTransactionID adds the transactionId to the get TCP request rule params

func (*GetTCPRequestRuleParams) WithContext

WithContext adds the context to the get TCP request rule params

func (*GetTCPRequestRuleParams) WithDefaults

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

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

func (*GetTCPRequestRuleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get TCP request rule params

func (*GetTCPRequestRuleParams) WithIndex

WithIndex adds the index to the get TCP request rule params

func (*GetTCPRequestRuleParams) WithParentName

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

WithParentName adds the parentName to the get TCP request rule params

func (*GetTCPRequestRuleParams) WithParentType

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

WithParentType adds the parentType to the get TCP request rule params

func (*GetTCPRequestRuleParams) WithTimeout

WithTimeout adds the timeout to the get TCP request rule params

func (*GetTCPRequestRuleParams) WithTransactionID

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

WithTransactionID adds the transactionID to the get TCP request rule params

func (*GetTCPRequestRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTCPRequestRuleReader

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

GetTCPRequestRuleReader is a Reader for the GetTCPRequestRule structure.

func (*GetTCPRequestRuleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetTCPRequestRulesDefault

type GetTCPRequestRulesDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

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

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

General Error

func NewGetTCPRequestRulesDefault

func NewGetTCPRequestRulesDefault(code int) *GetTCPRequestRulesDefault

NewGetTCPRequestRulesDefault creates a GetTCPRequestRulesDefault with default headers values

func (*GetTCPRequestRulesDefault) Code

func (o *GetTCPRequestRulesDefault) Code() int

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

func (*GetTCPRequestRulesDefault) Error

func (o *GetTCPRequestRulesDefault) Error() string

func (*GetTCPRequestRulesDefault) GetPayload

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

func (*GetTCPRequestRulesDefault) IsClientError added in v1.1.0

func (o *GetTCPRequestRulesDefault) IsClientError() bool

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

func (*GetTCPRequestRulesDefault) IsCode added in v1.1.0

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

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

func (*GetTCPRequestRulesDefault) IsRedirect added in v1.1.0

func (o *GetTCPRequestRulesDefault) IsRedirect() bool

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

func (*GetTCPRequestRulesDefault) IsServerError added in v1.1.0

func (o *GetTCPRequestRulesDefault) IsServerError() bool

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

func (*GetTCPRequestRulesDefault) IsSuccess added in v1.1.0

func (o *GetTCPRequestRulesDefault) IsSuccess() bool

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

func (*GetTCPRequestRulesDefault) String added in v1.1.0

func (o *GetTCPRequestRulesDefault) String() string

type GetTCPRequestRulesOK

type GetTCPRequestRulesOK struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *GetTCPRequestRulesOKBody
}

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

Successful operation

func NewGetTCPRequestRulesOK

func NewGetTCPRequestRulesOK() *GetTCPRequestRulesOK

NewGetTCPRequestRulesOK creates a GetTCPRequestRulesOK with default headers values

func (*GetTCPRequestRulesOK) Code added in v1.1.5

func (o *GetTCPRequestRulesOK) Code() int

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

func (*GetTCPRequestRulesOK) Error

func (o *GetTCPRequestRulesOK) Error() string

func (*GetTCPRequestRulesOK) GetPayload

func (*GetTCPRequestRulesOK) IsClientError added in v1.1.0

func (o *GetTCPRequestRulesOK) IsClientError() bool

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

func (*GetTCPRequestRulesOK) IsCode added in v1.1.0

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

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

func (*GetTCPRequestRulesOK) IsRedirect added in v1.1.0

func (o *GetTCPRequestRulesOK) IsRedirect() bool

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

func (*GetTCPRequestRulesOK) IsServerError added in v1.1.0

func (o *GetTCPRequestRulesOK) IsServerError() bool

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

func (*GetTCPRequestRulesOK) IsSuccess added in v1.1.0

func (o *GetTCPRequestRulesOK) IsSuccess() bool

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

func (*GetTCPRequestRulesOK) String added in v1.1.0

func (o *GetTCPRequestRulesOK) String() string

type GetTCPRequestRulesOKBody

type GetTCPRequestRulesOKBody struct {

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

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

GetTCPRequestRulesOKBody get TCP request rules o k body swagger:model GetTCPRequestRulesOKBody

func (*GetTCPRequestRulesOKBody) ContextValidate

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

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

func (*GetTCPRequestRulesOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetTCPRequestRulesOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetTCPRequestRulesOKBody) Validate

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

Validate validates this get TCP request rules o k body

type GetTCPRequestRulesParams

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

GetTCPRequestRulesParams contains all the parameters to send to the API endpoint

for the get TCP request rules operation.

Typically these are written to a http.Request.

func NewGetTCPRequestRulesParams

func NewGetTCPRequestRulesParams() *GetTCPRequestRulesParams

NewGetTCPRequestRulesParams creates a new GetTCPRequestRulesParams 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 NewGetTCPRequestRulesParamsWithContext

func NewGetTCPRequestRulesParamsWithContext(ctx context.Context) *GetTCPRequestRulesParams

NewGetTCPRequestRulesParamsWithContext creates a new GetTCPRequestRulesParams object with the ability to set a context for a request.

func NewGetTCPRequestRulesParamsWithHTTPClient

func NewGetTCPRequestRulesParamsWithHTTPClient(client *http.Client) *GetTCPRequestRulesParams

NewGetTCPRequestRulesParamsWithHTTPClient creates a new GetTCPRequestRulesParams object with the ability to set a custom HTTPClient for a request.

func NewGetTCPRequestRulesParamsWithTimeout

func NewGetTCPRequestRulesParamsWithTimeout(timeout time.Duration) *GetTCPRequestRulesParams

NewGetTCPRequestRulesParamsWithTimeout creates a new GetTCPRequestRulesParams object with the ability to set a timeout on a request.

func (*GetTCPRequestRulesParams) SetContext

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

SetContext adds the context to the get TCP request rules params

func (*GetTCPRequestRulesParams) SetDefaults

func (o *GetTCPRequestRulesParams) SetDefaults()

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

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

func (*GetTCPRequestRulesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get TCP request rules params

func (*GetTCPRequestRulesParams) SetParentName

func (o *GetTCPRequestRulesParams) SetParentName(parentName string)

SetParentName adds the parentName to the get TCP request rules params

func (*GetTCPRequestRulesParams) SetParentType

func (o *GetTCPRequestRulesParams) SetParentType(parentType string)

SetParentType adds the parentType to the get TCP request rules params

func (*GetTCPRequestRulesParams) SetTimeout

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

SetTimeout adds the timeout to the get TCP request rules params

func (*GetTCPRequestRulesParams) SetTransactionID

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

SetTransactionID adds the transactionId to the get TCP request rules params

func (*GetTCPRequestRulesParams) WithContext

WithContext adds the context to the get TCP request rules params

func (*GetTCPRequestRulesParams) WithDefaults

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

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

func (*GetTCPRequestRulesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get TCP request rules params

func (*GetTCPRequestRulesParams) WithParentName

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

WithParentName adds the parentName to the get TCP request rules params

func (*GetTCPRequestRulesParams) WithParentType

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

WithParentType adds the parentType to the get TCP request rules params

func (*GetTCPRequestRulesParams) WithTimeout

WithTimeout adds the timeout to the get TCP request rules params

func (*GetTCPRequestRulesParams) WithTransactionID

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

WithTransactionID adds the transactionID to the get TCP request rules params

func (*GetTCPRequestRulesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTCPRequestRulesReader

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

GetTCPRequestRulesReader is a Reader for the GetTCPRequestRules structure.

func (*GetTCPRequestRulesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReplaceTCPRequestRuleAccepted

type ReplaceTCPRequestRuleAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string

	Payload *models.TCPRequestRule
}

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

Configuration change accepted and reload requested

func NewReplaceTCPRequestRuleAccepted

func NewReplaceTCPRequestRuleAccepted() *ReplaceTCPRequestRuleAccepted

NewReplaceTCPRequestRuleAccepted creates a ReplaceTCPRequestRuleAccepted with default headers values

func (*ReplaceTCPRequestRuleAccepted) Code added in v1.1.5

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

func (*ReplaceTCPRequestRuleAccepted) Error

func (*ReplaceTCPRequestRuleAccepted) GetPayload

func (*ReplaceTCPRequestRuleAccepted) IsClientError added in v1.1.0

func (o *ReplaceTCPRequestRuleAccepted) IsClientError() bool

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

func (*ReplaceTCPRequestRuleAccepted) IsCode added in v1.1.0

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

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

func (*ReplaceTCPRequestRuleAccepted) IsRedirect added in v1.1.0

func (o *ReplaceTCPRequestRuleAccepted) IsRedirect() bool

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

func (*ReplaceTCPRequestRuleAccepted) IsServerError added in v1.1.0

func (o *ReplaceTCPRequestRuleAccepted) IsServerError() bool

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

func (*ReplaceTCPRequestRuleAccepted) IsSuccess added in v1.1.0

func (o *ReplaceTCPRequestRuleAccepted) IsSuccess() bool

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

func (*ReplaceTCPRequestRuleAccepted) String added in v1.1.0

type ReplaceTCPRequestRuleBadRequest

type ReplaceTCPRequestRuleBadRequest struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

Bad request

func NewReplaceTCPRequestRuleBadRequest

func NewReplaceTCPRequestRuleBadRequest() *ReplaceTCPRequestRuleBadRequest

NewReplaceTCPRequestRuleBadRequest creates a ReplaceTCPRequestRuleBadRequest with default headers values

func (*ReplaceTCPRequestRuleBadRequest) Code added in v1.1.5

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

func (*ReplaceTCPRequestRuleBadRequest) Error

func (*ReplaceTCPRequestRuleBadRequest) GetPayload

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

func (*ReplaceTCPRequestRuleBadRequest) IsClientError added in v1.1.0

func (o *ReplaceTCPRequestRuleBadRequest) IsClientError() bool

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

func (*ReplaceTCPRequestRuleBadRequest) IsCode added in v1.1.0

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

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

func (*ReplaceTCPRequestRuleBadRequest) IsRedirect added in v1.1.0

func (o *ReplaceTCPRequestRuleBadRequest) IsRedirect() bool

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

func (*ReplaceTCPRequestRuleBadRequest) IsServerError added in v1.1.0

func (o *ReplaceTCPRequestRuleBadRequest) IsServerError() bool

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

func (*ReplaceTCPRequestRuleBadRequest) IsSuccess added in v1.1.0

func (o *ReplaceTCPRequestRuleBadRequest) IsSuccess() bool

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

func (*ReplaceTCPRequestRuleBadRequest) String added in v1.1.0

type ReplaceTCPRequestRuleDefault

type ReplaceTCPRequestRuleDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

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

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

General Error

func NewReplaceTCPRequestRuleDefault

func NewReplaceTCPRequestRuleDefault(code int) *ReplaceTCPRequestRuleDefault

NewReplaceTCPRequestRuleDefault creates a ReplaceTCPRequestRuleDefault with default headers values

func (*ReplaceTCPRequestRuleDefault) Code

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

func (*ReplaceTCPRequestRuleDefault) Error

func (*ReplaceTCPRequestRuleDefault) GetPayload

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

func (*ReplaceTCPRequestRuleDefault) IsClientError added in v1.1.0

func (o *ReplaceTCPRequestRuleDefault) IsClientError() bool

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

func (*ReplaceTCPRequestRuleDefault) IsCode added in v1.1.0

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

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

func (*ReplaceTCPRequestRuleDefault) IsRedirect added in v1.1.0

func (o *ReplaceTCPRequestRuleDefault) IsRedirect() bool

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

func (*ReplaceTCPRequestRuleDefault) IsServerError added in v1.1.0

func (o *ReplaceTCPRequestRuleDefault) IsServerError() bool

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

func (*ReplaceTCPRequestRuleDefault) IsSuccess added in v1.1.0

func (o *ReplaceTCPRequestRuleDefault) IsSuccess() bool

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

func (*ReplaceTCPRequestRuleDefault) String added in v1.1.0

type ReplaceTCPRequestRuleNotFound

type ReplaceTCPRequestRuleNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

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

The specified resource was not found

func NewReplaceTCPRequestRuleNotFound

func NewReplaceTCPRequestRuleNotFound() *ReplaceTCPRequestRuleNotFound

NewReplaceTCPRequestRuleNotFound creates a ReplaceTCPRequestRuleNotFound with default headers values

func (*ReplaceTCPRequestRuleNotFound) Code added in v1.1.5

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

func (*ReplaceTCPRequestRuleNotFound) Error

func (*ReplaceTCPRequestRuleNotFound) GetPayload

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

func (*ReplaceTCPRequestRuleNotFound) IsClientError added in v1.1.0

func (o *ReplaceTCPRequestRuleNotFound) IsClientError() bool

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

func (*ReplaceTCPRequestRuleNotFound) IsCode added in v1.1.0

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

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

func (*ReplaceTCPRequestRuleNotFound) IsRedirect added in v1.1.0

func (o *ReplaceTCPRequestRuleNotFound) IsRedirect() bool

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

func (*ReplaceTCPRequestRuleNotFound) IsServerError added in v1.1.0

func (o *ReplaceTCPRequestRuleNotFound) IsServerError() bool

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

func (*ReplaceTCPRequestRuleNotFound) IsSuccess added in v1.1.0

func (o *ReplaceTCPRequestRuleNotFound) IsSuccess() bool

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

func (*ReplaceTCPRequestRuleNotFound) String added in v1.1.0

type ReplaceTCPRequestRuleOK

type ReplaceTCPRequestRuleOK struct {
	Payload *models.TCPRequestRule
}

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

TCP Request Rule replaced

func NewReplaceTCPRequestRuleOK

func NewReplaceTCPRequestRuleOK() *ReplaceTCPRequestRuleOK

NewReplaceTCPRequestRuleOK creates a ReplaceTCPRequestRuleOK with default headers values

func (*ReplaceTCPRequestRuleOK) Code added in v1.1.5

func (o *ReplaceTCPRequestRuleOK) Code() int

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

func (*ReplaceTCPRequestRuleOK) Error

func (o *ReplaceTCPRequestRuleOK) Error() string

func (*ReplaceTCPRequestRuleOK) GetPayload

func (*ReplaceTCPRequestRuleOK) IsClientError added in v1.1.0

func (o *ReplaceTCPRequestRuleOK) IsClientError() bool

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

func (*ReplaceTCPRequestRuleOK) IsCode added in v1.1.0

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

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

func (*ReplaceTCPRequestRuleOK) IsRedirect added in v1.1.0

func (o *ReplaceTCPRequestRuleOK) IsRedirect() bool

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

func (*ReplaceTCPRequestRuleOK) IsServerError added in v1.1.0

func (o *ReplaceTCPRequestRuleOK) IsServerError() bool

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

func (*ReplaceTCPRequestRuleOK) IsSuccess added in v1.1.0

func (o *ReplaceTCPRequestRuleOK) IsSuccess() bool

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

func (*ReplaceTCPRequestRuleOK) String added in v1.1.0

func (o *ReplaceTCPRequestRuleOK) String() string

type ReplaceTCPRequestRuleParams

type ReplaceTCPRequestRuleParams struct {

	// Data.
	Data *models.TCPRequestRule

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

	   TCP 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
}

ReplaceTCPRequestRuleParams contains all the parameters to send to the API endpoint

for the replace TCP request rule operation.

Typically these are written to a http.Request.

func NewReplaceTCPRequestRuleParams

func NewReplaceTCPRequestRuleParams() *ReplaceTCPRequestRuleParams

NewReplaceTCPRequestRuleParams creates a new ReplaceTCPRequestRuleParams 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 NewReplaceTCPRequestRuleParamsWithContext

func NewReplaceTCPRequestRuleParamsWithContext(ctx context.Context) *ReplaceTCPRequestRuleParams

NewReplaceTCPRequestRuleParamsWithContext creates a new ReplaceTCPRequestRuleParams object with the ability to set a context for a request.

func NewReplaceTCPRequestRuleParamsWithHTTPClient

func NewReplaceTCPRequestRuleParamsWithHTTPClient(client *http.Client) *ReplaceTCPRequestRuleParams

NewReplaceTCPRequestRuleParamsWithHTTPClient creates a new ReplaceTCPRequestRuleParams object with the ability to set a custom HTTPClient for a request.

func NewReplaceTCPRequestRuleParamsWithTimeout

func NewReplaceTCPRequestRuleParamsWithTimeout(timeout time.Duration) *ReplaceTCPRequestRuleParams

NewReplaceTCPRequestRuleParamsWithTimeout creates a new ReplaceTCPRequestRuleParams object with the ability to set a timeout on a request.

func (*ReplaceTCPRequestRuleParams) SetContext

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

SetContext adds the context to the replace TCP request rule params

func (*ReplaceTCPRequestRuleParams) SetData

SetData adds the data to the replace TCP request rule params

func (*ReplaceTCPRequestRuleParams) SetDefaults

func (o *ReplaceTCPRequestRuleParams) SetDefaults()

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

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

func (*ReplaceTCPRequestRuleParams) SetForceReload

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

SetForceReload adds the forceReload to the replace TCP request rule params

func (*ReplaceTCPRequestRuleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the replace TCP request rule params

func (*ReplaceTCPRequestRuleParams) SetIndex

func (o *ReplaceTCPRequestRuleParams) SetIndex(index int64)

SetIndex adds the index to the replace TCP request rule params

func (*ReplaceTCPRequestRuleParams) SetParentName

func (o *ReplaceTCPRequestRuleParams) SetParentName(parentName string)

SetParentName adds the parentName to the replace TCP request rule params

func (*ReplaceTCPRequestRuleParams) SetParentType

func (o *ReplaceTCPRequestRuleParams) SetParentType(parentType string)

SetParentType adds the parentType to the replace TCP request rule params

func (*ReplaceTCPRequestRuleParams) SetTimeout

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

SetTimeout adds the timeout to the replace TCP request rule params

func (*ReplaceTCPRequestRuleParams) SetTransactionID

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

SetTransactionID adds the transactionId to the replace TCP request rule params

func (*ReplaceTCPRequestRuleParams) SetVersion

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

SetVersion adds the version to the replace TCP request rule params

func (*ReplaceTCPRequestRuleParams) WithContext

WithContext adds the context to the replace TCP request rule params

func (*ReplaceTCPRequestRuleParams) WithData

WithData adds the data to the replace TCP request rule params

func (*ReplaceTCPRequestRuleParams) WithDefaults

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

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

func (*ReplaceTCPRequestRuleParams) WithForceReload

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

WithForceReload adds the forceReload to the replace TCP request rule params

func (*ReplaceTCPRequestRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the replace TCP request rule params

func (*ReplaceTCPRequestRuleParams) WithIndex

WithIndex adds the index to the replace TCP request rule params

func (*ReplaceTCPRequestRuleParams) WithParentName

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

WithParentName adds the parentName to the replace TCP request rule params

func (*ReplaceTCPRequestRuleParams) WithParentType

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

WithParentType adds the parentType to the replace TCP request rule params

func (*ReplaceTCPRequestRuleParams) WithTimeout

WithTimeout adds the timeout to the replace TCP request rule params

func (*ReplaceTCPRequestRuleParams) WithTransactionID

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

WithTransactionID adds the transactionID to the replace TCP request rule params

func (*ReplaceTCPRequestRuleParams) WithVersion

WithVersion adds the version to the replace TCP request rule params

func (*ReplaceTCPRequestRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReplaceTCPRequestRuleReader

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

ReplaceTCPRequestRuleReader is a Reader for the ReplaceTCPRequestRule structure.

func (*ReplaceTCPRequestRuleReader) ReadResponse

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