Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteNotification(params *DeleteNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNotificationOK, error)
- func (a *Client) ListNotifications(params *ListNotificationsParams, authInfo runtime.ClientAuthInfoWriter) (*ListNotificationsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteNotificationNotFound
- type DeleteNotificationOK
- type DeleteNotificationParams
- func NewDeleteNotificationParams() *DeleteNotificationParams
- func NewDeleteNotificationParamsWithContext(ctx context.Context) *DeleteNotificationParams
- func NewDeleteNotificationParamsWithHTTPClient(client *http.Client) *DeleteNotificationParams
- func NewDeleteNotificationParamsWithTimeout(timeout time.Duration) *DeleteNotificationParams
- func (o *DeleteNotificationParams) SetContext(ctx context.Context)
- func (o *DeleteNotificationParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNotificationParams) SetNotificationType(notificationType string)
- func (o *DeleteNotificationParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNotificationParams) WithContext(ctx context.Context) *DeleteNotificationParams
- func (o *DeleteNotificationParams) WithHTTPClient(client *http.Client) *DeleteNotificationParams
- func (o *DeleteNotificationParams) WithNotificationType(notificationType string) *DeleteNotificationParams
- func (o *DeleteNotificationParams) WithTimeout(timeout time.Duration) *DeleteNotificationParams
- func (o *DeleteNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNotificationReader
- type ListNotificationsOK
- type ListNotificationsOKBody
- type ListNotificationsParams
- func NewListNotificationsParams() *ListNotificationsParams
- func NewListNotificationsParamsWithContext(ctx context.Context) *ListNotificationsParams
- func NewListNotificationsParamsWithHTTPClient(client *http.Client) *ListNotificationsParams
- func NewListNotificationsParamsWithTimeout(timeout time.Duration) *ListNotificationsParams
- func (o *ListNotificationsParams) SetContext(ctx context.Context)
- func (o *ListNotificationsParams) SetHTTPClient(client *http.Client)
- func (o *ListNotificationsParams) SetTimeout(timeout time.Duration)
- func (o *ListNotificationsParams) WithContext(ctx context.Context) *ListNotificationsParams
- func (o *ListNotificationsParams) WithHTTPClient(client *http.Client) *ListNotificationsParams
- func (o *ListNotificationsParams) WithTimeout(timeout time.Duration) *ListNotificationsParams
- func (o *ListNotificationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListNotificationsReader
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 system outputs API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new system outputs API client.
func (*Client) DeleteNotification ¶
func (a *Client) DeleteNotification(params *DeleteNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNotificationOK, error)
DeleteNotification deletes a notification
func (*Client) ListNotifications ¶
func (a *Client) ListNotifications(params *ListNotificationsParams, authInfo runtime.ClientAuthInfoWriter) (*ListNotificationsOK, error)
ListNotifications gets all active notifications
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type DeleteNotificationNotFound ¶
type DeleteNotificationNotFound struct { }
DeleteNotificationNotFound handles this case with default header values.
No such notification type.
func NewDeleteNotificationNotFound ¶
func NewDeleteNotificationNotFound() *DeleteNotificationNotFound
NewDeleteNotificationNotFound creates a DeleteNotificationNotFound with default headers values
func (*DeleteNotificationNotFound) Error ¶
func (o *DeleteNotificationNotFound) Error() string
type DeleteNotificationOK ¶
type DeleteNotificationOK struct { }
DeleteNotificationOK handles this case with default header values.
No response was specified
func NewDeleteNotificationOK ¶
func NewDeleteNotificationOK() *DeleteNotificationOK
NewDeleteNotificationOK creates a DeleteNotificationOK with default headers values
func (*DeleteNotificationOK) Error ¶
func (o *DeleteNotificationOK) Error() string
type DeleteNotificationParams ¶
type DeleteNotificationParams struct { /*NotificationType*/ NotificationType string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteNotificationParams contains all the parameters to send to the API endpoint for the delete notification operation typically these are written to a http.Request
func NewDeleteNotificationParams ¶
func NewDeleteNotificationParams() *DeleteNotificationParams
NewDeleteNotificationParams creates a new DeleteNotificationParams object with the default values initialized.
func NewDeleteNotificationParamsWithContext ¶
func NewDeleteNotificationParamsWithContext(ctx context.Context) *DeleteNotificationParams
NewDeleteNotificationParamsWithContext creates a new DeleteNotificationParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteNotificationParamsWithHTTPClient ¶
func NewDeleteNotificationParamsWithHTTPClient(client *http.Client) *DeleteNotificationParams
NewDeleteNotificationParamsWithHTTPClient creates a new DeleteNotificationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteNotificationParamsWithTimeout ¶
func NewDeleteNotificationParamsWithTimeout(timeout time.Duration) *DeleteNotificationParams
NewDeleteNotificationParamsWithTimeout creates a new DeleteNotificationParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteNotificationParams) SetContext ¶
func (o *DeleteNotificationParams) SetContext(ctx context.Context)
SetContext adds the context to the delete notification params
func (*DeleteNotificationParams) SetHTTPClient ¶
func (o *DeleteNotificationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete notification params
func (*DeleteNotificationParams) SetNotificationType ¶
func (o *DeleteNotificationParams) SetNotificationType(notificationType string)
SetNotificationType adds the notificationType to the delete notification params
func (*DeleteNotificationParams) SetTimeout ¶
func (o *DeleteNotificationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete notification params
func (*DeleteNotificationParams) WithContext ¶
func (o *DeleteNotificationParams) WithContext(ctx context.Context) *DeleteNotificationParams
WithContext adds the context to the delete notification params
func (*DeleteNotificationParams) WithHTTPClient ¶
func (o *DeleteNotificationParams) WithHTTPClient(client *http.Client) *DeleteNotificationParams
WithHTTPClient adds the HTTPClient to the delete notification params
func (*DeleteNotificationParams) WithNotificationType ¶
func (o *DeleteNotificationParams) WithNotificationType(notificationType string) *DeleteNotificationParams
WithNotificationType adds the notificationType to the delete notification params
func (*DeleteNotificationParams) WithTimeout ¶
func (o *DeleteNotificationParams) WithTimeout(timeout time.Duration) *DeleteNotificationParams
WithTimeout adds the timeout to the delete notification params
func (*DeleteNotificationParams) WriteToRequest ¶
func (o *DeleteNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNotificationReader ¶
type DeleteNotificationReader struct {
// contains filtered or unexported fields
}
DeleteNotificationReader is a Reader for the DeleteNotification structure.
func (*DeleteNotificationReader) ReadResponse ¶
func (o *DeleteNotificationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListNotificationsOK ¶
type ListNotificationsOK struct {
Payload ListNotificationsOKBody
}
ListNotificationsOK handles this case with default header values.
No response was specified
func NewListNotificationsOK ¶
func NewListNotificationsOK() *ListNotificationsOK
NewListNotificationsOK creates a ListNotificationsOK with default headers values
func (*ListNotificationsOK) Error ¶
func (o *ListNotificationsOK) Error() string
type ListNotificationsOKBody ¶
type ListNotificationsOKBody interface{}
ListNotificationsOKBody list notifications o k body swagger:model ListNotificationsOKBody
type ListNotificationsParams ¶
type ListNotificationsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListNotificationsParams contains all the parameters to send to the API endpoint for the list notifications operation typically these are written to a http.Request
func NewListNotificationsParams ¶
func NewListNotificationsParams() *ListNotificationsParams
NewListNotificationsParams creates a new ListNotificationsParams object with the default values initialized.
func NewListNotificationsParamsWithContext ¶
func NewListNotificationsParamsWithContext(ctx context.Context) *ListNotificationsParams
NewListNotificationsParamsWithContext creates a new ListNotificationsParams object with the default values initialized, and the ability to set a context for a request
func NewListNotificationsParamsWithHTTPClient ¶
func NewListNotificationsParamsWithHTTPClient(client *http.Client) *ListNotificationsParams
NewListNotificationsParamsWithHTTPClient creates a new ListNotificationsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListNotificationsParamsWithTimeout ¶
func NewListNotificationsParamsWithTimeout(timeout time.Duration) *ListNotificationsParams
NewListNotificationsParamsWithTimeout creates a new ListNotificationsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListNotificationsParams) SetContext ¶
func (o *ListNotificationsParams) SetContext(ctx context.Context)
SetContext adds the context to the list notifications params
func (*ListNotificationsParams) SetHTTPClient ¶
func (o *ListNotificationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list notifications params
func (*ListNotificationsParams) SetTimeout ¶
func (o *ListNotificationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list notifications params
func (*ListNotificationsParams) WithContext ¶
func (o *ListNotificationsParams) WithContext(ctx context.Context) *ListNotificationsParams
WithContext adds the context to the list notifications params
func (*ListNotificationsParams) WithHTTPClient ¶
func (o *ListNotificationsParams) WithHTTPClient(client *http.Client) *ListNotificationsParams
WithHTTPClient adds the HTTPClient to the list notifications params
func (*ListNotificationsParams) WithTimeout ¶
func (o *ListNotificationsParams) WithTimeout(timeout time.Duration) *ListNotificationsParams
WithTimeout adds the timeout to the list notifications params
func (*ListNotificationsParams) WriteToRequest ¶
func (o *ListNotificationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListNotificationsReader ¶
type ListNotificationsReader struct {
// contains filtered or unexported fields
}
ListNotificationsReader is a Reader for the ListNotifications structure.
func (*ListNotificationsReader) ReadResponse ¶
func (o *ListNotificationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.