territory2rule

package
v0.42.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const NAME = "Territory2Rule"

Variables

This section is empty.

Functions

This section is empty.

Types

type RuleItem

type RuleItem struct {
	Field struct {
		Text string `xml:",chardata"`
	} `xml:"field"`
	Operation struct {
		Text string `xml:",chardata"`
	} `xml:"operation"`
	Value struct {
		Text string `xml:",chardata"`
	} `xml:"value"`
}

type Territory2Rule

type Territory2Rule struct {
	metadata.MetadataInfo
	XMLName xml.Name `xml:"Territory2Rule"`
	Xmlns   string   `xml:"xmlns,attr"`
	Active  struct {
		Text string `xml:",chardata"`
	} `xml:"active"`
	BooleanFilter *struct {
		Text string `xml:",chardata"`
	} `xml:"booleanFilter"`
	Name struct {
		Text string `xml:",chardata"`
	} `xml:"name"`
	ObjectType struct {
		Text string `xml:",chardata"`
	} `xml:"objectType"`
	RuleItems []RuleItem `xml:"ruleItems"`
}

func Open

func Open(path string) (*Territory2Rule, error)

func (*Territory2Rule) SetMetadata

func (c *Territory2Rule) SetMetadata(m metadata.MetadataInfo)

func (*Territory2Rule) Type

Jump to

Keyboard shortcuts

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