public final class OrganizationInfo
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 |
---|
OrganizationInfo() |
Modifier and Type | Method and Description |
---|---|
OrganizationInfo |
clone() |
java.lang.String |
getPhoneNumber()
The contact number for the organization.
|
PostalAddress |
getPostalAddress()
The postal address for the account.
|
java.lang.String |
getRegisteredDomain()
The registered domain for the account.
|
OrganizationInfo |
set(java.lang.String fieldName,
java.lang.Object value) |
OrganizationInfo |
setPhoneNumber(java.lang.String phoneNumber)
The contact number for the organization.
|
OrganizationInfo |
setPostalAddress(PostalAddress postalAddress)
The postal address for the account.
|
OrganizationInfo |
setRegisteredDomain(java.lang.String registeredDomain)
The registered domain for the account.
|
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 OrganizationInfo setPhoneNumber(java.lang.String phoneNumber)
phoneNumber
- phoneNumber or null
for nonepublic PostalAddress getPostalAddress()
null
for nonepublic OrganizationInfo setPostalAddress(PostalAddress postalAddress)
postalAddress
- postalAddress or null
for nonepublic java.lang.String getRegisteredDomain()
null
for nonepublic OrganizationInfo setRegisteredDomain(java.lang.String registeredDomain)
registeredDomain
- registeredDomain or null
for nonepublic OrganizationInfo set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public OrganizationInfo clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011-2018 Google. All Rights Reserved.