firewall_rules_e_w

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: Apache-2.0 Imports: 10 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 firewall rules e w API

func (*Client) DfwRuleCreateUsingPUT added in v1.0.0

DfwRuleCreateUsingPUT creates

Create firewall rule (east-west) in NSX-T

func (*Client) DfwRuleDeleteUsingDELETE added in v1.0.0

DfwRuleDeleteUsingDELETE deletes

Delete firewall rule (east-west) from NSX-T

func (*Client) DfwRuleGetUsingGET added in v1.0.0

func (a *Client) DfwRuleGetUsingGET(params *DfwRuleGetUsingGETParams, opts ...ClientOption) (*DfwRuleGetUsingGETOK, error)

DfwRuleGetUsingGET gets

Get firewall rule (east-west) from NSX-T

func (*Client) DfwRuleListUsingGET added in v1.0.0

func (a *Client) DfwRuleListUsingGET(params *DfwRuleListUsingGETParams, opts ...ClientOption) (*DfwRuleListUsingGETOK, error)

DfwRuleListUsingGET lists

List firewall rules (east-west) from NSX-T

func (*Client) DfwRuleUpdateUsingPUT added in v1.0.0

DfwRuleUpdateUsingPUT updates

Update firewall rule (east-west) in NSX-T

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption added in v1.2.4

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DfwRuleCreateUsingPUT(params *DfwRuleCreateUsingPUTParams, opts ...ClientOption) (*DfwRuleCreateUsingPUTOK, *DfwRuleCreateUsingPUTCreated, error)

	DfwRuleDeleteUsingDELETE(params *DfwRuleDeleteUsingDELETEParams, opts ...ClientOption) (*DfwRuleDeleteUsingDELETEOK, *DfwRuleDeleteUsingDELETECreated, error)

	DfwRuleGetUsingGET(params *DfwRuleGetUsingGETParams, opts ...ClientOption) (*DfwRuleGetUsingGETOK, error)

	DfwRuleListUsingGET(params *DfwRuleListUsingGETParams, opts ...ClientOption) (*DfwRuleListUsingGETOK, error)

	DfwRuleUpdateUsingPUT(params *DfwRuleUpdateUsingPUTParams, opts ...ClientOption) (*DfwRuleUpdateUsingPUTOK, *DfwRuleUpdateUsingPUTCreated, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new firewall rules e w API client.

type DfwRuleCreateUsingPUTBadRequest added in v1.0.0

type DfwRuleCreateUsingPUTBadRequest struct {
	Payload *models.ProxyResponseMessage
}
DfwRuleCreateUsingPUTBadRequest describes a response with status code 400, with default header values.

Bad request, error occurred. For more details see log messages.

func NewDfwRuleCreateUsingPUTBadRequest added in v1.0.0

func NewDfwRuleCreateUsingPUTBadRequest() *DfwRuleCreateUsingPUTBadRequest

NewDfwRuleCreateUsingPUTBadRequest creates a DfwRuleCreateUsingPUTBadRequest with default headers values

func (*DfwRuleCreateUsingPUTBadRequest) Error added in v1.0.0

func (*DfwRuleCreateUsingPUTBadRequest) GetPayload added in v1.2.0

type DfwRuleCreateUsingPUTCreated added in v1.0.0

type DfwRuleCreateUsingPUTCreated struct {
	Payload *models.CreateDFWRuleResponse
}
DfwRuleCreateUsingPUTCreated describes a response with status code 201, with default header values.

Entity has been created

func NewDfwRuleCreateUsingPUTCreated added in v1.0.0

func NewDfwRuleCreateUsingPUTCreated() *DfwRuleCreateUsingPUTCreated

NewDfwRuleCreateUsingPUTCreated creates a DfwRuleCreateUsingPUTCreated with default headers values

func (*DfwRuleCreateUsingPUTCreated) Error added in v1.0.0

func (*DfwRuleCreateUsingPUTCreated) GetPayload added in v1.0.0

type DfwRuleCreateUsingPUTOK added in v1.0.0

type DfwRuleCreateUsingPUTOK struct {
	Payload *models.CreateDFWRuleResponse
}
DfwRuleCreateUsingPUTOK describes a response with status code 200, with default header values.

OK

func NewDfwRuleCreateUsingPUTOK added in v1.0.0

func NewDfwRuleCreateUsingPUTOK() *DfwRuleCreateUsingPUTOK

NewDfwRuleCreateUsingPUTOK creates a DfwRuleCreateUsingPUTOK with default headers values

func (*DfwRuleCreateUsingPUTOK) Error added in v1.0.0

func (o *DfwRuleCreateUsingPUTOK) Error() string

func (*DfwRuleCreateUsingPUTOK) GetPayload added in v1.0.0

type DfwRuleCreateUsingPUTParams added in v1.0.0

type DfwRuleCreateUsingPUTParams struct {

	/* DfwRule.

	   dfwRule
	*/
	DfwRule *models.DFWRule

	/* RouterID.

	   routerId
	*/
	RouterID string

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

DfwRuleCreateUsingPUTParams contains all the parameters to send to the API endpoint

for the dfw rule create using p u t operation.

Typically these are written to a http.Request.

func NewDfwRuleCreateUsingPUTParams added in v1.0.0

func NewDfwRuleCreateUsingPUTParams() *DfwRuleCreateUsingPUTParams

NewDfwRuleCreateUsingPUTParams creates a new DfwRuleCreateUsingPUTParams 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 NewDfwRuleCreateUsingPUTParamsWithContext added in v1.0.0

func NewDfwRuleCreateUsingPUTParamsWithContext(ctx context.Context) *DfwRuleCreateUsingPUTParams

NewDfwRuleCreateUsingPUTParamsWithContext creates a new DfwRuleCreateUsingPUTParams object with the ability to set a context for a request.

func NewDfwRuleCreateUsingPUTParamsWithHTTPClient added in v1.0.0

func NewDfwRuleCreateUsingPUTParamsWithHTTPClient(client *http.Client) *DfwRuleCreateUsingPUTParams

NewDfwRuleCreateUsingPUTParamsWithHTTPClient creates a new DfwRuleCreateUsingPUTParams object with the ability to set a custom HTTPClient for a request.

func NewDfwRuleCreateUsingPUTParamsWithTimeout added in v1.0.0

func NewDfwRuleCreateUsingPUTParamsWithTimeout(timeout time.Duration) *DfwRuleCreateUsingPUTParams

NewDfwRuleCreateUsingPUTParamsWithTimeout creates a new DfwRuleCreateUsingPUTParams object with the ability to set a timeout on a request.

func (*DfwRuleCreateUsingPUTParams) SetContext added in v1.0.0

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

SetContext adds the context to the dfw rule create using p u t params

func (*DfwRuleCreateUsingPUTParams) SetDefaults added in v1.2.4

func (o *DfwRuleCreateUsingPUTParams) SetDefaults()

SetDefaults hydrates default values in the dfw rule create using p u t params (not the query body).

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

func (*DfwRuleCreateUsingPUTParams) SetDfwRule added in v1.0.0

func (o *DfwRuleCreateUsingPUTParams) SetDfwRule(dfwRule *models.DFWRule)

SetDfwRule adds the dfwRule to the dfw rule create using p u t params

func (*DfwRuleCreateUsingPUTParams) SetHTTPClient added in v1.0.0

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

SetHTTPClient adds the HTTPClient to the dfw rule create using p u t params

func (*DfwRuleCreateUsingPUTParams) SetRouterID added in v1.2.0

func (o *DfwRuleCreateUsingPUTParams) SetRouterID(routerID string)

SetRouterID adds the routerId to the dfw rule create using p u t params

func (*DfwRuleCreateUsingPUTParams) SetTimeout added in v1.0.0

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

SetTimeout adds the timeout to the dfw rule create using p u t params

func (*DfwRuleCreateUsingPUTParams) WithContext added in v1.0.0

WithContext adds the context to the dfw rule create using p u t params

func (*DfwRuleCreateUsingPUTParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the dfw rule create using p u t params (not the query body).

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

func (*DfwRuleCreateUsingPUTParams) WithDfwRule added in v1.0.0

WithDfwRule adds the dfwRule to the dfw rule create using p u t params

func (*DfwRuleCreateUsingPUTParams) WithHTTPClient added in v1.0.0

WithHTTPClient adds the HTTPClient to the dfw rule create using p u t params

func (*DfwRuleCreateUsingPUTParams) WithRouterID added in v1.2.0

WithRouterID adds the routerID to the dfw rule create using p u t params

func (*DfwRuleCreateUsingPUTParams) WithTimeout added in v1.0.0

WithTimeout adds the timeout to the dfw rule create using p u t params

func (*DfwRuleCreateUsingPUTParams) WriteToRequest added in v1.0.0

WriteToRequest writes these params to a swagger request

type DfwRuleCreateUsingPUTReader added in v1.0.0

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

DfwRuleCreateUsingPUTReader is a Reader for the DfwRuleCreateUsingPUT structure.

func (*DfwRuleCreateUsingPUTReader) ReadResponse added in v1.0.0

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

ReadResponse reads a server response into the received o.

type DfwRuleDeleteUsingDELETEBadRequest added in v1.0.0

type DfwRuleDeleteUsingDELETEBadRequest struct {
	Payload *models.ProxyResponseMessage
}
DfwRuleDeleteUsingDELETEBadRequest describes a response with status code 400, with default header values.

Bad request, error occurred. For more details see log messages.

func NewDfwRuleDeleteUsingDELETEBadRequest added in v1.0.0

func NewDfwRuleDeleteUsingDELETEBadRequest() *DfwRuleDeleteUsingDELETEBadRequest

NewDfwRuleDeleteUsingDELETEBadRequest creates a DfwRuleDeleteUsingDELETEBadRequest with default headers values

func (*DfwRuleDeleteUsingDELETEBadRequest) Error added in v1.0.0

func (*DfwRuleDeleteUsingDELETEBadRequest) GetPayload added in v1.2.0

type DfwRuleDeleteUsingDELETECreated added in v1.1.0

type DfwRuleDeleteUsingDELETECreated struct {
	Payload *models.DeleteDFWRuleResponse
}
DfwRuleDeleteUsingDELETECreated describes a response with status code 201, with default header values.

Entity has been deleted

func NewDfwRuleDeleteUsingDELETECreated added in v1.1.0

func NewDfwRuleDeleteUsingDELETECreated() *DfwRuleDeleteUsingDELETECreated

NewDfwRuleDeleteUsingDELETECreated creates a DfwRuleDeleteUsingDELETECreated with default headers values

func (*DfwRuleDeleteUsingDELETECreated) Error added in v1.1.0

func (*DfwRuleDeleteUsingDELETECreated) GetPayload added in v1.1.0

type DfwRuleDeleteUsingDELETEOK added in v1.0.0

type DfwRuleDeleteUsingDELETEOK struct {
	Payload *models.DeleteDFWRuleResponse
}
DfwRuleDeleteUsingDELETEOK describes a response with status code 200, with default header values.

OK

func NewDfwRuleDeleteUsingDELETEOK added in v1.0.0

func NewDfwRuleDeleteUsingDELETEOK() *DfwRuleDeleteUsingDELETEOK

NewDfwRuleDeleteUsingDELETEOK creates a DfwRuleDeleteUsingDELETEOK with default headers values

func (*DfwRuleDeleteUsingDELETEOK) Error added in v1.0.0

func (*DfwRuleDeleteUsingDELETEOK) GetPayload added in v1.0.0

type DfwRuleDeleteUsingDELETEParams added in v1.0.0

type DfwRuleDeleteUsingDELETEParams struct {

	/* RouterID.

	   routerId
	*/
	RouterID string

	/* RuleID.

	   ruleId
	*/
	RuleID string

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

DfwRuleDeleteUsingDELETEParams contains all the parameters to send to the API endpoint

for the dfw rule delete using d e l e t e operation.

Typically these are written to a http.Request.

func NewDfwRuleDeleteUsingDELETEParams added in v1.0.0

func NewDfwRuleDeleteUsingDELETEParams() *DfwRuleDeleteUsingDELETEParams

NewDfwRuleDeleteUsingDELETEParams creates a new DfwRuleDeleteUsingDELETEParams 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 NewDfwRuleDeleteUsingDELETEParamsWithContext added in v1.0.0

func NewDfwRuleDeleteUsingDELETEParamsWithContext(ctx context.Context) *DfwRuleDeleteUsingDELETEParams

NewDfwRuleDeleteUsingDELETEParamsWithContext creates a new DfwRuleDeleteUsingDELETEParams object with the ability to set a context for a request.

func NewDfwRuleDeleteUsingDELETEParamsWithHTTPClient added in v1.0.0

func NewDfwRuleDeleteUsingDELETEParamsWithHTTPClient(client *http.Client) *DfwRuleDeleteUsingDELETEParams

NewDfwRuleDeleteUsingDELETEParamsWithHTTPClient creates a new DfwRuleDeleteUsingDELETEParams object with the ability to set a custom HTTPClient for a request.

func NewDfwRuleDeleteUsingDELETEParamsWithTimeout added in v1.0.0

func NewDfwRuleDeleteUsingDELETEParamsWithTimeout(timeout time.Duration) *DfwRuleDeleteUsingDELETEParams

NewDfwRuleDeleteUsingDELETEParamsWithTimeout creates a new DfwRuleDeleteUsingDELETEParams object with the ability to set a timeout on a request.

func (*DfwRuleDeleteUsingDELETEParams) SetContext added in v1.0.0

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

SetContext adds the context to the dfw rule delete using d e l e t e params

func (*DfwRuleDeleteUsingDELETEParams) SetDefaults added in v1.2.4

func (o *DfwRuleDeleteUsingDELETEParams) SetDefaults()

SetDefaults hydrates default values in the dfw rule delete using d e l e t e params (not the query body).

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

func (*DfwRuleDeleteUsingDELETEParams) SetHTTPClient added in v1.0.0

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

SetHTTPClient adds the HTTPClient to the dfw rule delete using d e l e t e params

func (*DfwRuleDeleteUsingDELETEParams) SetRouterID added in v1.2.0

func (o *DfwRuleDeleteUsingDELETEParams) SetRouterID(routerID string)

SetRouterID adds the routerId to the dfw rule delete using d e l e t e params

func (*DfwRuleDeleteUsingDELETEParams) SetRuleID added in v1.0.0

func (o *DfwRuleDeleteUsingDELETEParams) SetRuleID(ruleID string)

SetRuleID adds the ruleId to the dfw rule delete using d e l e t e params

func (*DfwRuleDeleteUsingDELETEParams) SetTimeout added in v1.0.0

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

SetTimeout adds the timeout to the dfw rule delete using d e l e t e params

func (*DfwRuleDeleteUsingDELETEParams) WithContext added in v1.0.0

WithContext adds the context to the dfw rule delete using d e l e t e params

func (*DfwRuleDeleteUsingDELETEParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the dfw rule delete using d e l e t e params (not the query body).

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

func (*DfwRuleDeleteUsingDELETEParams) WithHTTPClient added in v1.0.0

WithHTTPClient adds the HTTPClient to the dfw rule delete using d e l e t e params

func (*DfwRuleDeleteUsingDELETEParams) WithRouterID added in v1.2.0

WithRouterID adds the routerID to the dfw rule delete using d e l e t e params

func (*DfwRuleDeleteUsingDELETEParams) WithRuleID added in v1.0.0

WithRuleID adds the ruleID to the dfw rule delete using d e l e t e params

func (*DfwRuleDeleteUsingDELETEParams) WithTimeout added in v1.0.0

WithTimeout adds the timeout to the dfw rule delete using d e l e t e params

func (*DfwRuleDeleteUsingDELETEParams) WriteToRequest added in v1.0.0

WriteToRequest writes these params to a swagger request

type DfwRuleDeleteUsingDELETEReader added in v1.0.0

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

DfwRuleDeleteUsingDELETEReader is a Reader for the DfwRuleDeleteUsingDELETE structure.

func (*DfwRuleDeleteUsingDELETEReader) ReadResponse added in v1.0.0

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

ReadResponse reads a server response into the received o.

type DfwRuleGetUsingGETBadRequest added in v1.0.0

type DfwRuleGetUsingGETBadRequest struct {
	Payload *models.ProxyResponseMessage
}
DfwRuleGetUsingGETBadRequest describes a response with status code 400, with default header values.

Bad request, error occurred. For more details see log messages.

func NewDfwRuleGetUsingGETBadRequest added in v1.0.0

func NewDfwRuleGetUsingGETBadRequest() *DfwRuleGetUsingGETBadRequest

NewDfwRuleGetUsingGETBadRequest creates a DfwRuleGetUsingGETBadRequest with default headers values

func (*DfwRuleGetUsingGETBadRequest) Error added in v1.0.0

func (*DfwRuleGetUsingGETBadRequest) GetPayload added in v1.2.0

type DfwRuleGetUsingGETNotFound added in v1.0.0

type DfwRuleGetUsingGETNotFound struct {
}
DfwRuleGetUsingGETNotFound describes a response with status code 404, with default header values.

Entity not found.

func NewDfwRuleGetUsingGETNotFound added in v1.0.0

func NewDfwRuleGetUsingGETNotFound() *DfwRuleGetUsingGETNotFound

NewDfwRuleGetUsingGETNotFound creates a DfwRuleGetUsingGETNotFound with default headers values

func (*DfwRuleGetUsingGETNotFound) Error added in v1.0.0

type DfwRuleGetUsingGETOK added in v1.0.0

type DfwRuleGetUsingGETOK struct {
	Payload *models.DFWRuleGetResponse
}
DfwRuleGetUsingGETOK describes a response with status code 200, with default header values.

OK

func NewDfwRuleGetUsingGETOK added in v1.0.0

func NewDfwRuleGetUsingGETOK() *DfwRuleGetUsingGETOK

NewDfwRuleGetUsingGETOK creates a DfwRuleGetUsingGETOK with default headers values

func (*DfwRuleGetUsingGETOK) Error added in v1.0.0

func (o *DfwRuleGetUsingGETOK) Error() string

func (*DfwRuleGetUsingGETOK) GetPayload added in v1.0.0

type DfwRuleGetUsingGETParams added in v1.0.0

type DfwRuleGetUsingGETParams struct {

	/* RouterID.

	   routerId
	*/
	RouterID string

	/* RuleID.

	   ruleId
	*/
	RuleID string

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

DfwRuleGetUsingGETParams contains all the parameters to send to the API endpoint

for the dfw rule get using g e t operation.

Typically these are written to a http.Request.

func NewDfwRuleGetUsingGETParams added in v1.0.0

func NewDfwRuleGetUsingGETParams() *DfwRuleGetUsingGETParams

NewDfwRuleGetUsingGETParams creates a new DfwRuleGetUsingGETParams 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 NewDfwRuleGetUsingGETParamsWithContext added in v1.0.0

func NewDfwRuleGetUsingGETParamsWithContext(ctx context.Context) *DfwRuleGetUsingGETParams

NewDfwRuleGetUsingGETParamsWithContext creates a new DfwRuleGetUsingGETParams object with the ability to set a context for a request.

func NewDfwRuleGetUsingGETParamsWithHTTPClient added in v1.0.0

func NewDfwRuleGetUsingGETParamsWithHTTPClient(client *http.Client) *DfwRuleGetUsingGETParams

NewDfwRuleGetUsingGETParamsWithHTTPClient creates a new DfwRuleGetUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewDfwRuleGetUsingGETParamsWithTimeout added in v1.0.0

func NewDfwRuleGetUsingGETParamsWithTimeout(timeout time.Duration) *DfwRuleGetUsingGETParams

NewDfwRuleGetUsingGETParamsWithTimeout creates a new DfwRuleGetUsingGETParams object with the ability to set a timeout on a request.

func (*DfwRuleGetUsingGETParams) SetContext added in v1.0.0

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

SetContext adds the context to the dfw rule get using g e t params

func (*DfwRuleGetUsingGETParams) SetDefaults added in v1.2.4

func (o *DfwRuleGetUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the dfw rule get using g e t params (not the query body).

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

func (*DfwRuleGetUsingGETParams) SetHTTPClient added in v1.0.0

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

SetHTTPClient adds the HTTPClient to the dfw rule get using g e t params

func (*DfwRuleGetUsingGETParams) SetRouterID added in v1.2.0

func (o *DfwRuleGetUsingGETParams) SetRouterID(routerID string)

SetRouterID adds the routerId to the dfw rule get using g e t params

func (*DfwRuleGetUsingGETParams) SetRuleID added in v1.0.0

func (o *DfwRuleGetUsingGETParams) SetRuleID(ruleID string)

SetRuleID adds the ruleId to the dfw rule get using g e t params

func (*DfwRuleGetUsingGETParams) SetTimeout added in v1.0.0

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

SetTimeout adds the timeout to the dfw rule get using g e t params

func (*DfwRuleGetUsingGETParams) WithContext added in v1.0.0

WithContext adds the context to the dfw rule get using g e t params

func (*DfwRuleGetUsingGETParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the dfw rule get using g e t params (not the query body).

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

func (*DfwRuleGetUsingGETParams) WithHTTPClient added in v1.0.0

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

WithHTTPClient adds the HTTPClient to the dfw rule get using g e t params

func (*DfwRuleGetUsingGETParams) WithRouterID added in v1.2.0

func (o *DfwRuleGetUsingGETParams) WithRouterID(routerID string) *DfwRuleGetUsingGETParams

WithRouterID adds the routerID to the dfw rule get using g e t params

func (*DfwRuleGetUsingGETParams) WithRuleID added in v1.0.0

WithRuleID adds the ruleID to the dfw rule get using g e t params

func (*DfwRuleGetUsingGETParams) WithTimeout added in v1.0.0

WithTimeout adds the timeout to the dfw rule get using g e t params

func (*DfwRuleGetUsingGETParams) WriteToRequest added in v1.0.0

WriteToRequest writes these params to a swagger request

type DfwRuleGetUsingGETReader added in v1.0.0

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

DfwRuleGetUsingGETReader is a Reader for the DfwRuleGetUsingGET structure.

func (*DfwRuleGetUsingGETReader) ReadResponse added in v1.0.0

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

ReadResponse reads a server response into the received o.

type DfwRuleListUsingGETBadRequest added in v1.0.0

type DfwRuleListUsingGETBadRequest struct {
	Payload *models.ProxyResponseMessage
}
DfwRuleListUsingGETBadRequest describes a response with status code 400, with default header values.

Bad request, error occurred. For more details see log messages.

func NewDfwRuleListUsingGETBadRequest added in v1.0.0

func NewDfwRuleListUsingGETBadRequest() *DfwRuleListUsingGETBadRequest

NewDfwRuleListUsingGETBadRequest creates a DfwRuleListUsingGETBadRequest with default headers values

func (*DfwRuleListUsingGETBadRequest) Error added in v1.0.0

func (*DfwRuleListUsingGETBadRequest) GetPayload added in v1.2.0

type DfwRuleListUsingGETOK added in v1.0.0

type DfwRuleListUsingGETOK struct {
	Payload *models.DFWRuleListResponse
}
DfwRuleListUsingGETOK describes a response with status code 200, with default header values.

OK

func NewDfwRuleListUsingGETOK added in v1.0.0

func NewDfwRuleListUsingGETOK() *DfwRuleListUsingGETOK

NewDfwRuleListUsingGETOK creates a DfwRuleListUsingGETOK with default headers values

func (*DfwRuleListUsingGETOK) Error added in v1.0.0

func (o *DfwRuleListUsingGETOK) Error() string

func (*DfwRuleListUsingGETOK) GetPayload added in v1.0.0

type DfwRuleListUsingGETParams added in v1.0.0

type DfwRuleListUsingGETParams struct {

	/* DisplayName.

	   displayName
	*/
	DisplayName *string

	/* RouterID.

	   routerId
	*/
	RouterID string

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

DfwRuleListUsingGETParams contains all the parameters to send to the API endpoint

for the dfw rule list using g e t operation.

Typically these are written to a http.Request.

func NewDfwRuleListUsingGETParams added in v1.0.0

func NewDfwRuleListUsingGETParams() *DfwRuleListUsingGETParams

NewDfwRuleListUsingGETParams creates a new DfwRuleListUsingGETParams 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 NewDfwRuleListUsingGETParamsWithContext added in v1.0.0

func NewDfwRuleListUsingGETParamsWithContext(ctx context.Context) *DfwRuleListUsingGETParams

NewDfwRuleListUsingGETParamsWithContext creates a new DfwRuleListUsingGETParams object with the ability to set a context for a request.

func NewDfwRuleListUsingGETParamsWithHTTPClient added in v1.0.0

func NewDfwRuleListUsingGETParamsWithHTTPClient(client *http.Client) *DfwRuleListUsingGETParams

NewDfwRuleListUsingGETParamsWithHTTPClient creates a new DfwRuleListUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewDfwRuleListUsingGETParamsWithTimeout added in v1.0.0

func NewDfwRuleListUsingGETParamsWithTimeout(timeout time.Duration) *DfwRuleListUsingGETParams

NewDfwRuleListUsingGETParamsWithTimeout creates a new DfwRuleListUsingGETParams object with the ability to set a timeout on a request.

func (*DfwRuleListUsingGETParams) SetContext added in v1.0.0

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

SetContext adds the context to the dfw rule list using g e t params

func (*DfwRuleListUsingGETParams) SetDefaults added in v1.2.4

func (o *DfwRuleListUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the dfw rule list using g e t params (not the query body).

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

func (*DfwRuleListUsingGETParams) SetDisplayName added in v1.0.0

func (o *DfwRuleListUsingGETParams) SetDisplayName(displayName *string)

SetDisplayName adds the displayName to the dfw rule list using g e t params

func (*DfwRuleListUsingGETParams) SetHTTPClient added in v1.0.0

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

SetHTTPClient adds the HTTPClient to the dfw rule list using g e t params

func (*DfwRuleListUsingGETParams) SetRouterID added in v1.2.0

func (o *DfwRuleListUsingGETParams) SetRouterID(routerID string)

SetRouterID adds the routerId to the dfw rule list using g e t params

func (*DfwRuleListUsingGETParams) SetTimeout added in v1.0.0

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

SetTimeout adds the timeout to the dfw rule list using g e t params

func (*DfwRuleListUsingGETParams) WithContext added in v1.0.0

WithContext adds the context to the dfw rule list using g e t params

func (*DfwRuleListUsingGETParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the dfw rule list using g e t params (not the query body).

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

func (*DfwRuleListUsingGETParams) WithDisplayName added in v1.0.0

func (o *DfwRuleListUsingGETParams) WithDisplayName(displayName *string) *DfwRuleListUsingGETParams

WithDisplayName adds the displayName to the dfw rule list using g e t params

func (*DfwRuleListUsingGETParams) WithHTTPClient added in v1.0.0

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

WithHTTPClient adds the HTTPClient to the dfw rule list using g e t params

func (*DfwRuleListUsingGETParams) WithRouterID added in v1.2.0

func (o *DfwRuleListUsingGETParams) WithRouterID(routerID string) *DfwRuleListUsingGETParams

WithRouterID adds the routerID to the dfw rule list using g e t params

func (*DfwRuleListUsingGETParams) WithTimeout added in v1.0.0

WithTimeout adds the timeout to the dfw rule list using g e t params

func (*DfwRuleListUsingGETParams) WriteToRequest added in v1.0.0

WriteToRequest writes these params to a swagger request

type DfwRuleListUsingGETReader added in v1.0.0

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

DfwRuleListUsingGETReader is a Reader for the DfwRuleListUsingGET structure.

func (*DfwRuleListUsingGETReader) ReadResponse added in v1.0.0

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

ReadResponse reads a server response into the received o.

type DfwRuleUpdateUsingPUTBadRequest added in v1.0.0

type DfwRuleUpdateUsingPUTBadRequest struct {
	Payload *models.ProxyResponseMessage
}
DfwRuleUpdateUsingPUTBadRequest describes a response with status code 400, with default header values.

Bad request, error occurred. For more details see log messages.

func NewDfwRuleUpdateUsingPUTBadRequest added in v1.0.0

func NewDfwRuleUpdateUsingPUTBadRequest() *DfwRuleUpdateUsingPUTBadRequest

NewDfwRuleUpdateUsingPUTBadRequest creates a DfwRuleUpdateUsingPUTBadRequest with default headers values

func (*DfwRuleUpdateUsingPUTBadRequest) Error added in v1.0.0

func (*DfwRuleUpdateUsingPUTBadRequest) GetPayload added in v1.2.0

type DfwRuleUpdateUsingPUTCreated added in v1.1.0

type DfwRuleUpdateUsingPUTCreated struct {
	Payload *models.UpdateDFWRuleResponse
}
DfwRuleUpdateUsingPUTCreated describes a response with status code 201, with default header values.

Entity has been updated

func NewDfwRuleUpdateUsingPUTCreated added in v1.1.0

func NewDfwRuleUpdateUsingPUTCreated() *DfwRuleUpdateUsingPUTCreated

NewDfwRuleUpdateUsingPUTCreated creates a DfwRuleUpdateUsingPUTCreated with default headers values

func (*DfwRuleUpdateUsingPUTCreated) Error added in v1.1.0

func (*DfwRuleUpdateUsingPUTCreated) GetPayload added in v1.1.0

type DfwRuleUpdateUsingPUTOK added in v1.0.0

type DfwRuleUpdateUsingPUTOK struct {
	Payload *models.UpdateDFWRuleResponse
}
DfwRuleUpdateUsingPUTOK describes a response with status code 200, with default header values.

OK

func NewDfwRuleUpdateUsingPUTOK added in v1.0.0

func NewDfwRuleUpdateUsingPUTOK() *DfwRuleUpdateUsingPUTOK

NewDfwRuleUpdateUsingPUTOK creates a DfwRuleUpdateUsingPUTOK with default headers values

func (*DfwRuleUpdateUsingPUTOK) Error added in v1.0.0

func (o *DfwRuleUpdateUsingPUTOK) Error() string

func (*DfwRuleUpdateUsingPUTOK) GetPayload added in v1.0.0

type DfwRuleUpdateUsingPUTParams added in v1.0.0

type DfwRuleUpdateUsingPUTParams struct {

	/* DfwRule.

	   dfwRule
	*/
	DfwRule *models.DFWRule

	/* RouterID.

	   routerId
	*/
	RouterID string

	/* RuleID.

	   ruleId
	*/
	RuleID string

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

DfwRuleUpdateUsingPUTParams contains all the parameters to send to the API endpoint

for the dfw rule update using p u t operation.

Typically these are written to a http.Request.

func NewDfwRuleUpdateUsingPUTParams added in v1.0.0

func NewDfwRuleUpdateUsingPUTParams() *DfwRuleUpdateUsingPUTParams

NewDfwRuleUpdateUsingPUTParams creates a new DfwRuleUpdateUsingPUTParams 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 NewDfwRuleUpdateUsingPUTParamsWithContext added in v1.0.0

func NewDfwRuleUpdateUsingPUTParamsWithContext(ctx context.Context) *DfwRuleUpdateUsingPUTParams

NewDfwRuleUpdateUsingPUTParamsWithContext creates a new DfwRuleUpdateUsingPUTParams object with the ability to set a context for a request.

func NewDfwRuleUpdateUsingPUTParamsWithHTTPClient added in v1.0.0

func NewDfwRuleUpdateUsingPUTParamsWithHTTPClient(client *http.Client) *DfwRuleUpdateUsingPUTParams

NewDfwRuleUpdateUsingPUTParamsWithHTTPClient creates a new DfwRuleUpdateUsingPUTParams object with the ability to set a custom HTTPClient for a request.

func NewDfwRuleUpdateUsingPUTParamsWithTimeout added in v1.0.0

func NewDfwRuleUpdateUsingPUTParamsWithTimeout(timeout time.Duration) *DfwRuleUpdateUsingPUTParams

NewDfwRuleUpdateUsingPUTParamsWithTimeout creates a new DfwRuleUpdateUsingPUTParams object with the ability to set a timeout on a request.

func (*DfwRuleUpdateUsingPUTParams) SetContext added in v1.0.0

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

SetContext adds the context to the dfw rule update using p u t params

func (*DfwRuleUpdateUsingPUTParams) SetDefaults added in v1.2.4

func (o *DfwRuleUpdateUsingPUTParams) SetDefaults()

SetDefaults hydrates default values in the dfw rule update using p u t params (not the query body).

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

func (*DfwRuleUpdateUsingPUTParams) SetDfwRule added in v1.0.0

func (o *DfwRuleUpdateUsingPUTParams) SetDfwRule(dfwRule *models.DFWRule)

SetDfwRule adds the dfwRule to the dfw rule update using p u t params

func (*DfwRuleUpdateUsingPUTParams) SetHTTPClient added in v1.0.0

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

SetHTTPClient adds the HTTPClient to the dfw rule update using p u t params

func (*DfwRuleUpdateUsingPUTParams) SetRouterID added in v1.2.0

func (o *DfwRuleUpdateUsingPUTParams) SetRouterID(routerID string)

SetRouterID adds the routerId to the dfw rule update using p u t params

func (*DfwRuleUpdateUsingPUTParams) SetRuleID added in v1.0.0

func (o *DfwRuleUpdateUsingPUTParams) SetRuleID(ruleID string)

SetRuleID adds the ruleId to the dfw rule update using p u t params

func (*DfwRuleUpdateUsingPUTParams) SetTimeout added in v1.0.0

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

SetTimeout adds the timeout to the dfw rule update using p u t params

func (*DfwRuleUpdateUsingPUTParams) WithContext added in v1.0.0

WithContext adds the context to the dfw rule update using p u t params

func (*DfwRuleUpdateUsingPUTParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the dfw rule update using p u t params (not the query body).

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

func (*DfwRuleUpdateUsingPUTParams) WithDfwRule added in v1.0.0

WithDfwRule adds the dfwRule to the dfw rule update using p u t params

func (*DfwRuleUpdateUsingPUTParams) WithHTTPClient added in v1.0.0

WithHTTPClient adds the HTTPClient to the dfw rule update using p u t params

func (*DfwRuleUpdateUsingPUTParams) WithRouterID added in v1.2.0

WithRouterID adds the routerID to the dfw rule update using p u t params

func (*DfwRuleUpdateUsingPUTParams) WithRuleID added in v1.0.0

WithRuleID adds the ruleID to the dfw rule update using p u t params

func (*DfwRuleUpdateUsingPUTParams) WithTimeout added in v1.0.0

WithTimeout adds the timeout to the dfw rule update using p u t params

func (*DfwRuleUpdateUsingPUTParams) WriteToRequest added in v1.0.0

WriteToRequest writes these params to a swagger request

type DfwRuleUpdateUsingPUTReader added in v1.0.0

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

DfwRuleUpdateUsingPUTReader is a Reader for the DfwRuleUpdateUsingPUT structure.

func (*DfwRuleUpdateUsingPUTReader) ReadResponse added in v1.0.0

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