target.apidocs.com.google.api.services.content.model.AccountsCustomBatchResponseEntry.html Maven / Gradle / Ivy
AccountsCustomBatchResponseEntry (Content API for Shopping v2-rev20210911-1.32.1)
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 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
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 defined if and only if the request failed.
String
getKind()
Identifies what kind of resource this is.
String
getLinkStatus()
Deprecated.
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 defined if and only if the request failed.
AccountsCustomBatchResponseEntry
setKind(String kind)
Identifies what kind of resource this is.
AccountsCustomBatchResponseEntry
setLinkStatus(String linkStatus)
Deprecated.
-
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 defined if and only if the request failed.
- Returns:
- value or
null
for none
-
setErrors
public AccountsCustomBatchResponseEntry setErrors(Errors errors)
A list of errors defined if and only if the request failed.
- 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
-
getLinkStatus
public String getLinkStatus()
Deprecated. This field is never set. Acceptable values are: - "`active`" - "`inactive`" -
"`pending`"
- Returns:
- value or
null
for none
-
setLinkStatus
public AccountsCustomBatchResponseEntry setLinkStatus(String linkStatus)
Deprecated. This field is never set. Acceptable values are: - "`active`" - "`inactive`" -
"`pending`"
- Parameters:
linkStatus
- linkStatus or null
for none
-
set
public AccountsCustomBatchResponseEntry set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public AccountsCustomBatchResponseEntry clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy