Package com.okta.authn.sdk.impl.resource
Class DefaultSecurityQuestionFactorProfile
- java.lang.Object
-
- com.okta.sdk.impl.resource.AbstractPropertyRetriever
-
- com.okta.sdk.impl.resource.AbstractResource
-
- com.okta.authn.sdk.impl.resource.DefaultSecurityQuestionFactorProfile
-
- All Implemented Interfaces:
FactorProfile
,SecurityQuestionFactorProfile
,com.okta.sdk.resource.ExtensibleResource
,com.okta.sdk.resource.PropertyRetriever
,com.okta.sdk.resource.Resource
,java.util.Map<java.lang.String,java.lang.Object>
public class DefaultSecurityQuestionFactorProfile extends com.okta.sdk.impl.resource.AbstractResource implements SecurityQuestionFactorProfile
-
-
Constructor Summary
Constructors Constructor Description DefaultSecurityQuestionFactorProfile(com.okta.sdk.impl.ds.InternalDataStore dataStore)
DefaultSecurityQuestionFactorProfile(com.okta.sdk.impl.ds.InternalDataStore dataStore, java.util.Map<java.lang.String,java.lang.Object> properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAnswer()
java.util.Map<java.lang.String,com.okta.sdk.impl.resource.Property>
getPropertyDescriptors()
java.lang.String
getQuestion()
java.lang.String
getQuestionText()
SecurityQuestionFactorProfile
setAnswer(java.lang.String answer)
SecurityQuestionFactorProfile
setQuestion(java.lang.String question)
SecurityQuestionFactorProfile
setQuestionText(java.lang.String questionText)
-
Methods inherited from class com.okta.sdk.impl.resource.AbstractResource
clear, containsKey, containsValue, createPropertyDescriptorMap, createPropertyDescriptorMap, entrySet, equals, get, getDataStore, getDeletedPropertyNames, getInternalProperties, getParamsFromHref, getProperty, getPropertyNames, getResourceHref, getResourceListProperty, getResourceProperty, getUpdatedPropertyNames, hashCode, hasProperty, isDirty, isEmpty, isPrintableProperty, keySet, materialize, put, putAll, remove, setInternalProperties, setProperty, setProperty, setResourceHref, size, toString, values
-
Methods inherited from class com.okta.sdk.impl.resource.AbstractPropertyRetriever
getBoolean, getBoolean, getBooleanProperty, getCharArray, getDateProperty, getDoubleProperty, getDoubleProperty, getEnumListProperty, getEnumProperty, getEnumProperty, getInt, getInteger, getIntegerList, getIntProperty, getIntProperty, getListProperty, getListProperty, getMap, getMapProperty, getNonEmptyMap, getNullableBoolean, getNullableBooleanProperty, getNumber, getNumberList, getString, getString, getStringList, getStringProperty, setProperty, setProperty
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Constructor Detail
-
DefaultSecurityQuestionFactorProfile
public DefaultSecurityQuestionFactorProfile(com.okta.sdk.impl.ds.InternalDataStore dataStore)
-
DefaultSecurityQuestionFactorProfile
public DefaultSecurityQuestionFactorProfile(com.okta.sdk.impl.ds.InternalDataStore dataStore, java.util.Map<java.lang.String,java.lang.Object> properties)
-
-
Method Detail
-
getPropertyDescriptors
public java.util.Map<java.lang.String,com.okta.sdk.impl.resource.Property> getPropertyDescriptors()
- Specified by:
getPropertyDescriptors
in classcom.okta.sdk.impl.resource.AbstractResource
-
getAnswer
public java.lang.String getAnswer()
- Specified by:
getAnswer
in interfaceSecurityQuestionFactorProfile
-
setAnswer
public SecurityQuestionFactorProfile setAnswer(java.lang.String answer)
- Specified by:
setAnswer
in interfaceSecurityQuestionFactorProfile
-
getQuestion
public java.lang.String getQuestion()
- Specified by:
getQuestion
in interfaceSecurityQuestionFactorProfile
-
setQuestion
public SecurityQuestionFactorProfile setQuestion(java.lang.String question)
- Specified by:
setQuestion
in interfaceSecurityQuestionFactorProfile
-
getQuestionText
public java.lang.String getQuestionText()
- Specified by:
getQuestionText
in interfaceSecurityQuestionFactorProfile
-
setQuestionText
public SecurityQuestionFactorProfile setQuestionText(java.lang.String questionText)
- Specified by:
setQuestionText
in interfaceSecurityQuestionFactorProfile
-
-