Package com.okta.authn.sdk.impl.resource
Class DefaultPushFactorProfile
- java.lang.Object
-
- com.okta.sdk.impl.resource.AbstractPropertyRetriever
-
- com.okta.sdk.impl.resource.AbstractResource
-
- com.okta.authn.sdk.impl.resource.DefaultPushFactorProfile
-
- All Implemented Interfaces:
FactorProfile
,PushFactorProfile
,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 DefaultPushFactorProfile extends com.okta.sdk.impl.resource.AbstractResource implements PushFactorProfile
-
-
Constructor Summary
Constructors Constructor Description DefaultPushFactorProfile(com.okta.sdk.impl.ds.InternalDataStore dataStore)
DefaultPushFactorProfile(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
getCredentialId()
java.lang.String
getDeviceToken()
java.lang.String
getDeviceType()
java.lang.String
getName()
java.lang.String
getPlatform()
java.util.Map<java.lang.String,com.okta.sdk.impl.resource.Property>
getPropertyDescriptors()
java.lang.String
getVersion()
PushFactorProfile
setCredentialId(java.lang.String credentialId)
PushFactorProfile
setDeviceToken(java.lang.String deviceToken)
PushFactorProfile
setDeviceType(java.lang.String deviceType)
PushFactorProfile
setName(java.lang.String name)
PushFactorProfile
setPlatform(java.lang.String platform)
PushFactorProfile
setVersion(java.lang.String version)
-
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
-
-
-
-
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
-
getCredentialId
public java.lang.String getCredentialId()
- Specified by:
getCredentialId
in interfacePushFactorProfile
-
setCredentialId
public PushFactorProfile setCredentialId(java.lang.String credentialId)
- Specified by:
setCredentialId
in interfacePushFactorProfile
-
getDeviceToken
public java.lang.String getDeviceToken()
- Specified by:
getDeviceToken
in interfacePushFactorProfile
-
setDeviceToken
public PushFactorProfile setDeviceToken(java.lang.String deviceToken)
- Specified by:
setDeviceToken
in interfacePushFactorProfile
-
getDeviceType
public java.lang.String getDeviceType()
- Specified by:
getDeviceType
in interfacePushFactorProfile
-
setDeviceType
public PushFactorProfile setDeviceType(java.lang.String deviceType)
- Specified by:
setDeviceType
in interfacePushFactorProfile
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfacePushFactorProfile
-
setName
public PushFactorProfile setName(java.lang.String name)
- Specified by:
setName
in interfacePushFactorProfile
-
getPlatform
public java.lang.String getPlatform()
- Specified by:
getPlatform
in interfacePushFactorProfile
-
setPlatform
public PushFactorProfile setPlatform(java.lang.String platform)
- Specified by:
setPlatform
in interfacePushFactorProfile
-
getVersion
public java.lang.String getVersion()
- Specified by:
getVersion
in interfacePushFactorProfile
-
setVersion
public PushFactorProfile setVersion(java.lang.String version)
- Specified by:
setVersion
in interfacePushFactorProfile
-
-