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

#include <app_update_event.h>

Inheritance diagram for google_androidenterprise_api::AppUpdateEvent:

Public Member Functions

 AppUpdateEvent (const Json::Value &storage)
 
 AppUpdateEvent (Json::Value *storage)
 
virtual ~AppUpdateEvent ()
 
const StringPiece GetTypeName () const
 
bool has_product_id () const
 
void clear_product_id ()
 
const StringPiece get_product_id () const
 
void set_product_id (const StringPiece &value)
 

Static Public Member Functions

static AppUpdateEventNew ()
 

Detailed Description

An event generated when a new version of an app is uploaded to Google Play. Notifications are sent for new public versions only: alpha, beta, or canary versions do not generate this event. To fetch up-to-date version history for an app, use Products.Get on the EMM API.

Constructor & Destructor Documentation

◆ AppUpdateEvent() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ AppUpdateEvent() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~AppUpdateEvent()

google_androidenterprise_api::AppUpdateEvent::~AppUpdateEvent ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_product_id()

void google_androidenterprise_api::AppUpdateEvent::clear_product_id ( )
inline

Clears the 'productId' attribute.

◆ get_product_id()

const StringPiece google_androidenterprise_api::AppUpdateEvent::get_product_id ( ) const
inline

Get the value of the 'productId' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_androidenterprise_api::AppUpdateEvent

◆ has_product_id()

bool google_androidenterprise_api::AppUpdateEvent::has_product_id ( ) const
inline

Determine if the 'productId' attribute was set.

Returns
true if the 'productId' attribute was set.

◆ New()

AppUpdateEvent * google_androidenterprise_api::AppUpdateEvent::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_product_id()

void google_androidenterprise_api::AppUpdateEvent::set_product_id ( const StringPiece &  value)
inline

Change the 'productId' attribute.

The id of the product (e.g. "app:com.google.android.gm") that was updated. This field will always be present.

Parameters
[in]valueThe new value.

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