target.apidocs.com.google.api.services.content.model.AccountsCustomBatchResponseEntry.html Maven / Gradle / Ivy
AccountsCustomBatchResponseEntry (Content API for Shopping v2.1-rev20240609-2.0.0)
com.google.api.services.content.model
Class AccountsCustomBatchResponseEntry
- 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.AccountsCustomBatchResponseEntry
-
public final class AccountsCustomBatchResponseEntry
extends com.google.api.client.json.GenericJson
A batch entry encoding a single non-batch accounts 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
AccountsCustomBatchResponseEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
AccountsCustomBatchResponseEntry
clone()
Account
getAccount()
The retrieved, created, or updated account.
Long
getBatchId()
The ID of the request entry this entry responds to.
Errors
getErrors()
A list of errors for failed custombatch entries.
String
getKind()
Identifies what kind of resource this is.
AccountsCustomBatchResponseEntry
set(String fieldName,
Object value)
AccountsCustomBatchResponseEntry
setAccount(Account account)
The retrieved, created, or updated account.
AccountsCustomBatchResponseEntry
setBatchId(Long batchId)
The ID of the request entry this entry responds to.
AccountsCustomBatchResponseEntry
setErrors(Errors errors)
A list of errors for failed custombatch entries.
AccountsCustomBatchResponseEntry
setKind(String kind)
Identifies what kind of resource this is.
-
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
-
-
Method Detail
-
getAccount
public Account getAccount()
The retrieved, created, or updated account. Not defined if the method was `delete`,
`claimwebsite` or `link`.
- Returns:
- value or
null
for none
-
setAccount
public AccountsCustomBatchResponseEntry setAccount(Account account)
The retrieved, created, or updated account. Not defined if the method was `delete`,
`claimwebsite` or `link`.
- Parameters:
account
- account or null
for none
-
getBatchId
public Long getBatchId()
The ID of the request entry this entry responds to.
- Returns:
- value or
null
for none
-
setBatchId
public AccountsCustomBatchResponseEntry setBatchId(Long batchId)
The ID of the request entry this entry responds to.
- 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 AccountsCustomBatchResponseEntry 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#accountsCustomBatchResponseEntry`"
- Returns:
- value or
null
for none
-
setKind
public AccountsCustomBatchResponseEntry setKind(String kind)
Identifies what kind of resource this is. Value: the fixed string
"`content#accountsCustomBatchResponseEntry`"
- Parameters:
kind
- kind or null
for none
-
set
public AccountsCustomBatchResponseEntry set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public AccountsCustomBatchResponseEntry 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