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

  • Constructor Details

    • AppUser

      public AppUser()
  • Method Details

    • created

      public AppUser created(OffsetDateTime created)
    • getCreated

      @Nullable public OffsetDateTime getCreated()
      Get created
      Returns:
      created
    • setCreated

      public void setCreated(OffsetDateTime 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 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

      public AppUser id(String id)
    • getId

      @Nullable public String getId()
      Unique identifier for the Okta User
      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
    • lastUpdated

      public AppUser lastUpdated(OffsetDateTime lastUpdated)
    • getLastUpdated

      @Nullable public OffsetDateTime getLastUpdated()
      Get lastUpdated
      Returns:
      lastUpdated
    • setLastUpdated

      public void setLastUpdated(OffsetDateTime lastUpdated)
    • getPasswordChanged

      @Nullable public OffsetDateTime getPasswordChanged()
      Timestamp when the Application 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()
      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

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

      public AppUser scope(AppUser.ScopeEnum scope)
    • getScope

      @Nullable public AppUser.ScopeEnum getScope()
      Indicates if the assignment is direct (`USER`) or by group membership (`GROUP`).
      Returns:
      scope
    • setScope

      public void setScope(AppUser.ScopeEnum scope)
    • status

      public AppUser status(AppUserStatus status)
    • getStatus

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

      public void setStatus(AppUserStatus status)
    • getStatusChanged

      @Nullable public OffsetDateTime getStatusChanged()
      Timestamp when the Application 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 Application 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

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