#include <install_failure_event.h>
An event generated when an app installation failed on a device.
◆ InstallFailureEvent() [1/2]
google_androidenterprise_api::InstallFailureEvent::InstallFailureEvent |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ InstallFailureEvent() [2/2]
google_androidenterprise_api::InstallFailureEvent::InstallFailureEvent |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~InstallFailureEvent()
google_androidenterprise_api::InstallFailureEvent::~InstallFailureEvent |
( |
| ) |
|
|
virtual |
◆ clear_device_id()
void google_androidenterprise_api::InstallFailureEvent::clear_device_id |
( |
| ) |
|
|
inline |
Clears the 'deviceId
' attribute.
◆ clear_failure_details()
void google_androidenterprise_api::InstallFailureEvent::clear_failure_details |
( |
| ) |
|
|
inline |
Clears the 'failureDetails
' attribute.
◆ clear_failure_reason()
void google_androidenterprise_api::InstallFailureEvent::clear_failure_reason |
( |
| ) |
|
|
inline |
Clears the 'failureReason
' attribute.
◆ clear_product_id()
void google_androidenterprise_api::InstallFailureEvent::clear_product_id |
( |
| ) |
|
|
inline |
Clears the 'productId
' attribute.
◆ clear_user_id()
void google_androidenterprise_api::InstallFailureEvent::clear_user_id |
( |
| ) |
|
|
inline |
Clears the 'userId
' attribute.
◆ get_device_id()
const StringPiece google_androidenterprise_api::InstallFailureEvent::get_device_id |
( |
| ) |
const |
|
inline |
Get the value of the 'deviceId
' attribute.
◆ get_failure_details()
const StringPiece google_androidenterprise_api::InstallFailureEvent::get_failure_details |
( |
| ) |
const |
|
inline |
Get the value of the 'failureDetails
' attribute.
◆ get_failure_reason()
const StringPiece google_androidenterprise_api::InstallFailureEvent::get_failure_reason |
( |
| ) |
const |
|
inline |
Get the value of the 'failureReason
' attribute.
◆ get_product_id()
const StringPiece google_androidenterprise_api::InstallFailureEvent::get_product_id |
( |
| ) |
const |
|
inline |
Get the value of the 'productId
' attribute.
◆ get_user_id()
const StringPiece google_androidenterprise_api::InstallFailureEvent::get_user_id |
( |
| ) |
const |
|
inline |
Get the value of the 'userId
' attribute.
◆ GetTypeName()
const StringPiece google_androidenterprise_api::InstallFailureEvent::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_device_id()
bool google_androidenterprise_api::InstallFailureEvent::has_device_id |
( |
| ) |
const |
|
inline |
Determine if the 'deviceId
' attribute was set.
- Returns
- true if the '
deviceId
' attribute was set.
◆ has_failure_details()
bool google_androidenterprise_api::InstallFailureEvent::has_failure_details |
( |
| ) |
const |
|
inline |
Determine if the 'failureDetails
' attribute was set.
- Returns
- true if the '
failureDetails
' attribute was set.
◆ has_failure_reason()
bool google_androidenterprise_api::InstallFailureEvent::has_failure_reason |
( |
| ) |
const |
|
inline |
Determine if the 'failureReason
' attribute was set.
- Returns
- true if the '
failureReason
' attribute was set.
◆ has_product_id()
bool google_androidenterprise_api::InstallFailureEvent::has_product_id |
( |
| ) |
const |
|
inline |
Determine if the 'productId
' attribute was set.
- Returns
- true if the '
productId
' attribute was set.
◆ has_user_id()
bool google_androidenterprise_api::InstallFailureEvent::has_user_id |
( |
| ) |
const |
|
inline |
Determine if the 'userId
' attribute was set.
- Returns
- true if the '
userId
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_device_id()
void google_androidenterprise_api::InstallFailureEvent::set_device_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'deviceId
' attribute.
The Android ID of the device. This field will always be present.
- Parameters
-
◆ set_failure_details()
void google_androidenterprise_api::InstallFailureEvent::set_failure_details |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'failureDetails
' attribute.
Additional details on the failure if applicable.
- Parameters
-
◆ set_failure_reason()
void google_androidenterprise_api::InstallFailureEvent::set_failure_reason |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'failureReason
' attribute.
The reason for the installation failure. This field will always be present.
- Parameters
-
◆ set_product_id()
void google_androidenterprise_api::InstallFailureEvent::set_product_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'productId
' attribute.
The id of the product (e.g. "app:com.google.android.gm") for which the install failure event occured. This field will always be present.
- Parameters
-
◆ set_user_id()
void google_androidenterprise_api::InstallFailureEvent::set_user_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'userId
' attribute.
The ID of the user. This field will always be present.
- Parameters
-
The documentation for this class was generated from the following files: