alert_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 alert settings API

func (*Client) GetNetworkAlertSettings

func (a *Client) GetNetworkAlertSettings(params *GetNetworkAlertSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkAlertSettingsOK, error)

GetNetworkAlertSettings gets network alert settings

Return the alert configuration for this network

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateNetworkAlertSettings

func (a *Client) UpdateNetworkAlertSettings(params *UpdateNetworkAlertSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkAlertSettingsOK, error)

UpdateNetworkAlertSettings updates network alert settings

Update the alert configuration for this network

type ClientService

type ClientService interface {
	GetNetworkAlertSettings(params *GetNetworkAlertSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkAlertSettingsOK, error)

	UpdateNetworkAlertSettings(params *UpdateNetworkAlertSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkAlertSettingsOK, 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 alert settings API client.

type GetNetworkAlertSettingsOK

type GetNetworkAlertSettingsOK struct {
	Payload interface{}
}

GetNetworkAlertSettingsOK handles this case with default header values.

Successful operation

func NewGetNetworkAlertSettingsOK

func NewGetNetworkAlertSettingsOK() *GetNetworkAlertSettingsOK

NewGetNetworkAlertSettingsOK creates a GetNetworkAlertSettingsOK with default headers values

func (*GetNetworkAlertSettingsOK) Error

func (o *GetNetworkAlertSettingsOK) Error() string

func (*GetNetworkAlertSettingsOK) GetPayload

func (o *GetNetworkAlertSettingsOK) GetPayload() interface{}

type GetNetworkAlertSettingsParams

type GetNetworkAlertSettingsParams struct {

	/*NetworkID*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkAlertSettingsParams contains all the parameters to send to the API endpoint for the get network alert settings operation typically these are written to a http.Request

func NewGetNetworkAlertSettingsParams

func NewGetNetworkAlertSettingsParams() *GetNetworkAlertSettingsParams

NewGetNetworkAlertSettingsParams creates a new GetNetworkAlertSettingsParams object with the default values initialized.

func NewGetNetworkAlertSettingsParamsWithContext

func NewGetNetworkAlertSettingsParamsWithContext(ctx context.Context) *GetNetworkAlertSettingsParams

NewGetNetworkAlertSettingsParamsWithContext creates a new GetNetworkAlertSettingsParams object with the default values initialized, and the ability to set a context for a request

func NewGetNetworkAlertSettingsParamsWithHTTPClient

func NewGetNetworkAlertSettingsParamsWithHTTPClient(client *http.Client) *GetNetworkAlertSettingsParams

NewGetNetworkAlertSettingsParamsWithHTTPClient creates a new GetNetworkAlertSettingsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetNetworkAlertSettingsParamsWithTimeout

func NewGetNetworkAlertSettingsParamsWithTimeout(timeout time.Duration) *GetNetworkAlertSettingsParams

NewGetNetworkAlertSettingsParamsWithTimeout creates a new GetNetworkAlertSettingsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetNetworkAlertSettingsParams) SetContext

func (o *GetNetworkAlertSettingsParams) SetContext(ctx context.Context)

SetContext adds the context to the get network alert settings params

func (*GetNetworkAlertSettingsParams) SetHTTPClient

func (o *GetNetworkAlertSettingsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get network alert settings params

func (*GetNetworkAlertSettingsParams) SetNetworkID

func (o *GetNetworkAlertSettingsParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network alert settings params

func (*GetNetworkAlertSettingsParams) SetTimeout

func (o *GetNetworkAlertSettingsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get network alert settings params

func (*GetNetworkAlertSettingsParams) WithContext

WithContext adds the context to the get network alert settings params

func (*GetNetworkAlertSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network alert settings params

func (*GetNetworkAlertSettingsParams) WithNetworkID

WithNetworkID adds the networkID to the get network alert settings params

func (*GetNetworkAlertSettingsParams) WithTimeout

WithTimeout adds the timeout to the get network alert settings params

func (*GetNetworkAlertSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkAlertSettingsReader

type GetNetworkAlertSettingsReader struct {
	// contains filtered or unexported fields
}

GetNetworkAlertSettingsReader is a Reader for the GetNetworkAlertSettings structure.

func (*GetNetworkAlertSettingsReader) ReadResponse

func (o *GetNetworkAlertSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateNetworkAlertSettingsOK

type UpdateNetworkAlertSettingsOK struct {
	Payload interface{}
}

UpdateNetworkAlertSettingsOK handles this case with default header values.

Successful operation

func NewUpdateNetworkAlertSettingsOK

func NewUpdateNetworkAlertSettingsOK() *UpdateNetworkAlertSettingsOK

NewUpdateNetworkAlertSettingsOK creates a UpdateNetworkAlertSettingsOK with default headers values

func (*UpdateNetworkAlertSettingsOK) Error

func (*UpdateNetworkAlertSettingsOK) GetPayload

func (o *UpdateNetworkAlertSettingsOK) GetPayload() interface{}

type UpdateNetworkAlertSettingsParams

type UpdateNetworkAlertSettingsParams struct {

	/*NetworkID*/
	NetworkID string
	/*UpdateNetworkAlertSettings*/
	UpdateNetworkAlertSettings *models.UpdateNetworkAlertSettings

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateNetworkAlertSettingsParams contains all the parameters to send to the API endpoint for the update network alert settings operation typically these are written to a http.Request

func NewUpdateNetworkAlertSettingsParams

func NewUpdateNetworkAlertSettingsParams() *UpdateNetworkAlertSettingsParams

NewUpdateNetworkAlertSettingsParams creates a new UpdateNetworkAlertSettingsParams object with the default values initialized.

func NewUpdateNetworkAlertSettingsParamsWithContext

func NewUpdateNetworkAlertSettingsParamsWithContext(ctx context.Context) *UpdateNetworkAlertSettingsParams

NewUpdateNetworkAlertSettingsParamsWithContext creates a new UpdateNetworkAlertSettingsParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateNetworkAlertSettingsParamsWithHTTPClient

func NewUpdateNetworkAlertSettingsParamsWithHTTPClient(client *http.Client) *UpdateNetworkAlertSettingsParams

NewUpdateNetworkAlertSettingsParamsWithHTTPClient creates a new UpdateNetworkAlertSettingsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateNetworkAlertSettingsParamsWithTimeout

func NewUpdateNetworkAlertSettingsParamsWithTimeout(timeout time.Duration) *UpdateNetworkAlertSettingsParams

NewUpdateNetworkAlertSettingsParamsWithTimeout creates a new UpdateNetworkAlertSettingsParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateNetworkAlertSettingsParams) SetContext

SetContext adds the context to the update network alert settings params

func (*UpdateNetworkAlertSettingsParams) SetHTTPClient

func (o *UpdateNetworkAlertSettingsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update network alert settings params

func (*UpdateNetworkAlertSettingsParams) SetNetworkID

func (o *UpdateNetworkAlertSettingsParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the update network alert settings params

func (*UpdateNetworkAlertSettingsParams) SetTimeout

func (o *UpdateNetworkAlertSettingsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update network alert settings params

func (*UpdateNetworkAlertSettingsParams) SetUpdateNetworkAlertSettings

func (o *UpdateNetworkAlertSettingsParams) SetUpdateNetworkAlertSettings(updateNetworkAlertSettings *models.UpdateNetworkAlertSettings)

SetUpdateNetworkAlertSettings adds the updateNetworkAlertSettings to the update network alert settings params

func (*UpdateNetworkAlertSettingsParams) WithContext

WithContext adds the context to the update network alert settings params

func (*UpdateNetworkAlertSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network alert settings params

func (*UpdateNetworkAlertSettingsParams) WithNetworkID

WithNetworkID adds the networkID to the update network alert settings params

func (*UpdateNetworkAlertSettingsParams) WithTimeout

WithTimeout adds the timeout to the update network alert settings params

func (*UpdateNetworkAlertSettingsParams) WithUpdateNetworkAlertSettings

func (o *UpdateNetworkAlertSettingsParams) WithUpdateNetworkAlertSettings(updateNetworkAlertSettings *models.UpdateNetworkAlertSettings) *UpdateNetworkAlertSettingsParams

WithUpdateNetworkAlertSettings adds the updateNetworkAlertSettings to the update network alert settings params

func (*UpdateNetworkAlertSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkAlertSettingsReader

type UpdateNetworkAlertSettingsReader struct {
	// contains filtered or unexported fields
}

UpdateNetworkAlertSettingsReader is a Reader for the UpdateNetworkAlertSettings structure.

func (*UpdateNetworkAlertSettingsReader) ReadResponse

func (o *UpdateNetworkAlertSettingsReader) 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