public final class Environment
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 Cloud Testing 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 |
|---|
Environment() |
| Modifier and Type | Method and Description |
|---|---|
Environment |
clone() |
AndroidDevice |
getAndroidDevice()
An Android device which must be used with an Android test.
|
IosDevice |
getIosDevice()
An iOS device which must be used with an iOS test.
|
Environment |
set(String fieldName,
Object value) |
Environment |
setAndroidDevice(AndroidDevice androidDevice)
An Android device which must be used with an Android test.
|
Environment |
setIosDevice(IosDevice iosDevice)
An iOS device which must be used with an iOS test.
|
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 AndroidDevice getAndroidDevice()
null for nonepublic Environment setAndroidDevice(AndroidDevice androidDevice)
androidDevice - androidDevice or null for nonepublic IosDevice getIosDevice()
null for nonepublic Environment setIosDevice(IosDevice iosDevice)
iosDevice - iosDevice or null for nonepublic Environment set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Environment clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2019 Google. All rights reserved.