restrictionrule

package
v0.35.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const NAME = "RestrictionRule"

Variables

This section is empty.

Functions

This section is empty.

Types

type RestrictionRule

type RestrictionRule struct {
	metadata.MetadataInfo
	XMLName xml.Name `xml:"RestrictionRule"`
	Xmlns   string   `xml:"xmlns,attr"`
	Active  struct {
		Text string `xml:",chardata"`
	} `xml:"active"`
	Description struct {
		Text string `xml:",chardata"`
	} `xml:"description"`
	EnforcementType struct {
		Text string `xml:",chardata"`
	} `xml:"enforcementType"`
	MasterLabel struct {
		Text string `xml:",chardata"`
	} `xml:"masterLabel"`
	RecordFilter struct {
		Text string `xml:",chardata"`
	} `xml:"recordFilter"`
	TargetEntity struct {
		Text string `xml:",chardata"`
	} `xml:"targetEntity"`
	UserCriteria struct {
		Text string `xml:",chardata"`
	} `xml:"userCriteria"`
	Version struct {
		Text string `xml:",chardata"`
	} `xml:"version"`
}

func Open

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

func (*RestrictionRule) SetMetadata

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

func (*RestrictionRule) Type

Jump to

Keyboard shortcuts

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