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

#include <product_approval_event.h>

Inheritance diagram for google_androidenterprise_api::ProductApprovalEvent:

Public Member Functions

 ProductApprovalEvent (const Json::Value &storage)
 
 ProductApprovalEvent (Json::Value *storage)
 
virtual ~ProductApprovalEvent ()
 
const StringPiece GetTypeName () const
 
bool has_approved () const
 
void clear_approved ()
 
const StringPiece get_approved () const
 
void set_approved (const StringPiece &value)
 
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 ProductApprovalEventNew ()
 

Detailed Description

An event generated when a product's approval status is changed.

Constructor & Destructor Documentation

◆ ProductApprovalEvent() [1/2]

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

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe 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]storageThe underlying data storage for this instance.

◆ ~ProductApprovalEvent()

google_androidenterprise_api::ProductApprovalEvent::~ProductApprovalEvent ( )
virtual

Standard destructor.

Member Function Documentation

◆ 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

Returns a string denoting the type of this data object.

Returns
google_androidenterprise_api::ProductApprovalEvent

◆ 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()

ProductApprovalEvent * google_androidenterprise_api::ProductApprovalEvent::New ( )
static

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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

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