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

role

package
v0.67.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const NAME = "Role"

Variables

This section is empty.

Functions

This section is empty.

Types

type Role

type Role struct {
	metadata.MetadataInfo
	XMLName         xml.Name `xml:"Role"`
	Xmlns           string   `xml:"xmlns,attr"`
	CaseAccessLevel struct {
		Text string `xml:",chardata"`
	} `xml:"caseAccessLevel"`
	ContactAccessLevel struct {
		Text string `xml:",chardata"`
	} `xml:"contactAccessLevel"`
	Description *struct {
		Text string `xml:",chardata"`
	} `xml:"description"`
	MayForecastManagerShare struct {
		Text string `xml:",chardata"`
	} `xml:"mayForecastManagerShare"`
	Name struct {
		Text string `xml:",chardata"`
	} `xml:"name"`
	OpportunityAccessLevel struct {
		Text string `xml:",chardata"`
	} `xml:"opportunityAccessLevel"`
	ParentRole *struct {
		Text string `xml:",chardata"`
	} `xml:"parentRole"`
}

func Open

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

func (*Role) SetMetadata

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

func (*Role) Type

func (c *Role) Type() metadata.MetadataType

Jump to

Keyboard shortcuts

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