Class User

java.lang.Object
com.okta.sdk.resource.model.User
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-03-13T17:36:05.533634+05:30[Asia/Kolkata]", comments="Generator version: 7.15.0") public class User extends Object implements Serializable
User
See Also:
  • Field Details

  • Constructor Details

    • User

      public User()
  • Method Details

    • getActivated

      @Nullable public OffsetDateTime getActivated()
      The timestamp when the user status transitioned to `ACTIVE`
      Returns:
      activated
    • getActivated_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getActivated_JsonNullable()
    • getCreated

      @Nullable public OffsetDateTime getCreated()
      The timestamp when the user was created
      Returns:
      created
    • credentials

      public User credentials(UserCredentials credentials)
    • getCredentials

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

      public void setCredentials(UserCredentials credentials)
    • getId

      @Nullable public String getId()
      The unique key for the user
      Returns:
      id
    • getLastLogin

      @Nullable public OffsetDateTime getLastLogin()
      The timestamp of the last login
      Returns:
      lastLogin
    • getLastLogin_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getLastLogin_JsonNullable()
    • getLastUpdated

      @Nullable public OffsetDateTime getLastUpdated()
      The timestamp when the user was last updated
      Returns:
      lastUpdated
    • getPasswordChanged

      @Nullable public OffsetDateTime getPasswordChanged()
      The timestamp when the user's password was last updated
      Returns:
      passwordChanged
    • getPasswordChanged_JsonNullable

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

      public User profile(UserProfile profile)
    • getProfile

      @Nullable public UserProfile getProfile()
      Get profile
      Returns:
      profile
    • setProfile

      public void setProfile(UserProfile profile)
    • getRealmId

      @Nullable public String getRealmId()
      The ID of the realm in which the user is residing. See [Realms](/openapi/okta-management/management/tag/Realm/).
      Returns:
      realmId
    • status

      public User status(UserStatus status)
    • getStatus

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

      public void setStatus(UserStatus status)
    • getStatusChanged

      @Nullable public OffsetDateTime getStatusChanged()
      The timestamp when the status of the user last changed
      Returns:
      statusChanged
    • getStatusChanged_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getStatusChanged_JsonNullable()
    • getTransitioningToStatus

      @Nullable public User.TransitioningToStatusEnum getTransitioningToStatus()
      The target status of an in-progress asynchronous status transition. This property is only returned if the user's state is transitioning.
      Returns:
      transitioningToStatus
    • getTransitioningToStatus_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<User.TransitioningToStatusEnum> getTransitioningToStatus_JsonNullable()
    • type

      public User type(UserType type)
    • getType

      @Nullable public UserType getType()
      Get type
      Returns:
      type
    • setType

      public void setType(UserType type)
    • getEmbedded

      @Nullable public Map<String,Object> getEmbedded()
      Embedded resources related to the user using the [JSON Hypertext Application Language](https://datatracker.ietf.org/doc/html/draft-kelly-json-hal-06) specification
      Returns:
      embedded
    • links

      public User links(UserLinks links)
    • getLinks

      @Nullable public UserLinks getLinks()
      Get links
      Returns:
      links
    • setLinks

      public void setLinks(UserLinks 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