Help us shape the future of Go! Take the 2026 Go Developer Survey

notifications

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2025 License: Apache-2.0 Imports: 11 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 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

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 (*CreateNotificationBadRequest) GetPayload

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

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 (*CreateNotificationForbidden) GetPayload

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 (*CreateNotificationInternalServerError) GetPayload

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 (*CreateNotificationNotFound) GetPayload

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

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

WithNotification adds the notification to the create notification params

func (*CreateNotificationParams) WithTimeout

WithTimeout adds the timeout to the create notification params

func (*CreateNotificationParams) WriteToRequest

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 {
	Payload *models.AuthenticationError
}

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 (*CreateNotificationUnauthorized) GetPayload

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 (*DeleteNotificationBadRequest) GetPayload

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 (*DeleteNotificationForbidden) GetPayload

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 (*DeleteNotificationInternalServerError) GetPayload

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

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 (*DeleteNotificationNotFound) GetPayload

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

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

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 DeleteNotificationUnauthorized

type DeleteNotificationUnauthorized struct {
	Payload *models.AuthenticationError
}

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 (*DeleteNotificationUnauthorized) GetPayload

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 (*ListNotificationsBadRequest) GetPayload

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 (*ListNotificationsForbidden) GetPayload

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 (*ListNotificationsInternalServerError) GetPayload

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

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

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.

type ListNotificationsUnauthorized

type ListNotificationsUnauthorized struct {
	Payload *models.AuthenticationError
}

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 (*ListNotificationsUnauthorized) GetPayload

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 (*UpdateNotificationBadRequest) GetPayload

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 (*UpdateNotificationForbidden) GetPayload

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 (*UpdateNotificationInternalServerError) GetPayload

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 (*UpdateNotificationNotFound) GetPayload

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

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

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

WithTimeout adds the timeout to the update notification params

func (*UpdateNotificationParams) WriteToRequest

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 {
	Payload *models.AuthenticationError
}

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 (*UpdateNotificationUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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