public final class Account
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 |
---|
Account() |
Modifier and Type | Method and Description |
---|---|
Account |
clone() |
java.lang.String |
getAccountName()
The name of the account.
|
java.lang.String |
getAccountNumber()
Account reference number if provisioned.
|
java.lang.String |
getName()
The resource name, in the format `accounts/{account_id}`.
|
OrganizationInfo |
getOrganizationInfo()
Additional info for an organization.
|
java.lang.String |
getPermissionLevel()
Output only.
|
java.lang.String |
getProfilePhotoUrl()
Profile photo for the account.
|
java.lang.String |
getRole()
Output only.
|
AccountState |
getState()
Output only.
|
java.lang.String |
getType()
Output only.
|
Account |
set(java.lang.String fieldName,
java.lang.Object value) |
Account |
setAccountName(java.lang.String accountName)
The name of the account.
|
Account |
setAccountNumber(java.lang.String accountNumber)
Account reference number if provisioned.
|
Account |
setName(java.lang.String name)
The resource name, in the format `accounts/{account_id}`.
|
Account |
setOrganizationInfo(OrganizationInfo organizationInfo)
Additional info for an organization.
|
Account |
setPermissionLevel(java.lang.String permissionLevel)
Output only.
|
Account |
setProfilePhotoUrl(java.lang.String profilePhotoUrl)
Profile photo for the account.
|
Account |
setRole(java.lang.String role)
Output only.
|
Account |
setState(AccountState state)
Output only.
|
Account |
setType(java.lang.String type)
Output only.
|
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 getAccountName()
null
for nonepublic Account setAccountName(java.lang.String accountName)
accountName
- accountName or null
for nonepublic java.lang.String getAccountNumber()
null
for nonepublic Account setAccountNumber(java.lang.String accountNumber)
accountNumber
- accountNumber or null
for nonepublic java.lang.String getName()
null
for nonepublic Account setName(java.lang.String name)
name
- name or null
for nonepublic OrganizationInfo getOrganizationInfo()
null
for nonepublic Account setOrganizationInfo(OrganizationInfo organizationInfo)
organizationInfo
- organizationInfo or null
for nonepublic java.lang.String getPermissionLevel()
null
for nonepublic Account setPermissionLevel(java.lang.String permissionLevel)
permissionLevel
- permissionLevel or null
for nonepublic java.lang.String getProfilePhotoUrl()
null
for nonepublic Account setProfilePhotoUrl(java.lang.String profilePhotoUrl)
profilePhotoUrl
- profilePhotoUrl or null
for nonepublic java.lang.String getRole()
null
for nonepublic Account setRole(java.lang.String role)
role
- role or null
for nonepublic AccountState getState()
null
for nonepublic Account setState(AccountState state)
state
- state or null
for nonepublic java.lang.String getType()
null
for nonepublic Account setType(java.lang.String type)
type
- type or null
for nonepublic Account set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Account clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011-2018 Google. All Rights Reserved.