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

#include <device_report.h>

Inheritance diagram for google_androidenterprise_api::DeviceReport:

Public Member Functions

 DeviceReport (const Json::Value &storage)
 
 DeviceReport (Json::Value *storage)
 
virtual ~DeviceReport ()
 
const StringPiece GetTypeName () const
 
bool has_app_state () const
 
void clear_app_state ()
 
const client::JsonCppArray< AppStateget_app_state () const
 
client::JsonCppArray< AppStatemutable_appState ()
 
bool has_last_updated_timestamp_millis () const
 
void clear_last_updated_timestamp_millis ()
 
int64 get_last_updated_timestamp_millis () const
 
void set_last_updated_timestamp_millis (int64 value)
 

Static Public Member Functions

static DeviceReportNew ()
 

Detailed Description

Device report updated with the latest app states for managed apps on the device.

Constructor & Destructor Documentation

◆ DeviceReport() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ DeviceReport() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~DeviceReport()

google_androidenterprise_api::DeviceReport::~DeviceReport ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_app_state()

void google_androidenterprise_api::DeviceReport::clear_app_state ( )
inline

Clears the 'appState' attribute.

◆ clear_last_updated_timestamp_millis()

void google_androidenterprise_api::DeviceReport::clear_last_updated_timestamp_millis ( )
inline

Clears the 'lastUpdatedTimestampMillis' attribute.

◆ get_app_state()

const client::JsonCppArray<AppState > google_androidenterprise_api::DeviceReport::get_app_state ( ) const

Get a reference to the value of the 'appState' attribute.

◆ get_last_updated_timestamp_millis()

int64 google_androidenterprise_api::DeviceReport::get_last_updated_timestamp_millis ( ) const
inline

Get the value of the 'lastUpdatedTimestampMillis' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_androidenterprise_api::DeviceReport

◆ has_app_state()

bool google_androidenterprise_api::DeviceReport::has_app_state ( ) const
inline

Determine if the 'appState' attribute was set.

Returns
true if the 'appState' attribute was set.

◆ has_last_updated_timestamp_millis()

bool google_androidenterprise_api::DeviceReport::has_last_updated_timestamp_millis ( ) const
inline

Determine if the 'lastUpdatedTimestampMillis' attribute was set.

Returns
true if the 'lastUpdatedTimestampMillis' attribute was set.

◆ mutable_appState()

client::JsonCppArray<AppState > google_androidenterprise_api::DeviceReport::mutable_appState ( )

Gets a reference to a mutable value of the 'appState' property.

List of app states set by managed apps on the device. App states are defined by the app's developers. This field will always be present.

Returns
The result can be modified to change the attribute value.

◆ New()

DeviceReport * google_androidenterprise_api::DeviceReport::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_last_updated_timestamp_millis()

void google_androidenterprise_api::DeviceReport::set_last_updated_timestamp_millis ( int64  value)
inline

Change the 'lastUpdatedTimestampMillis' attribute.

The timestamp of the last report update in milliseconds since epoch. This field will always be present.

Parameters
[in]valueThe new value.

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