public final class AccountsCustomBatchRequestEntry
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 |
---|
AccountsCustomBatchRequestEntry() |
Modifier and Type | Method and Description |
---|---|
AccountsCustomBatchRequestEntry |
clone() |
Account |
getAccount()
The account to create or update.
|
BigInteger |
getAccountId()
The ID of the targeted account.
|
Long |
getBatchId()
An entry ID, unique within the batch request.
|
Boolean |
getForce()
Whether the account should be deleted if the account has offers.
|
List<BigInteger> |
getLabelIds()
Label IDs for the 'updatelabels' request.
|
AccountsCustomBatchRequestEntryLinkRequest |
getLinkRequest()
Details about the `link` request.
|
BigInteger |
getMerchantId()
The ID of the managing account.
|
String |
getMethod()
The method of the batch entry.
|
Boolean |
getOverwrite()
Only applicable if the method is `claimwebsite`.
|
String |
getView()
Controls which fields are visible.
|
AccountsCustomBatchRequestEntry |
set(String fieldName,
Object value) |
AccountsCustomBatchRequestEntry |
setAccount(Account account)
The account to create or update.
|
AccountsCustomBatchRequestEntry |
setAccountId(BigInteger accountId)
The ID of the targeted account.
|
AccountsCustomBatchRequestEntry |
setBatchId(Long batchId)
An entry ID, unique within the batch request.
|
AccountsCustomBatchRequestEntry |
setForce(Boolean force)
Whether the account should be deleted if the account has offers.
|
AccountsCustomBatchRequestEntry |
setLabelIds(List<BigInteger> labelIds)
Label IDs for the 'updatelabels' request.
|
AccountsCustomBatchRequestEntry |
setLinkRequest(AccountsCustomBatchRequestEntryLinkRequest linkRequest)
Details about the `link` request.
|
AccountsCustomBatchRequestEntry |
setMerchantId(BigInteger merchantId)
The ID of the managing account.
|
AccountsCustomBatchRequestEntry |
setMethod(String method)
The method of the batch entry.
|
AccountsCustomBatchRequestEntry |
setOverwrite(Boolean overwrite)
Only applicable if the method is `claimwebsite`.
|
AccountsCustomBatchRequestEntry |
setView(String view)
Controls which fields are visible.
|
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 Account getAccount()
null
for nonepublic AccountsCustomBatchRequestEntry setAccount(Account account)
account
- account or null
for nonepublic BigInteger getAccountId()
null
for nonepublic AccountsCustomBatchRequestEntry setAccountId(BigInteger accountId)
accountId
- accountId or null
for nonepublic Long getBatchId()
null
for nonepublic AccountsCustomBatchRequestEntry setBatchId(Long batchId)
batchId
- batchId or null
for nonepublic Boolean getForce()
null
for nonepublic AccountsCustomBatchRequestEntry setForce(Boolean force)
force
- force or null
for nonepublic List<BigInteger> getLabelIds()
null
for nonepublic AccountsCustomBatchRequestEntry setLabelIds(List<BigInteger> labelIds)
labelIds
- labelIds or null
for nonepublic AccountsCustomBatchRequestEntryLinkRequest getLinkRequest()
null
for nonepublic AccountsCustomBatchRequestEntry setLinkRequest(AccountsCustomBatchRequestEntryLinkRequest linkRequest)
linkRequest
- linkRequest or null
for nonepublic BigInteger getMerchantId()
null
for nonepublic AccountsCustomBatchRequestEntry setMerchantId(BigInteger merchantId)
merchantId
- merchantId or null
for nonepublic String getMethod()
null
for nonepublic AccountsCustomBatchRequestEntry setMethod(String method)
method
- method or null
for nonepublic Boolean getOverwrite()
null
for nonepublic AccountsCustomBatchRequestEntry setOverwrite(Boolean overwrite)
overwrite
- overwrite or null
for nonepublic String getView()
null
for nonepublic AccountsCustomBatchRequestEntry setView(String view)
view
- view or null
for nonepublic AccountsCustomBatchRequestEntry set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public AccountsCustomBatchRequestEntry clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.