public final class DeviceNames
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 HomeGraph 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 |
|---|
DeviceNames() |
| Modifier and Type | Method and Description |
|---|---|
DeviceNames |
clone() |
List<String> |
getDefaultNames()
List of names provided by the manufacturer rather than the user, such as serial numbers, SKUs,
etc.
|
String |
getName()
Primary name of the device, generally provided by the user.
|
List<String> |
getNicknames()
Additional names provided by the user for the device.
|
DeviceNames |
set(String fieldName,
Object value) |
DeviceNames |
setDefaultNames(List<String> defaultNames)
List of names provided by the manufacturer rather than the user, such as serial numbers, SKUs,
etc.
|
DeviceNames |
setName(String name)
Primary name of the device, generally provided by the user.
|
DeviceNames |
setNicknames(List<String> nicknames)
Additional names provided by the user for the device.
|
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 List<String> getDefaultNames()
null for nonepublic DeviceNames setDefaultNames(List<String> defaultNames)
defaultNames - defaultNames or null for nonepublic String getName()
null for nonepublic DeviceNames setName(String name)
name - name or null for nonepublic List<String> getNicknames()
null for nonepublic DeviceNames setNicknames(List<String> nicknames)
nicknames - nicknames or null for nonepublic DeviceNames set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic DeviceNames clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.