Help us shape the future of Go! Take the 2026 Go Developer Survey

escalationRules

package
v0.69.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2026 License: MIT Imports: 4 Imported by: 0

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL