public final class Headers
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 Content API for Shopping. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Headers() |
| Modifier and Type | Method and Description |
|---|---|
Headers |
clone() |
List<LocationIdSet> |
getLocations()
A list of location ID sets.
|
List<String> |
getNumberOfItems()
A list of inclusive number of items upper bounds.
|
List<String> |
getPostalCodeGroupNames()
A list of postal group names.
|
List<Price> |
getPrices()
A list of inclusive order price upper bounds.
|
List<Weight> |
getWeights()
A list of inclusive order weight upper bounds.
|
Headers |
set(String fieldName,
Object value) |
Headers |
setLocations(List<LocationIdSet> locations)
A list of location ID sets.
|
Headers |
setNumberOfItems(List<String> numberOfItems)
A list of inclusive number of items upper bounds.
|
Headers |
setPostalCodeGroupNames(List<String> postalCodeGroupNames)
A list of postal group names.
|
Headers |
setPrices(List<Price> prices)
A list of inclusive order price upper bounds.
|
Headers |
setWeights(List<Weight> weights)
A list of inclusive order weight upper bounds.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic List<LocationIdSet> getLocations()
null for nonepublic Headers setLocations(List<LocationIdSet> locations)
locations - locations or null for nonepublic List<String> getNumberOfItems()
null for nonepublic Headers setNumberOfItems(List<String> numberOfItems)
numberOfItems - numberOfItems or null for nonepublic List<String> getPostalCodeGroupNames()
null for nonepublic Headers setPostalCodeGroupNames(List<String> postalCodeGroupNames)
postalCodeGroupNames - postalCodeGroupNames or null for nonepublic List<Price> getPrices()
null for nonepublic Headers setPrices(List<Price> prices)
prices - prices or null for nonepublic List<Weight> getWeights()
null for nonepublic Headers setWeights(List<Weight> weights)
weights - weights or null for nonepublic Headers set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Headers clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.