All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.androidenterprise.model.MaintenanceWindow.html Maven / Gradle / Ivy

The newest version!






MaintenanceWindow (Google Play EMM API v1-rev20241113-2.0.0)












com.google.api.services.androidenterprise.model

Class MaintenanceWindow

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class MaintenanceWindow
    extends com.google.api.client.json.GenericJson
    Maintenance window for managed Google Play Accounts. This allows Play store to update the apps on the foreground in the designated window.

    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

    Author:
    Google, Inc.
    • Constructor Detail

      • MaintenanceWindow

        public MaintenanceWindow()
    • Method Detail

      • getDurationMs

        public Long getDurationMs()
        Duration of the maintenance window, in milliseconds. The duration must be between 30 minutes and 24 hours (inclusive).
        Returns:
        value or null for none
      • setDurationMs

        public MaintenanceWindow setDurationMs(Long durationMs)
        Duration of the maintenance window, in milliseconds. The duration must be between 30 minutes and 24 hours (inclusive).
        Parameters:
        durationMs - durationMs or null for none
      • getStartTimeAfterMidnightMs

        public Long getStartTimeAfterMidnightMs()
        Start time of the maintenance window, in milliseconds after midnight on the device. Windows can span midnight.
        Returns:
        value or null for none
      • setStartTimeAfterMidnightMs

        public MaintenanceWindow setStartTimeAfterMidnightMs(Long startTimeAfterMidnightMs)
        Start time of the maintenance window, in milliseconds after midnight on the device. Windows can span midnight.
        Parameters:
        startTimeAfterMidnightMs - startTimeAfterMidnightMs or null for none
      • clone

        public MaintenanceWindow clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy