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

#include <app_restrictions_schema_change_event.h>

Inheritance diagram for google_androidenterprise_api::AppRestrictionsSchemaChangeEvent:

Public Member Functions

 AppRestrictionsSchemaChangeEvent (const Json::Value &storage)
 
 AppRestrictionsSchemaChangeEvent (Json::Value *storage)
 
virtual ~AppRestrictionsSchemaChangeEvent ()
 
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 AppRestrictionsSchemaChangeEventNew ()
 

Detailed Description

An event generated when a new app version is uploaded to Google Play and its app restrictions schema changed. To fetch the app restrictions schema for an app, use Products.getAppRestrictionsSchema on the EMM API.

Constructor & Destructor Documentation

◆ AppRestrictionsSchemaChangeEvent() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ AppRestrictionsSchemaChangeEvent() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~AppRestrictionsSchemaChangeEvent()

google_androidenterprise_api::AppRestrictionsSchemaChangeEvent::~AppRestrictionsSchemaChangeEvent ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_product_id()

void google_androidenterprise_api::AppRestrictionsSchemaChangeEvent::clear_product_id ( )
inline

Clears the 'productId' attribute.

◆ get_product_id()

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

Get the value of the 'productId' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_androidenterprise_api::AppRestrictionsSchemaChangeEvent

◆ has_product_id()

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

Determine if the 'productId' attribute was set.

Returns
true if the 'productId' attribute was set.

◆ New()

AppRestrictionsSchemaChangeEvent * google_androidenterprise_api::AppRestrictionsSchemaChangeEvent::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_product_id()

void google_androidenterprise_api::AppRestrictionsSchemaChangeEvent::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 app restriction schema changed. This field will always be present.

Parameters
[in]valueThe new value.

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