Package com.symphony.api.model
Class V2UserKeyRequest
- java.lang.Object
-
- com.symphony.api.model.V2UserKeyRequest
-
public class V2UserKeyRequest extends Object
User RSA key information.
-
-
Constructor Summary
Constructors Constructor Description V2UserKeyRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V2UserKeyRequest
action(String action)
V2UserKeyRequest
expirationDate(Long expirationDate)
String
getAction()
Action to be performed on the RSA key.Long
getExpirationDate()
RSA key expiration date.String
getKey()
User RSA public key.V2UserKeyRequest
key(String key)
void
setAction(String action)
void
setExpirationDate(Long expirationDate)
void
setKey(String key)
String
toString()
-
-
-
Method Detail
-
getKey
public String getKey()
User RSA public key.- Returns:
- key
-
setKey
public void setKey(String key)
-
key
public V2UserKeyRequest key(String key)
-
getExpirationDate
public Long getExpirationDate()
RSA key expiration date. This value is set just for rotated keys.- Returns:
- expirationDate
-
setExpirationDate
public void setExpirationDate(Long expirationDate)
-
expirationDate
public V2UserKeyRequest expirationDate(Long expirationDate)
-
getAction
public String getAction()
Action to be performed on the RSA key. The following actions can be performed onto the user's active RSA key: - SAVE - REVOKE The following actions can be performed onto the user's rotated RSA key: - REVOKE - EXTEND- Returns:
- action
-
setAction
public void setAction(String action)
-
action
public V2UserKeyRequest action(String action)
-
-