androidenterprise  v1
Public Member Functions | Static Public Member Functions | List of all members
google_androidenterprise_api::MaintenanceWindow Class Reference

#include <maintenance_window.h>

Inheritance diagram for google_androidenterprise_api::MaintenanceWindow:

Public Member Functions

 MaintenanceWindow (const Json::Value &storage)
 
 MaintenanceWindow (Json::Value *storage)
 
virtual ~MaintenanceWindow ()
 
const StringPiece GetTypeName () const
 
bool has_duration_ms () const
 
void clear_duration_ms ()
 
int64 get_duration_ms () const
 
void set_duration_ms (int64 value)
 
bool has_start_time_after_midnight_ms () const
 
void clear_start_time_after_midnight_ms ()
 
int64 get_start_time_after_midnight_ms () const
 
void set_start_time_after_midnight_ms (int64 value)
 

Static Public Member Functions

static MaintenanceWindowNew ()
 

Detailed Description

Maintenance window for managed Google Play Accounts. This allows Play store to update the apps on the foreground in the designated window.

Constructor & Destructor Documentation

◆ MaintenanceWindow() [1/2]

google_androidenterprise_api::MaintenanceWindow::MaintenanceWindow ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ MaintenanceWindow() [2/2]

google_androidenterprise_api::MaintenanceWindow::MaintenanceWindow ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~MaintenanceWindow()

google_androidenterprise_api::MaintenanceWindow::~MaintenanceWindow ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_duration_ms()

void google_androidenterprise_api::MaintenanceWindow::clear_duration_ms ( )
inline

Clears the 'durationMs' attribute.

◆ clear_start_time_after_midnight_ms()

void google_androidenterprise_api::MaintenanceWindow::clear_start_time_after_midnight_ms ( )
inline

Clears the 'startTimeAfterMidnightMs' attribute.

◆ get_duration_ms()

int64 google_androidenterprise_api::MaintenanceWindow::get_duration_ms ( ) const
inline

Get the value of the 'durationMs' attribute.

◆ get_start_time_after_midnight_ms()

int64 google_androidenterprise_api::MaintenanceWindow::get_start_time_after_midnight_ms ( ) const
inline

Get the value of the 'startTimeAfterMidnightMs' attribute.

◆ GetTypeName()

const StringPiece google_androidenterprise_api::MaintenanceWindow::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_androidenterprise_api::MaintenanceWindow

◆ has_duration_ms()

bool google_androidenterprise_api::MaintenanceWindow::has_duration_ms ( ) const
inline

Determine if the 'durationMs' attribute was set.

Returns
true if the 'durationMs' attribute was set.

◆ has_start_time_after_midnight_ms()

bool google_androidenterprise_api::MaintenanceWindow::has_start_time_after_midnight_ms ( ) const
inline

Determine if the 'startTimeAfterMidnightMs' attribute was set.

Returns
true if the 'startTimeAfterMidnightMs' attribute was set.

◆ New()

MaintenanceWindow * google_androidenterprise_api::MaintenanceWindow::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_duration_ms()

void google_androidenterprise_api::MaintenanceWindow::set_duration_ms ( int64  value)
inline

Change the 'durationMs' attribute.

Duration of the maintenance window, in milliseconds. The duration must be between 30 minutes and 24 hours (inclusive).

Parameters
[in]valueThe new value.

◆ set_start_time_after_midnight_ms()

void google_androidenterprise_api::MaintenanceWindow::set_start_time_after_midnight_ms ( int64  value)
inline

Change the 'startTimeAfterMidnightMs' attribute.

Start time of the maintenance window, in milliseconds after midnight on the device. Windows can span midnight.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: