public final class VerificationOption
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google My Business API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
VerificationOption() |
Modifier and Type | Method and Description |
---|---|
VerificationOption |
clone() |
AddressVerificationData |
getAddressData()
Set only if the method is MAIL.
|
EmailVerificationData |
getEmailData()
Set only if the method is EMAIL.
|
PhoneVerificationData |
getPhoneData()
Set only if the method is PHONE_CALL or SMS.
|
java.lang.String |
getVerificationMethod()
Method to verify the location.
|
VerificationOption |
set(java.lang.String fieldName,
java.lang.Object value) |
VerificationOption |
setAddressData(AddressVerificationData addressData)
Set only if the method is MAIL.
|
VerificationOption |
setEmailData(EmailVerificationData emailData)
Set only if the method is EMAIL.
|
VerificationOption |
setPhoneData(PhoneVerificationData phoneData)
Set only if the method is PHONE_CALL or SMS.
|
VerificationOption |
setVerificationMethod(java.lang.String verificationMethod)
Method to verify the location.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public AddressVerificationData getAddressData()
null
for nonepublic VerificationOption setAddressData(AddressVerificationData addressData)
addressData
- addressData or null
for nonepublic EmailVerificationData getEmailData()
null
for nonepublic VerificationOption setEmailData(EmailVerificationData emailData)
emailData
- emailData or null
for nonepublic PhoneVerificationData getPhoneData()
null
for nonepublic VerificationOption setPhoneData(PhoneVerificationData phoneData)
phoneData
- phoneData or null
for nonepublic java.lang.String getVerificationMethod()
null
for nonepublic VerificationOption setVerificationMethod(java.lang.String verificationMethod)
verificationMethod
- verificationMethod or null
for nonepublic VerificationOption set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public VerificationOption clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011-2018 Google. All Rights Reserved.