target.apidocs.com.google.api.services.content.model.AccountStatus.html Maven / Gradle / Ivy
AccountStatus (Content API for Shopping v2-rev20210113-1.31.0)
com.google.api.services.content.model
Class AccountStatus
- 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.AccountStatus
-
public final class AccountStatus
extends GenericJson
The status of an account, i.e., information about its products, which is computed offline and not
returned immediately at insertion time.
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
AccountStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
AccountStatus
clone()
String
getAccountId()
The ID of the account for which the status is reported.
List<AccountStatusAccountLevelIssue>
getAccountLevelIssues()
A list of account level issues.
List<AccountStatusDataQualityIssue>
getDataQualityIssues()
DEPRECATED - never populated.
String
getKind()
Identifies what kind of resource this is.
List<AccountStatusProducts>
getProducts()
List of product-related data by channel, destination, and country.
Boolean
getWebsiteClaimed()
Whether the account's website is claimed or not.
AccountStatus
set(String fieldName,
Object value)
AccountStatus
setAccountId(String accountId)
The ID of the account for which the status is reported.
AccountStatus
setAccountLevelIssues(List<AccountStatusAccountLevelIssue> accountLevelIssues)
A list of account level issues.
AccountStatus
setDataQualityIssues(List<AccountStatusDataQualityIssue> dataQualityIssues)
DEPRECATED - never populated.
AccountStatus
setKind(String kind)
Identifies what kind of resource this is.
AccountStatus
setProducts(List<AccountStatusProducts> products)
List of product-related data by channel, destination, and country.
AccountStatus
setWebsiteClaimed(Boolean websiteClaimed)
Whether the account's website is claimed or not.
-
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
-
getAccountId
public String getAccountId()
The ID of the account for which the status is reported.
- Returns:
- value or
null
for none
-
setAccountId
public AccountStatus setAccountId(String accountId)
The ID of the account for which the status is reported.
- Parameters:
accountId
- accountId or null
for none
-
getAccountLevelIssues
public List<AccountStatusAccountLevelIssue> getAccountLevelIssues()
A list of account level issues.
- Returns:
- value or
null
for none
-
setAccountLevelIssues
public AccountStatus setAccountLevelIssues(List<AccountStatusAccountLevelIssue> accountLevelIssues)
A list of account level issues.
- Parameters:
accountLevelIssues
- accountLevelIssues or null
for none
-
getDataQualityIssues
public List<AccountStatusDataQualityIssue> getDataQualityIssues()
DEPRECATED - never populated.
- Returns:
- value or
null
for none
-
setDataQualityIssues
public AccountStatus setDataQualityIssues(List<AccountStatusDataQualityIssue> dataQualityIssues)
DEPRECATED - never populated.
- Parameters:
dataQualityIssues
- dataQualityIssues or null
for none
-
getKind
public String getKind()
Identifies what kind of resource this is. Value: the fixed string "`content#accountStatus`"
- Returns:
- value or
null
for none
-
setKind
public AccountStatus setKind(String kind)
Identifies what kind of resource this is. Value: the fixed string "`content#accountStatus`"
- Parameters:
kind
- kind or null
for none
-
getProducts
public List<AccountStatusProducts> getProducts()
List of product-related data by channel, destination, and country. Data in this field may be
delayed by up to 30 minutes.
- Returns:
- value or
null
for none
-
setProducts
public AccountStatus setProducts(List<AccountStatusProducts> products)
List of product-related data by channel, destination, and country. Data in this field may be
delayed by up to 30 minutes.
- Parameters:
products
- products or null
for none
-
getWebsiteClaimed
public Boolean getWebsiteClaimed()
Whether the account's website is claimed or not.
- Returns:
- value or
null
for none
-
setWebsiteClaimed
public AccountStatus setWebsiteClaimed(Boolean websiteClaimed)
Whether the account's website is claimed or not.
- Parameters:
websiteClaimed
- websiteClaimed or null
for none
-
set
public AccountStatus set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public AccountStatus clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy