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

#include <device_report_update_event.h>

Inheritance diagram for google_androidenterprise_api::DeviceReportUpdateEvent:

Public Member Functions

 DeviceReportUpdateEvent (const Json::Value &storage)
 
 DeviceReportUpdateEvent (Json::Value *storage)
 
virtual ~DeviceReportUpdateEvent ()
 
const StringPiece GetTypeName () const
 
bool has_device_id () const
 
void clear_device_id ()
 
const StringPiece get_device_id () const
 
void set_device_id (const StringPiece &value)
 
bool has_report () const
 
void clear_report ()
 
const DeviceReport get_report () const
 
DeviceReport mutable_report ()
 
bool has_user_id () const
 
void clear_user_id ()
 
const StringPiece get_user_id () const
 
void set_user_id (const StringPiece &value)
 

Static Public Member Functions

static DeviceReportUpdateEventNew ()
 

Detailed Description

An event generated when an updated device report is available.

Constructor & Destructor Documentation

◆ DeviceReportUpdateEvent() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ DeviceReportUpdateEvent() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~DeviceReportUpdateEvent()

google_androidenterprise_api::DeviceReportUpdateEvent::~DeviceReportUpdateEvent ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_device_id()

void google_androidenterprise_api::DeviceReportUpdateEvent::clear_device_id ( )
inline

Clears the 'deviceId' attribute.

◆ clear_report()

void google_androidenterprise_api::DeviceReportUpdateEvent::clear_report ( )
inline

Clears the 'report' attribute.

◆ clear_user_id()

void google_androidenterprise_api::DeviceReportUpdateEvent::clear_user_id ( )
inline

Clears the 'userId' attribute.

◆ get_device_id()

const StringPiece google_androidenterprise_api::DeviceReportUpdateEvent::get_device_id ( ) const
inline

Get the value of the 'deviceId' attribute.

◆ get_report()

const DeviceReport google_androidenterprise_api::DeviceReportUpdateEvent::get_report ( ) const

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

◆ get_user_id()

const StringPiece google_androidenterprise_api::DeviceReportUpdateEvent::get_user_id ( ) const
inline

Get the value of the 'userId' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_androidenterprise_api::DeviceReportUpdateEvent

◆ has_device_id()

bool google_androidenterprise_api::DeviceReportUpdateEvent::has_device_id ( ) const
inline

Determine if the 'deviceId' attribute was set.

Returns
true if the 'deviceId' attribute was set.

◆ has_report()

bool google_androidenterprise_api::DeviceReportUpdateEvent::has_report ( ) const
inline

Determine if the 'report' attribute was set.

Returns
true if the 'report' attribute was set.

◆ has_user_id()

bool google_androidenterprise_api::DeviceReportUpdateEvent::has_user_id ( ) const
inline

Determine if the 'userId' attribute was set.

Returns
true if the 'userId' attribute was set.

◆ mutable_report()

DeviceReport google_androidenterprise_api::DeviceReportUpdateEvent::mutable_report ( )

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

The device report updated with the latest app states. This field will always be present.

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

◆ New()

DeviceReportUpdateEvent * google_androidenterprise_api::DeviceReportUpdateEvent::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_device_id()

void google_androidenterprise_api::DeviceReportUpdateEvent::set_device_id ( const StringPiece &  value)
inline

Change the 'deviceId' attribute.

The Android ID of the device. This field will always be present.

Parameters
[in]valueThe new value.

◆ set_user_id()

void google_androidenterprise_api::DeviceReportUpdateEvent::set_user_id ( const StringPiece &  value)
inline

Change the 'userId' attribute.

The ID of the user. This field will always be present.

Parameters
[in]valueThe new value.

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