public final class Admin
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 My Business Account Management 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Admin() |
Modifier and Type | Method and Description |
---|---|
Admin |
clone() |
String |
getAccount()
Immutable.
|
String |
getAdmin()
Optional.
|
String |
getName()
Immutable.
|
Boolean |
getPendingInvitation()
Output only.
|
String |
getRole()
Required.
|
Admin |
set(String fieldName,
Object value) |
Admin |
setAccount(String account)
Immutable.
|
Admin |
setAdmin(String admin)
Optional.
|
Admin |
setName(String name)
Immutable.
|
Admin |
setPendingInvitation(Boolean pendingInvitation)
Output only.
|
Admin |
setRole(String role)
Required.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getAccount()
null
for nonepublic Admin setAccount(String account)
account
- account or null
for nonepublic String getAdmin()
null
for nonepublic Admin setAdmin(String admin)
admin
- admin or null
for nonepublic String getName()
null
for nonepublic Admin setName(String name)
name
- name or null
for nonepublic Boolean getPendingInvitation()
null
for nonepublic Admin setPendingInvitation(Boolean pendingInvitation)
pendingInvitation
- pendingInvitation or null
for nonepublic String getRole()
null
for nonepublic Admin setRole(String role)
role
- role or null
for nonepublic Admin set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Admin clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.