UNPKG

box-node-sdk

Version:

Official SDK for Box Platform APIs

28 lines (27 loc) 1.1 kB
import { MetadataTaxonomyAncestor } from './metadataTaxonomyAncestor'; import { SerializedData } from '../serialization/json'; export interface MetadataTaxonomyNode { /** * A unique identifier of the metadata taxonomy node. */ readonly id: string; /** * The display name of the metadata taxonomy node. */ readonly displayName: string; /** * An index of the level to which the node belongs. */ readonly level: number; /** * The identifier of the parent node. */ readonly parentId?: string; /** * An array of identifiers for all ancestor nodes. * Not returned for root-level nodes. */ readonly nodePath?: readonly string[]; /** * An array of objects for all ancestor nodes. * Not returned for root-level nodes. */ readonly ancestors?: readonly MetadataTaxonomyAncestor[]; readonly rawData?: SerializedData; } export declare function serializeMetadataTaxonomyNode(val: MetadataTaxonomyNode): SerializedData; export declare function deserializeMetadataTaxonomyNode(val: SerializedData): MetadataTaxonomyNode;