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

WithContext adds the context to the get network netflow settings params

func (*GetNetworkNetflowSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network netflow settings params

func (*GetNetworkNetflowSettingsParams) WithNetworkID

WithNetworkID adds the networkID to the get network netflow settings params

func (*GetNetworkNetflowSettingsParams) WithTimeout

WithTimeout adds the timeout to the get network netflow settings params

func (*GetNetworkNetflowSettingsParams) WriteToRequest

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

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

WithContext adds the context to the update network netflow settings params

func (*UpdateNetworkNetflowSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network netflow settings params

func (*UpdateNetworkNetflowSettingsParams) WithNetworkID

WithNetworkID adds the networkID to the update network netflow settings params

func (*UpdateNetworkNetflowSettingsParams) WithTimeout

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

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.

Jump to

Keyboard shortcuts

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