#include <auto_install_policy.h>
◆ AutoInstallPolicy() [1/2]
google_androidenterprise_api::AutoInstallPolicy::AutoInstallPolicy |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~AutoInstallPolicy()
google_androidenterprise_api::AutoInstallPolicy::~AutoInstallPolicy |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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()
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
-
◆ 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
-
◆ 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
-
The documentation for this class was generated from the following files: