target.apidocs.com.google.api.services.androidpublisher.model.TrackCountryAvailability.html Maven / Gradle / Ivy
TrackCountryAvailability (Google Play Android Developer API v3-rev20240129-2.0.0)
com.google.api.services.androidpublisher.model
Class TrackCountryAvailability
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.androidpublisher.model.TrackCountryAvailability
-
public final class TrackCountryAvailability
extends com.google.api.client.json.GenericJson
Resource for per-track country availability information.
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 Google Play Android Developer API. 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
TrackCountryAvailability()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
TrackCountryAvailability
clone()
List<TrackTargetedCountry>
getCountries()
A list of one or more countries where artifacts in this track are available.
Boolean
getRestOfWorld()
Whether artifacts in this track are available to "rest of the world" countries.
Boolean
getSyncWithProduction()
Whether this track's availability is synced with the default production track.
TrackCountryAvailability
set(String fieldName,
Object value)
TrackCountryAvailability
setCountries(List<TrackTargetedCountry> countries)
A list of one or more countries where artifacts in this track are available.
TrackCountryAvailability
setRestOfWorld(Boolean restOfWorld)
Whether artifacts in this track are available to "rest of the world" countries.
TrackCountryAvailability
setSyncWithProduction(Boolean syncWithProduction)
Whether this track's availability is synced with the default production track.
-
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
-
getCountries
public List<TrackTargetedCountry> getCountries()
A list of one or more countries where artifacts in this track are available. This list includes
all countries that are targeted by the track, even if only specific carriers are targeted in
that country.
- Returns:
- value or
null
for none
-
setCountries
public TrackCountryAvailability setCountries(List<TrackTargetedCountry> countries)
A list of one or more countries where artifacts in this track are available. This list includes
all countries that are targeted by the track, even if only specific carriers are targeted in
that country.
- Parameters:
countries
- countries or null
for none
-
getRestOfWorld
public Boolean getRestOfWorld()
Whether artifacts in this track are available to "rest of the world" countries.
- Returns:
- value or
null
for none
-
setRestOfWorld
public TrackCountryAvailability setRestOfWorld(Boolean restOfWorld)
Whether artifacts in this track are available to "rest of the world" countries.
- Parameters:
restOfWorld
- restOfWorld or null
for none
-
getSyncWithProduction
public Boolean getSyncWithProduction()
Whether this track's availability is synced with the default production track. See
https://support.google.com/googleplay/android-developer/answer/7550024 for more information on
syncing country availability with production. Note that if this is true, the returned
"countries" and "rest_of_world" fields will reflect the values for the default production
track.
- Returns:
- value or
null
for none
-
setSyncWithProduction
public TrackCountryAvailability setSyncWithProduction(Boolean syncWithProduction)
Whether this track's availability is synced with the default production track. See
https://support.google.com/googleplay/android-developer/answer/7550024 for more information on
syncing country availability with production. Note that if this is true, the returned
"countries" and "rest_of_world" fields will reflect the values for the default production
track.
- Parameters:
syncWithProduction
- syncWithProduction or null
for none
-
set
public TrackCountryAvailability set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public TrackCountryAvailability 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