listview

package
v0.60.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const NAME = "ListView"

Variables

This section is empty.

Functions

This section is empty.

Types

type ListView

type ListView struct {
	FullName struct {
		Text string `xml:",chardata"`
	} `xml:"fullName"`
	BooleanFilter *struct {
		Text string `xml:",chardata"`
	} `xml:"booleanFilter"`
	Columns []struct {
		Text string `xml:",chardata"`
	} `xml:"columns"`
	FilterScope struct {
		Text string `xml:",chardata"`
	} `xml:"filterScope"`
	Filters []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"`
	} `xml:"filters"`
	Label struct {
		Text string `xml:",chardata"`
	} `xml:"label"`
	Queue *struct {
		Text string `xml:",chardata"`
	} `xml:"queue"`
	SharedTo *SharedTo `xml:"sharedTo"`
	Language *struct {
		Text string `xml:",chardata"`
	} `xml:"language"`
}

type ListViewMetadata

type ListViewMetadata struct {
	metadata.MetadataInfo
	XMLName xml.Name `xml:"ListView"`
	Xmlns   string   `xml:"xmlns,attr"`
	ListView
}

func Open

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

func (*ListViewMetadata) NameFromPath

func (c *ListViewMetadata) NameFromPath(path string) metadata.MetadataObjectName

func (*ListViewMetadata) SetMetadata

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

func (*ListViewMetadata) Type

type SharedTo added in v0.60.0

type SharedTo struct {
	AllCustomerPortalUsers      *TextLiteral  `xml:"allCustomerPortalUsers"`
	AllInternalUsers            *TextLiteral  `xml:"allInternalUsers"`
	AllPartnerUsers             *TextLiteral  `xml:"allPartnerUsers"`
	ChannelProgramGroup         []TextLiteral `xml:"channelProgramGroup"`
	ChannelProgramGroups        []TextLiteral `xml:"channelProgramGroups"`
	Group                       []TextLiteral `xml:"group"`
	Groups                      []TextLiteral `xml:"groups"`
	GuestUser                   []TextLiteral `xml:"guestUser"`
	ManagerSubordinates         []TextLiteral `xml:"managerSubordinates"`
	Managers                    []TextLiteral `xml:"managers"`
	PortalRole                  []TextLiteral `xml:"portalRole"`
	PortalRoleAndSubordinates   []TextLiteral `xml:"portalRoleAndSubordinates"`
	Queue                       []TextLiteral `xml:"queue"`
	Role                        []TextLiteral `xml:"role"`
	RoleAndSubordinates         []TextLiteral `xml:"roleAndSubordinates"`
	RoleAndSubordinatesInternal []TextLiteral `xml:"roleAndSubordinatesInternal"`
	Territories                 []TextLiteral `xml:"territories"`
	TerritoriesAndSubordinates  []TextLiteral `xml:"territoriesAndSubordinates"`
	Territory                   []TextLiteral `xml:"territory"`
	TerritoryAndSubordinates    []TextLiteral `xml:"territoryAndSubordinates"`
}

SharedTo lists who a list view is shared with.

Jump to

Keyboard shortcuts

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