Documentation
¶
Index ¶
Constants ¶
View Source
const NAME = "EscalationRules"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EscalationRules ¶
type EscalationRules struct {
metadata.MetadataInfo
XMLName xml.Name `xml:"EscalationRules"`
Xmlns string `xml:"xmlns,attr"`
EscalationRule []struct {
FullName TextLiteral `xml:"fullName"`
Active *TextLiteral `xml:"active"`
RuleEntry []struct {
BooleanFilter *TextLiteral `xml:"booleanFilter"`
BusinessHours *TextLiteral `xml:"businessHours"`
BusinessHoursSource *TextLiteral `xml:"businessHoursSource"`
CriteriaItems []FilterItem `xml:"criteriaItems"`
DisableEscalationWhenModified *TextLiteral `xml:"disableEscalationWhenModified"`
EscalationAction []struct {
AssignedTo *TextLiteral `xml:"assignedTo"`
AssignedToTemplate *TextLiteral `xml:"assignedToTemplate"`
AssignedToType *TextLiteral `xml:"assignedToType"`
MinutesToEscalation *TextLiteral `xml:"minutesToEscalation"`
NotifyCaseOwner *TextLiteral `xml:"notifyCaseOwner"`
NotifyEmail []TextLiteral `xml:"notifyEmail"`
NotifyTo *TextLiteral `xml:"notifyTo"`
NotifyToTemplate *TextLiteral `xml:"notifyToTemplate"`
} `xml:"escalationAction"`
EscalationStartTime *TextLiteral `xml:"escalationStartTime"`
Formula *TextLiteral `xml:"formula"`
} `xml:"ruleEntry"`
} `xml:"escalationRule"`
}
func Open ¶
func Open(path string) (*EscalationRules, error)
func (*EscalationRules) SetMetadata ¶
func (c *EscalationRules) SetMetadata(m metadata.MetadataInfo)
func (*EscalationRules) Type ¶
func (c *EscalationRules) Type() metadata.MetadataType
type FilterItem ¶
type FilterItem struct {
Field TextLiteral `xml:"field"`
Operation TextLiteral `xml:"operation"`
Value *TextLiteral `xml:"value"`
ValueField *TextLiteral `xml:"valueField"`
}
FilterItem is one criterion of a rule entry
Click to show internal directories.
Click to hide internal directories.