Documentation ¶
Index ¶
- type Client
- type NotificationGetBadRequest
- type NotificationGetNotFound
- type NotificationGetOK
- type NotificationGetParams
- func NewNotificationGetParams() *NotificationGetParams
- func NewNotificationGetParamsWithContext(ctx context.Context) *NotificationGetParams
- func NewNotificationGetParamsWithHTTPClient(client *http.Client) *NotificationGetParams
- func NewNotificationGetParamsWithTimeout(timeout time.Duration) *NotificationGetParams
- func (o *NotificationGetParams) SetContext(ctx context.Context)
- func (o *NotificationGetParams) SetHTTPClient(client *http.Client)
- func (o *NotificationGetParams) SetTimeout(timeout time.Duration)
- func (o *NotificationGetParams) WithContext(ctx context.Context) *NotificationGetParams
- func (o *NotificationGetParams) WithHTTPClient(client *http.Client) *NotificationGetParams
- func (o *NotificationGetParams) WithTimeout(timeout time.Duration) *NotificationGetParams
- func (o *NotificationGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NotificationGetReader
- type NotificationGetUnauthorized
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 notification API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new notification API client.
func (*Client) NotificationGet ¶
func (a *Client) NotificationGet(params *NotificationGetParams, authInfo runtime.ClientAuthInfoWriter) (*NotificationGetOK, error)
NotificationGet gets your current notifications
This is an upcoming feature and currently does not return data.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type NotificationGetBadRequest ¶
NotificationGetBadRequest handles this case with default header values.
Parameter Error
func NewNotificationGetBadRequest ¶
func NewNotificationGetBadRequest() *NotificationGetBadRequest
NewNotificationGetBadRequest creates a NotificationGetBadRequest with default headers values
func (*NotificationGetBadRequest) Error ¶
func (o *NotificationGetBadRequest) Error() string
type NotificationGetNotFound ¶
NotificationGetNotFound handles this case with default header values.
Not Found
func NewNotificationGetNotFound ¶
func NewNotificationGetNotFound() *NotificationGetNotFound
NewNotificationGetNotFound creates a NotificationGetNotFound with default headers values
func (*NotificationGetNotFound) Error ¶
func (o *NotificationGetNotFound) Error() string
type NotificationGetOK ¶
type NotificationGetOK struct {
Payload []*models.Notification
}
NotificationGetOK handles this case with default header values.
Request was successful
func NewNotificationGetOK ¶
func NewNotificationGetOK() *NotificationGetOK
NewNotificationGetOK creates a NotificationGetOK with default headers values
func (*NotificationGetOK) Error ¶
func (o *NotificationGetOK) Error() string
type NotificationGetParams ¶
type NotificationGetParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
NotificationGetParams contains all the parameters to send to the API endpoint for the notification get operation typically these are written to a http.Request
func NewNotificationGetParams ¶
func NewNotificationGetParams() *NotificationGetParams
NewNotificationGetParams creates a new NotificationGetParams object with the default values initialized.
func NewNotificationGetParamsWithContext ¶
func NewNotificationGetParamsWithContext(ctx context.Context) *NotificationGetParams
NewNotificationGetParamsWithContext creates a new NotificationGetParams object with the default values initialized, and the ability to set a context for a request
func NewNotificationGetParamsWithHTTPClient ¶
func NewNotificationGetParamsWithHTTPClient(client *http.Client) *NotificationGetParams
NewNotificationGetParamsWithHTTPClient creates a new NotificationGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewNotificationGetParamsWithTimeout ¶
func NewNotificationGetParamsWithTimeout(timeout time.Duration) *NotificationGetParams
NewNotificationGetParamsWithTimeout creates a new NotificationGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*NotificationGetParams) SetContext ¶
func (o *NotificationGetParams) SetContext(ctx context.Context)
SetContext adds the context to the notification get params
func (*NotificationGetParams) SetHTTPClient ¶
func (o *NotificationGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the notification get params
func (*NotificationGetParams) SetTimeout ¶
func (o *NotificationGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the notification get params
func (*NotificationGetParams) WithContext ¶
func (o *NotificationGetParams) WithContext(ctx context.Context) *NotificationGetParams
WithContext adds the context to the notification get params
func (*NotificationGetParams) WithHTTPClient ¶
func (o *NotificationGetParams) WithHTTPClient(client *http.Client) *NotificationGetParams
WithHTTPClient adds the HTTPClient to the notification get params
func (*NotificationGetParams) WithTimeout ¶
func (o *NotificationGetParams) WithTimeout(timeout time.Duration) *NotificationGetParams
WithTimeout adds the timeout to the notification get params
func (*NotificationGetParams) WriteToRequest ¶
func (o *NotificationGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type NotificationGetReader ¶
type NotificationGetReader struct {
// contains filtered or unexported fields
}
NotificationGetReader is a Reader for the NotificationGet structure.
func (*NotificationGetReader) ReadResponse ¶
func (o *NotificationGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type NotificationGetUnauthorized ¶
type NotificationGetUnauthorized struct {
}NotificationGetUnauthorized handles this case with default header values.
Unauthorized
func NewNotificationGetUnauthorized ¶
func NewNotificationGetUnauthorized() *NotificationGetUnauthorized
NewNotificationGetUnauthorized creates a NotificationGetUnauthorized with default headers values
func (*NotificationGetUnauthorized) Error ¶
func (o *NotificationGetUnauthorized) Error() string