import { ListableObject } from '../../shared/object-collection/shared/listable-object.model'; import { TypedObject } from '../cache/object-cache.reducer'; import { ResourceType } from './resource-type'; import { GenericConstructor } from './generic-constructor'; /** * Class object representing a browse entry * This class is not normalized because browse entries do not have self links */ export class BrowseEntry implements ListableObject { static type = new ResourceType('browseEntry'); /** * The authority string of this browse entry */ authority: string; /** * The value of this browse entry */ value: string; /** * The language of the value of this browse entry */ language: string; /** * The count of this browse entry */ count: number; getRenderTypes(): Array> { return [this.constructor as GenericConstructor]; } }