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 AdministratorContact
fromJson
(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.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
Get the firstName property: First name.- Returns:
- the firstName value.
-
setFirstName
Set the firstName property: First name.- Parameters:
firstName
- the firstName value to set.- Returns:
- the AdministratorContact object itself.
-
getLastName
Get the lastName property: Last name.- Returns:
- the lastName value.
-
setLastName
Set the lastName property: Last name.- Parameters:
lastName
- the lastName value to set.- Returns:
- the AdministratorContact object itself.
-
getEmail
Get the email property: Email address.- Returns:
- the email value.
-
setEmail
Set the email property: Email address.- Parameters:
email
- the email value to set.- Returns:
- the AdministratorContact object itself.
-
getPhone
Get the phone property: Phone number.- Returns:
- the phone value.
-
setPhone
Set the phone property: Phone number.- Parameters:
phone
- the phone value to set.- Returns:
- the AdministratorContact object itself.
-
toJson
- Specified by:
toJson
in 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.
-