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

#include <new_device_event.h>

Inheritance diagram for google_androidenterprise_api::NewDeviceEvent:

Public Member Functions

 NewDeviceEvent (const Json::Value &storage)
 
 NewDeviceEvent (Json::Value *storage)
 
virtual ~NewDeviceEvent ()
 
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_dpc_package_name () const
 
void clear_dpc_package_name ()
 
const StringPiece get_dpc_package_name () const
 
void set_dpc_package_name (const StringPiece &value)
 
bool has_management_type () const
 
void clear_management_type ()
 
const StringPiece get_management_type () const
 
void set_management_type (const StringPiece &value)
 
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 NewDeviceEventNew ()
 

Detailed Description

An event generated when a new device is ready to be managed.

Constructor & Destructor Documentation

◆ NewDeviceEvent() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ NewDeviceEvent() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~NewDeviceEvent()

google_androidenterprise_api::NewDeviceEvent::~NewDeviceEvent ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_device_id()

void google_androidenterprise_api::NewDeviceEvent::clear_device_id ( )
inline

Clears the 'deviceId' attribute.

◆ clear_dpc_package_name()

void google_androidenterprise_api::NewDeviceEvent::clear_dpc_package_name ( )
inline

Clears the 'dpcPackageName' attribute.

◆ clear_management_type()

void google_androidenterprise_api::NewDeviceEvent::clear_management_type ( )
inline

Clears the 'managementType' attribute.

◆ clear_user_id()

void google_androidenterprise_api::NewDeviceEvent::clear_user_id ( )
inline

Clears the 'userId' attribute.

◆ get_device_id()

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

Get the value of the 'deviceId' attribute.

◆ get_dpc_package_name()

const StringPiece google_androidenterprise_api::NewDeviceEvent::get_dpc_package_name ( ) const
inline

Get the value of the 'dpcPackageName' attribute.

◆ get_management_type()

const StringPiece google_androidenterprise_api::NewDeviceEvent::get_management_type ( ) const
inline

Get the value of the 'managementType' attribute.

◆ get_user_id()

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

Get the value of the 'userId' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_androidenterprise_api::NewDeviceEvent

◆ has_device_id()

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

Determine if the 'deviceId' attribute was set.

Returns
true if the 'deviceId' attribute was set.

◆ has_dpc_package_name()

bool google_androidenterprise_api::NewDeviceEvent::has_dpc_package_name ( ) const
inline

Determine if the 'dpcPackageName' attribute was set.

Returns
true if the 'dpcPackageName' attribute was set.

◆ has_management_type()

bool google_androidenterprise_api::NewDeviceEvent::has_management_type ( ) const
inline

Determine if the 'managementType' attribute was set.

Returns
true if the 'managementType' attribute was set.

◆ has_user_id()

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

Determine if the 'userId' attribute was set.

Returns
true if the 'userId' attribute was set.

◆ New()

NewDeviceEvent * google_androidenterprise_api::NewDeviceEvent::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_device_id()

void google_androidenterprise_api::NewDeviceEvent::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_dpc_package_name()

void google_androidenterprise_api::NewDeviceEvent::set_dpc_package_name ( const StringPiece &  value)
inline

Change the 'dpcPackageName' attribute.

Policy app on the device.

Parameters
[in]valueThe new value.

◆ set_management_type()

void google_androidenterprise_api::NewDeviceEvent::set_management_type ( const StringPiece &  value)
inline

Change the 'managementType' attribute.

Identifies the extent to which the device is controlled by an Android EMM in various deployment configurations.

Possible values include:

  • "managedDevice", a device where the DPC is set as device owner,
  • "managedProfile", a device where the DPC is set as profile owner.
Parameters
[in]valueThe new value.

◆ set_user_id()

void google_androidenterprise_api::NewDeviceEvent::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: