#include <product_approval_event.h>
An event generated when a product's approval status is changed.
◆ ProductApprovalEvent() [1/2]
google_androidenterprise_api::ProductApprovalEvent::ProductApprovalEvent |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ProductApprovalEvent() [2/2]
google_androidenterprise_api::ProductApprovalEvent::ProductApprovalEvent |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~ProductApprovalEvent()
google_androidenterprise_api::ProductApprovalEvent::~ProductApprovalEvent |
( |
| ) |
|
|
virtual |
◆ clear_approved()
void google_androidenterprise_api::ProductApprovalEvent::clear_approved |
( |
| ) |
|
|
inline |
Clears the 'approved
' attribute.
◆ clear_product_id()
void google_androidenterprise_api::ProductApprovalEvent::clear_product_id |
( |
| ) |
|
|
inline |
Clears the 'productId
' attribute.
◆ get_approved()
const StringPiece google_androidenterprise_api::ProductApprovalEvent::get_approved |
( |
| ) |
const |
|
inline |
Get the value of the 'approved
' attribute.
◆ get_product_id()
const StringPiece google_androidenterprise_api::ProductApprovalEvent::get_product_id |
( |
| ) |
const |
|
inline |
Get the value of the 'productId
' attribute.
◆ GetTypeName()
const StringPiece google_androidenterprise_api::ProductApprovalEvent::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_approved()
bool google_androidenterprise_api::ProductApprovalEvent::has_approved |
( |
| ) |
const |
|
inline |
Determine if the 'approved
' attribute was set.
- Returns
- true if the '
approved
' attribute was set.
◆ has_product_id()
bool google_androidenterprise_api::ProductApprovalEvent::has_product_id |
( |
| ) |
const |
|
inline |
Determine if the 'productId
' attribute was set.
- Returns
- true if the '
productId
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_approved()
void google_androidenterprise_api::ProductApprovalEvent::set_approved |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'approved
' attribute.
Whether the product was approved or unapproved. This field will always be present.
- Parameters
-
◆ set_product_id()
void google_androidenterprise_api::ProductApprovalEvent::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 approval status has changed. This field will always be present.
- Parameters
-
The documentation for this class was generated from the following files: