Skip to main content

@bloock/sdk / DateTimeAttribute

Class: DateTimeAttribute

Represents an attribute with a datetime value.

Hierarchy​

Table of contents​

Constructors​

Properties​

Methods​

Constructors​

constructor​

• new DateTimeAttribute(id, value): DateTimeAttribute

Constructs a Attribute object with the specified parameters.

Parameters​

NameType
idstring
valueDate

Returns​

DateTimeAttribute

Inherited from​

Attribute.constructor

Defined in​

entity/identity/attribute.ts:13

Properties​

id​

• id: string

Inherited from​

Attribute.id

Defined in​

entity/identity/attribute.ts:5


value​

• value: Date

Inherited from​

Attribute.value

Defined in​

entity/identity/attribute.ts:6

Methods​

toProto​

▸ toProto(): DateTimeAttribute

Returns​

DateTimeAttribute

Defined in​

entity/identity/datetime_attribute.ts:8


fromProto​

▸ fromProto(r): DateTimeAttribute

Parameters​

NameType
rDateTimeAttribute

Returns​

DateTimeAttribute

Defined in​

entity/identity/datetime_attribute.ts:15