system_outputs

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2018 License: BSD-3-Clause Imports: 9 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 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

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

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

WithTimeout adds the timeout to the delete notification params

func (*DeleteNotificationParams) WriteToRequest

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

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

WithTimeout adds the timeout to the list notifications params

func (*ListNotificationsParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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