target.apidocs.com.google.api.services.content.model.TransitTable.html Maven / Gradle / Ivy
TransitTable (Content API for Shopping v2.1-rev20190215-1.27.0)
com.google.api.services.content.model
Class TransitTable
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.content.model.TransitTable
-
public final class TransitTable
extends com.google.api.client.json.GenericJson
Model definition for TransitTable.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
TransitTable()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
TransitTable
clone()
List<String>
getPostalCodeGroupNames()
A list of postal group names.
List<TransitTableTransitTimeRow>
getRows()
List<String>
getTransitTimeLabels()
A list of transit time labels.
TransitTable
set(String fieldName,
Object value)
TransitTable
setPostalCodeGroupNames(List<String> postalCodeGroupNames)
A list of postal group names.
TransitTable
setRows(List<TransitTableTransitTimeRow> rows)
TransitTable
setTransitTimeLabels(List<String> transitTimeLabels)
A list of transit time labels.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getPostalCodeGroupNames
public List<String> getPostalCodeGroupNames()
A list of postal group names. The last value can be "all other locations". Example: ["zone 1",
"zone 2", "all other locations"]. The referred postal code groups must match the delivery
country of the service.
- Returns:
- value or
null
for none
-
setPostalCodeGroupNames
public TransitTable setPostalCodeGroupNames(List<String> postalCodeGroupNames)
A list of postal group names. The last value can be "all other locations". Example: ["zone 1",
"zone 2", "all other locations"]. The referred postal code groups must match the delivery
country of the service.
- Parameters:
postalCodeGroupNames
- postalCodeGroupNames or null
for none
-
getRows
public List<TransitTableTransitTimeRow> getRows()
- Returns:
- value or
null
for none
-
setRows
public TransitTable setRows(List<TransitTableTransitTimeRow> rows)
- Parameters:
rows
- rows or null
for none
-
getTransitTimeLabels
public List<String> getTransitTimeLabels()
A list of transit time labels. The last value can be "all other labels". Example: ["food",
"electronics", "all other labels"].
- Returns:
- value or
null
for none
-
setTransitTimeLabels
public TransitTable setTransitTimeLabels(List<String> transitTimeLabels)
A list of transit time labels. The last value can be "all other labels". Example: ["food",
"electronics", "all other labels"].
- Parameters:
transitTimeLabels
- transitTimeLabels or null
for none
-
set
public TransitTable set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public TransitTable clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2019 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy