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