firewall_rules_s_n

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 s n API

func (*Client) GfwRuleCreateUsingPUT added in v1.0.0

GfwRuleCreateUsingPUT creates

Create firewall rule (south-north) in NSX-T

func (*Client) GfwRuleDeleteUsingDELETE added in v1.0.0

GfwRuleDeleteUsingDELETE deletes

Delete firewall rule (south-north) from NSX-T

func (*Client) GfwRuleGetUsingGET added in v1.0.0

func (a *Client) GfwRuleGetUsingGET(params *GfwRuleGetUsingGETParams, opts ...ClientOption) (*GfwRuleGetUsingGETOK, error)

GfwRuleGetUsingGET gets

Get firewall rule (south-north) from NSX-T

func (*Client) GfwRuleListUsingGET added in v1.0.0

func (a *Client) GfwRuleListUsingGET(params *GfwRuleListUsingGETParams, opts ...ClientOption) (*GfwRuleListUsingGETOK, error)

GfwRuleListUsingGET lists

List firewall rules (south-north) from NSX-T

func (*Client) GfwRuleUpdateUsingPUT added in v1.0.0

GfwRuleUpdateUsingPUT updates

Create firewall rule (south-north) 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 {
	GfwRuleCreateUsingPUT(params *GfwRuleCreateUsingPUTParams, opts ...ClientOption) (*GfwRuleCreateUsingPUTOK, *GfwRuleCreateUsingPUTCreated, error)

	GfwRuleDeleteUsingDELETE(params *GfwRuleDeleteUsingDELETEParams, opts ...ClientOption) (*GfwRuleDeleteUsingDELETEOK, *GfwRuleDeleteUsingDELETECreated, error)

	GfwRuleGetUsingGET(params *GfwRuleGetUsingGETParams, opts ...ClientOption) (*GfwRuleGetUsingGETOK, error)

	GfwRuleListUsingGET(params *GfwRuleListUsingGETParams, opts ...ClientOption) (*GfwRuleListUsingGETOK, error)

	GfwRuleUpdateUsingPUT(params *GfwRuleUpdateUsingPUTParams, opts ...ClientOption) (*GfwRuleUpdateUsingPUTOK, *GfwRuleUpdateUsingPUTCreated, 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 s n API client.

type GfwRuleCreateUsingPUTBadRequest added in v1.0.0

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

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

func NewGfwRuleCreateUsingPUTBadRequest added in v1.0.0

func NewGfwRuleCreateUsingPUTBadRequest() *GfwRuleCreateUsingPUTBadRequest

NewGfwRuleCreateUsingPUTBadRequest creates a GfwRuleCreateUsingPUTBadRequest with default headers values

func (*GfwRuleCreateUsingPUTBadRequest) Error added in v1.0.0

func (*GfwRuleCreateUsingPUTBadRequest) GetPayload added in v1.2.0

type GfwRuleCreateUsingPUTCreated added in v1.0.0

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

Entity has been created

func NewGfwRuleCreateUsingPUTCreated added in v1.0.0

func NewGfwRuleCreateUsingPUTCreated() *GfwRuleCreateUsingPUTCreated

NewGfwRuleCreateUsingPUTCreated creates a GfwRuleCreateUsingPUTCreated with default headers values

func (*GfwRuleCreateUsingPUTCreated) Error added in v1.0.0

func (*GfwRuleCreateUsingPUTCreated) GetPayload added in v1.0.0

type GfwRuleCreateUsingPUTOK added in v1.0.0

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

OK

func NewGfwRuleCreateUsingPUTOK added in v1.0.0

func NewGfwRuleCreateUsingPUTOK() *GfwRuleCreateUsingPUTOK

NewGfwRuleCreateUsingPUTOK creates a GfwRuleCreateUsingPUTOK with default headers values

func (*GfwRuleCreateUsingPUTOK) Error added in v1.0.0

func (o *GfwRuleCreateUsingPUTOK) Error() string

func (*GfwRuleCreateUsingPUTOK) GetPayload added in v1.0.0

type GfwRuleCreateUsingPUTParams added in v1.0.0

type GfwRuleCreateUsingPUTParams struct {

	/* GfwRule.

	   gfwRule
	*/
	GfwRule *models.GFWRule

	/* RouterID.

	   routerId
	*/
	RouterID string

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

GfwRuleCreateUsingPUTParams contains all the parameters to send to the API endpoint

for the gfw rule create using p u t operation.

Typically these are written to a http.Request.

func NewGfwRuleCreateUsingPUTParams added in v1.0.0

func NewGfwRuleCreateUsingPUTParams() *GfwRuleCreateUsingPUTParams

NewGfwRuleCreateUsingPUTParams creates a new GfwRuleCreateUsingPUTParams 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 NewGfwRuleCreateUsingPUTParamsWithContext added in v1.0.0

func NewGfwRuleCreateUsingPUTParamsWithContext(ctx context.Context) *GfwRuleCreateUsingPUTParams

NewGfwRuleCreateUsingPUTParamsWithContext creates a new GfwRuleCreateUsingPUTParams object with the ability to set a context for a request.

func NewGfwRuleCreateUsingPUTParamsWithHTTPClient added in v1.0.0

func NewGfwRuleCreateUsingPUTParamsWithHTTPClient(client *http.Client) *GfwRuleCreateUsingPUTParams

NewGfwRuleCreateUsingPUTParamsWithHTTPClient creates a new GfwRuleCreateUsingPUTParams object with the ability to set a custom HTTPClient for a request.

func NewGfwRuleCreateUsingPUTParamsWithTimeout added in v1.0.0

func NewGfwRuleCreateUsingPUTParamsWithTimeout(timeout time.Duration) *GfwRuleCreateUsingPUTParams

NewGfwRuleCreateUsingPUTParamsWithTimeout creates a new GfwRuleCreateUsingPUTParams object with the ability to set a timeout on a request.

func (*GfwRuleCreateUsingPUTParams) SetContext added in v1.0.0

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

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

func (*GfwRuleCreateUsingPUTParams) SetDefaults added in v1.2.4

func (o *GfwRuleCreateUsingPUTParams) SetDefaults()

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

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

func (*GfwRuleCreateUsingPUTParams) SetGfwRule added in v1.0.0

func (o *GfwRuleCreateUsingPUTParams) SetGfwRule(gfwRule *models.GFWRule)

SetGfwRule adds the gfwRule to the gfw rule create using p u t params

func (*GfwRuleCreateUsingPUTParams) SetHTTPClient added in v1.0.0

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

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

func (*GfwRuleCreateUsingPUTParams) SetRouterID added in v1.2.0

func (o *GfwRuleCreateUsingPUTParams) SetRouterID(routerID string)

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

func (*GfwRuleCreateUsingPUTParams) SetTimeout added in v1.0.0

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

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

func (*GfwRuleCreateUsingPUTParams) WithContext added in v1.0.0

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

func (*GfwRuleCreateUsingPUTParams) WithDefaults added in v1.2.4

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

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

func (*GfwRuleCreateUsingPUTParams) WithGfwRule added in v1.0.0

WithGfwRule adds the gfwRule to the gfw rule create using p u t params

func (*GfwRuleCreateUsingPUTParams) WithHTTPClient added in v1.0.0

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

func (*GfwRuleCreateUsingPUTParams) WithRouterID added in v1.2.0

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

func (*GfwRuleCreateUsingPUTParams) WithTimeout added in v1.0.0

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

func (*GfwRuleCreateUsingPUTParams) WriteToRequest added in v1.0.0

WriteToRequest writes these params to a swagger request

type GfwRuleCreateUsingPUTReader added in v1.0.0

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

GfwRuleCreateUsingPUTReader is a Reader for the GfwRuleCreateUsingPUT structure.

func (*GfwRuleCreateUsingPUTReader) ReadResponse added in v1.0.0

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

ReadResponse reads a server response into the received o.

type GfwRuleDeleteUsingDELETEBadRequest added in v1.0.0

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

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

func NewGfwRuleDeleteUsingDELETEBadRequest added in v1.0.0

func NewGfwRuleDeleteUsingDELETEBadRequest() *GfwRuleDeleteUsingDELETEBadRequest

NewGfwRuleDeleteUsingDELETEBadRequest creates a GfwRuleDeleteUsingDELETEBadRequest with default headers values

func (*GfwRuleDeleteUsingDELETEBadRequest) Error added in v1.0.0

func (*GfwRuleDeleteUsingDELETEBadRequest) GetPayload added in v1.2.0

type GfwRuleDeleteUsingDELETECreated added in v1.1.0

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

Entity has been deleted

func NewGfwRuleDeleteUsingDELETECreated added in v1.1.0

func NewGfwRuleDeleteUsingDELETECreated() *GfwRuleDeleteUsingDELETECreated

NewGfwRuleDeleteUsingDELETECreated creates a GfwRuleDeleteUsingDELETECreated with default headers values

func (*GfwRuleDeleteUsingDELETECreated) Error added in v1.1.0

func (*GfwRuleDeleteUsingDELETECreated) GetPayload added in v1.1.0

type GfwRuleDeleteUsingDELETEOK added in v1.0.0

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

OK

func NewGfwRuleDeleteUsingDELETEOK added in v1.0.0

func NewGfwRuleDeleteUsingDELETEOK() *GfwRuleDeleteUsingDELETEOK

NewGfwRuleDeleteUsingDELETEOK creates a GfwRuleDeleteUsingDELETEOK with default headers values

func (*GfwRuleDeleteUsingDELETEOK) Error added in v1.0.0

func (*GfwRuleDeleteUsingDELETEOK) GetPayload added in v1.0.0

type GfwRuleDeleteUsingDELETEParams added in v1.0.0

type GfwRuleDeleteUsingDELETEParams struct {

	/* RouterID.

	   routerId
	*/
	RouterID string

	/* RuleID.

	   ruleId
	*/
	RuleID string

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

GfwRuleDeleteUsingDELETEParams contains all the parameters to send to the API endpoint

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

Typically these are written to a http.Request.

func NewGfwRuleDeleteUsingDELETEParams added in v1.0.0

func NewGfwRuleDeleteUsingDELETEParams() *GfwRuleDeleteUsingDELETEParams

NewGfwRuleDeleteUsingDELETEParams creates a new GfwRuleDeleteUsingDELETEParams 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 NewGfwRuleDeleteUsingDELETEParamsWithContext added in v1.0.0

func NewGfwRuleDeleteUsingDELETEParamsWithContext(ctx context.Context) *GfwRuleDeleteUsingDELETEParams

NewGfwRuleDeleteUsingDELETEParamsWithContext creates a new GfwRuleDeleteUsingDELETEParams object with the ability to set a context for a request.

func NewGfwRuleDeleteUsingDELETEParamsWithHTTPClient added in v1.0.0

func NewGfwRuleDeleteUsingDELETEParamsWithHTTPClient(client *http.Client) *GfwRuleDeleteUsingDELETEParams

NewGfwRuleDeleteUsingDELETEParamsWithHTTPClient creates a new GfwRuleDeleteUsingDELETEParams object with the ability to set a custom HTTPClient for a request.

func NewGfwRuleDeleteUsingDELETEParamsWithTimeout added in v1.0.0

func NewGfwRuleDeleteUsingDELETEParamsWithTimeout(timeout time.Duration) *GfwRuleDeleteUsingDELETEParams

NewGfwRuleDeleteUsingDELETEParamsWithTimeout creates a new GfwRuleDeleteUsingDELETEParams object with the ability to set a timeout on a request.

func (*GfwRuleDeleteUsingDELETEParams) SetContext added in v1.0.0

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

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

func (*GfwRuleDeleteUsingDELETEParams) SetDefaults added in v1.2.4

func (o *GfwRuleDeleteUsingDELETEParams) SetDefaults()

SetDefaults hydrates default values in the gfw 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 (*GfwRuleDeleteUsingDELETEParams) SetHTTPClient added in v1.0.0

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

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

func (*GfwRuleDeleteUsingDELETEParams) SetRouterID added in v1.2.0

func (o *GfwRuleDeleteUsingDELETEParams) SetRouterID(routerID string)

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

func (*GfwRuleDeleteUsingDELETEParams) SetRuleID added in v1.0.0

func (o *GfwRuleDeleteUsingDELETEParams) SetRuleID(ruleID string)

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

func (*GfwRuleDeleteUsingDELETEParams) SetTimeout added in v1.0.0

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

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

func (*GfwRuleDeleteUsingDELETEParams) WithContext added in v1.0.0

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

func (*GfwRuleDeleteUsingDELETEParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the gfw 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 (*GfwRuleDeleteUsingDELETEParams) WithHTTPClient added in v1.0.0

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

func (*GfwRuleDeleteUsingDELETEParams) WithRouterID added in v1.2.0

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

func (*GfwRuleDeleteUsingDELETEParams) WithRuleID added in v1.0.0

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

func (*GfwRuleDeleteUsingDELETEParams) WithTimeout added in v1.0.0

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

func (*GfwRuleDeleteUsingDELETEParams) WriteToRequest added in v1.0.0

WriteToRequest writes these params to a swagger request

type GfwRuleDeleteUsingDELETEReader added in v1.0.0

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

GfwRuleDeleteUsingDELETEReader is a Reader for the GfwRuleDeleteUsingDELETE structure.

func (*GfwRuleDeleteUsingDELETEReader) ReadResponse added in v1.0.0

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

ReadResponse reads a server response into the received o.

type GfwRuleGetUsingGETBadRequest added in v1.0.0

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

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

func NewGfwRuleGetUsingGETBadRequest added in v1.0.0

func NewGfwRuleGetUsingGETBadRequest() *GfwRuleGetUsingGETBadRequest

NewGfwRuleGetUsingGETBadRequest creates a GfwRuleGetUsingGETBadRequest with default headers values

func (*GfwRuleGetUsingGETBadRequest) Error added in v1.0.0

func (*GfwRuleGetUsingGETBadRequest) GetPayload added in v1.2.0

type GfwRuleGetUsingGETNotFound added in v1.0.0

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

Entity not found.

func NewGfwRuleGetUsingGETNotFound added in v1.0.0

func NewGfwRuleGetUsingGETNotFound() *GfwRuleGetUsingGETNotFound

NewGfwRuleGetUsingGETNotFound creates a GfwRuleGetUsingGETNotFound with default headers values

func (*GfwRuleGetUsingGETNotFound) Error added in v1.0.0

type GfwRuleGetUsingGETOK added in v1.0.0

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

OK

func NewGfwRuleGetUsingGETOK added in v1.0.0

func NewGfwRuleGetUsingGETOK() *GfwRuleGetUsingGETOK

NewGfwRuleGetUsingGETOK creates a GfwRuleGetUsingGETOK with default headers values

func (*GfwRuleGetUsingGETOK) Error added in v1.0.0

func (o *GfwRuleGetUsingGETOK) Error() string

func (*GfwRuleGetUsingGETOK) GetPayload added in v1.0.0

type GfwRuleGetUsingGETParams added in v1.0.0

type GfwRuleGetUsingGETParams struct {

	/* RouterID.

	   routerId
	*/
	RouterID string

	/* RuleID.

	   ruleId
	*/
	RuleID string

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

GfwRuleGetUsingGETParams contains all the parameters to send to the API endpoint

for the gfw rule get using g e t operation.

Typically these are written to a http.Request.

func NewGfwRuleGetUsingGETParams added in v1.0.0

func NewGfwRuleGetUsingGETParams() *GfwRuleGetUsingGETParams

NewGfwRuleGetUsingGETParams creates a new GfwRuleGetUsingGETParams 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 NewGfwRuleGetUsingGETParamsWithContext added in v1.0.0

func NewGfwRuleGetUsingGETParamsWithContext(ctx context.Context) *GfwRuleGetUsingGETParams

NewGfwRuleGetUsingGETParamsWithContext creates a new GfwRuleGetUsingGETParams object with the ability to set a context for a request.

func NewGfwRuleGetUsingGETParamsWithHTTPClient added in v1.0.0

func NewGfwRuleGetUsingGETParamsWithHTTPClient(client *http.Client) *GfwRuleGetUsingGETParams

NewGfwRuleGetUsingGETParamsWithHTTPClient creates a new GfwRuleGetUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewGfwRuleGetUsingGETParamsWithTimeout added in v1.0.0

func NewGfwRuleGetUsingGETParamsWithTimeout(timeout time.Duration) *GfwRuleGetUsingGETParams

NewGfwRuleGetUsingGETParamsWithTimeout creates a new GfwRuleGetUsingGETParams object with the ability to set a timeout on a request.

func (*GfwRuleGetUsingGETParams) SetContext added in v1.0.0

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

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

func (*GfwRuleGetUsingGETParams) SetDefaults added in v1.2.4

func (o *GfwRuleGetUsingGETParams) SetDefaults()

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

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

func (*GfwRuleGetUsingGETParams) SetHTTPClient added in v1.0.0

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

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

func (*GfwRuleGetUsingGETParams) SetRouterID added in v1.2.0

func (o *GfwRuleGetUsingGETParams) SetRouterID(routerID string)

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

func (*GfwRuleGetUsingGETParams) SetRuleID added in v1.0.0

func (o *GfwRuleGetUsingGETParams) SetRuleID(ruleID string)

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

func (*GfwRuleGetUsingGETParams) SetTimeout added in v1.0.0

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

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

func (*GfwRuleGetUsingGETParams) WithContext added in v1.0.0

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

func (*GfwRuleGetUsingGETParams) WithDefaults added in v1.2.4

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

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

func (*GfwRuleGetUsingGETParams) WithHTTPClient added in v1.0.0

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

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

func (*GfwRuleGetUsingGETParams) WithRouterID added in v1.2.0

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

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

func (*GfwRuleGetUsingGETParams) WithRuleID added in v1.0.0

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

func (*GfwRuleGetUsingGETParams) WithTimeout added in v1.0.0

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

func (*GfwRuleGetUsingGETParams) WriteToRequest added in v1.0.0

WriteToRequest writes these params to a swagger request

type GfwRuleGetUsingGETReader added in v1.0.0

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

GfwRuleGetUsingGETReader is a Reader for the GfwRuleGetUsingGET structure.

func (*GfwRuleGetUsingGETReader) ReadResponse added in v1.0.0

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

ReadResponse reads a server response into the received o.

type GfwRuleListUsingGETBadRequest added in v1.0.0

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

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

func NewGfwRuleListUsingGETBadRequest added in v1.0.0

func NewGfwRuleListUsingGETBadRequest() *GfwRuleListUsingGETBadRequest

NewGfwRuleListUsingGETBadRequest creates a GfwRuleListUsingGETBadRequest with default headers values

func (*GfwRuleListUsingGETBadRequest) Error added in v1.0.0

func (*GfwRuleListUsingGETBadRequest) GetPayload added in v1.2.0

type GfwRuleListUsingGETOK added in v1.0.0

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

OK

func NewGfwRuleListUsingGETOK added in v1.0.0

func NewGfwRuleListUsingGETOK() *GfwRuleListUsingGETOK

NewGfwRuleListUsingGETOK creates a GfwRuleListUsingGETOK with default headers values

func (*GfwRuleListUsingGETOK) Error added in v1.0.0

func (o *GfwRuleListUsingGETOK) Error() string

func (*GfwRuleListUsingGETOK) GetPayload added in v1.0.0

type GfwRuleListUsingGETParams added in v1.0.0

type GfwRuleListUsingGETParams struct {

	/* DisplayName.

	   displayName
	*/
	DisplayName *string

	/* RouterID.

	   routerId
	*/
	RouterID string

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

GfwRuleListUsingGETParams contains all the parameters to send to the API endpoint

for the gfw rule list using g e t operation.

Typically these are written to a http.Request.

func NewGfwRuleListUsingGETParams added in v1.0.0

func NewGfwRuleListUsingGETParams() *GfwRuleListUsingGETParams

NewGfwRuleListUsingGETParams creates a new GfwRuleListUsingGETParams 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 NewGfwRuleListUsingGETParamsWithContext added in v1.0.0

func NewGfwRuleListUsingGETParamsWithContext(ctx context.Context) *GfwRuleListUsingGETParams

NewGfwRuleListUsingGETParamsWithContext creates a new GfwRuleListUsingGETParams object with the ability to set a context for a request.

func NewGfwRuleListUsingGETParamsWithHTTPClient added in v1.0.0

func NewGfwRuleListUsingGETParamsWithHTTPClient(client *http.Client) *GfwRuleListUsingGETParams

NewGfwRuleListUsingGETParamsWithHTTPClient creates a new GfwRuleListUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewGfwRuleListUsingGETParamsWithTimeout added in v1.0.0

func NewGfwRuleListUsingGETParamsWithTimeout(timeout time.Duration) *GfwRuleListUsingGETParams

NewGfwRuleListUsingGETParamsWithTimeout creates a new GfwRuleListUsingGETParams object with the ability to set a timeout on a request.

func (*GfwRuleListUsingGETParams) SetContext added in v1.0.0

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

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

func (*GfwRuleListUsingGETParams) SetDefaults added in v1.2.4

func (o *GfwRuleListUsingGETParams) SetDefaults()

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

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

func (*GfwRuleListUsingGETParams) SetDisplayName added in v1.0.0

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

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

func (*GfwRuleListUsingGETParams) SetHTTPClient added in v1.0.0

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

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

func (*GfwRuleListUsingGETParams) SetRouterID added in v1.2.0

func (o *GfwRuleListUsingGETParams) SetRouterID(routerID string)

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

func (*GfwRuleListUsingGETParams) SetTimeout added in v1.0.0

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

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

func (*GfwRuleListUsingGETParams) WithContext added in v1.0.0

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

func (*GfwRuleListUsingGETParams) WithDefaults added in v1.2.4

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

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

func (*GfwRuleListUsingGETParams) WithDisplayName added in v1.0.0

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

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

func (*GfwRuleListUsingGETParams) WithHTTPClient added in v1.0.0

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

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

func (*GfwRuleListUsingGETParams) WithRouterID added in v1.2.0

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

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

func (*GfwRuleListUsingGETParams) WithTimeout added in v1.0.0

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

func (*GfwRuleListUsingGETParams) WriteToRequest added in v1.0.0

WriteToRequest writes these params to a swagger request

type GfwRuleListUsingGETReader added in v1.0.0

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

GfwRuleListUsingGETReader is a Reader for the GfwRuleListUsingGET structure.

func (*GfwRuleListUsingGETReader) ReadResponse added in v1.0.0

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

ReadResponse reads a server response into the received o.

type GfwRuleUpdateUsingPUTBadRequest added in v1.0.0

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

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

func NewGfwRuleUpdateUsingPUTBadRequest added in v1.0.0

func NewGfwRuleUpdateUsingPUTBadRequest() *GfwRuleUpdateUsingPUTBadRequest

NewGfwRuleUpdateUsingPUTBadRequest creates a GfwRuleUpdateUsingPUTBadRequest with default headers values

func (*GfwRuleUpdateUsingPUTBadRequest) Error added in v1.0.0

func (*GfwRuleUpdateUsingPUTBadRequest) GetPayload added in v1.2.0

type GfwRuleUpdateUsingPUTCreated added in v1.1.0

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

Entity has been updated

func NewGfwRuleUpdateUsingPUTCreated added in v1.1.0

func NewGfwRuleUpdateUsingPUTCreated() *GfwRuleUpdateUsingPUTCreated

NewGfwRuleUpdateUsingPUTCreated creates a GfwRuleUpdateUsingPUTCreated with default headers values

func (*GfwRuleUpdateUsingPUTCreated) Error added in v1.1.0

func (*GfwRuleUpdateUsingPUTCreated) GetPayload added in v1.1.0

type GfwRuleUpdateUsingPUTOK added in v1.0.0

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

OK

func NewGfwRuleUpdateUsingPUTOK added in v1.0.0

func NewGfwRuleUpdateUsingPUTOK() *GfwRuleUpdateUsingPUTOK

NewGfwRuleUpdateUsingPUTOK creates a GfwRuleUpdateUsingPUTOK with default headers values

func (*GfwRuleUpdateUsingPUTOK) Error added in v1.0.0

func (o *GfwRuleUpdateUsingPUTOK) Error() string

func (*GfwRuleUpdateUsingPUTOK) GetPayload added in v1.0.0

type GfwRuleUpdateUsingPUTParams added in v1.0.0

type GfwRuleUpdateUsingPUTParams struct {

	/* GfwRule.

	   gfwRule
	*/
	GfwRule *models.GFWRule

	/* RouterID.

	   routerId
	*/
	RouterID string

	/* RuleID.

	   ruleId
	*/
	RuleID string

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

GfwRuleUpdateUsingPUTParams contains all the parameters to send to the API endpoint

for the gfw rule update using p u t operation.

Typically these are written to a http.Request.

func NewGfwRuleUpdateUsingPUTParams added in v1.0.0

func NewGfwRuleUpdateUsingPUTParams() *GfwRuleUpdateUsingPUTParams

NewGfwRuleUpdateUsingPUTParams creates a new GfwRuleUpdateUsingPUTParams 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 NewGfwRuleUpdateUsingPUTParamsWithContext added in v1.0.0

func NewGfwRuleUpdateUsingPUTParamsWithContext(ctx context.Context) *GfwRuleUpdateUsingPUTParams

NewGfwRuleUpdateUsingPUTParamsWithContext creates a new GfwRuleUpdateUsingPUTParams object with the ability to set a context for a request.

func NewGfwRuleUpdateUsingPUTParamsWithHTTPClient added in v1.0.0

func NewGfwRuleUpdateUsingPUTParamsWithHTTPClient(client *http.Client) *GfwRuleUpdateUsingPUTParams

NewGfwRuleUpdateUsingPUTParamsWithHTTPClient creates a new GfwRuleUpdateUsingPUTParams object with the ability to set a custom HTTPClient for a request.

func NewGfwRuleUpdateUsingPUTParamsWithTimeout added in v1.0.0

func NewGfwRuleUpdateUsingPUTParamsWithTimeout(timeout time.Duration) *GfwRuleUpdateUsingPUTParams

NewGfwRuleUpdateUsingPUTParamsWithTimeout creates a new GfwRuleUpdateUsingPUTParams object with the ability to set a timeout on a request.

func (*GfwRuleUpdateUsingPUTParams) SetContext added in v1.0.0

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

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

func (*GfwRuleUpdateUsingPUTParams) SetDefaults added in v1.2.4

func (o *GfwRuleUpdateUsingPUTParams) SetDefaults()

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

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

func (*GfwRuleUpdateUsingPUTParams) SetGfwRule added in v1.0.0

func (o *GfwRuleUpdateUsingPUTParams) SetGfwRule(gfwRule *models.GFWRule)

SetGfwRule adds the gfwRule to the gfw rule update using p u t params

func (*GfwRuleUpdateUsingPUTParams) SetHTTPClient added in v1.0.0

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

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

func (*GfwRuleUpdateUsingPUTParams) SetRouterID added in v1.2.0

func (o *GfwRuleUpdateUsingPUTParams) SetRouterID(routerID string)

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

func (*GfwRuleUpdateUsingPUTParams) SetRuleID added in v1.0.0

func (o *GfwRuleUpdateUsingPUTParams) SetRuleID(ruleID string)

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

func (*GfwRuleUpdateUsingPUTParams) SetTimeout added in v1.0.0

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

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

func (*GfwRuleUpdateUsingPUTParams) WithContext added in v1.0.0

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

func (*GfwRuleUpdateUsingPUTParams) WithDefaults added in v1.2.4

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

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

func (*GfwRuleUpdateUsingPUTParams) WithGfwRule added in v1.0.0

WithGfwRule adds the gfwRule to the gfw rule update using p u t params

func (*GfwRuleUpdateUsingPUTParams) WithHTTPClient added in v1.0.0

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

func (*GfwRuleUpdateUsingPUTParams) WithRouterID added in v1.2.0

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

func (*GfwRuleUpdateUsingPUTParams) WithRuleID added in v1.0.0

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

func (*GfwRuleUpdateUsingPUTParams) WithTimeout added in v1.0.0

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

func (*GfwRuleUpdateUsingPUTParams) WriteToRequest added in v1.0.0

WriteToRequest writes these params to a swagger request

type GfwRuleUpdateUsingPUTReader added in v1.0.0

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

GfwRuleUpdateUsingPUTReader is a Reader for the GfwRuleUpdateUsingPUT structure.

func (*GfwRuleUpdateUsingPUTReader) ReadResponse added in v1.0.0

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