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-03-29T16:47:02.065887-05:00[America/Chicago]",
comments="Generator version: 7.4.0")
public class AppUser
extends Object
implements Serializable
The App User object defines a user's app-specific profile and credentials for an app.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Toggles the assignment between user or group scope -
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 TypeMethodDescriptioncredentials
(AppUserCredentials credentials) boolean
Timestamp when the App User object was createdGet credentialsEmbedded resources related to the App 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 App User object.getId()
Unique identifier of the App User object (only required for apps with `signOnMode` or authentication schemes that don't require credentials)Timestamp of the last synchronization operation.Timestamp when App User was last updatedgetLinks()
Get linksTimestamp when the App User password was last changedorg.openapitools.jackson.nullable.JsonNullable
<OffsetDateTime> App user profiles are app-specific and can be customized by the Profile Editor in the Admin Console.getScope()
Toggles the assignment between user or group scopeGet statusTimestamp when the App User status was last changedGet syncStateint
hashCode()
links
(LinksAppAndUser links) putProfileItem
(String key, Object profileItem) scope
(AppUser.ScopeEnum scope) void
setCredentials
(AppUserCredentials credentials) void
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
-
getCreated
Timestamp when the App User object was created- Returns:
- created
-
credentials
-
getCredentials
Get credentials- Returns:
- credentials
-
setCredentials
-
getExternalId
The ID of the user in the target app that's linked to the Okta App 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 has been successfully 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 of the App User object (only required for apps with `signOnMode` or authentication schemes that don't require credentials)- 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
-
getLastUpdated
Timestamp when App User was last updated- Returns:
- lastUpdated
-
getPasswordChanged
Timestamp when the App User password was last changed- Returns:
- passwordChanged
-
getPasswordChanged_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getPasswordChanged_JsonNullable() -
profile
-
putProfileItem
-
getProfile
App user profiles are app-specific and can be customized by the Profile Editor in the Admin Console. SSO apps typically don't support app user profiles, while apps with user provisioning features have app-specific profiles. 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.- Returns:
- profile
-
setProfile
-
scope
-
getScope
Toggles the assignment between user or group scope- Returns:
- scope
-
setScope
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
getStatusChanged
Timestamp when the App User status was last changed- Returns:
- statusChanged
-
syncState
-
getSyncState
Get syncState- Returns:
- syncState
-
setSyncState
-
getEmbedded
Embedded resources related to the App 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
-