Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateNotification(params *CreateNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*CreateNotificationCreated, error)
- func (a *Client) DeleteNotification(params *DeleteNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNotificationNoContent, error)
- func (a *Client) ListNotifications(params *ListNotificationsParams, authInfo runtime.ClientAuthInfoWriter) (*ListNotificationsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateNotification(params *UpdateNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNotificationOK, error)
- type ClientService
- type CreateNotificationBadRequest
- type CreateNotificationCreated
- type CreateNotificationForbidden
- type CreateNotificationInternalServerError
- type CreateNotificationNotFound
- type CreateNotificationParams
- func NewCreateNotificationParams() *CreateNotificationParams
- func NewCreateNotificationParamsWithContext(ctx context.Context) *CreateNotificationParams
- func NewCreateNotificationParamsWithHTTPClient(client *http.Client) *CreateNotificationParams
- func NewCreateNotificationParamsWithTimeout(timeout time.Duration) *CreateNotificationParams
- func (o *CreateNotificationParams) SetContext(ctx context.Context)
- func (o *CreateNotificationParams) SetHTTPClient(client *http.Client)
- func (o *CreateNotificationParams) SetNotification(notification *models.CreateNotificationInput)
- func (o *CreateNotificationParams) SetTimeout(timeout time.Duration)
- func (o *CreateNotificationParams) WithContext(ctx context.Context) *CreateNotificationParams
- func (o *CreateNotificationParams) WithHTTPClient(client *http.Client) *CreateNotificationParams
- func (o *CreateNotificationParams) WithNotification(notification *models.CreateNotificationInput) *CreateNotificationParams
- func (o *CreateNotificationParams) WithTimeout(timeout time.Duration) *CreateNotificationParams
- func (o *CreateNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNotificationReader
- type CreateNotificationUnauthorized
- type DeleteNotificationBadRequest
- type DeleteNotificationForbidden
- type DeleteNotificationInternalServerError
- type DeleteNotificationNoContent
- type DeleteNotificationNotFound
- 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) SetNotificationID(notificationID 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) WithNotificationID(notificationID string) *DeleteNotificationParams
- func (o *DeleteNotificationParams) WithTimeout(timeout time.Duration) *DeleteNotificationParams
- func (o *DeleteNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNotificationReader
- type DeleteNotificationUnauthorized
- type ListNotificationsBadRequest
- type ListNotificationsForbidden
- type ListNotificationsInternalServerError
- type ListNotificationsOK
- 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) SetMaxItems(maxItems *int64)
- func (o *ListNotificationsParams) SetOffset(offset *int64)
- 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) WithMaxItems(maxItems *int64) *ListNotificationsParams
- func (o *ListNotificationsParams) WithOffset(offset *int64) *ListNotificationsParams
- func (o *ListNotificationsParams) WithTimeout(timeout time.Duration) *ListNotificationsParams
- func (o *ListNotificationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListNotificationsReader
- type ListNotificationsUnauthorized
- type UpdateNotificationBadRequest
- type UpdateNotificationForbidden
- type UpdateNotificationInternalServerError
- type UpdateNotificationNotFound
- type UpdateNotificationOK
- type UpdateNotificationParams
- func NewUpdateNotificationParams() *UpdateNotificationParams
- func NewUpdateNotificationParamsWithContext(ctx context.Context) *UpdateNotificationParams
- func NewUpdateNotificationParamsWithHTTPClient(client *http.Client) *UpdateNotificationParams
- func NewUpdateNotificationParamsWithTimeout(timeout time.Duration) *UpdateNotificationParams
- func (o *UpdateNotificationParams) SetContext(ctx context.Context)
- func (o *UpdateNotificationParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNotificationParams) SetNotification(notification *models.UpdateNotificationInput)
- func (o *UpdateNotificationParams) SetNotificationID(notificationID string)
- func (o *UpdateNotificationParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNotificationParams) WithContext(ctx context.Context) *UpdateNotificationParams
- func (o *UpdateNotificationParams) WithHTTPClient(client *http.Client) *UpdateNotificationParams
- func (o *UpdateNotificationParams) WithNotification(notification *models.UpdateNotificationInput) *UpdateNotificationParams
- func (o *UpdateNotificationParams) WithNotificationID(notificationID string) *UpdateNotificationParams
- func (o *UpdateNotificationParams) WithTimeout(timeout time.Duration) *UpdateNotificationParams
- func (o *UpdateNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNotificationReader
- type UpdateNotificationUnauthorized
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 notifications API
func (*Client) CreateNotification ¶
func (a *Client) CreateNotification(params *CreateNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*CreateNotificationCreated, error)
CreateNotification creates a new notification
Creates a new notification.
func (*Client) DeleteNotification ¶
func (a *Client) DeleteNotification(params *DeleteNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNotificationNoContent, error)
DeleteNotification deletes a notification
Deletes a notification.
func (*Client) ListNotifications ¶
func (a *Client) ListNotifications(params *ListNotificationsParams, authInfo runtime.ClientAuthInfoWriter) (*ListNotificationsOK, error)
ListNotifications lists details for all notifications
Lists details for all notifications.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateNotification ¶
func (a *Client) UpdateNotification(params *UpdateNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNotificationOK, error)
UpdateNotification updates an existing notification
Updates an existing notification.
type ClientService ¶
type ClientService interface { CreateNotification(params *CreateNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*CreateNotificationCreated, error) DeleteNotification(params *DeleteNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNotificationNoContent, error) ListNotifications(params *ListNotificationsParams, authInfo runtime.ClientAuthInfoWriter) (*ListNotificationsOK, error) UpdateNotification(params *UpdateNotificationParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNotificationOK, 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 notifications API client.
type CreateNotificationBadRequest ¶
type CreateNotificationBadRequest struct {
Payload *models.BadRequestError
}
CreateNotificationBadRequest handles this case with default header values.
BadRequestError
func NewCreateNotificationBadRequest ¶
func NewCreateNotificationBadRequest() *CreateNotificationBadRequest
NewCreateNotificationBadRequest creates a CreateNotificationBadRequest with default headers values
func (*CreateNotificationBadRequest) Error ¶
func (o *CreateNotificationBadRequest) Error() string
func (*CreateNotificationBadRequest) GetPayload ¶
func (o *CreateNotificationBadRequest) GetPayload() *models.BadRequestError
type CreateNotificationCreated ¶
type CreateNotificationCreated struct {
Payload *models.Notification
}
CreateNotificationCreated handles this case with default header values.
New notification details.
func NewCreateNotificationCreated ¶
func NewCreateNotificationCreated() *CreateNotificationCreated
NewCreateNotificationCreated creates a CreateNotificationCreated with default headers values
func (*CreateNotificationCreated) Error ¶
func (o *CreateNotificationCreated) Error() string
func (*CreateNotificationCreated) GetPayload ¶
func (o *CreateNotificationCreated) GetPayload() *models.Notification
type CreateNotificationForbidden ¶
type CreateNotificationForbidden struct {
Payload *models.AuthorizationError
}
CreateNotificationForbidden handles this case with default header values.
AuthorizationError
func NewCreateNotificationForbidden ¶
func NewCreateNotificationForbidden() *CreateNotificationForbidden
NewCreateNotificationForbidden creates a CreateNotificationForbidden with default headers values
func (*CreateNotificationForbidden) Error ¶
func (o *CreateNotificationForbidden) Error() string
func (*CreateNotificationForbidden) GetPayload ¶
func (o *CreateNotificationForbidden) GetPayload() *models.AuthorizationError
type CreateNotificationInternalServerError ¶
type CreateNotificationInternalServerError struct {
Payload *models.InternalServerError
}
CreateNotificationInternalServerError handles this case with default header values.
InternalServerError
func NewCreateNotificationInternalServerError ¶
func NewCreateNotificationInternalServerError() *CreateNotificationInternalServerError
NewCreateNotificationInternalServerError creates a CreateNotificationInternalServerError with default headers values
func (*CreateNotificationInternalServerError) Error ¶
func (o *CreateNotificationInternalServerError) Error() string
func (*CreateNotificationInternalServerError) GetPayload ¶
func (o *CreateNotificationInternalServerError) GetPayload() *models.InternalServerError
type CreateNotificationNotFound ¶
type CreateNotificationNotFound struct {
Payload *models.NotFoundError
}
CreateNotificationNotFound handles this case with default header values.
NotFoundError
func NewCreateNotificationNotFound ¶
func NewCreateNotificationNotFound() *CreateNotificationNotFound
NewCreateNotificationNotFound creates a CreateNotificationNotFound with default headers values
func (*CreateNotificationNotFound) Error ¶
func (o *CreateNotificationNotFound) Error() string
func (*CreateNotificationNotFound) GetPayload ¶
func (o *CreateNotificationNotFound) GetPayload() *models.NotFoundError
type CreateNotificationParams ¶
type CreateNotificationParams struct { /*Notification Configuration options for the new notification. */ Notification *models.CreateNotificationInput Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateNotificationParams contains all the parameters to send to the API endpoint for the create notification operation typically these are written to a http.Request
func NewCreateNotificationParams ¶
func NewCreateNotificationParams() *CreateNotificationParams
NewCreateNotificationParams creates a new CreateNotificationParams object with the default values initialized.
func NewCreateNotificationParamsWithContext ¶
func NewCreateNotificationParamsWithContext(ctx context.Context) *CreateNotificationParams
NewCreateNotificationParamsWithContext creates a new CreateNotificationParams object with the default values initialized, and the ability to set a context for a request
func NewCreateNotificationParamsWithHTTPClient ¶
func NewCreateNotificationParamsWithHTTPClient(client *http.Client) *CreateNotificationParams
NewCreateNotificationParamsWithHTTPClient creates a new CreateNotificationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateNotificationParamsWithTimeout ¶
func NewCreateNotificationParamsWithTimeout(timeout time.Duration) *CreateNotificationParams
NewCreateNotificationParamsWithTimeout creates a new CreateNotificationParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateNotificationParams) SetContext ¶
func (o *CreateNotificationParams) SetContext(ctx context.Context)
SetContext adds the context to the create notification params
func (*CreateNotificationParams) SetHTTPClient ¶
func (o *CreateNotificationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create notification params
func (*CreateNotificationParams) SetNotification ¶
func (o *CreateNotificationParams) SetNotification(notification *models.CreateNotificationInput)
SetNotification adds the notification to the create notification params
func (*CreateNotificationParams) SetTimeout ¶
func (o *CreateNotificationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create notification params
func (*CreateNotificationParams) WithContext ¶
func (o *CreateNotificationParams) WithContext(ctx context.Context) *CreateNotificationParams
WithContext adds the context to the create notification params
func (*CreateNotificationParams) WithHTTPClient ¶
func (o *CreateNotificationParams) WithHTTPClient(client *http.Client) *CreateNotificationParams
WithHTTPClient adds the HTTPClient to the create notification params
func (*CreateNotificationParams) WithNotification ¶
func (o *CreateNotificationParams) WithNotification(notification *models.CreateNotificationInput) *CreateNotificationParams
WithNotification adds the notification to the create notification params
func (*CreateNotificationParams) WithTimeout ¶
func (o *CreateNotificationParams) WithTimeout(timeout time.Duration) *CreateNotificationParams
WithTimeout adds the timeout to the create notification params
func (*CreateNotificationParams) WriteToRequest ¶
func (o *CreateNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateNotificationReader ¶
type CreateNotificationReader struct {
// contains filtered or unexported fields
}
CreateNotificationReader is a Reader for the CreateNotification structure.
func (*CreateNotificationReader) ReadResponse ¶
func (o *CreateNotificationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateNotificationUnauthorized ¶
type CreateNotificationUnauthorized struct {
}CreateNotificationUnauthorized handles this case with default header values.
AuthenticationError
func NewCreateNotificationUnauthorized ¶
func NewCreateNotificationUnauthorized() *CreateNotificationUnauthorized
NewCreateNotificationUnauthorized creates a CreateNotificationUnauthorized with default headers values
func (*CreateNotificationUnauthorized) Error ¶
func (o *CreateNotificationUnauthorized) Error() string
func (*CreateNotificationUnauthorized) GetPayload ¶
func (o *CreateNotificationUnauthorized) GetPayload() *models.AuthenticationError
type DeleteNotificationBadRequest ¶
type DeleteNotificationBadRequest struct {
Payload *models.BadRequestError
}
DeleteNotificationBadRequest handles this case with default header values.
BadRequestError
func NewDeleteNotificationBadRequest ¶
func NewDeleteNotificationBadRequest() *DeleteNotificationBadRequest
NewDeleteNotificationBadRequest creates a DeleteNotificationBadRequest with default headers values
func (*DeleteNotificationBadRequest) Error ¶
func (o *DeleteNotificationBadRequest) Error() string
func (*DeleteNotificationBadRequest) GetPayload ¶
func (o *DeleteNotificationBadRequest) GetPayload() *models.BadRequestError
type DeleteNotificationForbidden ¶
type DeleteNotificationForbidden struct {
Payload *models.AuthorizationError
}
DeleteNotificationForbidden handles this case with default header values.
AuthorizationError
func NewDeleteNotificationForbidden ¶
func NewDeleteNotificationForbidden() *DeleteNotificationForbidden
NewDeleteNotificationForbidden creates a DeleteNotificationForbidden with default headers values
func (*DeleteNotificationForbidden) Error ¶
func (o *DeleteNotificationForbidden) Error() string
func (*DeleteNotificationForbidden) GetPayload ¶
func (o *DeleteNotificationForbidden) GetPayload() *models.AuthorizationError
type DeleteNotificationInternalServerError ¶
type DeleteNotificationInternalServerError struct {
Payload *models.InternalServerError
}
DeleteNotificationInternalServerError handles this case with default header values.
InternalServerError
func NewDeleteNotificationInternalServerError ¶
func NewDeleteNotificationInternalServerError() *DeleteNotificationInternalServerError
NewDeleteNotificationInternalServerError creates a DeleteNotificationInternalServerError with default headers values
func (*DeleteNotificationInternalServerError) Error ¶
func (o *DeleteNotificationInternalServerError) Error() string
func (*DeleteNotificationInternalServerError) GetPayload ¶
func (o *DeleteNotificationInternalServerError) GetPayload() *models.InternalServerError
type DeleteNotificationNoContent ¶
type DeleteNotificationNoContent struct { }
DeleteNotificationNoContent handles this case with default header values.
Notification deleted.
func NewDeleteNotificationNoContent ¶
func NewDeleteNotificationNoContent() *DeleteNotificationNoContent
NewDeleteNotificationNoContent creates a DeleteNotificationNoContent with default headers values
func (*DeleteNotificationNoContent) Error ¶
func (o *DeleteNotificationNoContent) Error() string
type DeleteNotificationNotFound ¶
type DeleteNotificationNotFound struct {
Payload *models.NotFoundError
}
DeleteNotificationNotFound handles this case with default header values.
NotFoundError
func NewDeleteNotificationNotFound ¶
func NewDeleteNotificationNotFound() *DeleteNotificationNotFound
NewDeleteNotificationNotFound creates a DeleteNotificationNotFound with default headers values
func (*DeleteNotificationNotFound) Error ¶
func (o *DeleteNotificationNotFound) Error() string
func (*DeleteNotificationNotFound) GetPayload ¶
func (o *DeleteNotificationNotFound) GetPayload() *models.NotFoundError
type DeleteNotificationParams ¶
type DeleteNotificationParams struct { /*NotificationID Notification ID. */ NotificationID 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) SetNotificationID ¶
func (o *DeleteNotificationParams) SetNotificationID(notificationID string)
SetNotificationID adds the notificationId 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) WithNotificationID ¶
func (o *DeleteNotificationParams) WithNotificationID(notificationID string) *DeleteNotificationParams
WithNotificationID adds the notificationID 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 DeleteNotificationUnauthorized ¶
type DeleteNotificationUnauthorized struct {
}DeleteNotificationUnauthorized handles this case with default header values.
AuthenticationError
func NewDeleteNotificationUnauthorized ¶
func NewDeleteNotificationUnauthorized() *DeleteNotificationUnauthorized
NewDeleteNotificationUnauthorized creates a DeleteNotificationUnauthorized with default headers values
func (*DeleteNotificationUnauthorized) Error ¶
func (o *DeleteNotificationUnauthorized) Error() string
func (*DeleteNotificationUnauthorized) GetPayload ¶
func (o *DeleteNotificationUnauthorized) GetPayload() *models.AuthenticationError
type ListNotificationsBadRequest ¶
type ListNotificationsBadRequest struct {
Payload *models.BadRequestError
}
ListNotificationsBadRequest handles this case with default header values.
BadRequestError
func NewListNotificationsBadRequest ¶
func NewListNotificationsBadRequest() *ListNotificationsBadRequest
NewListNotificationsBadRequest creates a ListNotificationsBadRequest with default headers values
func (*ListNotificationsBadRequest) Error ¶
func (o *ListNotificationsBadRequest) Error() string
func (*ListNotificationsBadRequest) GetPayload ¶
func (o *ListNotificationsBadRequest) GetPayload() *models.BadRequestError
type ListNotificationsForbidden ¶
type ListNotificationsForbidden struct {
Payload *models.AuthorizationError
}
ListNotificationsForbidden handles this case with default header values.
AuthorizationError
func NewListNotificationsForbidden ¶
func NewListNotificationsForbidden() *ListNotificationsForbidden
NewListNotificationsForbidden creates a ListNotificationsForbidden with default headers values
func (*ListNotificationsForbidden) Error ¶
func (o *ListNotificationsForbidden) Error() string
func (*ListNotificationsForbidden) GetPayload ¶
func (o *ListNotificationsForbidden) GetPayload() *models.AuthorizationError
type ListNotificationsInternalServerError ¶
type ListNotificationsInternalServerError struct {
Payload *models.InternalServerError
}
ListNotificationsInternalServerError handles this case with default header values.
InternalServerError
func NewListNotificationsInternalServerError ¶
func NewListNotificationsInternalServerError() *ListNotificationsInternalServerError
NewListNotificationsInternalServerError creates a ListNotificationsInternalServerError with default headers values
func (*ListNotificationsInternalServerError) Error ¶
func (o *ListNotificationsInternalServerError) Error() string
func (*ListNotificationsInternalServerError) GetPayload ¶
func (o *ListNotificationsInternalServerError) GetPayload() *models.InternalServerError
type ListNotificationsOK ¶
type ListNotificationsOK struct {
Payload *models.Notifications
}
ListNotificationsOK handles this case with default header values.
List of notification details.
func NewListNotificationsOK ¶
func NewListNotificationsOK() *ListNotificationsOK
NewListNotificationsOK creates a ListNotificationsOK with default headers values
func (*ListNotificationsOK) Error ¶
func (o *ListNotificationsOK) Error() string
func (*ListNotificationsOK) GetPayload ¶
func (o *ListNotificationsOK) GetPayload() *models.Notifications
type ListNotificationsParams ¶
type ListNotificationsParams struct { /*MaxItems Maximum number of items to return. */ MaxItems *int64 /*Offset Number of items to skip before returning. This parameter is used when the number of items spans multiple pages. */ Offset *int64 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) SetMaxItems ¶
func (o *ListNotificationsParams) SetMaxItems(maxItems *int64)
SetMaxItems adds the maxItems to the list notifications params
func (*ListNotificationsParams) SetOffset ¶
func (o *ListNotificationsParams) SetOffset(offset *int64)
SetOffset adds the offset 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) WithMaxItems ¶
func (o *ListNotificationsParams) WithMaxItems(maxItems *int64) *ListNotificationsParams
WithMaxItems adds the maxItems to the list notifications params
func (*ListNotificationsParams) WithOffset ¶
func (o *ListNotificationsParams) WithOffset(offset *int64) *ListNotificationsParams
WithOffset adds the offset 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.
type ListNotificationsUnauthorized ¶
type ListNotificationsUnauthorized struct {
}ListNotificationsUnauthorized handles this case with default header values.
AuthenticationError
func NewListNotificationsUnauthorized ¶
func NewListNotificationsUnauthorized() *ListNotificationsUnauthorized
NewListNotificationsUnauthorized creates a ListNotificationsUnauthorized with default headers values
func (*ListNotificationsUnauthorized) Error ¶
func (o *ListNotificationsUnauthorized) Error() string
func (*ListNotificationsUnauthorized) GetPayload ¶
func (o *ListNotificationsUnauthorized) GetPayload() *models.AuthenticationError
type UpdateNotificationBadRequest ¶
type UpdateNotificationBadRequest struct {
Payload *models.BadRequestError
}
UpdateNotificationBadRequest handles this case with default header values.
BadRequestError
func NewUpdateNotificationBadRequest ¶
func NewUpdateNotificationBadRequest() *UpdateNotificationBadRequest
NewUpdateNotificationBadRequest creates a UpdateNotificationBadRequest with default headers values
func (*UpdateNotificationBadRequest) Error ¶
func (o *UpdateNotificationBadRequest) Error() string
func (*UpdateNotificationBadRequest) GetPayload ¶
func (o *UpdateNotificationBadRequest) GetPayload() *models.BadRequestError
type UpdateNotificationForbidden ¶
type UpdateNotificationForbidden struct {
Payload *models.AuthorizationError
}
UpdateNotificationForbidden handles this case with default header values.
AuthorizationError
func NewUpdateNotificationForbidden ¶
func NewUpdateNotificationForbidden() *UpdateNotificationForbidden
NewUpdateNotificationForbidden creates a UpdateNotificationForbidden with default headers values
func (*UpdateNotificationForbidden) Error ¶
func (o *UpdateNotificationForbidden) Error() string
func (*UpdateNotificationForbidden) GetPayload ¶
func (o *UpdateNotificationForbidden) GetPayload() *models.AuthorizationError
type UpdateNotificationInternalServerError ¶
type UpdateNotificationInternalServerError struct {
Payload *models.InternalServerError
}
UpdateNotificationInternalServerError handles this case with default header values.
InternalServerError
func NewUpdateNotificationInternalServerError ¶
func NewUpdateNotificationInternalServerError() *UpdateNotificationInternalServerError
NewUpdateNotificationInternalServerError creates a UpdateNotificationInternalServerError with default headers values
func (*UpdateNotificationInternalServerError) Error ¶
func (o *UpdateNotificationInternalServerError) Error() string
func (*UpdateNotificationInternalServerError) GetPayload ¶
func (o *UpdateNotificationInternalServerError) GetPayload() *models.InternalServerError
type UpdateNotificationNotFound ¶
type UpdateNotificationNotFound struct {
Payload *models.NotFoundError
}
UpdateNotificationNotFound handles this case with default header values.
NotFoundError
func NewUpdateNotificationNotFound ¶
func NewUpdateNotificationNotFound() *UpdateNotificationNotFound
NewUpdateNotificationNotFound creates a UpdateNotificationNotFound with default headers values
func (*UpdateNotificationNotFound) Error ¶
func (o *UpdateNotificationNotFound) Error() string
func (*UpdateNotificationNotFound) GetPayload ¶
func (o *UpdateNotificationNotFound) GetPayload() *models.NotFoundError
type UpdateNotificationOK ¶
type UpdateNotificationOK struct {
Payload *models.Notification
}
UpdateNotificationOK handles this case with default header values.
New notification details.
func NewUpdateNotificationOK ¶
func NewUpdateNotificationOK() *UpdateNotificationOK
NewUpdateNotificationOK creates a UpdateNotificationOK with default headers values
func (*UpdateNotificationOK) Error ¶
func (o *UpdateNotificationOK) Error() string
func (*UpdateNotificationOK) GetPayload ¶
func (o *UpdateNotificationOK) GetPayload() *models.Notification
type UpdateNotificationParams ¶
type UpdateNotificationParams struct { /*Notification New configuration options for the notification. */ Notification *models.UpdateNotificationInput /*NotificationID Notification ID. */ NotificationID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNotificationParams contains all the parameters to send to the API endpoint for the update notification operation typically these are written to a http.Request
func NewUpdateNotificationParams ¶
func NewUpdateNotificationParams() *UpdateNotificationParams
NewUpdateNotificationParams creates a new UpdateNotificationParams object with the default values initialized.
func NewUpdateNotificationParamsWithContext ¶
func NewUpdateNotificationParamsWithContext(ctx context.Context) *UpdateNotificationParams
NewUpdateNotificationParamsWithContext creates a new UpdateNotificationParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateNotificationParamsWithHTTPClient ¶
func NewUpdateNotificationParamsWithHTTPClient(client *http.Client) *UpdateNotificationParams
NewUpdateNotificationParamsWithHTTPClient creates a new UpdateNotificationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateNotificationParamsWithTimeout ¶
func NewUpdateNotificationParamsWithTimeout(timeout time.Duration) *UpdateNotificationParams
NewUpdateNotificationParamsWithTimeout creates a new UpdateNotificationParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateNotificationParams) SetContext ¶
func (o *UpdateNotificationParams) SetContext(ctx context.Context)
SetContext adds the context to the update notification params
func (*UpdateNotificationParams) SetHTTPClient ¶
func (o *UpdateNotificationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update notification params
func (*UpdateNotificationParams) SetNotification ¶
func (o *UpdateNotificationParams) SetNotification(notification *models.UpdateNotificationInput)
SetNotification adds the notification to the update notification params
func (*UpdateNotificationParams) SetNotificationID ¶
func (o *UpdateNotificationParams) SetNotificationID(notificationID string)
SetNotificationID adds the notificationId to the update notification params
func (*UpdateNotificationParams) SetTimeout ¶
func (o *UpdateNotificationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update notification params
func (*UpdateNotificationParams) WithContext ¶
func (o *UpdateNotificationParams) WithContext(ctx context.Context) *UpdateNotificationParams
WithContext adds the context to the update notification params
func (*UpdateNotificationParams) WithHTTPClient ¶
func (o *UpdateNotificationParams) WithHTTPClient(client *http.Client) *UpdateNotificationParams
WithHTTPClient adds the HTTPClient to the update notification params
func (*UpdateNotificationParams) WithNotification ¶
func (o *UpdateNotificationParams) WithNotification(notification *models.UpdateNotificationInput) *UpdateNotificationParams
WithNotification adds the notification to the update notification params
func (*UpdateNotificationParams) WithNotificationID ¶
func (o *UpdateNotificationParams) WithNotificationID(notificationID string) *UpdateNotificationParams
WithNotificationID adds the notificationID to the update notification params
func (*UpdateNotificationParams) WithTimeout ¶
func (o *UpdateNotificationParams) WithTimeout(timeout time.Duration) *UpdateNotificationParams
WithTimeout adds the timeout to the update notification params
func (*UpdateNotificationParams) WriteToRequest ¶
func (o *UpdateNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNotificationReader ¶
type UpdateNotificationReader struct {
// contains filtered or unexported fields
}
UpdateNotificationReader is a Reader for the UpdateNotification structure.
func (*UpdateNotificationReader) ReadResponse ¶
func (o *UpdateNotificationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNotificationUnauthorized ¶
type UpdateNotificationUnauthorized struct {
}UpdateNotificationUnauthorized handles this case with default header values.
AuthenticationError
func NewUpdateNotificationUnauthorized ¶
func NewUpdateNotificationUnauthorized() *UpdateNotificationUnauthorized
NewUpdateNotificationUnauthorized creates a UpdateNotificationUnauthorized with default headers values
func (*UpdateNotificationUnauthorized) Error ¶
func (o *UpdateNotificationUnauthorized) Error() string
func (*UpdateNotificationUnauthorized) GetPayload ¶
func (o *UpdateNotificationUnauthorized) GetPayload() *models.AuthenticationError