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