target.apidocs.com.google.api.services.content.model.AccountstatusesCustomBatchRequestEntry.html Maven / Gradle / Ivy
AccountstatusesCustomBatchRequestEntry (Content API for Shopping v2.1-rev20240609-2.0.0)
com.google.api.services.content.model
Class AccountstatusesCustomBatchRequestEntry
- 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.AccountstatusesCustomBatchRequestEntry
-
public final class AccountstatusesCustomBatchRequestEntry
extends com.google.api.client.json.GenericJson
A batch entry encoding a single non-batch accountstatuses request.
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
AccountstatusesCustomBatchRequestEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
AccountstatusesCustomBatchRequestEntry
clone()
BigInteger
getAccountId()
The ID of the (sub-)account whose status to get.
Long
getBatchId()
An entry ID, unique within the batch request.
List<String>
getDestinations()
If set, only issues for the specified destinations are returned, otherwise only issues for the
Shopping destination.
BigInteger
getMerchantId()
The ID of the managing account.
String
getMethod()
The method of the batch entry.
AccountstatusesCustomBatchRequestEntry
set(String fieldName,
Object value)
AccountstatusesCustomBatchRequestEntry
setAccountId(BigInteger accountId)
The ID of the (sub-)account whose status to get.
AccountstatusesCustomBatchRequestEntry
setBatchId(Long batchId)
An entry ID, unique within the batch request.
AccountstatusesCustomBatchRequestEntry
setDestinations(List<String> destinations)
If set, only issues for the specified destinations are returned, otherwise only issues for the
Shopping destination.
AccountstatusesCustomBatchRequestEntry
setMerchantId(BigInteger merchantId)
The ID of the managing account.
AccountstatusesCustomBatchRequestEntry
setMethod(String method)
The method of the batch entry.
-
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
-
AccountstatusesCustomBatchRequestEntry
public AccountstatusesCustomBatchRequestEntry()
-
Method Detail
-
getAccountId
public BigInteger getAccountId()
The ID of the (sub-)account whose status to get.
- Returns:
- value or
null
for none
-
setAccountId
public AccountstatusesCustomBatchRequestEntry setAccountId(BigInteger accountId)
The ID of the (sub-)account whose status to get.
- Parameters:
accountId
- accountId or null
for none
-
getBatchId
public Long getBatchId()
An entry ID, unique within the batch request.
- Returns:
- value or
null
for none
-
setBatchId
public AccountstatusesCustomBatchRequestEntry setBatchId(Long batchId)
An entry ID, unique within the batch request.
- Parameters:
batchId
- batchId or null
for none
-
getDestinations
public List<String> getDestinations()
If set, only issues for the specified destinations are returned, otherwise only issues for the
Shopping destination.
- Returns:
- value or
null
for none
-
setDestinations
public AccountstatusesCustomBatchRequestEntry setDestinations(List<String> destinations)
If set, only issues for the specified destinations are returned, otherwise only issues for the
Shopping destination.
- Parameters:
destinations
- destinations or null
for none
-
getMerchantId
public BigInteger getMerchantId()
The ID of the managing account.
- Returns:
- value or
null
for none
-
setMerchantId
public AccountstatusesCustomBatchRequestEntry setMerchantId(BigInteger merchantId)
The ID of the managing account.
- Parameters:
merchantId
- merchantId or null
for none
-
getMethod
public String getMethod()
The method of the batch entry. Acceptable values are: - "`get`"
- Returns:
- value or
null
for none
-
setMethod
public AccountstatusesCustomBatchRequestEntry setMethod(String method)
The method of the batch entry. Acceptable values are: - "`get`"
- Parameters:
method
- method or null
for none
-
set
public AccountstatusesCustomBatchRequestEntry set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public AccountstatusesCustomBatchRequestEntry clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy