Documentation
¶
Index ¶
Constants ¶
View Source
const NAME = "NotificationTypeConfig"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotificationTypeConfig ¶
type NotificationTypeConfig struct {
metadata.MetadataInfo
XMLName xml.Name `xml:"NotificationTypeConfig"`
Xmlns string `xml:"xmlns,attr"`
NotificationTypeSettings []struct {
AppSettings []struct {
ConnectedAppName struct {
Text string `xml:",chardata"`
} `xml:"connectedAppName"`
Enabled struct {
Text string `xml:",chardata"`
} `xml:"enabled"`
} `xml:"appSettings"`
NotificationChannels struct {
DesktopEnabled struct {
Text string `xml:",chardata"`
} `xml:"desktopEnabled"`
MobileEnabled struct {
Text string `xml:",chardata"`
} `xml:"mobileEnabled"`
} `xml:"notificationChannels"`
NotificationType struct {
Text string `xml:",chardata"`
} `xml:"notificationType"`
} `xml:"notificationTypeSettings"`
}
func Open ¶
func Open(path string) (*NotificationTypeConfig, error)
func (*NotificationTypeConfig) SetMetadata ¶
func (c *NotificationTypeConfig) SetMetadata(m metadata.MetadataInfo)
func (*NotificationTypeConfig) Type ¶
func (c *NotificationTypeConfig) Type() metadata.MetadataType
Click to show internal directories.
Click to hide internal directories.