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-09-23T08:35:59.300824-05:00[America/Chicago]",
comments="Generator version: 7.8.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 nameGet networkA time duration specified as an [ISO-8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations).Get userIdint
hashCode()
network
(ApiTokenNetwork network) void
void
void
setNetwork
(ApiTokenNetwork network) 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_NETWORK
- 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
-
network
-
getNetwork
Get network- Returns:
- network
-
setNetwork
-
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
-