public final class Category
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 |
---|
Category() |
Modifier and Type | Method and Description |
---|---|
Category |
clone() |
java.lang.String |
getCategoryId()
A stable ID (provided by Google) for this category.
|
java.lang.String |
getDisplayName()
Output only.
|
Category |
set(java.lang.String fieldName,
java.lang.Object value) |
Category |
setCategoryId(java.lang.String categoryId)
A stable ID (provided by Google) for this category.
|
Category |
setDisplayName(java.lang.String displayName)
Output only.
|
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 getCategoryId()
null
for nonepublic Category setCategoryId(java.lang.String categoryId)
categoryId
- categoryId or null
for nonepublic java.lang.String getDisplayName()
null
for nonepublic Category setDisplayName(java.lang.String displayName)
displayName
- displayName or null
for nonepublic Category set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Category clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011-2018 Google. All Rights Reserved.