Package com.okta.sdk.resource.model
Class ApiToken
java.lang.Object
com.okta.sdk.resource.model.ApiToken
- 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 ApiToken
extends Object
implements Serializable
An API token for an Okta User. This token is NOT scoped any further and can be used for any API the user has permissions to call.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get clientNameGet createdGet expiresAtgetId()
Get idGet lastUpdatedgetLink()
Get linkgetName()
Get nameA time duration specified as an [ISO-8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations).Get userIdint
hashCode()
void
void
void
setTokenWindow
(String tokenWindow) void
tokenWindow
(String tokenWindow) toString()
-
Field Details
-
JSON_PROPERTY_CLIENT_NAME
- See Also:
-
JSON_PROPERTY_CREATED
- See Also:
-
JSON_PROPERTY_EXPIRES_AT
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_LAST_UPDATED
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_TOKEN_WINDOW
- See Also:
-
JSON_PROPERTY_USER_ID
- See Also:
-
JSON_PROPERTY_LINK
- See Also:
-
-
Constructor Details
-
ApiToken
public ApiToken()
-
-
Method Details
-
getClientName
Get clientName- Returns:
- clientName
-
getCreated
Get created- Returns:
- created
-
getExpiresAt
Get expiresAt- Returns:
- expiresAt
-
getId
Get id- Returns:
- id
-
getLastUpdated
Get lastUpdated- Returns:
- lastUpdated
-
name
-
getName
Get name- Returns:
- name
-
setName
-
tokenWindow
-
getTokenWindow
A time duration specified as an [ISO-8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations).- Returns:
- tokenWindow
-
setTokenWindow
-
userId
-
getUserId
Get userId- Returns:
- userId
-
setUserId
-
link
-
getLink
Get link- Returns:
- link
-
setLink
-
equals
-
hashCode
public int hashCode() -
toString
-