datacategorygroup

package
v0.48.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: MIT Imports: 4 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const NAME = "DataCategoryGroup"

Variables

This section is empty.

Functions

This section is empty.

Types

type DataCategory

type DataCategory struct {
	DataCategory []DataCategory `xml:"dataCategory"`
	Label        string         `xml:"label"`
	Name         string         `xml:"name"`
}

DataCategory is a node in a data category group's category tree. The root node's children are the top-level categories; each child may have further children, forming the tree.

type DataCategoryGroup

type DataCategoryGroup struct {
	metadata.MetadataInfo
	XMLName      xml.Name     `xml:"DataCategoryGroup"`
	Xmlns        string       `xml:"xmlns,attr"`
	Active       BooleanText  `xml:"active"`
	Description  *string      `xml:"description"`
	Label        string       `xml:"label"`
	DataCategory DataCategory `xml:"dataCategory"`
	ObjectUsage  *ObjectUsage `xml:"objectUsage"`
}

func Open

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

func (*DataCategoryGroup) SetMetadata

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

func (*DataCategoryGroup) Type

type ObjectUsage

type ObjectUsage struct {
	Object []string `xml:"object"`
}

ObjectUsage lists the SObjects a data category group applies to (e.g., KnowledgeArticleVersion, Question).

Jump to

Keyboard shortcuts

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