public final class AndroidModel
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 |
|---|
AndroidModel() |
| Modifier and Type | Method and Description |
|---|---|
AndroidModel |
clone() |
String |
getBrand()
The company that this device is branded with.
|
String |
getCodename()
The name of the industrial design.
|
String |
getForm()
Whether this device is virtual or physical.
|
String |
getFormFactor()
Whether this device is a phone, tablet, wearable, etc.
|
String |
getId()
The unique opaque id for this model.
|
Boolean |
getLowFpsVideoRecording()
True if and only if tests with this model are recorded by stitching together screenshots.
|
String |
getManufacturer()
The manufacturer of this device.
|
String |
getName()
The human-readable marketing name for this device model.
|
Integer |
getScreenDensity()
Screen density in DPI.
|
Integer |
getScreenX()
Screen size in the horizontal (X) dimension measured in pixels.
|
Integer |
getScreenY()
Screen size in the vertical (Y) dimension measured in pixels.
|
List<String> |
getSupportedAbis()
The list of supported ABIs for this device.
|
List<String> |
getSupportedVersionIds()
The set of Android versions this device supports.
|
List<String> |
getTags()
Tags for this dimension.
|
AndroidModel |
set(String fieldName,
Object value) |
AndroidModel |
setBrand(String brand)
The company that this device is branded with.
|
AndroidModel |
setCodename(String codename)
The name of the industrial design.
|
AndroidModel |
setForm(String form)
Whether this device is virtual or physical.
|
AndroidModel |
setFormFactor(String formFactor)
Whether this device is a phone, tablet, wearable, etc.
|
AndroidModel |
setId(String id)
The unique opaque id for this model.
|
AndroidModel |
setLowFpsVideoRecording(Boolean lowFpsVideoRecording)
True if and only if tests with this model are recorded by stitching together screenshots.
|
AndroidModel |
setManufacturer(String manufacturer)
The manufacturer of this device.
|
AndroidModel |
setName(String name)
The human-readable marketing name for this device model.
|
AndroidModel |
setScreenDensity(Integer screenDensity)
Screen density in DPI.
|
AndroidModel |
setScreenX(Integer screenX)
Screen size in the horizontal (X) dimension measured in pixels.
|
AndroidModel |
setScreenY(Integer screenY)
Screen size in the vertical (Y) dimension measured in pixels.
|
AndroidModel |
setSupportedAbis(List<String> supportedAbis)
The list of supported ABIs for this device.
|
AndroidModel |
setSupportedVersionIds(List<String> supportedVersionIds)
The set of Android versions this device supports.
|
AndroidModel |
setTags(List<String> tags)
Tags for this dimension.
|
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 String getBrand()
null for nonepublic AndroidModel setBrand(String brand)
brand - brand or null for nonepublic String getCodename()
null for nonepublic AndroidModel setCodename(String codename)
codename - codename or null for nonepublic String getForm()
null for nonepublic AndroidModel setForm(String form)
form - form or null for nonepublic String getFormFactor()
null for nonepublic AndroidModel setFormFactor(String formFactor)
formFactor - formFactor or null for nonepublic String getId()
null for nonepublic AndroidModel setId(String id)
id - id or null for nonepublic Boolean getLowFpsVideoRecording()
null for nonepublic AndroidModel setLowFpsVideoRecording(Boolean lowFpsVideoRecording)
lowFpsVideoRecording - lowFpsVideoRecording or null for nonepublic String getManufacturer()
null for nonepublic AndroidModel setManufacturer(String manufacturer)
manufacturer - manufacturer or null for nonepublic String getName()
null for nonepublic AndroidModel setName(String name)
name - name or null for nonepublic Integer getScreenDensity()
null for nonepublic AndroidModel setScreenDensity(Integer screenDensity)
screenDensity - screenDensity or null for nonepublic Integer getScreenX()
null for nonepublic AndroidModel setScreenX(Integer screenX)
screenX - screenX or null for nonepublic Integer getScreenY()
null for nonepublic AndroidModel setScreenY(Integer screenY)
screenY - screenY or null for nonepublic List<String> getSupportedAbis()
null for nonepublic AndroidModel setSupportedAbis(List<String> supportedAbis)
supportedAbis - supportedAbis or null for nonepublic List<String> getSupportedVersionIds()
null for nonepublic AndroidModel setSupportedVersionIds(List<String> supportedVersionIds)
supportedVersionIds - supportedVersionIds or null for nonepublic List<String> getTags()
null for nonepublic AndroidModel setTags(List<String> tags)
tags - tags or null for nonepublic AndroidModel set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic AndroidModel clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2019 Google. All rights reserved.