public final class Invitation
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 |
---|
Invitation() |
Modifier and Type | Method and Description |
---|---|
Invitation |
clone() |
String |
getName()
Required.
|
String |
getRole()
Output only.
|
Account |
getTargetAccount()
The sparsely populated account this invitation is for.
|
TargetLocation |
getTargetLocation()
The target location this invitation is for.
|
String |
getTargetType()
Output only.
|
Invitation |
set(String fieldName,
Object value) |
Invitation |
setName(String name)
Required.
|
Invitation |
setRole(String role)
Output only.
|
Invitation |
setTargetAccount(Account targetAccount)
The sparsely populated account this invitation is for.
|
Invitation |
setTargetLocation(TargetLocation targetLocation)
The target location this invitation is for.
|
Invitation |
setTargetType(String targetType)
Output only.
|
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 getName()
null
for nonepublic Invitation setName(String name)
name
- name or null
for nonepublic String getRole()
null
for nonepublic Invitation setRole(String role)
role
- role or null
for nonepublic Account getTargetAccount()
null
for nonepublic Invitation setTargetAccount(Account targetAccount)
targetAccount
- targetAccount or null
for nonepublic TargetLocation getTargetLocation()
null
for nonepublic Invitation setTargetLocation(TargetLocation targetLocation)
targetLocation
- targetLocation or null
for nonepublic String getTargetType()
null
for nonepublic Invitation setTargetType(String targetType)
targetType
- targetType or null
for nonepublic Invitation set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Invitation clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.