Documentation ¶
Index ¶
- type Client
- func (a *Client) GetNetworkTrafficAnalysisSettings(params *GetNetworkTrafficAnalysisSettingsParams, ...) (*GetNetworkTrafficAnalysisSettingsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateNetworkTrafficAnalysisSettings(params *UpdateNetworkTrafficAnalysisSettingsParams, ...) (*UpdateNetworkTrafficAnalysisSettingsOK, error)
- type ClientService
- type GetNetworkTrafficAnalysisSettingsOK
- type GetNetworkTrafficAnalysisSettingsParams
- func NewGetNetworkTrafficAnalysisSettingsParams() *GetNetworkTrafficAnalysisSettingsParams
- func NewGetNetworkTrafficAnalysisSettingsParamsWithContext(ctx context.Context) *GetNetworkTrafficAnalysisSettingsParams
- func NewGetNetworkTrafficAnalysisSettingsParamsWithHTTPClient(client *http.Client) *GetNetworkTrafficAnalysisSettingsParams
- func NewGetNetworkTrafficAnalysisSettingsParamsWithTimeout(timeout time.Duration) *GetNetworkTrafficAnalysisSettingsParams
- func (o *GetNetworkTrafficAnalysisSettingsParams) SetContext(ctx context.Context)
- func (o *GetNetworkTrafficAnalysisSettingsParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkTrafficAnalysisSettingsParams) SetNetworkID(networkID string)
- func (o *GetNetworkTrafficAnalysisSettingsParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkTrafficAnalysisSettingsParams) WithContext(ctx context.Context) *GetNetworkTrafficAnalysisSettingsParams
- func (o *GetNetworkTrafficAnalysisSettingsParams) WithHTTPClient(client *http.Client) *GetNetworkTrafficAnalysisSettingsParams
- func (o *GetNetworkTrafficAnalysisSettingsParams) WithNetworkID(networkID string) *GetNetworkTrafficAnalysisSettingsParams
- func (o *GetNetworkTrafficAnalysisSettingsParams) WithTimeout(timeout time.Duration) *GetNetworkTrafficAnalysisSettingsParams
- func (o *GetNetworkTrafficAnalysisSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkTrafficAnalysisSettingsReader
- type UpdateNetworkTrafficAnalysisSettingsOK
- type UpdateNetworkTrafficAnalysisSettingsParams
- func NewUpdateNetworkTrafficAnalysisSettingsParams() *UpdateNetworkTrafficAnalysisSettingsParams
- func NewUpdateNetworkTrafficAnalysisSettingsParamsWithContext(ctx context.Context) *UpdateNetworkTrafficAnalysisSettingsParams
- func NewUpdateNetworkTrafficAnalysisSettingsParamsWithHTTPClient(client *http.Client) *UpdateNetworkTrafficAnalysisSettingsParams
- func NewUpdateNetworkTrafficAnalysisSettingsParamsWithTimeout(timeout time.Duration) *UpdateNetworkTrafficAnalysisSettingsParams
- func (o *UpdateNetworkTrafficAnalysisSettingsParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkTrafficAnalysisSettingsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkTrafficAnalysisSettingsParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkTrafficAnalysisSettingsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkTrafficAnalysisSettingsParams) SetUpdateNetworkTrafficAnalysisSettings(...)
- func (o *UpdateNetworkTrafficAnalysisSettingsParams) WithContext(ctx context.Context) *UpdateNetworkTrafficAnalysisSettingsParams
- func (o *UpdateNetworkTrafficAnalysisSettingsParams) WithHTTPClient(client *http.Client) *UpdateNetworkTrafficAnalysisSettingsParams
- func (o *UpdateNetworkTrafficAnalysisSettingsParams) WithNetworkID(networkID string) *UpdateNetworkTrafficAnalysisSettingsParams
- func (o *UpdateNetworkTrafficAnalysisSettingsParams) WithTimeout(timeout time.Duration) *UpdateNetworkTrafficAnalysisSettingsParams
- func (o *UpdateNetworkTrafficAnalysisSettingsParams) WithUpdateNetworkTrafficAnalysisSettings(...) *UpdateNetworkTrafficAnalysisSettingsParams
- func (o *UpdateNetworkTrafficAnalysisSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkTrafficAnalysisSettingsReader
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 traffic analysis settings API
func (*Client) GetNetworkTrafficAnalysisSettings ¶
func (a *Client) GetNetworkTrafficAnalysisSettings(params *GetNetworkTrafficAnalysisSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkTrafficAnalysisSettingsOK, error)
GetNetworkTrafficAnalysisSettings gets network traffic analysis settings
Return the traffic analysis settings for a network
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateNetworkTrafficAnalysisSettings ¶
func (a *Client) UpdateNetworkTrafficAnalysisSettings(params *UpdateNetworkTrafficAnalysisSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkTrafficAnalysisSettingsOK, error)
UpdateNetworkTrafficAnalysisSettings updates network traffic analysis settings
Update the traffic analysis settings for a network
type ClientService ¶
type ClientService interface { GetNetworkTrafficAnalysisSettings(params *GetNetworkTrafficAnalysisSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkTrafficAnalysisSettingsOK, error) UpdateNetworkTrafficAnalysisSettings(params *UpdateNetworkTrafficAnalysisSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkTrafficAnalysisSettingsOK, 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 traffic analysis settings API client.
type GetNetworkTrafficAnalysisSettingsOK ¶
type GetNetworkTrafficAnalysisSettingsOK struct {
Payload interface{}
}
GetNetworkTrafficAnalysisSettingsOK handles this case with default header values.
Successful operation
func NewGetNetworkTrafficAnalysisSettingsOK ¶
func NewGetNetworkTrafficAnalysisSettingsOK() *GetNetworkTrafficAnalysisSettingsOK
NewGetNetworkTrafficAnalysisSettingsOK creates a GetNetworkTrafficAnalysisSettingsOK with default headers values
func (*GetNetworkTrafficAnalysisSettingsOK) Error ¶
func (o *GetNetworkTrafficAnalysisSettingsOK) Error() string
func (*GetNetworkTrafficAnalysisSettingsOK) GetPayload ¶
func (o *GetNetworkTrafficAnalysisSettingsOK) GetPayload() interface{}
type GetNetworkTrafficAnalysisSettingsParams ¶
type GetNetworkTrafficAnalysisSettingsParams struct { /*NetworkID*/ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkTrafficAnalysisSettingsParams contains all the parameters to send to the API endpoint for the get network traffic analysis settings operation typically these are written to a http.Request
func NewGetNetworkTrafficAnalysisSettingsParams ¶
func NewGetNetworkTrafficAnalysisSettingsParams() *GetNetworkTrafficAnalysisSettingsParams
NewGetNetworkTrafficAnalysisSettingsParams creates a new GetNetworkTrafficAnalysisSettingsParams object with the default values initialized.
func NewGetNetworkTrafficAnalysisSettingsParamsWithContext ¶
func NewGetNetworkTrafficAnalysisSettingsParamsWithContext(ctx context.Context) *GetNetworkTrafficAnalysisSettingsParams
NewGetNetworkTrafficAnalysisSettingsParamsWithContext creates a new GetNetworkTrafficAnalysisSettingsParams object with the default values initialized, and the ability to set a context for a request
func NewGetNetworkTrafficAnalysisSettingsParamsWithHTTPClient ¶
func NewGetNetworkTrafficAnalysisSettingsParamsWithHTTPClient(client *http.Client) *GetNetworkTrafficAnalysisSettingsParams
NewGetNetworkTrafficAnalysisSettingsParamsWithHTTPClient creates a new GetNetworkTrafficAnalysisSettingsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetNetworkTrafficAnalysisSettingsParamsWithTimeout ¶
func NewGetNetworkTrafficAnalysisSettingsParamsWithTimeout(timeout time.Duration) *GetNetworkTrafficAnalysisSettingsParams
NewGetNetworkTrafficAnalysisSettingsParamsWithTimeout creates a new GetNetworkTrafficAnalysisSettingsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetNetworkTrafficAnalysisSettingsParams) SetContext ¶
func (o *GetNetworkTrafficAnalysisSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the get network traffic analysis settings params
func (*GetNetworkTrafficAnalysisSettingsParams) SetHTTPClient ¶
func (o *GetNetworkTrafficAnalysisSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network traffic analysis settings params
func (*GetNetworkTrafficAnalysisSettingsParams) SetNetworkID ¶
func (o *GetNetworkTrafficAnalysisSettingsParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network traffic analysis settings params
func (*GetNetworkTrafficAnalysisSettingsParams) SetTimeout ¶
func (o *GetNetworkTrafficAnalysisSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network traffic analysis settings params
func (*GetNetworkTrafficAnalysisSettingsParams) WithContext ¶
func (o *GetNetworkTrafficAnalysisSettingsParams) WithContext(ctx context.Context) *GetNetworkTrafficAnalysisSettingsParams
WithContext adds the context to the get network traffic analysis settings params
func (*GetNetworkTrafficAnalysisSettingsParams) WithHTTPClient ¶
func (o *GetNetworkTrafficAnalysisSettingsParams) WithHTTPClient(client *http.Client) *GetNetworkTrafficAnalysisSettingsParams
WithHTTPClient adds the HTTPClient to the get network traffic analysis settings params
func (*GetNetworkTrafficAnalysisSettingsParams) WithNetworkID ¶
func (o *GetNetworkTrafficAnalysisSettingsParams) WithNetworkID(networkID string) *GetNetworkTrafficAnalysisSettingsParams
WithNetworkID adds the networkID to the get network traffic analysis settings params
func (*GetNetworkTrafficAnalysisSettingsParams) WithTimeout ¶
func (o *GetNetworkTrafficAnalysisSettingsParams) WithTimeout(timeout time.Duration) *GetNetworkTrafficAnalysisSettingsParams
WithTimeout adds the timeout to the get network traffic analysis settings params
func (*GetNetworkTrafficAnalysisSettingsParams) WriteToRequest ¶
func (o *GetNetworkTrafficAnalysisSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkTrafficAnalysisSettingsReader ¶
type GetNetworkTrafficAnalysisSettingsReader struct {
// contains filtered or unexported fields
}
GetNetworkTrafficAnalysisSettingsReader is a Reader for the GetNetworkTrafficAnalysisSettings structure.
func (*GetNetworkTrafficAnalysisSettingsReader) ReadResponse ¶
func (o *GetNetworkTrafficAnalysisSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNetworkTrafficAnalysisSettingsOK ¶
type UpdateNetworkTrafficAnalysisSettingsOK struct {
Payload interface{}
}
UpdateNetworkTrafficAnalysisSettingsOK handles this case with default header values.
Successful operation
func NewUpdateNetworkTrafficAnalysisSettingsOK ¶
func NewUpdateNetworkTrafficAnalysisSettingsOK() *UpdateNetworkTrafficAnalysisSettingsOK
NewUpdateNetworkTrafficAnalysisSettingsOK creates a UpdateNetworkTrafficAnalysisSettingsOK with default headers values
func (*UpdateNetworkTrafficAnalysisSettingsOK) Error ¶
func (o *UpdateNetworkTrafficAnalysisSettingsOK) Error() string
func (*UpdateNetworkTrafficAnalysisSettingsOK) GetPayload ¶
func (o *UpdateNetworkTrafficAnalysisSettingsOK) GetPayload() interface{}
type UpdateNetworkTrafficAnalysisSettingsParams ¶
type UpdateNetworkTrafficAnalysisSettingsParams struct { /*NetworkID*/ NetworkID string /*UpdateNetworkTrafficAnalysisSettings*/ UpdateNetworkTrafficAnalysisSettings *models.UpdateNetworkTrafficAnalysisSettings Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNetworkTrafficAnalysisSettingsParams contains all the parameters to send to the API endpoint for the update network traffic analysis settings operation typically these are written to a http.Request
func NewUpdateNetworkTrafficAnalysisSettingsParams ¶
func NewUpdateNetworkTrafficAnalysisSettingsParams() *UpdateNetworkTrafficAnalysisSettingsParams
NewUpdateNetworkTrafficAnalysisSettingsParams creates a new UpdateNetworkTrafficAnalysisSettingsParams object with the default values initialized.
func NewUpdateNetworkTrafficAnalysisSettingsParamsWithContext ¶
func NewUpdateNetworkTrafficAnalysisSettingsParamsWithContext(ctx context.Context) *UpdateNetworkTrafficAnalysisSettingsParams
NewUpdateNetworkTrafficAnalysisSettingsParamsWithContext creates a new UpdateNetworkTrafficAnalysisSettingsParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateNetworkTrafficAnalysisSettingsParamsWithHTTPClient ¶
func NewUpdateNetworkTrafficAnalysisSettingsParamsWithHTTPClient(client *http.Client) *UpdateNetworkTrafficAnalysisSettingsParams
NewUpdateNetworkTrafficAnalysisSettingsParamsWithHTTPClient creates a new UpdateNetworkTrafficAnalysisSettingsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateNetworkTrafficAnalysisSettingsParamsWithTimeout ¶
func NewUpdateNetworkTrafficAnalysisSettingsParamsWithTimeout(timeout time.Duration) *UpdateNetworkTrafficAnalysisSettingsParams
NewUpdateNetworkTrafficAnalysisSettingsParamsWithTimeout creates a new UpdateNetworkTrafficAnalysisSettingsParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateNetworkTrafficAnalysisSettingsParams) SetContext ¶
func (o *UpdateNetworkTrafficAnalysisSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the update network traffic analysis settings params
func (*UpdateNetworkTrafficAnalysisSettingsParams) SetHTTPClient ¶
func (o *UpdateNetworkTrafficAnalysisSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update network traffic analysis settings params
func (*UpdateNetworkTrafficAnalysisSettingsParams) SetNetworkID ¶
func (o *UpdateNetworkTrafficAnalysisSettingsParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the update network traffic analysis settings params
func (*UpdateNetworkTrafficAnalysisSettingsParams) SetTimeout ¶
func (o *UpdateNetworkTrafficAnalysisSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update network traffic analysis settings params
func (*UpdateNetworkTrafficAnalysisSettingsParams) SetUpdateNetworkTrafficAnalysisSettings ¶
func (o *UpdateNetworkTrafficAnalysisSettingsParams) SetUpdateNetworkTrafficAnalysisSettings(updateNetworkTrafficAnalysisSettings *models.UpdateNetworkTrafficAnalysisSettings)
SetUpdateNetworkTrafficAnalysisSettings adds the updateNetworkTrafficAnalysisSettings to the update network traffic analysis settings params
func (*UpdateNetworkTrafficAnalysisSettingsParams) WithContext ¶
func (o *UpdateNetworkTrafficAnalysisSettingsParams) WithContext(ctx context.Context) *UpdateNetworkTrafficAnalysisSettingsParams
WithContext adds the context to the update network traffic analysis settings params
func (*UpdateNetworkTrafficAnalysisSettingsParams) WithHTTPClient ¶
func (o *UpdateNetworkTrafficAnalysisSettingsParams) WithHTTPClient(client *http.Client) *UpdateNetworkTrafficAnalysisSettingsParams
WithHTTPClient adds the HTTPClient to the update network traffic analysis settings params
func (*UpdateNetworkTrafficAnalysisSettingsParams) WithNetworkID ¶
func (o *UpdateNetworkTrafficAnalysisSettingsParams) WithNetworkID(networkID string) *UpdateNetworkTrafficAnalysisSettingsParams
WithNetworkID adds the networkID to the update network traffic analysis settings params
func (*UpdateNetworkTrafficAnalysisSettingsParams) WithTimeout ¶
func (o *UpdateNetworkTrafficAnalysisSettingsParams) WithTimeout(timeout time.Duration) *UpdateNetworkTrafficAnalysisSettingsParams
WithTimeout adds the timeout to the update network traffic analysis settings params
func (*UpdateNetworkTrafficAnalysisSettingsParams) WithUpdateNetworkTrafficAnalysisSettings ¶
func (o *UpdateNetworkTrafficAnalysisSettingsParams) WithUpdateNetworkTrafficAnalysisSettings(updateNetworkTrafficAnalysisSettings *models.UpdateNetworkTrafficAnalysisSettings) *UpdateNetworkTrafficAnalysisSettingsParams
WithUpdateNetworkTrafficAnalysisSettings adds the updateNetworkTrafficAnalysisSettings to the update network traffic analysis settings params
func (*UpdateNetworkTrafficAnalysisSettingsParams) WriteToRequest ¶
func (o *UpdateNetworkTrafficAnalysisSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNetworkTrafficAnalysisSettingsReader ¶
type UpdateNetworkTrafficAnalysisSettingsReader struct {
// contains filtered or unexported fields
}
UpdateNetworkTrafficAnalysisSettingsReader is a Reader for the UpdateNetworkTrafficAnalysisSettings structure.
func (*UpdateNetworkTrafficAnalysisSettingsReader) ReadResponse ¶
func (o *UpdateNetworkTrafficAnalysisSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.