public final class Attribution
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 |
---|
Attribution() |
Modifier and Type | Method and Description |
---|---|
Attribution |
clone() |
java.lang.String |
getProfileName()
The user name to attribute the media item to.
|
java.lang.String |
getProfilePhotoUrl()
URL of the attributed user's profile photo thumbnail.
|
java.lang.String |
getProfileUrl()
The URL of the attributed user's Google Maps profile page.
|
java.lang.String |
getTakedownUrl()
The URL of the takedown page, where the media item can be reported if it is inappropriate.
|
Attribution |
set(java.lang.String fieldName,
java.lang.Object value) |
Attribution |
setProfileName(java.lang.String profileName)
The user name to attribute the media item to.
|
Attribution |
setProfilePhotoUrl(java.lang.String profilePhotoUrl)
URL of the attributed user's profile photo thumbnail.
|
Attribution |
setProfileUrl(java.lang.String profileUrl)
The URL of the attributed user's Google Maps profile page.
|
Attribution |
setTakedownUrl(java.lang.String takedownUrl)
The URL of the takedown page, where the media item can be reported if it is inappropriate.
|
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 getProfileName()
null
for nonepublic Attribution setProfileName(java.lang.String profileName)
profileName
- profileName or null
for nonepublic java.lang.String getProfilePhotoUrl()
null
for nonepublic Attribution setProfilePhotoUrl(java.lang.String profilePhotoUrl)
profilePhotoUrl
- profilePhotoUrl or null
for nonepublic java.lang.String getProfileUrl()
null
for nonepublic Attribution setProfileUrl(java.lang.String profileUrl)
profileUrl
- profileUrl or null
for nonepublic java.lang.String getTakedownUrl()
null
for nonepublic Attribution setTakedownUrl(java.lang.String takedownUrl)
takedownUrl
- takedownUrl or null
for nonepublic Attribution set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Attribution clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011-2018 Google. All Rights Reserved.