Documentation ¶
Index ¶
- type Client
- func (a *Client) GetNetworkNetflowSettings(params *GetNetworkNetflowSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkNetflowSettingsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateNetworkNetflowSettings(params *UpdateNetworkNetflowSettingsParams, ...) (*UpdateNetworkNetflowSettingsOK, error)
- type ClientService
- type GetNetworkNetflowSettingsOK
- type GetNetworkNetflowSettingsParams
- func NewGetNetworkNetflowSettingsParams() *GetNetworkNetflowSettingsParams
- func NewGetNetworkNetflowSettingsParamsWithContext(ctx context.Context) *GetNetworkNetflowSettingsParams
- func NewGetNetworkNetflowSettingsParamsWithHTTPClient(client *http.Client) *GetNetworkNetflowSettingsParams
- func NewGetNetworkNetflowSettingsParamsWithTimeout(timeout time.Duration) *GetNetworkNetflowSettingsParams
- func (o *GetNetworkNetflowSettingsParams) SetContext(ctx context.Context)
- func (o *GetNetworkNetflowSettingsParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkNetflowSettingsParams) SetNetworkID(networkID string)
- func (o *GetNetworkNetflowSettingsParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkNetflowSettingsParams) WithContext(ctx context.Context) *GetNetworkNetflowSettingsParams
- func (o *GetNetworkNetflowSettingsParams) WithHTTPClient(client *http.Client) *GetNetworkNetflowSettingsParams
- func (o *GetNetworkNetflowSettingsParams) WithNetworkID(networkID string) *GetNetworkNetflowSettingsParams
- func (o *GetNetworkNetflowSettingsParams) WithTimeout(timeout time.Duration) *GetNetworkNetflowSettingsParams
- func (o *GetNetworkNetflowSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkNetflowSettingsReader
- type UpdateNetworkNetflowSettingsOK
- type UpdateNetworkNetflowSettingsParams
- func NewUpdateNetworkNetflowSettingsParams() *UpdateNetworkNetflowSettingsParams
- func NewUpdateNetworkNetflowSettingsParamsWithContext(ctx context.Context) *UpdateNetworkNetflowSettingsParams
- func NewUpdateNetworkNetflowSettingsParamsWithHTTPClient(client *http.Client) *UpdateNetworkNetflowSettingsParams
- func NewUpdateNetworkNetflowSettingsParamsWithTimeout(timeout time.Duration) *UpdateNetworkNetflowSettingsParams
- func (o *UpdateNetworkNetflowSettingsParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkNetflowSettingsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkNetflowSettingsParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkNetflowSettingsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkNetflowSettingsParams) SetUpdateNetworkNetflowSettings(updateNetworkNetflowSettings *models.UpdateNetworkNetflowSettings)
- func (o *UpdateNetworkNetflowSettingsParams) WithContext(ctx context.Context) *UpdateNetworkNetflowSettingsParams
- func (o *UpdateNetworkNetflowSettingsParams) WithHTTPClient(client *http.Client) *UpdateNetworkNetflowSettingsParams
- func (o *UpdateNetworkNetflowSettingsParams) WithNetworkID(networkID string) *UpdateNetworkNetflowSettingsParams
- func (o *UpdateNetworkNetflowSettingsParams) WithTimeout(timeout time.Duration) *UpdateNetworkNetflowSettingsParams
- func (o *UpdateNetworkNetflowSettingsParams) WithUpdateNetworkNetflowSettings(updateNetworkNetflowSettings *models.UpdateNetworkNetflowSettings) *UpdateNetworkNetflowSettingsParams
- func (o *UpdateNetworkNetflowSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkNetflowSettingsReader
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 net flow settings API
func (*Client) GetNetworkNetflowSettings ¶
func (a *Client) GetNetworkNetflowSettings(params *GetNetworkNetflowSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkNetflowSettingsOK, error)
GetNetworkNetflowSettings gets network netflow settings
Return the NetFlow traffic reporting settings for a network
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateNetworkNetflowSettings ¶
func (a *Client) UpdateNetworkNetflowSettings(params *UpdateNetworkNetflowSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkNetflowSettingsOK, error)
UpdateNetworkNetflowSettings updates network netflow settings
Update the NetFlow traffic reporting settings for a network
type ClientService ¶
type ClientService interface { GetNetworkNetflowSettings(params *GetNetworkNetflowSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkNetflowSettingsOK, error) UpdateNetworkNetflowSettings(params *UpdateNetworkNetflowSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkNetflowSettingsOK, 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 net flow settings API client.
type GetNetworkNetflowSettingsOK ¶
type GetNetworkNetflowSettingsOK struct {
Payload interface{}
}
GetNetworkNetflowSettingsOK handles this case with default header values.
Successful operation
func NewGetNetworkNetflowSettingsOK ¶
func NewGetNetworkNetflowSettingsOK() *GetNetworkNetflowSettingsOK
NewGetNetworkNetflowSettingsOK creates a GetNetworkNetflowSettingsOK with default headers values
func (*GetNetworkNetflowSettingsOK) Error ¶
func (o *GetNetworkNetflowSettingsOK) Error() string
func (*GetNetworkNetflowSettingsOK) GetPayload ¶
func (o *GetNetworkNetflowSettingsOK) GetPayload() interface{}
type GetNetworkNetflowSettingsParams ¶
type GetNetworkNetflowSettingsParams struct { /*NetworkID*/ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkNetflowSettingsParams contains all the parameters to send to the API endpoint for the get network netflow settings operation typically these are written to a http.Request
func NewGetNetworkNetflowSettingsParams ¶
func NewGetNetworkNetflowSettingsParams() *GetNetworkNetflowSettingsParams
NewGetNetworkNetflowSettingsParams creates a new GetNetworkNetflowSettingsParams object with the default values initialized.
func NewGetNetworkNetflowSettingsParamsWithContext ¶
func NewGetNetworkNetflowSettingsParamsWithContext(ctx context.Context) *GetNetworkNetflowSettingsParams
NewGetNetworkNetflowSettingsParamsWithContext creates a new GetNetworkNetflowSettingsParams object with the default values initialized, and the ability to set a context for a request
func NewGetNetworkNetflowSettingsParamsWithHTTPClient ¶
func NewGetNetworkNetflowSettingsParamsWithHTTPClient(client *http.Client) *GetNetworkNetflowSettingsParams
NewGetNetworkNetflowSettingsParamsWithHTTPClient creates a new GetNetworkNetflowSettingsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetNetworkNetflowSettingsParamsWithTimeout ¶
func NewGetNetworkNetflowSettingsParamsWithTimeout(timeout time.Duration) *GetNetworkNetflowSettingsParams
NewGetNetworkNetflowSettingsParamsWithTimeout creates a new GetNetworkNetflowSettingsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetNetworkNetflowSettingsParams) SetContext ¶
func (o *GetNetworkNetflowSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the get network netflow settings params
func (*GetNetworkNetflowSettingsParams) SetHTTPClient ¶
func (o *GetNetworkNetflowSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network netflow settings params
func (*GetNetworkNetflowSettingsParams) SetNetworkID ¶
func (o *GetNetworkNetflowSettingsParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network netflow settings params
func (*GetNetworkNetflowSettingsParams) SetTimeout ¶
func (o *GetNetworkNetflowSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network netflow settings params
func (*GetNetworkNetflowSettingsParams) WithContext ¶
func (o *GetNetworkNetflowSettingsParams) WithContext(ctx context.Context) *GetNetworkNetflowSettingsParams
WithContext adds the context to the get network netflow settings params
func (*GetNetworkNetflowSettingsParams) WithHTTPClient ¶
func (o *GetNetworkNetflowSettingsParams) WithHTTPClient(client *http.Client) *GetNetworkNetflowSettingsParams
WithHTTPClient adds the HTTPClient to the get network netflow settings params
func (*GetNetworkNetflowSettingsParams) WithNetworkID ¶
func (o *GetNetworkNetflowSettingsParams) WithNetworkID(networkID string) *GetNetworkNetflowSettingsParams
WithNetworkID adds the networkID to the get network netflow settings params
func (*GetNetworkNetflowSettingsParams) WithTimeout ¶
func (o *GetNetworkNetflowSettingsParams) WithTimeout(timeout time.Duration) *GetNetworkNetflowSettingsParams
WithTimeout adds the timeout to the get network netflow settings params
func (*GetNetworkNetflowSettingsParams) WriteToRequest ¶
func (o *GetNetworkNetflowSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkNetflowSettingsReader ¶
type GetNetworkNetflowSettingsReader struct {
// contains filtered or unexported fields
}
GetNetworkNetflowSettingsReader is a Reader for the GetNetworkNetflowSettings structure.
func (*GetNetworkNetflowSettingsReader) ReadResponse ¶
func (o *GetNetworkNetflowSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNetworkNetflowSettingsOK ¶
type UpdateNetworkNetflowSettingsOK struct {
Payload interface{}
}
UpdateNetworkNetflowSettingsOK handles this case with default header values.
Successful operation
func NewUpdateNetworkNetflowSettingsOK ¶
func NewUpdateNetworkNetflowSettingsOK() *UpdateNetworkNetflowSettingsOK
NewUpdateNetworkNetflowSettingsOK creates a UpdateNetworkNetflowSettingsOK with default headers values
func (*UpdateNetworkNetflowSettingsOK) Error ¶
func (o *UpdateNetworkNetflowSettingsOK) Error() string
func (*UpdateNetworkNetflowSettingsOK) GetPayload ¶
func (o *UpdateNetworkNetflowSettingsOK) GetPayload() interface{}
type UpdateNetworkNetflowSettingsParams ¶
type UpdateNetworkNetflowSettingsParams struct { /*NetworkID*/ NetworkID string /*UpdateNetworkNetflowSettings*/ UpdateNetworkNetflowSettings *models.UpdateNetworkNetflowSettings Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNetworkNetflowSettingsParams contains all the parameters to send to the API endpoint for the update network netflow settings operation typically these are written to a http.Request
func NewUpdateNetworkNetflowSettingsParams ¶
func NewUpdateNetworkNetflowSettingsParams() *UpdateNetworkNetflowSettingsParams
NewUpdateNetworkNetflowSettingsParams creates a new UpdateNetworkNetflowSettingsParams object with the default values initialized.
func NewUpdateNetworkNetflowSettingsParamsWithContext ¶
func NewUpdateNetworkNetflowSettingsParamsWithContext(ctx context.Context) *UpdateNetworkNetflowSettingsParams
NewUpdateNetworkNetflowSettingsParamsWithContext creates a new UpdateNetworkNetflowSettingsParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateNetworkNetflowSettingsParamsWithHTTPClient ¶
func NewUpdateNetworkNetflowSettingsParamsWithHTTPClient(client *http.Client) *UpdateNetworkNetflowSettingsParams
NewUpdateNetworkNetflowSettingsParamsWithHTTPClient creates a new UpdateNetworkNetflowSettingsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateNetworkNetflowSettingsParamsWithTimeout ¶
func NewUpdateNetworkNetflowSettingsParamsWithTimeout(timeout time.Duration) *UpdateNetworkNetflowSettingsParams
NewUpdateNetworkNetflowSettingsParamsWithTimeout creates a new UpdateNetworkNetflowSettingsParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateNetworkNetflowSettingsParams) SetContext ¶
func (o *UpdateNetworkNetflowSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the update network netflow settings params
func (*UpdateNetworkNetflowSettingsParams) SetHTTPClient ¶
func (o *UpdateNetworkNetflowSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update network netflow settings params
func (*UpdateNetworkNetflowSettingsParams) SetNetworkID ¶
func (o *UpdateNetworkNetflowSettingsParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the update network netflow settings params
func (*UpdateNetworkNetflowSettingsParams) SetTimeout ¶
func (o *UpdateNetworkNetflowSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update network netflow settings params
func (*UpdateNetworkNetflowSettingsParams) SetUpdateNetworkNetflowSettings ¶
func (o *UpdateNetworkNetflowSettingsParams) SetUpdateNetworkNetflowSettings(updateNetworkNetflowSettings *models.UpdateNetworkNetflowSettings)
SetUpdateNetworkNetflowSettings adds the updateNetworkNetflowSettings to the update network netflow settings params
func (*UpdateNetworkNetflowSettingsParams) WithContext ¶
func (o *UpdateNetworkNetflowSettingsParams) WithContext(ctx context.Context) *UpdateNetworkNetflowSettingsParams
WithContext adds the context to the update network netflow settings params
func (*UpdateNetworkNetflowSettingsParams) WithHTTPClient ¶
func (o *UpdateNetworkNetflowSettingsParams) WithHTTPClient(client *http.Client) *UpdateNetworkNetflowSettingsParams
WithHTTPClient adds the HTTPClient to the update network netflow settings params
func (*UpdateNetworkNetflowSettingsParams) WithNetworkID ¶
func (o *UpdateNetworkNetflowSettingsParams) WithNetworkID(networkID string) *UpdateNetworkNetflowSettingsParams
WithNetworkID adds the networkID to the update network netflow settings params
func (*UpdateNetworkNetflowSettingsParams) WithTimeout ¶
func (o *UpdateNetworkNetflowSettingsParams) WithTimeout(timeout time.Duration) *UpdateNetworkNetflowSettingsParams
WithTimeout adds the timeout to the update network netflow settings params
func (*UpdateNetworkNetflowSettingsParams) WithUpdateNetworkNetflowSettings ¶
func (o *UpdateNetworkNetflowSettingsParams) WithUpdateNetworkNetflowSettings(updateNetworkNetflowSettings *models.UpdateNetworkNetflowSettings) *UpdateNetworkNetflowSettingsParams
WithUpdateNetworkNetflowSettings adds the updateNetworkNetflowSettings to the update network netflow settings params
func (*UpdateNetworkNetflowSettingsParams) WriteToRequest ¶
func (o *UpdateNetworkNetflowSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNetworkNetflowSettingsReader ¶
type UpdateNetworkNetflowSettingsReader struct {
// contains filtered or unexported fields
}
UpdateNetworkNetflowSettingsReader is a Reader for the UpdateNetworkNetflowSettings structure.
func (*UpdateNetworkNetflowSettingsReader) ReadResponse ¶
func (o *UpdateNetworkNetflowSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.