@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00") public class DefaultOAuth2RefreshToken extends AbstractInstanceResource<OAuth2RefreshToken> implements OAuth2RefreshToken
OAuth2RefreshToken.StatusEnum
properties
readLock, writeLock
Constructor and Description |
---|
DefaultOAuth2RefreshToken(InternalDataStore dataStore) |
DefaultOAuth2RefreshToken(InternalDataStore dataStore,
Map<String,Object> properties) |
Modifier and Type | Method and Description |
---|---|
String |
getClientId() |
Date |
getCreated() |
OAuth2Actor |
getCreatedBy() |
Map<String,Object> |
getEmbedded() |
Date |
getExpiresAt() |
String |
getId() |
String |
getIssuer() |
Date |
getLastUpdated() |
Map<String,Object> |
getLinks() |
Map<String,Property> |
getPropertyDescriptors() |
Class<? extends Resource> |
getResourceClass()
Returns the class this resource represents.
|
List<String> |
getScopes() |
OAuth2RefreshToken.StatusEnum |
getStatus() |
String |
getUserId() |
OAuth2RefreshToken |
setClientId(String clientId) |
OAuth2RefreshToken |
setCreatedBy(OAuth2Actor createdBy) |
OAuth2RefreshToken |
setIssuer(String issuer) |
OAuth2RefreshToken |
setScopes(List<String> scopes) |
OAuth2RefreshToken |
setStatus(OAuth2RefreshToken.StatusEnum status) |
OAuth2RefreshToken |
setUserId(String userId) |
delete, save
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
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
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getResourceHref, setResourceHref
getBoolean, getInteger, getIntegerList, getNumber, getNumberList, getString, getStringList
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
public DefaultOAuth2RefreshToken(InternalDataStore dataStore)
public DefaultOAuth2RefreshToken(InternalDataStore dataStore, Map<String,Object> properties)
public Map<String,Property> getPropertyDescriptors()
getPropertyDescriptors
in class AbstractResource
public Class<? extends Resource> getResourceClass()
AbstractInstanceResource
Foo
, in this case this method may return Foo.class
.
(Defaults to getClass()
.)getResourceClass
in class AbstractInstanceResource<OAuth2RefreshToken>
public Map<String,Object> getEmbedded()
getEmbedded
in interface OAuth2RefreshToken
public Map<String,Object> getLinks()
getLinks
in interface OAuth2RefreshToken
public String getClientId()
getClientId
in interface OAuth2RefreshToken
public OAuth2RefreshToken setClientId(String clientId)
setClientId
in interface OAuth2RefreshToken
public Date getCreated()
getCreated
in interface OAuth2RefreshToken
public OAuth2Actor getCreatedBy()
getCreatedBy
in interface OAuth2RefreshToken
public OAuth2RefreshToken setCreatedBy(OAuth2Actor createdBy)
setCreatedBy
in interface OAuth2RefreshToken
public Date getExpiresAt()
getExpiresAt
in interface OAuth2RefreshToken
public String getId()
getId
in interface OAuth2RefreshToken
public String getIssuer()
getIssuer
in interface OAuth2RefreshToken
public OAuth2RefreshToken setIssuer(String issuer)
setIssuer
in interface OAuth2RefreshToken
public Date getLastUpdated()
getLastUpdated
in interface OAuth2RefreshToken
public List<String> getScopes()
getScopes
in interface OAuth2RefreshToken
public OAuth2RefreshToken setScopes(List<String> scopes)
setScopes
in interface OAuth2RefreshToken
public OAuth2RefreshToken.StatusEnum getStatus()
getStatus
in interface OAuth2RefreshToken
public OAuth2RefreshToken setStatus(OAuth2RefreshToken.StatusEnum status)
setStatus
in interface OAuth2RefreshToken
public String getUserId()
getUserId
in interface OAuth2RefreshToken
public OAuth2RefreshToken setUserId(String userId)
setUserId
in interface OAuth2RefreshToken
Copyright © 2017–2023 Okta. All rights reserved.