malware_settings

package
v0.0.0-...-b7c797c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

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

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 (*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

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

WithContext adds the context to the get network security malware settings params

func (*GetNetworkSecurityMalwareSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network security malware settings params

func (*GetNetworkSecurityMalwareSettingsParams) WithNetworkID

WithNetworkID adds the networkID to the get network security malware settings params

func (*GetNetworkSecurityMalwareSettingsParams) WithTimeout

WithTimeout adds the timeout to the get network security malware settings params

func (*GetNetworkSecurityMalwareSettingsParams) WriteToRequest

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 (*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

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

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

WithContext adds the context to the update network security malware settings params

func (*UpdateNetworkSecurityMalwareSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network security malware settings params

func (*UpdateNetworkSecurityMalwareSettingsParams) WithNetworkID

WithNetworkID adds the networkID to the update network security malware settings params

func (*UpdateNetworkSecurityMalwareSettingsParams) WithTimeout

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL