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 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 |
---|
Admin() |
Modifier and Type | Method and Description |
---|---|
Admin |
clone() |
java.lang.String |
getAdminName()
The name of the admin.
|
java.lang.String |
getName()
The resource name.
|
java.lang.Boolean |
getPendingInvitation()
Output only.
|
java.lang.String |
getRole()
Specifies the AdminRole that this admin uses with the specified Account or Location resource.
|
Admin |
set(java.lang.String fieldName,
java.lang.Object value) |
Admin |
setAdminName(java.lang.String adminName)
The name of the admin.
|
Admin |
setName(java.lang.String name)
The resource name.
|
Admin |
setPendingInvitation(java.lang.Boolean pendingInvitation)
Output only.
|
Admin |
setRole(java.lang.String role)
Specifies the AdminRole that this admin uses with the specified Account or Location resource.
|
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 getAdminName()
null
for nonepublic Admin setAdminName(java.lang.String adminName)
adminName
- adminName or null
for nonepublic java.lang.String getName()
null
for nonepublic Admin setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.Boolean getPendingInvitation()
null
for nonepublic Admin setPendingInvitation(java.lang.Boolean pendingInvitation)
pendingInvitation
- pendingInvitation or null
for nonepublic java.lang.String getRole()
null
for nonepublic Admin setRole(java.lang.String role)
role
- role or null
for nonepublic Admin set(java.lang.String fieldName, java.lang.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-2018 Google. All Rights Reserved.