UNPKG

rest-client-sdk

Version:
15 lines (14 loc) 618 B
declare class Attribute { readonly serializedKey: string; readonly attributeName: string; readonly type: string; readonly isIdentifier: boolean; /** * @param {string} serializedKey the key returned from your API * @param {null|string} attributeName the name in your entity, default to the `serializedKey` attribute * @param {string} type type of the attribute * @param {boolean} isIdentifier is this attribute the entity identifier */ constructor(serializedKey: string, attributeName?: null | string, type?: string, isIdentifier?: boolean); } export default Attribute;