|
androidenterprise
v1
|
#include <device.h>
Public Member Functions | |
| Device (const Json::Value &storage) | |
| Device (Json::Value *storage) | |
| virtual | ~Device () |
| const StringPiece | GetTypeName () const |
| bool | has_android_id () const |
| void | clear_android_id () |
| const StringPiece | get_android_id () const |
| void | set_android_id (const StringPiece &value) |
| bool | has_kind () const |
| void | clear_kind () |
| const StringPiece | get_kind () const |
| void | set_kind (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_policy () const |
| void | clear_policy () |
| const Policy | get_policy () const |
| Policy | mutable_policy () |
| bool | has_report () const |
| void | clear_report () |
| const DeviceReport | get_report () const |
| DeviceReport | mutable_report () |
Static Public Member Functions | |
| static Device * | New () |
A Devices resource represents a mobile device managed by the EMM and belonging to a specific enterprise user.
|
explicit |
Standard constructor for an immutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'androidId' attribute.
|
inline |
Clears the 'kind' attribute.
|
inline |
Clears the 'managementType' attribute.
|
inline |
Clears the 'policy' attribute.
|
inline |
Clears the 'report' attribute.
|
inline |
Get the value of the 'androidId' attribute.
|
inline |
Get the value of the 'kind' attribute.
|
inline |
Get the value of the 'managementType' attribute.
| const Policy google_androidenterprise_api::Device::get_policy | ( | ) | const |
Get a reference to the value of the 'policy' attribute.
| const DeviceReport google_androidenterprise_api::Device::get_report | ( | ) | const |
Get a reference to the value of the 'report' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'androidId' attribute was set.
androidId' attribute was set.
|
inline |
Determine if the 'kind' attribute was set.
kind' attribute was set.
|
inline |
Determine if the 'managementType' attribute was set.
managementType' attribute was set.
|
inline |
Determine if the 'policy' attribute was set.
policy' attribute was set.
|
inline |
Determine if the 'report' attribute was set.
report' attribute was set. | Policy google_androidenterprise_api::Device::mutable_policy | ( | ) |
Gets a reference to a mutable value of the 'policy' property.
The policy enforced on the device.
| DeviceReport google_androidenterprise_api::Device::mutable_report | ( | ) |
Gets a reference to a mutable value of the 'report' property.
The device report updated with the latest app states.
|
static |
Creates a new default instance.
|
inline |
Change the 'androidId' attribute.
The Google Play Services Android ID for the device encoded as a lowercase hex string. For example, "123456789abcdef0".
| [in] | value | The new value. |
|
inline |
Change the 'kind' attribute.
| [in] | value | The new value. |
|
inline |
Change the 'managementType' attribute.
Identifies the extent to which the device is controlled by a managed Google Play EMM in various deployment configurations.
Possible values include:
| [in] | value | The new value. |