public final class ConcurrentAccessRestriction
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 Books 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 |
|---|
ConcurrentAccessRestriction() |
| Modifier and Type | Method and Description |
|---|---|
ConcurrentAccessRestriction |
clone() |
Boolean |
getDeviceAllowed()
Whether access is granted for this (user, device, volume).
|
String |
getKind()
Resource type.
|
Integer |
getMaxConcurrentDevices()
The maximum number of concurrent access licenses for this volume.
|
String |
getMessage()
Error/warning message.
|
String |
getNonce()
Client nonce for verification.
|
String |
getReasonCode()
Error/warning reason code.
|
Boolean |
getRestricted()
Whether this volume has any concurrent access restrictions.
|
String |
getSignature()
Response signature.
|
String |
getSource()
Client app identifier for verification.
|
Integer |
getTimeWindowSeconds()
Time in seconds for license auto-expiration.
|
String |
getVolumeId()
Identifies the volume for which this entry applies.
|
ConcurrentAccessRestriction |
set(String fieldName,
Object value) |
ConcurrentAccessRestriction |
setDeviceAllowed(Boolean deviceAllowed)
Whether access is granted for this (user, device, volume).
|
ConcurrentAccessRestriction |
setKind(String kind)
Resource type.
|
ConcurrentAccessRestriction |
setMaxConcurrentDevices(Integer maxConcurrentDevices)
The maximum number of concurrent access licenses for this volume.
|
ConcurrentAccessRestriction |
setMessage(String message)
Error/warning message.
|
ConcurrentAccessRestriction |
setNonce(String nonce)
Client nonce for verification.
|
ConcurrentAccessRestriction |
setReasonCode(String reasonCode)
Error/warning reason code.
|
ConcurrentAccessRestriction |
setRestricted(Boolean restricted)
Whether this volume has any concurrent access restrictions.
|
ConcurrentAccessRestriction |
setSignature(String signature)
Response signature.
|
ConcurrentAccessRestriction |
setSource(String source)
Client app identifier for verification.
|
ConcurrentAccessRestriction |
setTimeWindowSeconds(Integer timeWindowSeconds)
Time in seconds for license auto-expiration.
|
ConcurrentAccessRestriction |
setVolumeId(String volumeId)
Identifies the volume for which this entry applies.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Boolean getDeviceAllowed()
null for nonepublic ConcurrentAccessRestriction setDeviceAllowed(Boolean deviceAllowed)
deviceAllowed - deviceAllowed or null for nonepublic String getKind()
null for nonepublic ConcurrentAccessRestriction setKind(String kind)
kind - kind or null for nonepublic Integer getMaxConcurrentDevices()
null for nonepublic ConcurrentAccessRestriction setMaxConcurrentDevices(Integer maxConcurrentDevices)
maxConcurrentDevices - maxConcurrentDevices or null for nonepublic String getMessage()
null for nonepublic ConcurrentAccessRestriction setMessage(String message)
message - message or null for nonepublic String getNonce()
null for nonepublic ConcurrentAccessRestriction setNonce(String nonce)
nonce - nonce or null for nonepublic String getReasonCode()
null for nonepublic ConcurrentAccessRestriction setReasonCode(String reasonCode)
reasonCode - reasonCode or null for nonepublic Boolean getRestricted()
null for nonepublic ConcurrentAccessRestriction setRestricted(Boolean restricted)
restricted - restricted or null for nonepublic String getSignature()
null for nonepublic ConcurrentAccessRestriction setSignature(String signature)
signature - signature or null for nonepublic String getSource()
null for nonepublic ConcurrentAccessRestriction setSource(String source)
source - source or null for nonepublic Integer getTimeWindowSeconds()
null for nonepublic ConcurrentAccessRestriction setTimeWindowSeconds(Integer timeWindowSeconds)
timeWindowSeconds - timeWindowSeconds or null for nonepublic String getVolumeId()
null for nonepublic ConcurrentAccessRestriction setVolumeId(String volumeId)
volumeId - volumeId or null for nonepublic ConcurrentAccessRestriction set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ConcurrentAccessRestriction clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2019 Google. All rights reserved.