public final class LocationAssociation
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 |
---|
LocationAssociation() |
Modifier and Type | Method and Description |
---|---|
LocationAssociation |
clone() |
java.lang.String |
getCategory()
The category that this location photo belongs to.
|
java.lang.String |
getPriceListItemId()
The ID of a price list item that this location photo is associated with.
|
LocationAssociation |
set(java.lang.String fieldName,
java.lang.Object value) |
LocationAssociation |
setCategory(java.lang.String category)
The category that this location photo belongs to.
|
LocationAssociation |
setPriceListItemId(java.lang.String priceListItemId)
The ID of a price list item that this location photo is associated with.
|
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 getCategory()
null
for nonepublic LocationAssociation setCategory(java.lang.String category)
category
- category or null
for nonepublic java.lang.String getPriceListItemId()
null
for nonepublic LocationAssociation setPriceListItemId(java.lang.String priceListItemId)
priceListItemId
- priceListItemId or null
for nonepublic LocationAssociation set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public LocationAssociation clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011-2018 Google. All Rights Reserved.