Class AdministratorContact

java.lang.Object
com.azure.security.keyvault.certificates.models.AdministratorContact
All Implemented Interfaces:
com.azure.json.JsonSerializable<AdministratorContact>

public final class AdministratorContact extends Object implements com.azure.json.JsonSerializable<AdministratorContact>
Details of the organization administrator of the certificate issuer.
  • Constructor Details

    • AdministratorContact

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

    • getFirstName

      public String getFirstName()
      Get the firstName property: First name.
      Returns:
      the firstName value.
    • setFirstName

      public AdministratorContact setFirstName(String firstName)
      Set the firstName property: First name.
      Parameters:
      firstName - the firstName value to set.
      Returns:
      the AdministratorContact object itself.
    • getLastName

      public String getLastName()
      Get the lastName property: Last name.
      Returns:
      the lastName value.
    • setLastName

      public AdministratorContact setLastName(String lastName)
      Set the lastName property: Last name.
      Parameters:
      lastName - the lastName value to set.
      Returns:
      the AdministratorContact object itself.
    • getEmail

      public String getEmail()
      Get the email property: Email address.
      Returns:
      the email value.
    • setEmail

      public AdministratorContact setEmail(String email)
      Set the email property: Email address.
      Parameters:
      email - the email value to set.
      Returns:
      the AdministratorContact object itself.
    • getPhone

      public String getPhone()
      Get the phone property: Phone number.
      Returns:
      the phone value.
    • setPhone

      public AdministratorContact setPhone(String phone)
      Set the phone property: Phone number.
      Parameters:
      phone - the phone value to set.
      Returns:
      the AdministratorContact object itself.
    • toJson

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

      public static AdministratorContact fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of AdministratorContact from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of AdministratorContact 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 AdministratorContact.