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

#include <app_state.h>

Inheritance diagram for google_androidenterprise_api::AppState:

Public Member Functions

 AppState (const Json::Value &storage)
 
 AppState (Json::Value *storage)
 
virtual ~AppState ()
 
const StringPiece GetTypeName () const
 
bool has_keyed_app_state () const
 
void clear_keyed_app_state ()
 
const client::JsonCppArray< KeyedAppStateget_keyed_app_state () const
 
client::JsonCppArray< KeyedAppStatemutable_keyedAppState ()
 
bool has_package_name () const
 
void clear_package_name ()
 
const StringPiece get_package_name () const
 
void set_package_name (const StringPiece &value)
 

Static Public Member Functions

static AppStateNew ()
 

Detailed Description

List of states set by the app.

Constructor & Destructor Documentation

◆ AppState() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ AppState() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~AppState()

google_androidenterprise_api::AppState::~AppState ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_keyed_app_state()

void google_androidenterprise_api::AppState::clear_keyed_app_state ( )
inline

Clears the 'keyedAppState' attribute.

◆ clear_package_name()

void google_androidenterprise_api::AppState::clear_package_name ( )
inline

Clears the 'packageName' attribute.

◆ get_keyed_app_state()

const client::JsonCppArray<KeyedAppState > google_androidenterprise_api::AppState::get_keyed_app_state ( ) const

Get a reference to the value of the 'keyedAppState' attribute.

◆ get_package_name()

const StringPiece google_androidenterprise_api::AppState::get_package_name ( ) const
inline

Get the value of the 'packageName' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_androidenterprise_api::AppState

◆ has_keyed_app_state()

bool google_androidenterprise_api::AppState::has_keyed_app_state ( ) const
inline

Determine if the 'keyedAppState' attribute was set.

Returns
true if the 'keyedAppState' attribute was set.

◆ has_package_name()

bool google_androidenterprise_api::AppState::has_package_name ( ) const
inline

Determine if the 'packageName' attribute was set.

Returns
true if the 'packageName' attribute was set.

◆ mutable_keyedAppState()

client::JsonCppArray<KeyedAppState > google_androidenterprise_api::AppState::mutable_keyedAppState ( )

Gets a reference to a mutable value of the 'keyedAppState' property.

List of keyed app states. This field will always be present.

Returns
The result can be modified to change the attribute value.

◆ New()

AppState * google_androidenterprise_api::AppState::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_package_name()

void google_androidenterprise_api::AppState::set_package_name ( const StringPiece &  value)
inline

Change the 'packageName' attribute.

The package name of the app. This field will always be present.

Parameters
[in]valueThe new value.

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