Package uniffi.cedarling_uniffi
Class DataEntry
-
- All Implemented Interfaces:
public final class DataEntryData entry with value and metadata
-
-
Method Summary
Modifier and Type Method Description final StringgetKey()The key for this entry final UnitsetKey(String value)The key for this entry final StringgetValue()The actual value stored (as JSON string) final UnitsetValue(String value)The actual value stored (as JSON string) final StringgetDataType()The inferred Cedar type of the value final UnitsetDataType(String value)The inferred Cedar type of the value final StringgetCreatedAt()Timestamp when this entry was created (RFC 3339 format) final UnitsetCreatedAt(String value)Timestamp when this entry was created (RFC 3339 format) final StringgetExpiresAt()Timestamp when this entry expires (RFC 3339 format), or empty string if no TTL final UnitsetExpiresAt(String value)Timestamp when this entry expires (RFC 3339 format), or empty string if no TTL final ULonggetAccessCount()Number of times this entry has been accessed final UnitsetAccessCount(ULong value)Number of times this entry has been accessed -
-
Method Detail
-
getDataType
final String getDataType()
The inferred Cedar type of the value
-
setDataType
final Unit setDataType(String value)
The inferred Cedar type of the value
-
getCreatedAt
final String getCreatedAt()
Timestamp when this entry was created (RFC 3339 format)
-
setCreatedAt
final Unit setCreatedAt(String value)
Timestamp when this entry was created (RFC 3339 format)
-
getExpiresAt
final String getExpiresAt()
Timestamp when this entry expires (RFC 3339 format), or empty string if no TTL
-
setExpiresAt
final Unit setExpiresAt(String value)
Timestamp when this entry expires (RFC 3339 format), or empty string if no TTL
-
getAccessCount
final ULong getAccessCount()
Number of times this entry has been accessed
-
setAccessCount
final Unit setAccessCount(ULong value)
Number of times this entry has been accessed
-
-
-
-