Documentation
¶
Index ¶
- type Client
- func (a *Client) GetNetworkAlertSettings(params *GetNetworkAlertSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkAlertSettingsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateNetworkAlertSettings(params *UpdateNetworkAlertSettingsParams, ...) (*UpdateNetworkAlertSettingsOK, error)
- type ClientService
- type GetNetworkAlertSettingsOK
- type GetNetworkAlertSettingsParams
- func NewGetNetworkAlertSettingsParams() *GetNetworkAlertSettingsParams
- func NewGetNetworkAlertSettingsParamsWithContext(ctx context.Context) *GetNetworkAlertSettingsParams
- func NewGetNetworkAlertSettingsParamsWithHTTPClient(client *http.Client) *GetNetworkAlertSettingsParams
- func NewGetNetworkAlertSettingsParamsWithTimeout(timeout time.Duration) *GetNetworkAlertSettingsParams
- func (o *GetNetworkAlertSettingsParams) SetContext(ctx context.Context)
- func (o *GetNetworkAlertSettingsParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkAlertSettingsParams) SetNetworkID(networkID string)
- func (o *GetNetworkAlertSettingsParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkAlertSettingsParams) WithContext(ctx context.Context) *GetNetworkAlertSettingsParams
- func (o *GetNetworkAlertSettingsParams) WithHTTPClient(client *http.Client) *GetNetworkAlertSettingsParams
- func (o *GetNetworkAlertSettingsParams) WithNetworkID(networkID string) *GetNetworkAlertSettingsParams
- func (o *GetNetworkAlertSettingsParams) WithTimeout(timeout time.Duration) *GetNetworkAlertSettingsParams
- func (o *GetNetworkAlertSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkAlertSettingsReader
- type UpdateNetworkAlertSettingsOK
- type UpdateNetworkAlertSettingsParams
- func NewUpdateNetworkAlertSettingsParams() *UpdateNetworkAlertSettingsParams
- func NewUpdateNetworkAlertSettingsParamsWithContext(ctx context.Context) *UpdateNetworkAlertSettingsParams
- func NewUpdateNetworkAlertSettingsParamsWithHTTPClient(client *http.Client) *UpdateNetworkAlertSettingsParams
- func NewUpdateNetworkAlertSettingsParamsWithTimeout(timeout time.Duration) *UpdateNetworkAlertSettingsParams
- func (o *UpdateNetworkAlertSettingsParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkAlertSettingsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkAlertSettingsParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkAlertSettingsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkAlertSettingsParams) SetUpdateNetworkAlertSettings(updateNetworkAlertSettings *models.UpdateNetworkAlertSettings)
- func (o *UpdateNetworkAlertSettingsParams) WithContext(ctx context.Context) *UpdateNetworkAlertSettingsParams
- func (o *UpdateNetworkAlertSettingsParams) WithHTTPClient(client *http.Client) *UpdateNetworkAlertSettingsParams
- func (o *UpdateNetworkAlertSettingsParams) WithNetworkID(networkID string) *UpdateNetworkAlertSettingsParams
- func (o *UpdateNetworkAlertSettingsParams) WithTimeout(timeout time.Duration) *UpdateNetworkAlertSettingsParams
- func (o *UpdateNetworkAlertSettingsParams) WithUpdateNetworkAlertSettings(updateNetworkAlertSettings *models.UpdateNetworkAlertSettings) *UpdateNetworkAlertSettingsParams
- func (o *UpdateNetworkAlertSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkAlertSettingsReader
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 ¶
func (o *GetNetworkAlertSettingsParams) WithContext(ctx context.Context) *GetNetworkAlertSettingsParams
WithContext adds the context to the get network alert settings params
func (*GetNetworkAlertSettingsParams) WithHTTPClient ¶
func (o *GetNetworkAlertSettingsParams) WithHTTPClient(client *http.Client) *GetNetworkAlertSettingsParams
WithHTTPClient adds the HTTPClient to the get network alert settings params
func (*GetNetworkAlertSettingsParams) WithNetworkID ¶
func (o *GetNetworkAlertSettingsParams) WithNetworkID(networkID string) *GetNetworkAlertSettingsParams
WithNetworkID adds the networkID to the get network alert settings params
func (*GetNetworkAlertSettingsParams) WithTimeout ¶
func (o *GetNetworkAlertSettingsParams) WithTimeout(timeout time.Duration) *GetNetworkAlertSettingsParams
WithTimeout adds the timeout to the get network alert settings params
func (*GetNetworkAlertSettingsParams) WriteToRequest ¶
func (o *GetNetworkAlertSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *UpdateNetworkAlertSettingsOK) Error() string
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 ¶
func (o *UpdateNetworkAlertSettingsParams) SetContext(ctx context.Context)
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 ¶
func (o *UpdateNetworkAlertSettingsParams) WithContext(ctx context.Context) *UpdateNetworkAlertSettingsParams
WithContext adds the context to the update network alert settings params
func (*UpdateNetworkAlertSettingsParams) WithHTTPClient ¶
func (o *UpdateNetworkAlertSettingsParams) WithHTTPClient(client *http.Client) *UpdateNetworkAlertSettingsParams
WithHTTPClient adds the HTTPClient to the update network alert settings params
func (*UpdateNetworkAlertSettingsParams) WithNetworkID ¶
func (o *UpdateNetworkAlertSettingsParams) WithNetworkID(networkID string) *UpdateNetworkAlertSettingsParams
WithNetworkID adds the networkID to the update network alert settings params
func (*UpdateNetworkAlertSettingsParams) WithTimeout ¶
func (o *UpdateNetworkAlertSettingsParams) WithTimeout(timeout time.Duration) *UpdateNetworkAlertSettingsParams
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 ¶
func (o *UpdateNetworkAlertSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.