Documentation ¶
Index ¶
- type Client
- func (a *Client) GetNetworkSecurityMalwareSettings(params *GetNetworkSecurityMalwareSettingsParams, ...) (*GetNetworkSecurityMalwareSettingsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateNetworkSecurityMalwareSettings(params *UpdateNetworkSecurityMalwareSettingsParams, ...) (*UpdateNetworkSecurityMalwareSettingsOK, error)
- type ClientService
- type GetNetworkSecurityMalwareSettingsOK
- type GetNetworkSecurityMalwareSettingsParams
- func NewGetNetworkSecurityMalwareSettingsParams() *GetNetworkSecurityMalwareSettingsParams
- func NewGetNetworkSecurityMalwareSettingsParamsWithContext(ctx context.Context) *GetNetworkSecurityMalwareSettingsParams
- func NewGetNetworkSecurityMalwareSettingsParamsWithHTTPClient(client *http.Client) *GetNetworkSecurityMalwareSettingsParams
- func NewGetNetworkSecurityMalwareSettingsParamsWithTimeout(timeout time.Duration) *GetNetworkSecurityMalwareSettingsParams
- func (o *GetNetworkSecurityMalwareSettingsParams) SetContext(ctx context.Context)
- func (o *GetNetworkSecurityMalwareSettingsParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSecurityMalwareSettingsParams) SetNetworkID(networkID string)
- func (o *GetNetworkSecurityMalwareSettingsParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSecurityMalwareSettingsParams) WithContext(ctx context.Context) *GetNetworkSecurityMalwareSettingsParams
- func (o *GetNetworkSecurityMalwareSettingsParams) WithHTTPClient(client *http.Client) *GetNetworkSecurityMalwareSettingsParams
- func (o *GetNetworkSecurityMalwareSettingsParams) WithNetworkID(networkID string) *GetNetworkSecurityMalwareSettingsParams
- func (o *GetNetworkSecurityMalwareSettingsParams) WithTimeout(timeout time.Duration) *GetNetworkSecurityMalwareSettingsParams
- func (o *GetNetworkSecurityMalwareSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSecurityMalwareSettingsReader
- type UpdateNetworkSecurityMalwareSettingsOK
- type UpdateNetworkSecurityMalwareSettingsParams
- func NewUpdateNetworkSecurityMalwareSettingsParams() *UpdateNetworkSecurityMalwareSettingsParams
- func NewUpdateNetworkSecurityMalwareSettingsParamsWithContext(ctx context.Context) *UpdateNetworkSecurityMalwareSettingsParams
- func NewUpdateNetworkSecurityMalwareSettingsParamsWithHTTPClient(client *http.Client) *UpdateNetworkSecurityMalwareSettingsParams
- func NewUpdateNetworkSecurityMalwareSettingsParamsWithTimeout(timeout time.Duration) *UpdateNetworkSecurityMalwareSettingsParams
- func (o *UpdateNetworkSecurityMalwareSettingsParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkSecurityMalwareSettingsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkSecurityMalwareSettingsParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkSecurityMalwareSettingsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkSecurityMalwareSettingsParams) SetUpdateNetworkSecurityMalwareSettings(...)
- func (o *UpdateNetworkSecurityMalwareSettingsParams) WithContext(ctx context.Context) *UpdateNetworkSecurityMalwareSettingsParams
- func (o *UpdateNetworkSecurityMalwareSettingsParams) WithHTTPClient(client *http.Client) *UpdateNetworkSecurityMalwareSettingsParams
- func (o *UpdateNetworkSecurityMalwareSettingsParams) WithNetworkID(networkID string) *UpdateNetworkSecurityMalwareSettingsParams
- func (o *UpdateNetworkSecurityMalwareSettingsParams) WithTimeout(timeout time.Duration) *UpdateNetworkSecurityMalwareSettingsParams
- func (o *UpdateNetworkSecurityMalwareSettingsParams) WithUpdateNetworkSecurityMalwareSettings(...) *UpdateNetworkSecurityMalwareSettingsParams
- func (o *UpdateNetworkSecurityMalwareSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkSecurityMalwareSettingsReader
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 malware settings API
func (*Client) GetNetworkSecurityMalwareSettings ¶
func (a *Client) GetNetworkSecurityMalwareSettings(params *GetNetworkSecurityMalwareSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkSecurityMalwareSettingsOK, error)
GetNetworkSecurityMalwareSettings gets network security malware settings
Returns all supported malware settings for an MX network
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateNetworkSecurityMalwareSettings ¶
func (a *Client) UpdateNetworkSecurityMalwareSettings(params *UpdateNetworkSecurityMalwareSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkSecurityMalwareSettingsOK, error)
UpdateNetworkSecurityMalwareSettings updates network security malware settings
Set the supported malware settings for an MX network
type ClientService ¶
type ClientService interface { GetNetworkSecurityMalwareSettings(params *GetNetworkSecurityMalwareSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkSecurityMalwareSettingsOK, error) UpdateNetworkSecurityMalwareSettings(params *UpdateNetworkSecurityMalwareSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkSecurityMalwareSettingsOK, 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 malware settings API client.
type GetNetworkSecurityMalwareSettingsOK ¶
type GetNetworkSecurityMalwareSettingsOK struct {
Payload interface{}
}
GetNetworkSecurityMalwareSettingsOK handles this case with default header values.
Successful operation
func NewGetNetworkSecurityMalwareSettingsOK ¶
func NewGetNetworkSecurityMalwareSettingsOK() *GetNetworkSecurityMalwareSettingsOK
NewGetNetworkSecurityMalwareSettingsOK creates a GetNetworkSecurityMalwareSettingsOK with default headers values
func (*GetNetworkSecurityMalwareSettingsOK) Error ¶
func (o *GetNetworkSecurityMalwareSettingsOK) Error() string
func (*GetNetworkSecurityMalwareSettingsOK) GetPayload ¶
func (o *GetNetworkSecurityMalwareSettingsOK) GetPayload() interface{}
type GetNetworkSecurityMalwareSettingsParams ¶
type GetNetworkSecurityMalwareSettingsParams struct { /*NetworkID*/ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSecurityMalwareSettingsParams contains all the parameters to send to the API endpoint for the get network security malware settings operation typically these are written to a http.Request
func NewGetNetworkSecurityMalwareSettingsParams ¶
func NewGetNetworkSecurityMalwareSettingsParams() *GetNetworkSecurityMalwareSettingsParams
NewGetNetworkSecurityMalwareSettingsParams creates a new GetNetworkSecurityMalwareSettingsParams object with the default values initialized.
func NewGetNetworkSecurityMalwareSettingsParamsWithContext ¶
func NewGetNetworkSecurityMalwareSettingsParamsWithContext(ctx context.Context) *GetNetworkSecurityMalwareSettingsParams
NewGetNetworkSecurityMalwareSettingsParamsWithContext creates a new GetNetworkSecurityMalwareSettingsParams object with the default values initialized, and the ability to set a context for a request
func NewGetNetworkSecurityMalwareSettingsParamsWithHTTPClient ¶
func NewGetNetworkSecurityMalwareSettingsParamsWithHTTPClient(client *http.Client) *GetNetworkSecurityMalwareSettingsParams
NewGetNetworkSecurityMalwareSettingsParamsWithHTTPClient creates a new GetNetworkSecurityMalwareSettingsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetNetworkSecurityMalwareSettingsParamsWithTimeout ¶
func NewGetNetworkSecurityMalwareSettingsParamsWithTimeout(timeout time.Duration) *GetNetworkSecurityMalwareSettingsParams
NewGetNetworkSecurityMalwareSettingsParamsWithTimeout creates a new GetNetworkSecurityMalwareSettingsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetNetworkSecurityMalwareSettingsParams) SetContext ¶
func (o *GetNetworkSecurityMalwareSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the get network security malware settings params
func (*GetNetworkSecurityMalwareSettingsParams) SetHTTPClient ¶
func (o *GetNetworkSecurityMalwareSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network security malware settings params
func (*GetNetworkSecurityMalwareSettingsParams) SetNetworkID ¶
func (o *GetNetworkSecurityMalwareSettingsParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network security malware settings params
func (*GetNetworkSecurityMalwareSettingsParams) SetTimeout ¶
func (o *GetNetworkSecurityMalwareSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network security malware settings params
func (*GetNetworkSecurityMalwareSettingsParams) WithContext ¶
func (o *GetNetworkSecurityMalwareSettingsParams) WithContext(ctx context.Context) *GetNetworkSecurityMalwareSettingsParams
WithContext adds the context to the get network security malware settings params
func (*GetNetworkSecurityMalwareSettingsParams) WithHTTPClient ¶
func (o *GetNetworkSecurityMalwareSettingsParams) WithHTTPClient(client *http.Client) *GetNetworkSecurityMalwareSettingsParams
WithHTTPClient adds the HTTPClient to the get network security malware settings params
func (*GetNetworkSecurityMalwareSettingsParams) WithNetworkID ¶
func (o *GetNetworkSecurityMalwareSettingsParams) WithNetworkID(networkID string) *GetNetworkSecurityMalwareSettingsParams
WithNetworkID adds the networkID to the get network security malware settings params
func (*GetNetworkSecurityMalwareSettingsParams) WithTimeout ¶
func (o *GetNetworkSecurityMalwareSettingsParams) WithTimeout(timeout time.Duration) *GetNetworkSecurityMalwareSettingsParams
WithTimeout adds the timeout to the get network security malware settings params
func (*GetNetworkSecurityMalwareSettingsParams) WriteToRequest ¶
func (o *GetNetworkSecurityMalwareSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSecurityMalwareSettingsReader ¶
type GetNetworkSecurityMalwareSettingsReader struct {
// contains filtered or unexported fields
}
GetNetworkSecurityMalwareSettingsReader is a Reader for the GetNetworkSecurityMalwareSettings structure.
func (*GetNetworkSecurityMalwareSettingsReader) ReadResponse ¶
func (o *GetNetworkSecurityMalwareSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNetworkSecurityMalwareSettingsOK ¶
type UpdateNetworkSecurityMalwareSettingsOK struct {
Payload interface{}
}
UpdateNetworkSecurityMalwareSettingsOK handles this case with default header values.
Successful operation
func NewUpdateNetworkSecurityMalwareSettingsOK ¶
func NewUpdateNetworkSecurityMalwareSettingsOK() *UpdateNetworkSecurityMalwareSettingsOK
NewUpdateNetworkSecurityMalwareSettingsOK creates a UpdateNetworkSecurityMalwareSettingsOK with default headers values
func (*UpdateNetworkSecurityMalwareSettingsOK) Error ¶
func (o *UpdateNetworkSecurityMalwareSettingsOK) Error() string
func (*UpdateNetworkSecurityMalwareSettingsOK) GetPayload ¶
func (o *UpdateNetworkSecurityMalwareSettingsOK) GetPayload() interface{}
type UpdateNetworkSecurityMalwareSettingsParams ¶
type UpdateNetworkSecurityMalwareSettingsParams struct { /*NetworkID*/ NetworkID string /*UpdateNetworkSecurityMalwareSettings*/ UpdateNetworkSecurityMalwareSettings *models.UpdateNetworkSecurityMalwareSettings Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNetworkSecurityMalwareSettingsParams contains all the parameters to send to the API endpoint for the update network security malware settings operation typically these are written to a http.Request
func NewUpdateNetworkSecurityMalwareSettingsParams ¶
func NewUpdateNetworkSecurityMalwareSettingsParams() *UpdateNetworkSecurityMalwareSettingsParams
NewUpdateNetworkSecurityMalwareSettingsParams creates a new UpdateNetworkSecurityMalwareSettingsParams object with the default values initialized.
func NewUpdateNetworkSecurityMalwareSettingsParamsWithContext ¶
func NewUpdateNetworkSecurityMalwareSettingsParamsWithContext(ctx context.Context) *UpdateNetworkSecurityMalwareSettingsParams
NewUpdateNetworkSecurityMalwareSettingsParamsWithContext creates a new UpdateNetworkSecurityMalwareSettingsParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateNetworkSecurityMalwareSettingsParamsWithHTTPClient ¶
func NewUpdateNetworkSecurityMalwareSettingsParamsWithHTTPClient(client *http.Client) *UpdateNetworkSecurityMalwareSettingsParams
NewUpdateNetworkSecurityMalwareSettingsParamsWithHTTPClient creates a new UpdateNetworkSecurityMalwareSettingsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateNetworkSecurityMalwareSettingsParamsWithTimeout ¶
func NewUpdateNetworkSecurityMalwareSettingsParamsWithTimeout(timeout time.Duration) *UpdateNetworkSecurityMalwareSettingsParams
NewUpdateNetworkSecurityMalwareSettingsParamsWithTimeout creates a new UpdateNetworkSecurityMalwareSettingsParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateNetworkSecurityMalwareSettingsParams) SetContext ¶
func (o *UpdateNetworkSecurityMalwareSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the update network security malware settings params
func (*UpdateNetworkSecurityMalwareSettingsParams) SetHTTPClient ¶
func (o *UpdateNetworkSecurityMalwareSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update network security malware settings params
func (*UpdateNetworkSecurityMalwareSettingsParams) SetNetworkID ¶
func (o *UpdateNetworkSecurityMalwareSettingsParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the update network security malware settings params
func (*UpdateNetworkSecurityMalwareSettingsParams) SetTimeout ¶
func (o *UpdateNetworkSecurityMalwareSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update network security malware settings params
func (*UpdateNetworkSecurityMalwareSettingsParams) SetUpdateNetworkSecurityMalwareSettings ¶
func (o *UpdateNetworkSecurityMalwareSettingsParams) SetUpdateNetworkSecurityMalwareSettings(updateNetworkSecurityMalwareSettings *models.UpdateNetworkSecurityMalwareSettings)
SetUpdateNetworkSecurityMalwareSettings adds the updateNetworkSecurityMalwareSettings to the update network security malware settings params
func (*UpdateNetworkSecurityMalwareSettingsParams) WithContext ¶
func (o *UpdateNetworkSecurityMalwareSettingsParams) WithContext(ctx context.Context) *UpdateNetworkSecurityMalwareSettingsParams
WithContext adds the context to the update network security malware settings params
func (*UpdateNetworkSecurityMalwareSettingsParams) WithHTTPClient ¶
func (o *UpdateNetworkSecurityMalwareSettingsParams) WithHTTPClient(client *http.Client) *UpdateNetworkSecurityMalwareSettingsParams
WithHTTPClient adds the HTTPClient to the update network security malware settings params
func (*UpdateNetworkSecurityMalwareSettingsParams) WithNetworkID ¶
func (o *UpdateNetworkSecurityMalwareSettingsParams) WithNetworkID(networkID string) *UpdateNetworkSecurityMalwareSettingsParams
WithNetworkID adds the networkID to the update network security malware settings params
func (*UpdateNetworkSecurityMalwareSettingsParams) WithTimeout ¶
func (o *UpdateNetworkSecurityMalwareSettingsParams) WithTimeout(timeout time.Duration) *UpdateNetworkSecurityMalwareSettingsParams
WithTimeout adds the timeout to the update network security malware settings params
func (*UpdateNetworkSecurityMalwareSettingsParams) WithUpdateNetworkSecurityMalwareSettings ¶
func (o *UpdateNetworkSecurityMalwareSettingsParams) WithUpdateNetworkSecurityMalwareSettings(updateNetworkSecurityMalwareSettings *models.UpdateNetworkSecurityMalwareSettings) *UpdateNetworkSecurityMalwareSettingsParams
WithUpdateNetworkSecurityMalwareSettings adds the updateNetworkSecurityMalwareSettings to the update network security malware settings params
func (*UpdateNetworkSecurityMalwareSettingsParams) WriteToRequest ¶
func (o *UpdateNetworkSecurityMalwareSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNetworkSecurityMalwareSettingsReader ¶
type UpdateNetworkSecurityMalwareSettingsReader struct {
// contains filtered or unexported fields
}
UpdateNetworkSecurityMalwareSettingsReader is a Reader for the UpdateNetworkSecurityMalwareSettings structure.
func (*UpdateNetworkSecurityMalwareSettingsReader) ReadResponse ¶
func (o *UpdateNetworkSecurityMalwareSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.