Class User

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-09-23T08:35:59.300824-05:00[America/Chicago]", comments="Generator version: 7.8.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()
      <div class=\"x-lifecycle-container\"><x-lifecycle class=\"ea\"></x-lifecycle></div>The ID of the Realm in which the User is residing
      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()
    • transitioningToStatus

      public User transitioningToStatus(UserStatus transitioningToStatus)
    • getTransitioningToStatus

      @Nullable public UserStatus getTransitioningToStatus()
      Get transitioningToStatus
      Returns:
      transitioningToStatus
    • setTransitioningToStatus

      public void setTransitioningToStatus(UserStatus transitioningToStatus)
    • 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