Package com.alfresco.content.models
Class DirectAccessUrlBodyCreate
-
- All Implemented Interfaces:
@JsonClass(generateAdapter = true) public final class DirectAccessUrlBodyCreate
-
-
Field Summary
Fields Modifier and Type Field Description private ZonedDateTimeexpiresAtprivate IntegervalidFor
-
Constructor Summary
Constructors Constructor Description DirectAccessUrlBodyCreate(ZonedDateTime expiresAt, Integer validFor)
-
Method Summary
Modifier and Type Method Description final ZonedDateTimegetExpiresAt()final UnitsetExpiresAt(@Json(name = "expiresAt") ZonedDateTime expiresAt)final IntegergetValidFor()The length of time in seconds that the url is valid for. final UnitsetValidFor(@Json(name = "validFor") Integer validFor)The length of time in seconds that the url is valid for. -
-
Constructor Detail
-
DirectAccessUrlBodyCreate
DirectAccessUrlBodyCreate(ZonedDateTime expiresAt, Integer validFor)
-
-
Method Detail
-
getExpiresAt
final ZonedDateTime getExpiresAt()
-
setExpiresAt
final Unit setExpiresAt(@Json(name = "expiresAt") ZonedDateTime expiresAt)
-
getValidFor
final Integer getValidFor()
The length of time in seconds that the url is valid for.
-
setValidFor
final Unit setValidFor(@Json(name = "validFor") Integer validFor)
The length of time in seconds that the url is valid for.
-
-
-
-