public class UserTfaDataRepresentation extends AbstractExtensibleRepresentation
Constructor and Description |
---|
UserTfaDataRepresentation() |
UserTfaDataRepresentation(Boolean tfaEnabled,
Boolean tfaEnforced,
String strategy,
org.joda.time.DateTime lastTfaRequestTime) |
Modifier and Type | Method and Description |
---|---|
org.joda.time.DateTime |
getLastTfaRequestTime() |
String |
getStrategy() |
Boolean |
getTfaEnabled() |
Boolean |
getTfaEnforced() |
void |
setLastTfaRequestTime(org.joda.time.DateTime lastTfaRequestTime) |
void |
setStrategy(String strategy) |
void |
setTfaEnabled(Boolean tfaEnabled) |
void |
setTfaEnforced(Boolean tfaEnforced) |
get, get, getAttrs, getProperty, hasProperty, propertyNames, removeProperty, set, set, set, setAttrs, setProperty
getSelf, getSelfDecoded, setSelf, toJSON, toString
@JSONProperty(ignoreIfNull=true) public Boolean getTfaEnabled()
@JSONProperty(ignoreIfNull=true) public Boolean getTfaEnforced()
@JSONProperty(ignoreIfNull=true) public String getStrategy()
@JSONProperty(ignoreIfNull=true) @JSONConverter(type=com.cumulocity.model.DateTimeConverter.class) public org.joda.time.DateTime getLastTfaRequestTime()
public void setTfaEnabled(Boolean tfaEnabled)
public void setTfaEnforced(Boolean tfaEnforced)
public void setStrategy(String strategy)
public void setLastTfaRequestTime(org.joda.time.DateTime lastTfaRequestTime)
Copyright © 2020 (C) Cumulocity GmbH. All rights reserved.