target.apidocs.com.google.api.services.content.model.CollectionStatusDestinationStatus.html Maven / Gradle / Ivy
CollectionStatusDestinationStatus (Content API for Shopping v2.1-rev20240609-2.0.0)
com.google.api.services.content.model
Class CollectionStatusDestinationStatus
- 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.CollectionStatusDestinationStatus
-
public final class CollectionStatusDestinationStatus
extends com.google.api.client.json.GenericJson
Destination status message.
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
CollectionStatusDestinationStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
CollectionStatusDestinationStatus
clone()
List<String>
getApprovedCountries()
Country codes (ISO 3166-1 alpha-2) where the collection is approved.
String
getDestination()
The name of the destination
List<String>
getDisapprovedCountries()
Country codes (ISO 3166-1 alpha-2) where the collection is disapproved.
List<String>
getPendingCountries()
Country codes (ISO 3166-1 alpha-2) where the collection is pending approval.
String
getStatus()
The status for the specified destination in the collections target country.
CollectionStatusDestinationStatus
set(String fieldName,
Object value)
CollectionStatusDestinationStatus
setApprovedCountries(List<String> approvedCountries)
Country codes (ISO 3166-1 alpha-2) where the collection is approved.
CollectionStatusDestinationStatus
setDestination(String destination)
The name of the destination
CollectionStatusDestinationStatus
setDisapprovedCountries(List<String> disapprovedCountries)
Country codes (ISO 3166-1 alpha-2) where the collection is disapproved.
CollectionStatusDestinationStatus
setPendingCountries(List<String> pendingCountries)
Country codes (ISO 3166-1 alpha-2) where the collection is pending approval.
CollectionStatusDestinationStatus
setStatus(String status)
The status for the specified destination in the collections target country.
-
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
-
getApprovedCountries
public List<String> getApprovedCountries()
Country codes (ISO 3166-1 alpha-2) where the collection is approved.
- Returns:
- value or
null
for none
-
setApprovedCountries
public CollectionStatusDestinationStatus setApprovedCountries(List<String> approvedCountries)
Country codes (ISO 3166-1 alpha-2) where the collection is approved.
- Parameters:
approvedCountries
- approvedCountries or null
for none
-
getDestination
public String getDestination()
The name of the destination
- Returns:
- value or
null
for none
-
setDestination
public CollectionStatusDestinationStatus setDestination(String destination)
The name of the destination
- Parameters:
destination
- destination or null
for none
-
getDisapprovedCountries
public List<String> getDisapprovedCountries()
Country codes (ISO 3166-1 alpha-2) where the collection is disapproved.
- Returns:
- value or
null
for none
-
setDisapprovedCountries
public CollectionStatusDestinationStatus setDisapprovedCountries(List<String> disapprovedCountries)
Country codes (ISO 3166-1 alpha-2) where the collection is disapproved.
- Parameters:
disapprovedCountries
- disapprovedCountries or null
for none
-
getPendingCountries
public List<String> getPendingCountries()
Country codes (ISO 3166-1 alpha-2) where the collection is pending approval.
- Returns:
- value or
null
for none
-
setPendingCountries
public CollectionStatusDestinationStatus setPendingCountries(List<String> pendingCountries)
Country codes (ISO 3166-1 alpha-2) where the collection is pending approval.
- Parameters:
pendingCountries
- pendingCountries or null
for none
-
getStatus
public String getStatus()
The status for the specified destination in the collections target country.
- Returns:
- value or
null
for none
-
setStatus
public CollectionStatusDestinationStatus setStatus(String status)
The status for the specified destination in the collections target country.
- Parameters:
status
- status or null
for none
-
set
public CollectionStatusDestinationStatus set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public CollectionStatusDestinationStatus 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