field

package
v0.45.2 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const FIELD_TRANSLATIONS_NAME = "CustomFieldTranslation"

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomFieldTranslation

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

func Open

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

func (*CustomFieldTranslation) NameFromPath

func (*CustomFieldTranslation) SetMetadata

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

func (*CustomFieldTranslation) Type

type Field

type Field struct {
	CaseValues []struct {
		Plural struct {
			Text string `xml:",chardata"`
		} `xml:"plural"`
		Value struct {
			Text string `xml:",chardata"`
		} `xml:"value"`
	} `xml:"caseValues"`
	Label *struct {
		Text string `xml:",chardata"`
	} `xml:"label"`
	Name struct {
		Text string `xml:",chardata"`
	} `xml:"name"`
	StartsWith *struct {
		Text string `xml:",chardata"`
	} `xml:"startsWith"`
	PicklistValues []struct {
		MasterLabel struct {
			Text string `xml:",chardata"`
		} `xml:"masterLabel"`
		Translation struct {
		} `xml:"translation"`
	} `xml:"picklistValues"`
}

Jump to

Keyboard shortcuts

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