Skip to main content

@bloock/sdk / Attribute

Class: Attribute<T>

Represents an attribute with an identifier and a corresponding value.

Type parameters

Name
T

Hierarchy

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

NameType
idstring
valueT

Returns

Attribute<T>

Defined in

entity/identity/attribute.ts:13

Properties

id

id: string

Defined in

entity/identity/attribute.ts:5


value

value: T

Defined in

entity/identity/attribute.ts:6