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

#include <auto_install_policy.h>

Inheritance diagram for google_androidenterprise_api::AutoInstallPolicy:

Public Member Functions

 AutoInstallPolicy (const Json::Value &storage)
 
 AutoInstallPolicy (Json::Value *storage)
 
virtual ~AutoInstallPolicy ()
 
const StringPiece GetTypeName () const
 
bool has_auto_install_constraint () const
 
void clear_auto_install_constraint ()
 
const client::JsonCppArray< AutoInstallConstraintget_auto_install_constraint () const
 
client::JsonCppArray< AutoInstallConstraintmutable_autoInstallConstraint ()
 
bool has_auto_install_mode () const
 
void clear_auto_install_mode ()
 
const StringPiece get_auto_install_mode () const
 
void set_auto_install_mode (const StringPiece &value)
 
bool has_auto_install_priority () const
 
void clear_auto_install_priority ()
 
int32 get_auto_install_priority () const
 
void set_auto_install_priority (int32 value)
 
bool has_minimum_version_code () const
 
void clear_minimum_version_code ()
 
int32 get_minimum_version_code () const
 
void set_minimum_version_code (int32 value)
 

Static Public Member Functions

static AutoInstallPolicyNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ AutoInstallPolicy() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ AutoInstallPolicy() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~AutoInstallPolicy()

google_androidenterprise_api::AutoInstallPolicy::~AutoInstallPolicy ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_auto_install_constraint()

void google_androidenterprise_api::AutoInstallPolicy::clear_auto_install_constraint ( )
inline

Clears the 'autoInstallConstraint' attribute.

◆ clear_auto_install_mode()

void google_androidenterprise_api::AutoInstallPolicy::clear_auto_install_mode ( )
inline

Clears the 'autoInstallMode' attribute.

◆ clear_auto_install_priority()

void google_androidenterprise_api::AutoInstallPolicy::clear_auto_install_priority ( )
inline

Clears the 'autoInstallPriority' attribute.

◆ clear_minimum_version_code()

void google_androidenterprise_api::AutoInstallPolicy::clear_minimum_version_code ( )
inline

Clears the 'minimumVersionCode' attribute.

◆ get_auto_install_constraint()

const client::JsonCppArray<AutoInstallConstraint > google_androidenterprise_api::AutoInstallPolicy::get_auto_install_constraint ( ) const

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

◆ get_auto_install_mode()

const StringPiece google_androidenterprise_api::AutoInstallPolicy::get_auto_install_mode ( ) const
inline

Get the value of the 'autoInstallMode' attribute.

◆ get_auto_install_priority()

int32 google_androidenterprise_api::AutoInstallPolicy::get_auto_install_priority ( ) const
inline

Get the value of the 'autoInstallPriority' attribute.

◆ get_minimum_version_code()

int32 google_androidenterprise_api::AutoInstallPolicy::get_minimum_version_code ( ) const
inline

Get the value of the 'minimumVersionCode' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_androidenterprise_api::AutoInstallPolicy

◆ has_auto_install_constraint()

bool google_androidenterprise_api::AutoInstallPolicy::has_auto_install_constraint ( ) const
inline

Determine if the 'autoInstallConstraint' attribute was set.

Returns
true if the 'autoInstallConstraint' attribute was set.

◆ has_auto_install_mode()

bool google_androidenterprise_api::AutoInstallPolicy::has_auto_install_mode ( ) const
inline

Determine if the 'autoInstallMode' attribute was set.

Returns
true if the 'autoInstallMode' attribute was set.

◆ has_auto_install_priority()

bool google_androidenterprise_api::AutoInstallPolicy::has_auto_install_priority ( ) const
inline

Determine if the 'autoInstallPriority' attribute was set.

Returns
true if the 'autoInstallPriority' attribute was set.

◆ has_minimum_version_code()

bool google_androidenterprise_api::AutoInstallPolicy::has_minimum_version_code ( ) const
inline

Determine if the 'minimumVersionCode' attribute was set.

Returns
true if the 'minimumVersionCode' attribute was set.

◆ mutable_autoInstallConstraint()

client::JsonCppArray<AutoInstallConstraint > google_androidenterprise_api::AutoInstallPolicy::mutable_autoInstallConstraint ( )

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

The constraints for auto-installing the app. You can specify a maximum of one constraint.

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

◆ New()

AutoInstallPolicy * google_androidenterprise_api::AutoInstallPolicy::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_auto_install_mode()

void google_androidenterprise_api::AutoInstallPolicy::set_auto_install_mode ( const StringPiece &  value)
inline

Change the 'autoInstallMode' attribute.

The auto-install mode. If unset defaults to "doNotAutoInstall".

Parameters
[in]valueThe new value.

◆ set_auto_install_priority()

void google_androidenterprise_api::AutoInstallPolicy::set_auto_install_priority ( int32  value)
inline

Change the 'autoInstallPriority' attribute.

The priority of the install, as an unsigned integer. A lower number means higher priority.

Parameters
[in]valueThe new value.

◆ set_minimum_version_code()

void google_androidenterprise_api::AutoInstallPolicy::set_minimum_version_code ( int32  value)
inline

Change the 'minimumVersionCode' attribute.

The minimum version of the app. If a lower version of the app is installed, then the app will be auto-updated according to the auto-install constraints, instead of waiting for the regular auto-update. You can set a minimum version code for at most 20 apps per device.

Parameters
[in]valueThe new value.

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