public final class ListBusinessCategoriesResponse
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 |
---|
ListBusinessCategoriesResponse() |
Modifier and Type | Method and Description |
---|---|
ListBusinessCategoriesResponse |
clone() |
java.util.List<Category> |
getCategories()
The categories.
|
java.lang.String |
getNextPageToken()
If the number of categories exceeded the requested page size, this field will be populated with
a token to fetch the next page of categories on a subsequent call to `ListBusinessCategories`.
|
java.lang.Integer |
getTotalCategoryCount()
The total number of categories for the request parameters.
|
ListBusinessCategoriesResponse |
set(java.lang.String fieldName,
java.lang.Object value) |
ListBusinessCategoriesResponse |
setCategories(java.util.List<Category> categories)
The categories.
|
ListBusinessCategoriesResponse |
setNextPageToken(java.lang.String nextPageToken)
If the number of categories exceeded the requested page size, this field will be populated with
a token to fetch the next page of categories on a subsequent call to `ListBusinessCategories`.
|
ListBusinessCategoriesResponse |
setTotalCategoryCount(java.lang.Integer totalCategoryCount)
The total number of categories for the request parameters.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.util.List<Category> getCategories()
null
for nonepublic ListBusinessCategoriesResponse setCategories(java.util.List<Category> categories)
categories
- categories or null
for nonepublic java.lang.String getNextPageToken()
null
for nonepublic ListBusinessCategoriesResponse setNextPageToken(java.lang.String nextPageToken)
nextPageToken
- nextPageToken or null
for nonepublic java.lang.Integer getTotalCategoryCount()
null
for nonepublic ListBusinessCategoriesResponse setTotalCategoryCount(java.lang.Integer totalCategoryCount)
totalCategoryCount
- totalCategoryCount or null
for nonepublic ListBusinessCategoriesResponse set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ListBusinessCategoriesResponse clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011-2018 Google. All Rights Reserved.