target.apidocs.com.google.api.services.content.model.ShippingsettingsCustomBatchResponseEntry.html Maven / Gradle / Ivy
ShippingsettingsCustomBatchResponseEntry (Content API for Shopping v2.1-rev20240609-2.0.0)
com.google.api.services.content.model
Class ShippingsettingsCustomBatchResponseEntry
- 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.ShippingsettingsCustomBatchResponseEntry
-
public final class ShippingsettingsCustomBatchResponseEntry
extends com.google.api.client.json.GenericJson
A batch entry encoding a single non-batch shipping settings response.
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
ShippingsettingsCustomBatchResponseEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
ShippingsettingsCustomBatchResponseEntry
clone()
Long
getBatchId()
The ID of the request entry to which this entry responds.
Errors
getErrors()
A list of errors for failed custombatch entries.
String
getKind()
Identifies what kind of resource this is.
ShippingSettings
getShippingSettings()
The retrieved or updated account shipping settings.
ShippingsettingsCustomBatchResponseEntry
set(String fieldName,
Object value)
ShippingsettingsCustomBatchResponseEntry
setBatchId(Long batchId)
The ID of the request entry to which this entry responds.
ShippingsettingsCustomBatchResponseEntry
setErrors(Errors errors)
A list of errors for failed custombatch entries.
ShippingsettingsCustomBatchResponseEntry
setKind(String kind)
Identifies what kind of resource this is.
ShippingsettingsCustomBatchResponseEntry
setShippingSettings(ShippingSettings shippingSettings)
The retrieved or updated account shipping settings.
-
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, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, 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
-
-
Constructor Detail
-
ShippingsettingsCustomBatchResponseEntry
public ShippingsettingsCustomBatchResponseEntry()
-
Method Detail
-
getBatchId
public Long getBatchId()
The ID of the request entry to which this entry responds.
- Returns:
- value or
null
for none
-
setBatchId
public ShippingsettingsCustomBatchResponseEntry setBatchId(Long batchId)
The ID of the request entry to which this entry responds.
- Parameters:
batchId
- batchId or null
for none
-
getErrors
public Errors getErrors()
A list of errors for failed custombatch entries. *Note:* Schema errors fail the whole request.
- Returns:
- value or
null
for none
-
setErrors
public ShippingsettingsCustomBatchResponseEntry setErrors(Errors errors)
A list of errors for failed custombatch entries. *Note:* Schema errors fail the whole request.
- Parameters:
errors
- errors or null
for none
-
getKind
public String getKind()
Identifies what kind of resource this is. Value: the fixed string
"`content#shippingsettingsCustomBatchResponseEntry`"
- Returns:
- value or
null
for none
-
setKind
public ShippingsettingsCustomBatchResponseEntry setKind(String kind)
Identifies what kind of resource this is. Value: the fixed string
"`content#shippingsettingsCustomBatchResponseEntry`"
- Parameters:
kind
- kind or null
for none
-
getShippingSettings
public ShippingSettings getShippingSettings()
The retrieved or updated account shipping settings.
- Returns:
- value or
null
for none
-
setShippingSettings
public ShippingsettingsCustomBatchResponseEntry setShippingSettings(ShippingSettings shippingSettings)
The retrieved or updated account shipping settings.
- Parameters:
shippingSettings
- shippingSettings or null
for none
-
set
public ShippingsettingsCustomBatchResponseEntry set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public ShippingsettingsCustomBatchResponseEntry clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.