kentico-cloud-delivery
Version:
Official Kentico Cloud Delivery SDK
31 lines (30 loc) • 672 B
TypeScript
import { ElementOption } from './element-option.class';
export declare class Element {
/**
* Codename of the element
*/
codename: string;
/**
* Type of the element
*/
type: string;
/**
* Name of the element
*/
name: string;
/**
* Taxonomy group in case the element is a taxonomy
*/
taxonomyGroup?: string;
/**
* Array of options if the field has some
*/
options?: ElementOption[];
constructor(data: {
codename: string;
type: string;
name: string;
taxonomyGroup?: string;
options?: ElementOption[];
});
}