java.lang.Object
com.azure.resourcemanager.informaticadatamanagement.models.UserDetails
All Implemented Interfaces:
com.azure.json.JsonSerializable<UserDetails>

public final class UserDetails extends Object implements com.azure.json.JsonSerializable<UserDetails>
User Info of Informatica Organization resource.
  • Constructor Details

    • UserDetails

      public UserDetails()
      Creates an instance of UserDetails class.
  • Method Details

    • firstName

      public String firstName()
      Get the firstName property: User first name.
      Returns:
      the firstName value.
    • withFirstName

      public UserDetails withFirstName(String firstName)
      Set the firstName property: User first name.
      Parameters:
      firstName - the firstName value to set.
      Returns:
      the UserDetails object itself.
    • lastName

      public String lastName()
      Get the lastName property: User last name.
      Returns:
      the lastName value.
    • withLastName

      public UserDetails withLastName(String lastName)
      Set the lastName property: User last name.
      Parameters:
      lastName - the lastName value to set.
      Returns:
      the UserDetails object itself.
    • emailAddress

      public String emailAddress()
      Get the emailAddress property: User email address.
      Returns:
      the emailAddress value.
    • withEmailAddress

      public UserDetails withEmailAddress(String emailAddress)
      Set the emailAddress property: User email address.
      Parameters:
      emailAddress - the emailAddress value to set.
      Returns:
      the UserDetails object itself.
    • upn

      public String upn()
      Get the upn property: UPN of user.
      Returns:
      the upn value.
    • withUpn

      public UserDetails withUpn(String upn)
      Set the upn property: UPN of user.
      Parameters:
      upn - the upn value to set.
      Returns:
      the UserDetails object itself.
    • phoneNumber

      public String phoneNumber()
      Get the phoneNumber property: Phone number of the user used by for contacting them if needed.
      Returns:
      the phoneNumber value.
    • withPhoneNumber

      public UserDetails withPhoneNumber(String phoneNumber)
      Set the phoneNumber property: Phone number of the user used by for contacting them if needed.
      Parameters:
      phoneNumber - the phoneNumber value to set.
      Returns:
      the UserDetails object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<UserDetails>
      Throws:
      IOException
    • fromJson

      public static UserDetails fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of UserDetails from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of UserDetails if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the UserDetails.