rest-client-sdk
Version:
Rest Client SDK for API
15 lines (14 loc) • 618 B
TypeScript
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;