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.Flags
AbstractMap.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, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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.GenericJson
public Headers clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.