Documentation
¶
Index ¶
- type Client
- func (a *Client) GfwRuleCreateUsingPUT(params *GfwRuleCreateUsingPUTParams) (*GfwRuleCreateUsingPUTOK, *GfwRuleCreateUsingPUTCreated, error)
- func (a *Client) GfwRuleDeleteUsingDELETE(params *GfwRuleDeleteUsingDELETEParams) (*GfwRuleDeleteUsingDELETEOK, *GfwRuleDeleteUsingDELETECreated, error)
- func (a *Client) GfwRuleGetUsingGET(params *GfwRuleGetUsingGETParams) (*GfwRuleGetUsingGETOK, error)
- func (a *Client) GfwRuleListUsingGET(params *GfwRuleListUsingGETParams) (*GfwRuleListUsingGETOK, error)
- func (a *Client) GfwRuleUpdateUsingPUT(params *GfwRuleUpdateUsingPUTParams) (*GfwRuleUpdateUsingPUTOK, *GfwRuleUpdateUsingPUTCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GfwRuleCreateUsingPUTBadRequest
- type GfwRuleCreateUsingPUTCreated
- type GfwRuleCreateUsingPUTOK
- type GfwRuleCreateUsingPUTParams
- func NewGfwRuleCreateUsingPUTParams() *GfwRuleCreateUsingPUTParams
- func NewGfwRuleCreateUsingPUTParamsWithContext(ctx context.Context) *GfwRuleCreateUsingPUTParams
- func NewGfwRuleCreateUsingPUTParamsWithHTTPClient(client *http.Client) *GfwRuleCreateUsingPUTParams
- func NewGfwRuleCreateUsingPUTParamsWithTimeout(timeout time.Duration) *GfwRuleCreateUsingPUTParams
- func (o *GfwRuleCreateUsingPUTParams) SetContext(ctx context.Context)
- func (o *GfwRuleCreateUsingPUTParams) SetGfwRule(gfwRule *models.GFWRule)
- func (o *GfwRuleCreateUsingPUTParams) SetHTTPClient(client *http.Client)
- func (o *GfwRuleCreateUsingPUTParams) SetRouterID(routerID string)
- func (o *GfwRuleCreateUsingPUTParams) SetTimeout(timeout time.Duration)
- func (o *GfwRuleCreateUsingPUTParams) WithContext(ctx context.Context) *GfwRuleCreateUsingPUTParams
- func (o *GfwRuleCreateUsingPUTParams) WithGfwRule(gfwRule *models.GFWRule) *GfwRuleCreateUsingPUTParams
- func (o *GfwRuleCreateUsingPUTParams) WithHTTPClient(client *http.Client) *GfwRuleCreateUsingPUTParams
- func (o *GfwRuleCreateUsingPUTParams) WithRouterID(routerID string) *GfwRuleCreateUsingPUTParams
- func (o *GfwRuleCreateUsingPUTParams) WithTimeout(timeout time.Duration) *GfwRuleCreateUsingPUTParams
- func (o *GfwRuleCreateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GfwRuleCreateUsingPUTReader
- type GfwRuleDeleteUsingDELETEBadRequest
- type GfwRuleDeleteUsingDELETECreated
- type GfwRuleDeleteUsingDELETEOK
- type GfwRuleDeleteUsingDELETEParams
- func NewGfwRuleDeleteUsingDELETEParams() *GfwRuleDeleteUsingDELETEParams
- func NewGfwRuleDeleteUsingDELETEParamsWithContext(ctx context.Context) *GfwRuleDeleteUsingDELETEParams
- func NewGfwRuleDeleteUsingDELETEParamsWithHTTPClient(client *http.Client) *GfwRuleDeleteUsingDELETEParams
- func NewGfwRuleDeleteUsingDELETEParamsWithTimeout(timeout time.Duration) *GfwRuleDeleteUsingDELETEParams
- func (o *GfwRuleDeleteUsingDELETEParams) SetContext(ctx context.Context)
- func (o *GfwRuleDeleteUsingDELETEParams) SetHTTPClient(client *http.Client)
- func (o *GfwRuleDeleteUsingDELETEParams) SetRouterID(routerID string)
- func (o *GfwRuleDeleteUsingDELETEParams) SetRuleID(ruleID string)
- func (o *GfwRuleDeleteUsingDELETEParams) SetTimeout(timeout time.Duration)
- func (o *GfwRuleDeleteUsingDELETEParams) WithContext(ctx context.Context) *GfwRuleDeleteUsingDELETEParams
- func (o *GfwRuleDeleteUsingDELETEParams) WithHTTPClient(client *http.Client) *GfwRuleDeleteUsingDELETEParams
- func (o *GfwRuleDeleteUsingDELETEParams) WithRouterID(routerID string) *GfwRuleDeleteUsingDELETEParams
- func (o *GfwRuleDeleteUsingDELETEParams) WithRuleID(ruleID string) *GfwRuleDeleteUsingDELETEParams
- func (o *GfwRuleDeleteUsingDELETEParams) WithTimeout(timeout time.Duration) *GfwRuleDeleteUsingDELETEParams
- func (o *GfwRuleDeleteUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GfwRuleDeleteUsingDELETEReader
- type GfwRuleGetUsingGETBadRequest
- type GfwRuleGetUsingGETNotFound
- type GfwRuleGetUsingGETOK
- type GfwRuleGetUsingGETParams
- func NewGfwRuleGetUsingGETParams() *GfwRuleGetUsingGETParams
- func NewGfwRuleGetUsingGETParamsWithContext(ctx context.Context) *GfwRuleGetUsingGETParams
- func NewGfwRuleGetUsingGETParamsWithHTTPClient(client *http.Client) *GfwRuleGetUsingGETParams
- func NewGfwRuleGetUsingGETParamsWithTimeout(timeout time.Duration) *GfwRuleGetUsingGETParams
- func (o *GfwRuleGetUsingGETParams) SetContext(ctx context.Context)
- func (o *GfwRuleGetUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GfwRuleGetUsingGETParams) SetRouterID(routerID string)
- func (o *GfwRuleGetUsingGETParams) SetRuleID(ruleID string)
- func (o *GfwRuleGetUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GfwRuleGetUsingGETParams) WithContext(ctx context.Context) *GfwRuleGetUsingGETParams
- func (o *GfwRuleGetUsingGETParams) WithHTTPClient(client *http.Client) *GfwRuleGetUsingGETParams
- func (o *GfwRuleGetUsingGETParams) WithRouterID(routerID string) *GfwRuleGetUsingGETParams
- func (o *GfwRuleGetUsingGETParams) WithRuleID(ruleID string) *GfwRuleGetUsingGETParams
- func (o *GfwRuleGetUsingGETParams) WithTimeout(timeout time.Duration) *GfwRuleGetUsingGETParams
- func (o *GfwRuleGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GfwRuleGetUsingGETReader
- type GfwRuleListUsingGETBadRequest
- type GfwRuleListUsingGETOK
- type GfwRuleListUsingGETParams
- func NewGfwRuleListUsingGETParams() *GfwRuleListUsingGETParams
- func NewGfwRuleListUsingGETParamsWithContext(ctx context.Context) *GfwRuleListUsingGETParams
- func NewGfwRuleListUsingGETParamsWithHTTPClient(client *http.Client) *GfwRuleListUsingGETParams
- func NewGfwRuleListUsingGETParamsWithTimeout(timeout time.Duration) *GfwRuleListUsingGETParams
- func (o *GfwRuleListUsingGETParams) SetContext(ctx context.Context)
- func (o *GfwRuleListUsingGETParams) SetDisplayName(displayName *string)
- func (o *GfwRuleListUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GfwRuleListUsingGETParams) SetRouterID(routerID string)
- func (o *GfwRuleListUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GfwRuleListUsingGETParams) WithContext(ctx context.Context) *GfwRuleListUsingGETParams
- func (o *GfwRuleListUsingGETParams) WithDisplayName(displayName *string) *GfwRuleListUsingGETParams
- func (o *GfwRuleListUsingGETParams) WithHTTPClient(client *http.Client) *GfwRuleListUsingGETParams
- func (o *GfwRuleListUsingGETParams) WithRouterID(routerID string) *GfwRuleListUsingGETParams
- func (o *GfwRuleListUsingGETParams) WithTimeout(timeout time.Duration) *GfwRuleListUsingGETParams
- func (o *GfwRuleListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GfwRuleListUsingGETReader
- type GfwRuleUpdateUsingPUTBadRequest
- type GfwRuleUpdateUsingPUTCreated
- type GfwRuleUpdateUsingPUTOK
- type GfwRuleUpdateUsingPUTParams
- func NewGfwRuleUpdateUsingPUTParams() *GfwRuleUpdateUsingPUTParams
- func NewGfwRuleUpdateUsingPUTParamsWithContext(ctx context.Context) *GfwRuleUpdateUsingPUTParams
- func NewGfwRuleUpdateUsingPUTParamsWithHTTPClient(client *http.Client) *GfwRuleUpdateUsingPUTParams
- func NewGfwRuleUpdateUsingPUTParamsWithTimeout(timeout time.Duration) *GfwRuleUpdateUsingPUTParams
- func (o *GfwRuleUpdateUsingPUTParams) SetContext(ctx context.Context)
- func (o *GfwRuleUpdateUsingPUTParams) SetGfwRule(gfwRule *models.GFWRule)
- func (o *GfwRuleUpdateUsingPUTParams) SetHTTPClient(client *http.Client)
- func (o *GfwRuleUpdateUsingPUTParams) SetRouterID(routerID string)
- func (o *GfwRuleUpdateUsingPUTParams) SetRuleID(ruleID string)
- func (o *GfwRuleUpdateUsingPUTParams) SetTimeout(timeout time.Duration)
- func (o *GfwRuleUpdateUsingPUTParams) WithContext(ctx context.Context) *GfwRuleUpdateUsingPUTParams
- func (o *GfwRuleUpdateUsingPUTParams) WithGfwRule(gfwRule *models.GFWRule) *GfwRuleUpdateUsingPUTParams
- func (o *GfwRuleUpdateUsingPUTParams) WithHTTPClient(client *http.Client) *GfwRuleUpdateUsingPUTParams
- func (o *GfwRuleUpdateUsingPUTParams) WithRouterID(routerID string) *GfwRuleUpdateUsingPUTParams
- func (o *GfwRuleUpdateUsingPUTParams) WithRuleID(ruleID string) *GfwRuleUpdateUsingPUTParams
- func (o *GfwRuleUpdateUsingPUTParams) WithTimeout(timeout time.Duration) *GfwRuleUpdateUsingPUTParams
- func (o *GfwRuleUpdateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GfwRuleUpdateUsingPUTReader
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
func (a *Client) GfwRuleCreateUsingPUT(params *GfwRuleCreateUsingPUTParams) (*GfwRuleCreateUsingPUTOK, *GfwRuleCreateUsingPUTCreated, error)
GfwRuleCreateUsingPUT creates
Create firewall rule (south-north) in NSX-T
func (*Client) GfwRuleDeleteUsingDELETE ¶ added in v1.0.0
func (a *Client) GfwRuleDeleteUsingDELETE(params *GfwRuleDeleteUsingDELETEParams) (*GfwRuleDeleteUsingDELETEOK, *GfwRuleDeleteUsingDELETECreated, error)
GfwRuleDeleteUsingDELETE deletes
Delete firewall rule (south-north) from NSX-T
func (*Client) GfwRuleGetUsingGET ¶ added in v1.0.0
func (a *Client) GfwRuleGetUsingGET(params *GfwRuleGetUsingGETParams) (*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) (*GfwRuleListUsingGETOK, error)
GfwRuleListUsingGET lists
List firewall rules (south-north) from NSX-T
func (*Client) GfwRuleUpdateUsingPUT ¶ added in v1.0.0
func (a *Client) GfwRuleUpdateUsingPUT(params *GfwRuleUpdateUsingPUTParams) (*GfwRuleUpdateUsingPUTOK, *GfwRuleUpdateUsingPUTCreated, error)
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 ClientService ¶
type ClientService interface { GfwRuleCreateUsingPUT(params *GfwRuleCreateUsingPUTParams) (*GfwRuleCreateUsingPUTOK, *GfwRuleCreateUsingPUTCreated, error) GfwRuleDeleteUsingDELETE(params *GfwRuleDeleteUsingDELETEParams) (*GfwRuleDeleteUsingDELETEOK, *GfwRuleDeleteUsingDELETECreated, error) GfwRuleGetUsingGET(params *GfwRuleGetUsingGETParams) (*GfwRuleGetUsingGETOK, error) GfwRuleListUsingGET(params *GfwRuleListUsingGETParams) (*GfwRuleListUsingGETOK, error) GfwRuleUpdateUsingPUT(params *GfwRuleUpdateUsingPUTParams) (*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 handles this case 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 (o *GfwRuleCreateUsingPUTBadRequest) Error() string
func (*GfwRuleCreateUsingPUTBadRequest) GetPayload ¶ added in v1.2.0
func (o *GfwRuleCreateUsingPUTBadRequest) GetPayload() *models.ProxyResponseMessage
type GfwRuleCreateUsingPUTCreated ¶ added in v1.0.0
type GfwRuleCreateUsingPUTCreated struct {
Payload *models.CreateGFWRuleResponse
}
GfwRuleCreateUsingPUTCreated handles this case 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 (o *GfwRuleCreateUsingPUTCreated) Error() string
func (*GfwRuleCreateUsingPUTCreated) GetPayload ¶ added in v1.0.0
func (o *GfwRuleCreateUsingPUTCreated) GetPayload() *models.CreateGFWRuleResponse
type GfwRuleCreateUsingPUTOK ¶ added in v1.0.0
type GfwRuleCreateUsingPUTOK struct {
Payload *models.CreateGFWRuleResponse
}
GfwRuleCreateUsingPUTOK handles this case 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
func (o *GfwRuleCreateUsingPUTOK) GetPayload() *models.CreateGFWRuleResponse
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 values initialized.
func NewGfwRuleCreateUsingPUTParamsWithContext ¶ added in v1.0.0
func NewGfwRuleCreateUsingPUTParamsWithContext(ctx context.Context) *GfwRuleCreateUsingPUTParams
NewGfwRuleCreateUsingPUTParamsWithContext creates a new GfwRuleCreateUsingPUTParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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
func (o *GfwRuleCreateUsingPUTParams) WithContext(ctx context.Context) *GfwRuleCreateUsingPUTParams
WithContext adds the context to the gfw rule create using p u t params
func (*GfwRuleCreateUsingPUTParams) WithGfwRule ¶ added in v1.0.0
func (o *GfwRuleCreateUsingPUTParams) WithGfwRule(gfwRule *models.GFWRule) *GfwRuleCreateUsingPUTParams
WithGfwRule adds the gfwRule to the gfw rule create using p u t params
func (*GfwRuleCreateUsingPUTParams) WithHTTPClient ¶ added in v1.0.0
func (o *GfwRuleCreateUsingPUTParams) WithHTTPClient(client *http.Client) *GfwRuleCreateUsingPUTParams
WithHTTPClient adds the HTTPClient to the gfw rule create using p u t params
func (*GfwRuleCreateUsingPUTParams) WithRouterID ¶ added in v1.2.0
func (o *GfwRuleCreateUsingPUTParams) WithRouterID(routerID string) *GfwRuleCreateUsingPUTParams
WithRouterID adds the routerID to the gfw rule create using p u t params
func (*GfwRuleCreateUsingPUTParams) WithTimeout ¶ added in v1.0.0
func (o *GfwRuleCreateUsingPUTParams) WithTimeout(timeout time.Duration) *GfwRuleCreateUsingPUTParams
WithTimeout adds the timeout to the gfw rule create using p u t params
func (*GfwRuleCreateUsingPUTParams) WriteToRequest ¶ added in v1.0.0
func (o *GfwRuleCreateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 handles this case 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 (o *GfwRuleDeleteUsingDELETEBadRequest) Error() string
func (*GfwRuleDeleteUsingDELETEBadRequest) GetPayload ¶ added in v1.2.0
func (o *GfwRuleDeleteUsingDELETEBadRequest) GetPayload() *models.ProxyResponseMessage
type GfwRuleDeleteUsingDELETECreated ¶ added in v1.1.0
type GfwRuleDeleteUsingDELETECreated struct {
Payload *models.DeleteGFWRuleResponse
}
GfwRuleDeleteUsingDELETECreated handles this case 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 (o *GfwRuleDeleteUsingDELETECreated) Error() string
func (*GfwRuleDeleteUsingDELETECreated) GetPayload ¶ added in v1.1.0
func (o *GfwRuleDeleteUsingDELETECreated) GetPayload() *models.DeleteGFWRuleResponse
type GfwRuleDeleteUsingDELETEOK ¶ added in v1.0.0
type GfwRuleDeleteUsingDELETEOK struct {
Payload *models.DeleteGFWRuleResponse
}
GfwRuleDeleteUsingDELETEOK handles this case 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 (o *GfwRuleDeleteUsingDELETEOK) Error() string
func (*GfwRuleDeleteUsingDELETEOK) GetPayload ¶ added in v1.0.0
func (o *GfwRuleDeleteUsingDELETEOK) GetPayload() *models.DeleteGFWRuleResponse
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 values initialized.
func NewGfwRuleDeleteUsingDELETEParamsWithContext ¶ added in v1.0.0
func NewGfwRuleDeleteUsingDELETEParamsWithContext(ctx context.Context) *GfwRuleDeleteUsingDELETEParams
NewGfwRuleDeleteUsingDELETEParamsWithContext creates a new GfwRuleDeleteUsingDELETEParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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
func (o *GfwRuleDeleteUsingDELETEParams) WithContext(ctx context.Context) *GfwRuleDeleteUsingDELETEParams
WithContext adds the context to the gfw rule delete using d e l e t e params
func (*GfwRuleDeleteUsingDELETEParams) WithHTTPClient ¶ added in v1.0.0
func (o *GfwRuleDeleteUsingDELETEParams) WithHTTPClient(client *http.Client) *GfwRuleDeleteUsingDELETEParams
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
func (o *GfwRuleDeleteUsingDELETEParams) WithRouterID(routerID string) *GfwRuleDeleteUsingDELETEParams
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
func (o *GfwRuleDeleteUsingDELETEParams) WithRuleID(ruleID string) *GfwRuleDeleteUsingDELETEParams
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
func (o *GfwRuleDeleteUsingDELETEParams) WithTimeout(timeout time.Duration) *GfwRuleDeleteUsingDELETEParams
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
func (o *GfwRuleDeleteUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 handles this case 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 (o *GfwRuleGetUsingGETBadRequest) Error() string
func (*GfwRuleGetUsingGETBadRequest) GetPayload ¶ added in v1.2.0
func (o *GfwRuleGetUsingGETBadRequest) GetPayload() *models.ProxyResponseMessage
type GfwRuleGetUsingGETNotFound ¶ added in v1.0.0
type GfwRuleGetUsingGETNotFound struct { }
GfwRuleGetUsingGETNotFound handles this case 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
func (o *GfwRuleGetUsingGETNotFound) Error() string
type GfwRuleGetUsingGETOK ¶ added in v1.0.0
type GfwRuleGetUsingGETOK struct {
Payload *models.GFWRuleGetResponse
}
GfwRuleGetUsingGETOK handles this case 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
func (o *GfwRuleGetUsingGETOK) GetPayload() *models.GFWRuleGetResponse
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 values initialized.
func NewGfwRuleGetUsingGETParamsWithContext ¶ added in v1.0.0
func NewGfwRuleGetUsingGETParamsWithContext(ctx context.Context) *GfwRuleGetUsingGETParams
NewGfwRuleGetUsingGETParamsWithContext creates a new GfwRuleGetUsingGETParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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
func (o *GfwRuleGetUsingGETParams) WithContext(ctx context.Context) *GfwRuleGetUsingGETParams
WithContext adds the context to the gfw rule get using g e t params
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
func (o *GfwRuleGetUsingGETParams) WithRuleID(ruleID string) *GfwRuleGetUsingGETParams
WithRuleID adds the ruleID to the gfw rule get using g e t params
func (*GfwRuleGetUsingGETParams) WithTimeout ¶ added in v1.0.0
func (o *GfwRuleGetUsingGETParams) WithTimeout(timeout time.Duration) *GfwRuleGetUsingGETParams
WithTimeout adds the timeout to the gfw rule get using g e t params
func (*GfwRuleGetUsingGETParams) WriteToRequest ¶ added in v1.0.0
func (o *GfwRuleGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 handles this case 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 (o *GfwRuleListUsingGETBadRequest) Error() string
func (*GfwRuleListUsingGETBadRequest) GetPayload ¶ added in v1.2.0
func (o *GfwRuleListUsingGETBadRequest) GetPayload() *models.ProxyResponseMessage
type GfwRuleListUsingGETOK ¶ added in v1.0.0
type GfwRuleListUsingGETOK struct {
Payload *models.GFWRuleListResponse
}
GfwRuleListUsingGETOK handles this case 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
func (o *GfwRuleListUsingGETOK) GetPayload() *models.GFWRuleListResponse
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 values initialized.
func NewGfwRuleListUsingGETParamsWithContext ¶ added in v1.0.0
func NewGfwRuleListUsingGETParamsWithContext(ctx context.Context) *GfwRuleListUsingGETParams
NewGfwRuleListUsingGETParamsWithContext creates a new GfwRuleListUsingGETParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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
func (o *GfwRuleListUsingGETParams) WithContext(ctx context.Context) *GfwRuleListUsingGETParams
WithContext adds the context to the gfw rule list using g e t params
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
func (o *GfwRuleListUsingGETParams) WithTimeout(timeout time.Duration) *GfwRuleListUsingGETParams
WithTimeout adds the timeout to the gfw rule list using g e t params
func (*GfwRuleListUsingGETParams) WriteToRequest ¶ added in v1.0.0
func (o *GfwRuleListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 handles this case 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 (o *GfwRuleUpdateUsingPUTBadRequest) Error() string
func (*GfwRuleUpdateUsingPUTBadRequest) GetPayload ¶ added in v1.2.0
func (o *GfwRuleUpdateUsingPUTBadRequest) GetPayload() *models.ProxyResponseMessage
type GfwRuleUpdateUsingPUTCreated ¶ added in v1.1.0
type GfwRuleUpdateUsingPUTCreated struct {
Payload *models.UpdateGFWRuleResponse
}
GfwRuleUpdateUsingPUTCreated handles this case 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 (o *GfwRuleUpdateUsingPUTCreated) Error() string
func (*GfwRuleUpdateUsingPUTCreated) GetPayload ¶ added in v1.1.0
func (o *GfwRuleUpdateUsingPUTCreated) GetPayload() *models.UpdateGFWRuleResponse
type GfwRuleUpdateUsingPUTOK ¶ added in v1.0.0
type GfwRuleUpdateUsingPUTOK struct {
Payload *models.UpdateGFWRuleResponse
}
GfwRuleUpdateUsingPUTOK handles this case 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
func (o *GfwRuleUpdateUsingPUTOK) GetPayload() *models.UpdateGFWRuleResponse
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 values initialized.
func NewGfwRuleUpdateUsingPUTParamsWithContext ¶ added in v1.0.0
func NewGfwRuleUpdateUsingPUTParamsWithContext(ctx context.Context) *GfwRuleUpdateUsingPUTParams
NewGfwRuleUpdateUsingPUTParamsWithContext creates a new GfwRuleUpdateUsingPUTParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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
func (o *GfwRuleUpdateUsingPUTParams) WithContext(ctx context.Context) *GfwRuleUpdateUsingPUTParams
WithContext adds the context to the gfw rule update using p u t params
func (*GfwRuleUpdateUsingPUTParams) WithGfwRule ¶ added in v1.0.0
func (o *GfwRuleUpdateUsingPUTParams) WithGfwRule(gfwRule *models.GFWRule) *GfwRuleUpdateUsingPUTParams
WithGfwRule adds the gfwRule to the gfw rule update using p u t params
func (*GfwRuleUpdateUsingPUTParams) WithHTTPClient ¶ added in v1.0.0
func (o *GfwRuleUpdateUsingPUTParams) WithHTTPClient(client *http.Client) *GfwRuleUpdateUsingPUTParams
WithHTTPClient adds the HTTPClient to the gfw rule update using p u t params
func (*GfwRuleUpdateUsingPUTParams) WithRouterID ¶ added in v1.2.0
func (o *GfwRuleUpdateUsingPUTParams) WithRouterID(routerID string) *GfwRuleUpdateUsingPUTParams
WithRouterID adds the routerID to the gfw rule update using p u t params
func (*GfwRuleUpdateUsingPUTParams) WithRuleID ¶ added in v1.0.0
func (o *GfwRuleUpdateUsingPUTParams) WithRuleID(ruleID string) *GfwRuleUpdateUsingPUTParams
WithRuleID adds the ruleID to the gfw rule update using p u t params
func (*GfwRuleUpdateUsingPUTParams) WithTimeout ¶ added in v1.0.0
func (o *GfwRuleUpdateUsingPUTParams) WithTimeout(timeout time.Duration) *GfwRuleUpdateUsingPUTParams
WithTimeout adds the timeout to the gfw rule update using p u t params
func (*GfwRuleUpdateUsingPUTParams) WriteToRequest ¶ added in v1.0.0
func (o *GfwRuleUpdateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- firewall_rulessn_client.go
- gfw_rule_create_using_p_u_t_parameters.go
- gfw_rule_create_using_p_u_t_responses.go
- gfw_rule_delete_using_d_e_l_e_t_e_parameters.go
- gfw_rule_delete_using_d_e_l_e_t_e_responses.go
- gfw_rule_get_using_g_e_t_parameters.go
- gfw_rule_get_using_g_e_t_responses.go
- gfw_rule_list_using_g_e_t_parameters.go
- gfw_rule_list_using_g_e_t_responses.go
- gfw_rule_update_using_p_u_t_parameters.go
- gfw_rule_update_using_p_u_t_responses.go