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:46:27.777599-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:
  • Field Details

  • Constructor Details

    • AppUser

      public AppUser()
  • Method Details

    • getCreated

      @Nonnull public OffsetDateTime getCreated()
      Timestamp when the App User object was created
      Returns:
      created
    • credentials

      public AppUser credentials(AppUserCredentials credentials)
    • getCredentials

      @Nullable public AppUserCredentials getCredentials()
      Get credentials
      Returns:
      credentials
    • setCredentials

      public void setCredentials(AppUserCredentials credentials)
    • getExternalId

      @Nullable public String 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

      public AppUser id(String id)
    • getId

      @Nullable public String 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

      public void setId(String id)
    • getLastSync

      @Nullable public OffsetDateTime 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

      @Nonnull public OffsetDateTime getLastUpdated()
      Timestamp when App User was last updated
      Returns:
      lastUpdated
    • getPasswordChanged

      @Nullable public OffsetDateTime getPasswordChanged()
      Timestamp when the App User password was last changed
      Returns:
      passwordChanged
    • getPasswordChanged_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getPasswordChanged_JsonNullable()
    • profile

      public AppUser profile(Map<String,Object> profile)
    • putProfileItem

      public AppUser putProfileItem(String key, Object profileItem)
    • getProfile

      @Nullable public Map<String,Object> 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

      public void setProfile(Map<String,Object> profile)
    • scope

      public AppUser scope(AppUser.ScopeEnum scope)
    • getScope

      @Nonnull public AppUser.ScopeEnum getScope()
      Toggles the assignment between user or group scope
      Returns:
      scope
    • setScope

      public void setScope(AppUser.ScopeEnum scope)
    • status

      public AppUser status(AppUserStatus status)
    • getStatus

      @Nonnull public AppUserStatus getStatus()
      Get status
      Returns:
      status
    • setStatus

      public void setStatus(AppUserStatus status)
    • getStatusChanged

      @Nonnull public OffsetDateTime getStatusChanged()
      Timestamp when the App User status was last changed
      Returns:
      statusChanged
    • syncState

      public AppUser syncState(AppUserSyncState syncState)
    • getSyncState

      @Nullable public AppUserSyncState getSyncState()
      Get syncState
      Returns:
      syncState
    • setSyncState

      public void setSyncState(AppUserSyncState syncState)
    • getEmbedded

      @Nullable public Map<String,Object> 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

      public AppUser links(LinksAppAndUser links)
    • getLinks

      @Nonnull public LinksAppAndUser getLinks()
      Get links
      Returns:
      links
    • setLinks

      public void setLinks(LinksAppAndUser links)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object