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 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 |
---|
Invitation() |
Modifier and Type | Method and Description |
---|---|
Invitation |
clone() |
java.lang.String |
getName()
The resource name for the invitation.
|
java.lang.String |
getRole()
The invited role on the account.
|
Account |
getTargetAccount()
The sparsely populated account this invitation is for.
|
TargetLocation |
getTargetLocation()
The target location this invitation is for.
|
Invitation |
set(java.lang.String fieldName,
java.lang.Object value) |
Invitation |
setName(java.lang.String name)
The resource name for the invitation.
|
Invitation |
setRole(java.lang.String role)
The invited role on the account.
|
Invitation |
setTargetAccount(Account targetAccount)
The sparsely populated account this invitation is for.
|
Invitation |
setTargetLocation(TargetLocation targetLocation)
The target location this invitation is for.
|
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 getName()
null
for nonepublic Invitation setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.String getRole()
null
for nonepublic Invitation setRole(java.lang.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 Invitation set(java.lang.String fieldName, java.lang.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-2018 Google. All Rights Reserved.