Documentation ¶
Overview ¶
Copyright 2019 Cohesity Inc.
Copyright 2019 Cohesity Inc.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NOTIFICATIONS ¶
type NOTIFICATIONS interface { GetNotifications() (*models.Notifications, error) UpdateNotifications() error }
* Interface for the NOTIFICATIONS_IMPL
type NOTIFICATIONS_IMPL ¶
type NOTIFICATIONS_IMPL struct {
// contains filtered or unexported fields
}
* Client structure as interface implementation
func NewNOTIFICATIONS ¶
func NewNOTIFICATIONS(config configuration.CONFIGURATION) *NOTIFICATIONS_IMPL
* Factory for the NOTIFICATIONS interaface returning NOTIFICATIONS_IMPL
func (*NOTIFICATIONS_IMPL) GetNotifications ¶
func (me *NOTIFICATIONS_IMPL) GetNotifications() (*models.Notifications, error)
*
- List the notification of the session user.
- @return Returns the *models.Notifications response from the API call
func (*NOTIFICATIONS_IMPL) UpdateNotifications ¶
func (me *NOTIFICATIONS_IMPL) UpdateNotifications() error
*
- Returns success or failure.
- @return Returns the response from the API call
Click to show internal directories.
Click to hide internal directories.