@bloock/sdk / IntegerAttribute
Class: IntegerAttribute
Represents an attribute with an integer value.
Hierarchy
-
Attribute
<number
>↳
IntegerAttribute
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new IntegerAttribute(id
, value
): IntegerAttribute
Constructs a Attribute object with the specified parameters.
Parameters
Name | Type |
---|---|
id | string |
value | number |
Returns
Inherited from
Defined in
entity/identity/attribute.ts:13
Properties
id
• id: string
Inherited from
Defined in
entity/identity/attribute.ts:5
value
• value: number
Inherited from
Defined in
entity/identity/attribute.ts:6
Methods
toProto
▸ toProto(): IntegerAttribute
Returns
IntegerAttribute
Defined in
entity/identity/integer_attribute.ts:8
fromProto
▸ fromProto(r
): IntegerAttribute
Parameters
Name | Type |
---|---|
r | IntegerAttribute |