Class UserProfile

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class UserProfile
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Returned the user profile.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAccountId()
      Gets the accountId.
      java.lang.String getAddedOn()
      Gets the addedOn.
      java.lang.String getAltphonenumber()
      Gets the altphonenumber.
      java.lang.String getEmail()
      Gets the email.
      java.lang.String getFirstname()
      Gets the firstname.
      java.lang.String getIamId()
      Gets the iamId.
      java.lang.String getId()
      Gets the id.
      java.lang.String getLastname()
      Gets the lastname.
      java.lang.String getPhonenumber()
      Gets the phonenumber.
      java.lang.String getPhoto()
      Gets the photo.
      java.lang.String getRealm()
      Gets the realm.
      java.lang.String getState()
      Gets the state.
      java.lang.String getUserId()
      Gets the userId.
      • Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getId

        public java.lang.String getId()
        Gets the id. An alphanumeric value identifying the user profile.
        Returns:
        the id
      • getIamId

        public java.lang.String getIamId()
        Gets the iamId. An alphanumeric value identifying the user's IAM ID.
        Returns:
        the iamId
      • getRealm

        public java.lang.String getRealm()
        Gets the realm. The realm of the user. The value is either `IBMid` or `SL`.
        Returns:
        the realm
      • getUserId

        public java.lang.String getUserId()
        Gets the userId. The user ID used for login.
        Returns:
        the userId
      • getFirstname

        public java.lang.String getFirstname()
        Gets the firstname. The first name of the user.
        Returns:
        the firstname
      • getLastname

        public java.lang.String getLastname()
        Gets the lastname. The last name of the user.
        Returns:
        the lastname
      • getState

        public java.lang.String getState()
        Gets the state. The state of the user. Possible values are `PROCESSING`, `PENDING`, `ACTIVE`, `DISABLED_CLASSIC_INFRASTRUCTURE`, and `VPN_ONLY`.
        Returns:
        the state
      • getEmail

        public java.lang.String getEmail()
        Gets the email. The email address of the user.
        Returns:
        the email
      • getPhonenumber

        public java.lang.String getPhonenumber()
        Gets the phonenumber. The phone number of the user.
        Returns:
        the phonenumber
      • getAltphonenumber

        public java.lang.String getAltphonenumber()
        Gets the altphonenumber. The alternative phone number of the user.
        Returns:
        the altphonenumber
      • getPhoto

        public java.lang.String getPhoto()
        Gets the photo. A link to a photo of the user.
        Returns:
        the photo
      • getAccountId

        public java.lang.String getAccountId()
        Gets the accountId. An alphanumeric value identifying the account ID.
        Returns:
        the accountId
      • getAddedOn

        public java.lang.String getAddedOn()
        Gets the addedOn. The timestamp for when the user was added to the account.
        Returns:
        the addedOn