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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AdministratorContactfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AdministratorContact from the JsonReader.getEmail()Get the email property: Email address.Get the firstName property: First name.Get the lastName property: Last name.getPhone()Get the phone property: Phone number.Set the email property: Email address.setFirstName(String firstName) Set the firstName property: First name.setLastName(String lastName) Set the lastName property: Last name.Set the phone property: Phone number.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AdministratorContact
public AdministratorContact()Creates an instance of AdministratorContact class.
-
-
Method Details
-
getFirstName
-
setFirstName
Set the firstName property: First name.- Parameters:
firstName- the firstName value to set.- Returns:
- the AdministratorContact object itself.
-
getLastName
-
setLastName
Set the lastName property: Last name.- Parameters:
lastName- the lastName value to set.- Returns:
- the AdministratorContact object itself.
-
getEmail
-
setEmail
Set the email property: Email address.- Parameters:
email- the email value to set.- Returns:
- the AdministratorContact object itself.
-
getPhone
-
setPhone
Set the phone property: Phone number.- Parameters:
phone- the phone value to set.- Returns:
- the AdministratorContact object itself.
-
toJson
- Specified by:
toJsonin interfacecom.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.
-