public final class ListCustomerMediaItemsResponse
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 |
---|
ListCustomerMediaItemsResponse() |
Modifier and Type | Method and Description |
---|---|
ListCustomerMediaItemsResponse |
clone() |
java.util.List<MediaItem> |
getMediaItems()
The returned list of media items.
|
java.lang.String |
getNextPageToken()
If there are more media items than the requested page size, then this field is populated with a
token to fetch the next page of media items on a subsequent call to ListCustomerMediaItems.
|
java.lang.Integer |
getTotalMediaItemCount()
The total number of media items for this location, irrespective of pagination.
|
ListCustomerMediaItemsResponse |
set(java.lang.String fieldName,
java.lang.Object value) |
ListCustomerMediaItemsResponse |
setMediaItems(java.util.List<MediaItem> mediaItems)
The returned list of media items.
|
ListCustomerMediaItemsResponse |
setNextPageToken(java.lang.String nextPageToken)
If there are more media items than the requested page size, then this field is populated with a
token to fetch the next page of media items on a subsequent call to ListCustomerMediaItems.
|
ListCustomerMediaItemsResponse |
setTotalMediaItemCount(java.lang.Integer totalMediaItemCount)
The total number of media items for this location, irrespective of pagination.
|
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<MediaItem> getMediaItems()
null
for nonepublic ListCustomerMediaItemsResponse setMediaItems(java.util.List<MediaItem> mediaItems)
mediaItems
- mediaItems or null
for nonepublic java.lang.String getNextPageToken()
null
for nonepublic ListCustomerMediaItemsResponse setNextPageToken(java.lang.String nextPageToken)
nextPageToken
- nextPageToken or null
for nonepublic java.lang.Integer getTotalMediaItemCount()
null
for nonepublic ListCustomerMediaItemsResponse setTotalMediaItemCount(java.lang.Integer totalMediaItemCount)
totalMediaItemCount
- totalMediaItemCount or null
for nonepublic ListCustomerMediaItemsResponse set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ListCustomerMediaItemsResponse clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011-2018 Google. All Rights Reserved.