public final class MaintenanceWindow
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 Google Play EMM 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.Flags| Constructor and Description |
|---|
MaintenanceWindow() |
| Modifier and Type | Method and Description |
|---|---|
MaintenanceWindow |
clone() |
java.lang.Long |
getDurationMs()
Duration of the maintenance window, in milliseconds.
|
java.lang.Long |
getStartTimeAfterMidnightMs()
Start time of the maintenance window, in milliseconds after midnight on the device.
|
MaintenanceWindow |
set(java.lang.String fieldName,
java.lang.Object value) |
MaintenanceWindow |
setDurationMs(java.lang.Long durationMs)
Duration of the maintenance window, in milliseconds.
|
MaintenanceWindow |
setStartTimeAfterMidnightMs(java.lang.Long startTimeAfterMidnightMs)
Start time of the maintenance window, in milliseconds after midnight on the device.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.Long getDurationMs()
null for nonepublic MaintenanceWindow setDurationMs(java.lang.Long durationMs)
durationMs - durationMs or null for nonepublic java.lang.Long getStartTimeAfterMidnightMs()
null for nonepublic MaintenanceWindow setStartTimeAfterMidnightMs(java.lang.Long startTimeAfterMidnightMs)
startTimeAfterMidnightMs - startTimeAfterMidnightMs or null for nonepublic MaintenanceWindow set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic MaintenanceWindow clone()
clone in class com.google.api.client.json.GenericJson