Class EnterpriseCategory

An EnterpriseCategory is a collection of similar EnterpriseLocations.

Hierarchy

  • default
    • EnterpriseCategory

Implements

  • Omit<MVFEnterpriseCategory, "children" | "locations">

Properties

color?: string
externalId: string = ''
extra?: Record<string, unknown>
icon?: string

The category's icon

uri

iconFromDefaultList?: null | string
id: string

identity of the map object

links: Hyperlink[] = []

Gets the links associated with this data type.

The links associated with this data type

name: string = ''
sortOrder: number = -1

Accessors

Methods

  • Serializes the EnterpriseCategory data to JSON.

    Returns {
        id: string;
        name: string;
    }

    An object representing the EnterpriseCategory.

    • id: string
    • name: string
  • Checks if the provided instance is of type EnterpriseCategory.

    Parameters

    • instance: object

      The instance to check.

    Returns instance is EnterpriseCategory

    True if the instance is a EnterpriseCategory, false otherwise.