public final class NonLocalTrait extends 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 HomeGraph API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
NonLocalTrait() |
| Modifier and Type | Method and Description |
|---|---|
NonLocalTrait |
clone() |
String |
getTrait()
Trait name, e.g., "action.devices.traits.MediaInitiation".
|
NonLocalTrait |
set(String fieldName,
Object value) |
NonLocalTrait |
setTrait(String trait)
Trait name, e.g., "action.devices.traits.MediaInitiation".
|
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 getTrait()
null for nonepublic NonLocalTrait setTrait(String trait)
trait - trait or null for nonepublic NonLocalTrait set(String fieldName, Object value)
set in class GenericJsonpublic NonLocalTrait clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.