Documentation
¶
Index ¶
- type Client
- func (a *Client) DfwRuleCreateUsingPUT(params *DfwRuleCreateUsingPUTParams, opts ...ClientOption) (*DfwRuleCreateUsingPUTOK, *DfwRuleCreateUsingPUTCreated, error)
- func (a *Client) DfwRuleDeleteUsingDELETE(params *DfwRuleDeleteUsingDELETEParams, opts ...ClientOption) (*DfwRuleDeleteUsingDELETEOK, *DfwRuleDeleteUsingDELETECreated, error)
- func (a *Client) DfwRuleGetUsingGET(params *DfwRuleGetUsingGETParams, opts ...ClientOption) (*DfwRuleGetUsingGETOK, error)
- func (a *Client) DfwRuleListUsingGET(params *DfwRuleListUsingGETParams, opts ...ClientOption) (*DfwRuleListUsingGETOK, error)
- func (a *Client) DfwRuleUpdateUsingPUT(params *DfwRuleUpdateUsingPUTParams, opts ...ClientOption) (*DfwRuleUpdateUsingPUTOK, *DfwRuleUpdateUsingPUTCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DfwRuleCreateUsingPUTBadRequest
- type DfwRuleCreateUsingPUTCreated
- type DfwRuleCreateUsingPUTOK
- type DfwRuleCreateUsingPUTParams
- func NewDfwRuleCreateUsingPUTParams() *DfwRuleCreateUsingPUTParams
- func NewDfwRuleCreateUsingPUTParamsWithContext(ctx context.Context) *DfwRuleCreateUsingPUTParams
- func NewDfwRuleCreateUsingPUTParamsWithHTTPClient(client *http.Client) *DfwRuleCreateUsingPUTParams
- func NewDfwRuleCreateUsingPUTParamsWithTimeout(timeout time.Duration) *DfwRuleCreateUsingPUTParams
- func (o *DfwRuleCreateUsingPUTParams) SetContext(ctx context.Context)
- func (o *DfwRuleCreateUsingPUTParams) SetDefaults()
- func (o *DfwRuleCreateUsingPUTParams) SetDfwRule(dfwRule *models.DFWRule)
- func (o *DfwRuleCreateUsingPUTParams) SetHTTPClient(client *http.Client)
- func (o *DfwRuleCreateUsingPUTParams) SetRouterID(routerID string)
- func (o *DfwRuleCreateUsingPUTParams) SetTimeout(timeout time.Duration)
- func (o *DfwRuleCreateUsingPUTParams) WithContext(ctx context.Context) *DfwRuleCreateUsingPUTParams
- func (o *DfwRuleCreateUsingPUTParams) WithDefaults() *DfwRuleCreateUsingPUTParams
- func (o *DfwRuleCreateUsingPUTParams) WithDfwRule(dfwRule *models.DFWRule) *DfwRuleCreateUsingPUTParams
- func (o *DfwRuleCreateUsingPUTParams) WithHTTPClient(client *http.Client) *DfwRuleCreateUsingPUTParams
- func (o *DfwRuleCreateUsingPUTParams) WithRouterID(routerID string) *DfwRuleCreateUsingPUTParams
- func (o *DfwRuleCreateUsingPUTParams) WithTimeout(timeout time.Duration) *DfwRuleCreateUsingPUTParams
- func (o *DfwRuleCreateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DfwRuleCreateUsingPUTReader
- type DfwRuleDeleteUsingDELETEBadRequest
- type DfwRuleDeleteUsingDELETECreated
- type DfwRuleDeleteUsingDELETEOK
- type DfwRuleDeleteUsingDELETEParams
- func NewDfwRuleDeleteUsingDELETEParams() *DfwRuleDeleteUsingDELETEParams
- func NewDfwRuleDeleteUsingDELETEParamsWithContext(ctx context.Context) *DfwRuleDeleteUsingDELETEParams
- func NewDfwRuleDeleteUsingDELETEParamsWithHTTPClient(client *http.Client) *DfwRuleDeleteUsingDELETEParams
- func NewDfwRuleDeleteUsingDELETEParamsWithTimeout(timeout time.Duration) *DfwRuleDeleteUsingDELETEParams
- func (o *DfwRuleDeleteUsingDELETEParams) SetContext(ctx context.Context)
- func (o *DfwRuleDeleteUsingDELETEParams) SetDefaults()
- func (o *DfwRuleDeleteUsingDELETEParams) SetHTTPClient(client *http.Client)
- func (o *DfwRuleDeleteUsingDELETEParams) SetRouterID(routerID string)
- func (o *DfwRuleDeleteUsingDELETEParams) SetRuleID(ruleID string)
- func (o *DfwRuleDeleteUsingDELETEParams) SetTimeout(timeout time.Duration)
- func (o *DfwRuleDeleteUsingDELETEParams) WithContext(ctx context.Context) *DfwRuleDeleteUsingDELETEParams
- func (o *DfwRuleDeleteUsingDELETEParams) WithDefaults() *DfwRuleDeleteUsingDELETEParams
- func (o *DfwRuleDeleteUsingDELETEParams) WithHTTPClient(client *http.Client) *DfwRuleDeleteUsingDELETEParams
- func (o *DfwRuleDeleteUsingDELETEParams) WithRouterID(routerID string) *DfwRuleDeleteUsingDELETEParams
- func (o *DfwRuleDeleteUsingDELETEParams) WithRuleID(ruleID string) *DfwRuleDeleteUsingDELETEParams
- func (o *DfwRuleDeleteUsingDELETEParams) WithTimeout(timeout time.Duration) *DfwRuleDeleteUsingDELETEParams
- func (o *DfwRuleDeleteUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DfwRuleDeleteUsingDELETEReader
- type DfwRuleGetUsingGETBadRequest
- type DfwRuleGetUsingGETNotFound
- type DfwRuleGetUsingGETOK
- type DfwRuleGetUsingGETParams
- func NewDfwRuleGetUsingGETParams() *DfwRuleGetUsingGETParams
- func NewDfwRuleGetUsingGETParamsWithContext(ctx context.Context) *DfwRuleGetUsingGETParams
- func NewDfwRuleGetUsingGETParamsWithHTTPClient(client *http.Client) *DfwRuleGetUsingGETParams
- func NewDfwRuleGetUsingGETParamsWithTimeout(timeout time.Duration) *DfwRuleGetUsingGETParams
- func (o *DfwRuleGetUsingGETParams) SetContext(ctx context.Context)
- func (o *DfwRuleGetUsingGETParams) SetDefaults()
- func (o *DfwRuleGetUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *DfwRuleGetUsingGETParams) SetRouterID(routerID string)
- func (o *DfwRuleGetUsingGETParams) SetRuleID(ruleID string)
- func (o *DfwRuleGetUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *DfwRuleGetUsingGETParams) WithContext(ctx context.Context) *DfwRuleGetUsingGETParams
- func (o *DfwRuleGetUsingGETParams) WithDefaults() *DfwRuleGetUsingGETParams
- func (o *DfwRuleGetUsingGETParams) WithHTTPClient(client *http.Client) *DfwRuleGetUsingGETParams
- func (o *DfwRuleGetUsingGETParams) WithRouterID(routerID string) *DfwRuleGetUsingGETParams
- func (o *DfwRuleGetUsingGETParams) WithRuleID(ruleID string) *DfwRuleGetUsingGETParams
- func (o *DfwRuleGetUsingGETParams) WithTimeout(timeout time.Duration) *DfwRuleGetUsingGETParams
- func (o *DfwRuleGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DfwRuleGetUsingGETReader
- type DfwRuleListUsingGETBadRequest
- type DfwRuleListUsingGETOK
- type DfwRuleListUsingGETParams
- func NewDfwRuleListUsingGETParams() *DfwRuleListUsingGETParams
- func NewDfwRuleListUsingGETParamsWithContext(ctx context.Context) *DfwRuleListUsingGETParams
- func NewDfwRuleListUsingGETParamsWithHTTPClient(client *http.Client) *DfwRuleListUsingGETParams
- func NewDfwRuleListUsingGETParamsWithTimeout(timeout time.Duration) *DfwRuleListUsingGETParams
- func (o *DfwRuleListUsingGETParams) SetContext(ctx context.Context)
- func (o *DfwRuleListUsingGETParams) SetDefaults()
- func (o *DfwRuleListUsingGETParams) SetDisplayName(displayName *string)
- func (o *DfwRuleListUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *DfwRuleListUsingGETParams) SetRouterID(routerID string)
- func (o *DfwRuleListUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *DfwRuleListUsingGETParams) WithContext(ctx context.Context) *DfwRuleListUsingGETParams
- func (o *DfwRuleListUsingGETParams) WithDefaults() *DfwRuleListUsingGETParams
- func (o *DfwRuleListUsingGETParams) WithDisplayName(displayName *string) *DfwRuleListUsingGETParams
- func (o *DfwRuleListUsingGETParams) WithHTTPClient(client *http.Client) *DfwRuleListUsingGETParams
- func (o *DfwRuleListUsingGETParams) WithRouterID(routerID string) *DfwRuleListUsingGETParams
- func (o *DfwRuleListUsingGETParams) WithTimeout(timeout time.Duration) *DfwRuleListUsingGETParams
- func (o *DfwRuleListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DfwRuleListUsingGETReader
- type DfwRuleUpdateUsingPUTBadRequest
- type DfwRuleUpdateUsingPUTCreated
- type DfwRuleUpdateUsingPUTOK
- type DfwRuleUpdateUsingPUTParams
- func NewDfwRuleUpdateUsingPUTParams() *DfwRuleUpdateUsingPUTParams
- func NewDfwRuleUpdateUsingPUTParamsWithContext(ctx context.Context) *DfwRuleUpdateUsingPUTParams
- func NewDfwRuleUpdateUsingPUTParamsWithHTTPClient(client *http.Client) *DfwRuleUpdateUsingPUTParams
- func NewDfwRuleUpdateUsingPUTParamsWithTimeout(timeout time.Duration) *DfwRuleUpdateUsingPUTParams
- func (o *DfwRuleUpdateUsingPUTParams) SetContext(ctx context.Context)
- func (o *DfwRuleUpdateUsingPUTParams) SetDefaults()
- func (o *DfwRuleUpdateUsingPUTParams) SetDfwRule(dfwRule *models.DFWRule)
- func (o *DfwRuleUpdateUsingPUTParams) SetHTTPClient(client *http.Client)
- func (o *DfwRuleUpdateUsingPUTParams) SetRouterID(routerID string)
- func (o *DfwRuleUpdateUsingPUTParams) SetRuleID(ruleID string)
- func (o *DfwRuleUpdateUsingPUTParams) SetTimeout(timeout time.Duration)
- func (o *DfwRuleUpdateUsingPUTParams) WithContext(ctx context.Context) *DfwRuleUpdateUsingPUTParams
- func (o *DfwRuleUpdateUsingPUTParams) WithDefaults() *DfwRuleUpdateUsingPUTParams
- func (o *DfwRuleUpdateUsingPUTParams) WithDfwRule(dfwRule *models.DFWRule) *DfwRuleUpdateUsingPUTParams
- func (o *DfwRuleUpdateUsingPUTParams) WithHTTPClient(client *http.Client) *DfwRuleUpdateUsingPUTParams
- func (o *DfwRuleUpdateUsingPUTParams) WithRouterID(routerID string) *DfwRuleUpdateUsingPUTParams
- func (o *DfwRuleUpdateUsingPUTParams) WithRuleID(ruleID string) *DfwRuleUpdateUsingPUTParams
- func (o *DfwRuleUpdateUsingPUTParams) WithTimeout(timeout time.Duration) *DfwRuleUpdateUsingPUTParams
- func (o *DfwRuleUpdateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DfwRuleUpdateUsingPUTReader
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
func (a *Client) DfwRuleCreateUsingPUT(params *DfwRuleCreateUsingPUTParams, opts ...ClientOption) (*DfwRuleCreateUsingPUTOK, *DfwRuleCreateUsingPUTCreated, error)
DfwRuleCreateUsingPUT creates
Create firewall rule (east-west) in NSX-T
func (*Client) DfwRuleDeleteUsingDELETE ¶ added in v1.0.0
func (a *Client) DfwRuleDeleteUsingDELETE(params *DfwRuleDeleteUsingDELETEParams, opts ...ClientOption) (*DfwRuleDeleteUsingDELETEOK, *DfwRuleDeleteUsingDELETECreated, error)
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
func (a *Client) DfwRuleUpdateUsingPUT(params *DfwRuleUpdateUsingPUTParams, opts ...ClientOption) (*DfwRuleUpdateUsingPUTOK, *DfwRuleUpdateUsingPUTCreated, error)
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 (o *DfwRuleCreateUsingPUTBadRequest) Error() string
func (*DfwRuleCreateUsingPUTBadRequest) GetPayload ¶ added in v1.2.0
func (o *DfwRuleCreateUsingPUTBadRequest) GetPayload() *models.ProxyResponseMessage
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 (o *DfwRuleCreateUsingPUTCreated) Error() string
func (*DfwRuleCreateUsingPUTCreated) GetPayload ¶ added in v1.0.0
func (o *DfwRuleCreateUsingPUTCreated) GetPayload() *models.CreateDFWRuleResponse
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
func (o *DfwRuleCreateUsingPUTOK) GetPayload() *models.CreateDFWRuleResponse
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
func (o *DfwRuleCreateUsingPUTParams) WithContext(ctx context.Context) *DfwRuleCreateUsingPUTParams
WithContext adds the context to the dfw rule create using p u t params
func (*DfwRuleCreateUsingPUTParams) WithDefaults ¶ added in v1.2.4
func (o *DfwRuleCreateUsingPUTParams) WithDefaults() *DfwRuleCreateUsingPUTParams
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
func (o *DfwRuleCreateUsingPUTParams) WithDfwRule(dfwRule *models.DFWRule) *DfwRuleCreateUsingPUTParams
WithDfwRule adds the dfwRule to the dfw rule create using p u t params
func (*DfwRuleCreateUsingPUTParams) WithHTTPClient ¶ added in v1.0.0
func (o *DfwRuleCreateUsingPUTParams) WithHTTPClient(client *http.Client) *DfwRuleCreateUsingPUTParams
WithHTTPClient adds the HTTPClient to the dfw rule create using p u t params
func (*DfwRuleCreateUsingPUTParams) WithRouterID ¶ added in v1.2.0
func (o *DfwRuleCreateUsingPUTParams) WithRouterID(routerID string) *DfwRuleCreateUsingPUTParams
WithRouterID adds the routerID to the dfw rule create using p u t params
func (*DfwRuleCreateUsingPUTParams) WithTimeout ¶ added in v1.0.0
func (o *DfwRuleCreateUsingPUTParams) WithTimeout(timeout time.Duration) *DfwRuleCreateUsingPUTParams
WithTimeout adds the timeout to the dfw rule create using p u t params
func (*DfwRuleCreateUsingPUTParams) WriteToRequest ¶ added in v1.0.0
func (o *DfwRuleCreateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *DfwRuleDeleteUsingDELETEBadRequest) Error() string
func (*DfwRuleDeleteUsingDELETEBadRequest) GetPayload ¶ added in v1.2.0
func (o *DfwRuleDeleteUsingDELETEBadRequest) GetPayload() *models.ProxyResponseMessage
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 (o *DfwRuleDeleteUsingDELETECreated) Error() string
func (*DfwRuleDeleteUsingDELETECreated) GetPayload ¶ added in v1.1.0
func (o *DfwRuleDeleteUsingDELETECreated) GetPayload() *models.DeleteDFWRuleResponse
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 (o *DfwRuleDeleteUsingDELETEOK) Error() string
func (*DfwRuleDeleteUsingDELETEOK) GetPayload ¶ added in v1.0.0
func (o *DfwRuleDeleteUsingDELETEOK) GetPayload() *models.DeleteDFWRuleResponse
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
func (o *DfwRuleDeleteUsingDELETEParams) WithContext(ctx context.Context) *DfwRuleDeleteUsingDELETEParams
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
func (o *DfwRuleDeleteUsingDELETEParams) WithDefaults() *DfwRuleDeleteUsingDELETEParams
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
func (o *DfwRuleDeleteUsingDELETEParams) WithHTTPClient(client *http.Client) *DfwRuleDeleteUsingDELETEParams
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
func (o *DfwRuleDeleteUsingDELETEParams) WithRouterID(routerID string) *DfwRuleDeleteUsingDELETEParams
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
func (o *DfwRuleDeleteUsingDELETEParams) WithRuleID(ruleID string) *DfwRuleDeleteUsingDELETEParams
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
func (o *DfwRuleDeleteUsingDELETEParams) WithTimeout(timeout time.Duration) *DfwRuleDeleteUsingDELETEParams
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
func (o *DfwRuleDeleteUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *DfwRuleGetUsingGETBadRequest) Error() string
func (*DfwRuleGetUsingGETBadRequest) GetPayload ¶ added in v1.2.0
func (o *DfwRuleGetUsingGETBadRequest) GetPayload() *models.ProxyResponseMessage
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
func (o *DfwRuleGetUsingGETNotFound) Error() string
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
func (o *DfwRuleGetUsingGETOK) GetPayload() *models.DFWRuleGetResponse
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
func (o *DfwRuleGetUsingGETParams) WithContext(ctx context.Context) *DfwRuleGetUsingGETParams
WithContext adds the context to the dfw rule get using g e t params
func (*DfwRuleGetUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *DfwRuleGetUsingGETParams) WithDefaults() *DfwRuleGetUsingGETParams
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
func (o *DfwRuleGetUsingGETParams) WithRuleID(ruleID string) *DfwRuleGetUsingGETParams
WithRuleID adds the ruleID to the dfw rule get using g e t params
func (*DfwRuleGetUsingGETParams) WithTimeout ¶ added in v1.0.0
func (o *DfwRuleGetUsingGETParams) WithTimeout(timeout time.Duration) *DfwRuleGetUsingGETParams
WithTimeout adds the timeout to the dfw rule get using g e t params
func (*DfwRuleGetUsingGETParams) WriteToRequest ¶ added in v1.0.0
func (o *DfwRuleGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *DfwRuleListUsingGETBadRequest) Error() string
func (*DfwRuleListUsingGETBadRequest) GetPayload ¶ added in v1.2.0
func (o *DfwRuleListUsingGETBadRequest) GetPayload() *models.ProxyResponseMessage
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
func (o *DfwRuleListUsingGETOK) GetPayload() *models.DFWRuleListResponse
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
func (o *DfwRuleListUsingGETParams) WithContext(ctx context.Context) *DfwRuleListUsingGETParams
WithContext adds the context to the dfw rule list using g e t params
func (*DfwRuleListUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *DfwRuleListUsingGETParams) WithDefaults() *DfwRuleListUsingGETParams
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
func (o *DfwRuleListUsingGETParams) WithTimeout(timeout time.Duration) *DfwRuleListUsingGETParams
WithTimeout adds the timeout to the dfw rule list using g e t params
func (*DfwRuleListUsingGETParams) WriteToRequest ¶ added in v1.0.0
func (o *DfwRuleListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *DfwRuleUpdateUsingPUTBadRequest) Error() string
func (*DfwRuleUpdateUsingPUTBadRequest) GetPayload ¶ added in v1.2.0
func (o *DfwRuleUpdateUsingPUTBadRequest) GetPayload() *models.ProxyResponseMessage
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 (o *DfwRuleUpdateUsingPUTCreated) Error() string
func (*DfwRuleUpdateUsingPUTCreated) GetPayload ¶ added in v1.1.0
func (o *DfwRuleUpdateUsingPUTCreated) GetPayload() *models.UpdateDFWRuleResponse
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
func (o *DfwRuleUpdateUsingPUTOK) GetPayload() *models.UpdateDFWRuleResponse
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
func (o *DfwRuleUpdateUsingPUTParams) WithContext(ctx context.Context) *DfwRuleUpdateUsingPUTParams
WithContext adds the context to the dfw rule update using p u t params
func (*DfwRuleUpdateUsingPUTParams) WithDefaults ¶ added in v1.2.4
func (o *DfwRuleUpdateUsingPUTParams) WithDefaults() *DfwRuleUpdateUsingPUTParams
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
func (o *DfwRuleUpdateUsingPUTParams) WithDfwRule(dfwRule *models.DFWRule) *DfwRuleUpdateUsingPUTParams
WithDfwRule adds the dfwRule to the dfw rule update using p u t params
func (*DfwRuleUpdateUsingPUTParams) WithHTTPClient ¶ added in v1.0.0
func (o *DfwRuleUpdateUsingPUTParams) WithHTTPClient(client *http.Client) *DfwRuleUpdateUsingPUTParams
WithHTTPClient adds the HTTPClient to the dfw rule update using p u t params
func (*DfwRuleUpdateUsingPUTParams) WithRouterID ¶ added in v1.2.0
func (o *DfwRuleUpdateUsingPUTParams) WithRouterID(routerID string) *DfwRuleUpdateUsingPUTParams
WithRouterID adds the routerID to the dfw rule update using p u t params
func (*DfwRuleUpdateUsingPUTParams) WithRuleID ¶ added in v1.0.0
func (o *DfwRuleUpdateUsingPUTParams) WithRuleID(ruleID string) *DfwRuleUpdateUsingPUTParams
WithRuleID adds the ruleID to the dfw rule update using p u t params
func (*DfwRuleUpdateUsingPUTParams) WithTimeout ¶ added in v1.0.0
func (o *DfwRuleUpdateUsingPUTParams) WithTimeout(timeout time.Duration) *DfwRuleUpdateUsingPUTParams
WithTimeout adds the timeout to the dfw rule update using p u t params
func (*DfwRuleUpdateUsingPUTParams) WriteToRequest ¶ added in v1.0.0
func (o *DfwRuleUpdateUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- dfw_rule_create_using_p_u_t_parameters.go
- dfw_rule_create_using_p_u_t_responses.go
- dfw_rule_delete_using_d_e_l_e_t_e_parameters.go
- dfw_rule_delete_using_d_e_l_e_t_e_responses.go
- dfw_rule_get_using_g_e_t_parameters.go
- dfw_rule_get_using_g_e_t_responses.go
- dfw_rule_list_using_g_e_t_parameters.go
- dfw_rule_list_using_g_e_t_responses.go
- dfw_rule_update_using_p_u_t_parameters.go
- dfw_rule_update_using_p_u_t_responses.go
- firewall_rulesew_client.go