Documentation ¶
Index ¶
- type DlpNotificationTemplates
- type Service
- func (service *Service) Create(dlpTemplateID *DlpNotificationTemplates) (*DlpNotificationTemplates, *http.Response, error)
- func (service *Service) Delete(dlpTemplateID int) (*http.Response, error)
- func (service *Service) Get(dlpTemplateID int) (*DlpNotificationTemplates, error)
- func (service *Service) GetAll() ([]DlpNotificationTemplates, error)
- func (service *Service) GetByName(templateName string) (*DlpNotificationTemplates, error)
- func (service *Service) Update(dlpTemplateID int, dlpTemplates *DlpNotificationTemplates) (*DlpNotificationTemplates, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DlpNotificationTemplates ¶
type DlpNotificationTemplates struct { ID int `json:"id"` Name string `json:"name,omitempty"` Subject string `json:"subject,omitempty"` AttachContent bool `json:"attachContent,omitempty"` PlainTextMessage string `json:"plainTextMessage,omitempty"` HtmlMessage string `json:"htmlMessage,omitempty"` TLSEnabled bool `json:"tlsEnabled,omitempty"` }
type Service ¶
func (*Service) Create ¶
func (service *Service) Create(dlpTemplateID *DlpNotificationTemplates) (*DlpNotificationTemplates, *http.Response, error)
func (*Service) Get ¶
func (service *Service) Get(dlpTemplateID int) (*DlpNotificationTemplates, error)
func (*Service) GetAll ¶ added in v0.0.4
func (service *Service) GetAll() ([]DlpNotificationTemplates, error)
func (*Service) GetByName ¶
func (service *Service) GetByName(templateName string) (*DlpNotificationTemplates, error)
func (*Service) Update ¶
func (service *Service) Update(dlpTemplateID int, dlpTemplates *DlpNotificationTemplates) (*DlpNotificationTemplates, *http.Response, error)
Click to show internal directories.
Click to hide internal directories.