public final class DeferralContext
extends com.google.api.client.json.GenericJson
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
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
DeferralContext() |
| Modifier and Type | Method and Description |
|---|---|
DeferralContext |
clone() |
String |
getDeferDuration()
Required.
|
String |
getEtag()
Required.
|
Boolean |
getValidateOnly()
If set to "true", the request is a dry run to validate the effect of Defer, the subscription
would not be impacted.
|
DeferralContext |
set(String fieldName,
Object value) |
DeferralContext |
setDeferDuration(String deferDuration)
Required.
|
DeferralContext |
setEtag(String etag)
Required.
|
DeferralContext |
setValidateOnly(Boolean validateOnly)
If set to "true", the request is a dry run to validate the effect of Defer, the subscription
would not be impacted.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getDeferDuration()
null for nonepublic DeferralContext setDeferDuration(String deferDuration)
deferDuration - deferDuration or null for nonepublic String getEtag()
null for nonepublic DeferralContext setEtag(String etag)
etag - etag or null for nonepublic Boolean getValidateOnly()
null for nonepublic DeferralContext setValidateOnly(Boolean validateOnly)
validateOnly - validateOnly or null for nonepublic DeferralContext set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic DeferralContext clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.