public final class Statement
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 Digital Asset Links 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 |
|---|
Statement() |
| Modifier and Type | Method and Description |
|---|---|
Statement |
clone() |
String |
getRelation()
The relation identifies the use of the statement as intended by the source asset's owner (that
is, the person or entity who issued the statement).
|
Map<String,Object> |
getRelationExtensions()
Statements may specify relation level extensions/payloads to express more details when
declaring permissions to grant from the source asset to the target asset.
|
Asset |
getSource()
Every statement has a source asset.
|
Asset |
getTarget()
Every statement has a target asset.
|
Statement |
set(String fieldName,
Object value) |
Statement |
setRelation(String relation)
The relation identifies the use of the statement as intended by the source asset's owner (that
is, the person or entity who issued the statement).
|
Statement |
setRelationExtensions(Map<String,Object> relationExtensions)
Statements may specify relation level extensions/payloads to express more details when
declaring permissions to grant from the source asset to the target asset.
|
Statement |
setSource(Asset source)
Every statement has a source asset.
|
Statement |
setTarget(Asset target)
Every statement has a target asset.
|
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 getRelation()
null for nonepublic Statement setRelation(String relation)
relation - relation or null for nonepublic Map<String,Object> getRelationExtensions()
null for nonepublic Statement setRelationExtensions(Map<String,Object> relationExtensions)
relationExtensions - relationExtensions or null for nonepublic Asset getSource()
null for nonepublic Statement setSource(Asset source)
source - source or null for nonepublic Asset getTarget()
null for nonepublic Statement setTarget(Asset target)
target - target or null for nonepublic Statement set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Statement clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.