@bloock/sdk / Attribute
Class: Attribute<T>
Represents an attribute with an identifier and a corresponding value.
Type parameters
Name |
---|
T |
Hierarchy
-
Attribute
Table of contents
Constructors
Properties
Constructors
constructor
• new Attribute<T
>(id
, value
): Attribute
<T
>
Constructs a Attribute object with the specified parameters.
Type parameters
Name |
---|
T |
Parameters
Name | Type |
---|---|
id | string |
value | T |
Returns
Attribute
<T
>
Defined in
entity/identity/attribute.ts:13
Properties
id
• id: string
Defined in
entity/identity/attribute.ts:5
value
• value: T