public class KeyDetails extends Object
Constructor and Description |
---|
KeyDetails(String grantId,
net.tpky.mc.model.Grant grant,
Date validBefore,
Date renewableFrom,
Date autorenewedAt,
Date autorenewedBefore) |
Modifier and Type | Method and Description |
---|---|
Date |
getAutoRenewalScheduledAt()
Returns at what point this mobile key is scheduled to be automatically renewed.
|
Date |
getAutorenewedBefore()
Returns the latest point in time until when the key should get renewed.
|
net.tpky.mc.model.Grant |
getGrant()
Deprecated.
as of version 2. Use
getGrantId() instead, and use the Management API
to query for Grant details. |
String |
getGrantId()
Returns the corresponding grant's ID.
|
Date |
getRenewableFrom()
Returns from which point in time this mobile key can be renewed.
|
Date |
getValidBefore()
Returns until when this mobile key is valid.
|
public Date getRenewableFrom()
public Date getAutoRenewalScheduledAt()
public String getGrantId()
public Date getValidBefore()
@Deprecated public net.tpky.mc.model.Grant getGrant()
getGrantId()
instead, and use the Management API
to query for Grant details.public Date getAutorenewedBefore()