Documentation ¶
Index ¶
- func Delete(ctx context.Context, service *zscaler.Service, dlpTemplateID int) (*http.Response, error)
- type DlpNotificationTemplates
- func Create(ctx context.Context, service *zscaler.Service, ...) (*DlpNotificationTemplates, *http.Response, error)
- func Get(ctx context.Context, service *zscaler.Service, dlpTemplateID int) (*DlpNotificationTemplates, error)
- func GetAll(ctx context.Context, service *zscaler.Service) ([]DlpNotificationTemplates, error)
- func GetByName(ctx context.Context, service *zscaler.Service, templateName string) (*DlpNotificationTemplates, error)
- func Update(ctx context.Context, service *zscaler.Service, dlpTemplateID int, ...) (*DlpNotificationTemplates, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DlpNotificationTemplates ¶
type DlpNotificationTemplates struct { // The unique identifier for a DLP notification template. ID int `json:"id"` // The DLP notification template name. Name string `json:"name,omitempty"` // The Subject line that is displayed within the DLP notification email. Subject string `json:"subject,omitempty"` // If set to true, the content that is violation is attached to the DLP notification email. AttachContent bool `json:"attachContent,omitempty"` // The template for the plain text UTF-8 message body that must be displayed in the DLP notification email. PlainTextMessage string `json:"plainTextMessage,omitempty"` // The template for the HTML message body that must be displayed in the DLP notification email. HtmlMessage string `json:"htmlMessage,omitempty"` // The template for the HTML message body that must be displayed in the DLP notification email. TLSEnabled bool `json:"tlsEnabled,omitempty"` }
func Create ¶
func Create(ctx context.Context, service *zscaler.Service, dlpTemplateID *DlpNotificationTemplates) (*DlpNotificationTemplates, *http.Response, error)
Click to show internal directories.
Click to hide internal directories.