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

#include <auto_install_constraint.h>

Inheritance diagram for google_androidenterprise_api::AutoInstallConstraint:

Public Member Functions

 AutoInstallConstraint (const Json::Value &storage)
 
 AutoInstallConstraint (Json::Value *storage)
 
virtual ~AutoInstallConstraint ()
 
const StringPiece GetTypeName () const
 
bool has_charging_state_constraint () const
 
void clear_charging_state_constraint ()
 
const StringPiece get_charging_state_constraint () const
 
void set_charging_state_constraint (const StringPiece &value)
 
bool has_device_idle_state_constraint () const
 
void clear_device_idle_state_constraint ()
 
const StringPiece get_device_idle_state_constraint () const
 
void set_device_idle_state_constraint (const StringPiece &value)
 
bool has_network_type_constraint () const
 
void clear_network_type_constraint ()
 
const StringPiece get_network_type_constraint () const
 
void set_network_type_constraint (const StringPiece &value)
 

Static Public Member Functions

static AutoInstallConstraintNew ()
 

Detailed Description

The auto-install constraint. Defines a set of restrictions for installation. At least one of the fields must be set.

Constructor & Destructor Documentation

◆ AutoInstallConstraint() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ AutoInstallConstraint() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~AutoInstallConstraint()

google_androidenterprise_api::AutoInstallConstraint::~AutoInstallConstraint ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_charging_state_constraint()

void google_androidenterprise_api::AutoInstallConstraint::clear_charging_state_constraint ( )
inline

Clears the 'chargingStateConstraint' attribute.

◆ clear_device_idle_state_constraint()

void google_androidenterprise_api::AutoInstallConstraint::clear_device_idle_state_constraint ( )
inline

Clears the 'deviceIdleStateConstraint' attribute.

◆ clear_network_type_constraint()

void google_androidenterprise_api::AutoInstallConstraint::clear_network_type_constraint ( )
inline

Clears the 'networkTypeConstraint' attribute.

◆ get_charging_state_constraint()

const StringPiece google_androidenterprise_api::AutoInstallConstraint::get_charging_state_constraint ( ) const
inline

Get the value of the 'chargingStateConstraint' attribute.

◆ get_device_idle_state_constraint()

const StringPiece google_androidenterprise_api::AutoInstallConstraint::get_device_idle_state_constraint ( ) const
inline

Get the value of the 'deviceIdleStateConstraint' attribute.

◆ get_network_type_constraint()

const StringPiece google_androidenterprise_api::AutoInstallConstraint::get_network_type_constraint ( ) const
inline

Get the value of the 'networkTypeConstraint' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_androidenterprise_api::AutoInstallConstraint

◆ has_charging_state_constraint()

bool google_androidenterprise_api::AutoInstallConstraint::has_charging_state_constraint ( ) const
inline

Determine if the 'chargingStateConstraint' attribute was set.

Returns
true if the 'chargingStateConstraint' attribute was set.

◆ has_device_idle_state_constraint()

bool google_androidenterprise_api::AutoInstallConstraint::has_device_idle_state_constraint ( ) const
inline

Determine if the 'deviceIdleStateConstraint' attribute was set.

Returns
true if the 'deviceIdleStateConstraint' attribute was set.

◆ has_network_type_constraint()

bool google_androidenterprise_api::AutoInstallConstraint::has_network_type_constraint ( ) const
inline

Determine if the 'networkTypeConstraint' attribute was set.

Returns
true if the 'networkTypeConstraint' attribute was set.

◆ New()

AutoInstallConstraint * google_androidenterprise_api::AutoInstallConstraint::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_charging_state_constraint()

void google_androidenterprise_api::AutoInstallConstraint::set_charging_state_constraint ( const StringPiece &  value)
inline

Change the 'chargingStateConstraint' attribute.

Charging state constraint.

Parameters
[in]valueThe new value.

◆ set_device_idle_state_constraint()

void google_androidenterprise_api::AutoInstallConstraint::set_device_idle_state_constraint ( const StringPiece &  value)
inline

Change the 'deviceIdleStateConstraint' attribute.

Device idle state constraint.

Parameters
[in]valueThe new value.

◆ set_network_type_constraint()

void google_androidenterprise_api::AutoInstallConstraint::set_network_type_constraint ( const StringPiece &  value)
inline

Change the 'networkTypeConstraint' attribute.

Network type constraint.

Parameters
[in]valueThe new value.

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