Package com.okta.sdk.resource.model
Class OAuth2Token
java.lang.Object
com.okta.sdk.resource.model.OAuth2Token
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-03-29T16:47:02.065887-05:00[America/Chicago]",
comments="Generator version: 7.4.0")
public class OAuth2Token
extends Object
implements Serializable
OAuth2Token
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddScopesItem
(String scopesItem) boolean
Get clientIdGet createdGet embeddedGet expiresAtgetId()
Get idGet issuerGet lastUpdatedgetLinks()
Get linksGet scopesGet statusGet userIdint
hashCode()
void
setClientId
(String clientId) void
void
void
void
setStatus
(GrantOrTokenStatus status) void
status
(GrantOrTokenStatus status) toString()
-
Field Details
-
JSON_PROPERTY_CLIENT_ID
- See Also:
-
JSON_PROPERTY_CREATED
- See Also:
-
JSON_PROPERTY_EXPIRES_AT
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_ISSUER
- See Also:
-
JSON_PROPERTY_LAST_UPDATED
- See Also:
-
JSON_PROPERTY_SCOPES
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_USER_ID
- See Also:
-
JSON_PROPERTY_EMBEDDED
- See Also:
-
JSON_PROPERTY_LINKS
- See Also:
-
-
Constructor Details
-
OAuth2Token
public OAuth2Token()
-
-
Method Details
-
clientId
-
getClientId
Get clientId- Returns:
- clientId
-
setClientId
-
getCreated
Get created- Returns:
- created
-
getExpiresAt
Get expiresAt- Returns:
- expiresAt
-
getId
Get id- Returns:
- id
-
issuer
-
getIssuer
Get issuer- Returns:
- issuer
-
setIssuer
-
getLastUpdated
Get lastUpdated- Returns:
- lastUpdated
-
scopes
-
addScopesItem
-
getScopes
Get scopes- Returns:
- scopes
-
setScopes
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
userId
-
getUserId
Get userId- Returns:
- userId
-
setUserId
-
getEmbedded
Get embedded- Returns:
- embedded
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
equals
-
hashCode
public int hashCode() -
toString
-