androidenterprise
v1
|
#include <managed_property.h>
Public Member Functions | |
ManagedProperty (const Json::Value &storage) | |
ManagedProperty (Json::Value *storage) | |
virtual | ~ManagedProperty () |
const StringPiece | GetTypeName () const |
bool | has_key () const |
void | clear_key () |
const StringPiece | get_key () const |
void | set_key (const StringPiece &value) |
bool | has_value_bool () const |
void | clear_value_bool () |
bool | get_value_bool () const |
void | set_value_bool (bool value) |
bool | has_value_bundle () const |
void | clear_value_bundle () |
const ManagedPropertyBundle | get_value_bundle () const |
ManagedPropertyBundle | mutable_valueBundle () |
bool | has_value_bundle_array () const |
void | clear_value_bundle_array () |
const client::JsonCppArray< ManagedPropertyBundle > | get_value_bundle_array () const |
client::JsonCppArray< ManagedPropertyBundle > | mutable_valueBundleArray () |
bool | has_value_integer () const |
void | clear_value_integer () |
int32 | get_value_integer () const |
void | set_value_integer (int32 value) |
bool | has_value_string () const |
void | clear_value_string () |
const StringPiece | get_value_string () const |
void | set_value_string (const StringPiece &value) |
bool | has_value_string_array () const |
void | clear_value_string_array () |
const client::JsonCppArray< string > | get_value_string_array () const |
client::JsonCppArray< string > | mutable_valueStringArray () |
Static Public Member Functions | |
static ManagedProperty * | New () |
A managed property of a managed configuration. The property must match one of the properties in the app restrictions schema of the product. Exactly one of the value fields must be populated, and it must match the property's type in the app restrictions schema.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'key
' attribute.
|
inline |
Clears the 'valueBool
' attribute.
|
inline |
Clears the 'valueBundle
' attribute.
|
inline |
Clears the 'valueBundleArray
' attribute.
|
inline |
Clears the 'valueInteger
' attribute.
|
inline |
Clears the 'valueString
' attribute.
|
inline |
Clears the 'valueStringArray
' attribute.
|
inline |
Get the value of the 'key
' attribute.
|
inline |
Get the value of the 'valueBool
' attribute.
const ManagedPropertyBundle google_androidenterprise_api::ManagedProperty::get_value_bundle | ( | ) | const |
Get a reference to the value of the 'valueBundle
' attribute.
const client::JsonCppArray<ManagedPropertyBundle > google_androidenterprise_api::ManagedProperty::get_value_bundle_array | ( | ) | const |
Get a reference to the value of the 'valueBundleArray
' attribute.
|
inline |
Get the value of the 'valueInteger
' attribute.
|
inline |
Get the value of the 'valueString
' attribute.
|
inline |
Get a reference to the value of the 'valueStringArray
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'key
' attribute was set.
key
' attribute was set.
|
inline |
Determine if the 'valueBool
' attribute was set.
valueBool
' attribute was set.
|
inline |
Determine if the 'valueBundle
' attribute was set.
valueBundle
' attribute was set.
|
inline |
Determine if the 'valueBundleArray
' attribute was set.
valueBundleArray
' attribute was set.
|
inline |
Determine if the 'valueInteger
' attribute was set.
valueInteger
' attribute was set.
|
inline |
Determine if the 'valueString
' attribute was set.
valueString
' attribute was set.
|
inline |
Determine if the 'valueStringArray
' attribute was set.
valueStringArray
' attribute was set. ManagedPropertyBundle google_androidenterprise_api::ManagedProperty::mutable_valueBundle | ( | ) |
Gets a reference to a mutable value of the 'valueBundle
' property.
The bundle of managed properties - this will only be present if type of the property is bundle.
client::JsonCppArray<ManagedPropertyBundle > google_androidenterprise_api::ManagedProperty::mutable_valueBundleArray | ( | ) |
Gets a reference to a mutable value of the 'valueBundleArray
' property.
The list of bundles of properties - this will only be present if type of the property is bundle_array.
|
inline |
Gets a reference to a mutable value of the 'valueStringArray
' property.
The list of string values - this will only be present if type of the property is multiselect.
|
static |
Creates a new default instance.
|
inline |
Change the 'key
' attribute.
The unique key that identifies the property.
[in] | value | The new value. |
|
inline |
Change the 'valueBool
' attribute.
The boolean value - this will only be present if type of the property is bool.
[in] | value | The new value. |
|
inline |
Change the 'valueInteger
' attribute.
The integer value - this will only be present if type of the property is integer.
[in] | value | The new value. |
|
inline |
Change the 'valueString
' attribute.
The string value - this will only be present if type of the property is string, choice or hidden.
[in] | value | The new value. |