public final class PhoneInput
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 |
---|
PhoneInput() |
Modifier and Type | Method and Description |
---|---|
PhoneInput |
clone() |
java.lang.String |
getPhoneNumber()
The phone number that should be called or be sent SMS to.
|
PhoneInput |
set(java.lang.String fieldName,
java.lang.Object value) |
PhoneInput |
setPhoneNumber(java.lang.String phoneNumber)
The phone number that should be called or be sent SMS to.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getPhoneNumber()
null
for nonepublic PhoneInput setPhoneNumber(java.lang.String phoneNumber)
phoneNumber
- phoneNumber or null
for nonepublic PhoneInput set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public PhoneInput clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011-2018 Google. All Rights Reserved.