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