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 key)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 dataType)The inferred Cedar type of the value final StringgetCreatedAt()Timestamp when this entry was created (RFC 3339 format) final UnitsetCreatedAt(String createdAt)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 expiresAt)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 accessCount)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 dataType)
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 createdAt)
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 expiresAt)
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 accessCount)
Number of times this entry has been accessed
-
-
-
-