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-08-09T14:19:33.269913-05:00[America/Chicago]",
comments="Generator version: 7.7.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
-
getCreated
-
getExpiresAt
-
getId
-
getLastUpdated
-
name
-
getName
-
setName
-
network
-
getNetwork
-
setNetwork
-
tokenWindow
-
getTokenWindow
-
setTokenWindow
-
userId
-
getUserId
-
setUserId
-
link
-
getLink
-
setLink
-
equals
-
hashCode
-
toString
-