Package com.okta.sdk.resource.model
Class AppUser
java.lang.Object
com.okta.sdk.resource.model.AppUser
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class AppUser
extends Object
implements Serializable
The Application User object defines a user's app-specific profile and credentials for an app
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Indicates if the assignment is direct (`USER`) or by group membership (`GROUP`). -
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreated
(OffsetDateTime created) credentials
(AppUserCredentials credentials) boolean
Get createdGet credentialsEmbedded resources related to the Application User using the [JSON Hypertext Application Language](https://datatracker.ietf.org/doc/html/draft-kelly-json-hal-06) specificationThe ID of the user in the target app that's linked to the Okta Application User object.getId()
Unique identifier for the Okta UserTimestamp of the last synchronization operation.Get lastUpdatedgetLinks()
Get linksTimestamp when the Application User password was last changedorg.openapitools.jackson.nullable.JsonNullable
<OffsetDateTime> Specifies the default and custom profile properties for a user.getScope()
Indicates if the assignment is direct (`USER`) or by group membership (`GROUP`).Get statusTimestamp when the Application User status was last changedGet syncStateint
hashCode()
lastUpdated
(OffsetDateTime lastUpdated) links
(LinksAppAndUser links) putprofileItem
(String key, Object profileItem) scope
(AppUser.ScopeEnum scope) void
setCreated
(OffsetDateTime created) void
setCredentials
(AppUserCredentials credentials) void
void
setLastUpdated
(OffsetDateTime lastUpdated) void
setLinks
(LinksAppAndUser links) void
setProfile
(Map<String, Object> profile) void
setScope
(AppUser.ScopeEnum scope) void
setStatus
(AppUserStatus status) void
setSyncState
(AppUserSyncState syncState) status
(AppUserStatus status) syncState
(AppUserSyncState syncState) toString()
-
Field Details
-
JSON_PROPERTY_CREATED
- See Also:
-
JSON_PROPERTY_CREDENTIALS
- See Also:
-
JSON_PROPERTY_EXTERNAL_ID
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_LAST_SYNC
- See Also:
-
JSON_PROPERTY_LAST_UPDATED
- See Also:
-
JSON_PROPERTY_PASSWORD_CHANGED
- See Also:
-
JSON_PROPERTY_PROFILE
- See Also:
-
JSON_PROPERTY_SCOPE
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_STATUS_CHANGED
- See Also:
-
JSON_PROPERTY_SYNC_STATE
- See Also:
-
JSON_PROPERTY_EMBEDDED
- See Also:
-
JSON_PROPERTY_LINKS
- See Also:
-
-
Constructor Details
-
AppUser
public AppUser()
-
-
Method Details
-
created
-
getCreated
Get created- Returns:
- created
-
setCreated
-
credentials
-
getCredentials
Get credentials- Returns:
- credentials
-
setCredentials
-
getExternalId
The ID of the user in the target app that's linked to the Okta Application User object. This value is the native app-specific identifier or primary key for the user in the target app. The `externalId` is set during import when the user is confirmed (reconciled) or during provisioning when the user is created in the target app. This value isn't populated for SSO app assignments (for example, SAML or SWA) because it isn't synchronized with a target app.- Returns:
- externalId
-
id
-
getId
Unique identifier for the Okta User- Returns:
- id
-
setId
-
getLastSync
Timestamp of the last synchronization operation. This value is only updated for apps with the `IMPORT_PROFILE_UPDATES` or `PUSH PROFILE_UPDATES` feature.- Returns:
- lastSync
-
lastUpdated
-
getLastUpdated
Get lastUpdated- Returns:
- lastUpdated
-
setLastUpdated
-
getPasswordChanged
Timestamp when the Application User password was last changed- Returns:
- passwordChanged
-
getPasswordChanged_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getPasswordChanged_JsonNullable() -
profile
-
putprofileItem
-
getProfile
Specifies the default and custom profile properties for a user. Properties that are visible in the Admin Console for an app assignment can also be assigned through the API. Some properties are reference properties that are imported from the target app and can't be configured. See [profile](/openapi/okta-management/management/tag/User/#tag/User/operation/getUser!c=200&path=profile&t=response).- Returns:
- profile
-
setProfile
-
scope
-
getScope
Indicates if the assignment is direct (`USER`) or by group membership (`GROUP`).- Returns:
- scope
-
setScope
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
getStatusChanged
Timestamp when the Application User status was last changed- Returns:
- statusChanged
-
syncState
-
getSyncState
Get syncState- Returns:
- syncState
-
setSyncState
-
getEmbedded
Embedded resources related to the Application User using the [JSON Hypertext Application Language](https://datatracker.ietf.org/doc/html/draft-kelly-json-hal-06) specification- Returns:
- embedded
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
equals
-
hashCode
public int hashCode() -
toString
-