#include <app_restrictions_schema_restriction_restriction_value.h>
A typed value for the restriction.
◆ AppRestrictionsSchemaRestrictionRestrictionValue() [1/2]
google_androidenterprise_api::AppRestrictionsSchemaRestrictionRestrictionValue::AppRestrictionsSchemaRestrictionRestrictionValue |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ AppRestrictionsSchemaRestrictionRestrictionValue() [2/2]
google_androidenterprise_api::AppRestrictionsSchemaRestrictionRestrictionValue::AppRestrictionsSchemaRestrictionRestrictionValue |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~AppRestrictionsSchemaRestrictionRestrictionValue()
google_androidenterprise_api::AppRestrictionsSchemaRestrictionRestrictionValue::~AppRestrictionsSchemaRestrictionRestrictionValue |
( |
| ) |
|
|
virtual |
◆ clear_type()
void google_androidenterprise_api::AppRestrictionsSchemaRestrictionRestrictionValue::clear_type |
( |
| ) |
|
|
inline |
Clears the 'type
' attribute.
◆ clear_value_bool()
void google_androidenterprise_api::AppRestrictionsSchemaRestrictionRestrictionValue::clear_value_bool |
( |
| ) |
|
|
inline |
Clears the 'valueBool
' attribute.
◆ clear_value_integer()
void google_androidenterprise_api::AppRestrictionsSchemaRestrictionRestrictionValue::clear_value_integer |
( |
| ) |
|
|
inline |
Clears the 'valueInteger
' attribute.
◆ clear_value_multiselect()
void google_androidenterprise_api::AppRestrictionsSchemaRestrictionRestrictionValue::clear_value_multiselect |
( |
| ) |
|
|
inline |
Clears the 'valueMultiselect
' attribute.
◆ clear_value_string()
void google_androidenterprise_api::AppRestrictionsSchemaRestrictionRestrictionValue::clear_value_string |
( |
| ) |
|
|
inline |
Clears the 'valueString
' attribute.
◆ get_type()
const StringPiece google_androidenterprise_api::AppRestrictionsSchemaRestrictionRestrictionValue::get_type |
( |
| ) |
const |
|
inline |
Get the value of the 'type
' attribute.
◆ get_value_bool()
bool google_androidenterprise_api::AppRestrictionsSchemaRestrictionRestrictionValue::get_value_bool |
( |
| ) |
const |
|
inline |
Get the value of the 'valueBool
' attribute.
◆ get_value_integer()
int32 google_androidenterprise_api::AppRestrictionsSchemaRestrictionRestrictionValue::get_value_integer |
( |
| ) |
const |
|
inline |
Get the value of the 'valueInteger
' attribute.
◆ get_value_multiselect()
const client::JsonCppArray<string > google_androidenterprise_api::AppRestrictionsSchemaRestrictionRestrictionValue::get_value_multiselect |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'valueMultiselect
' attribute.
◆ get_value_string()
const StringPiece google_androidenterprise_api::AppRestrictionsSchemaRestrictionRestrictionValue::get_value_string |
( |
| ) |
const |
|
inline |
Get the value of the 'valueString
' attribute.
◆ GetTypeName()
const StringPiece google_androidenterprise_api::AppRestrictionsSchemaRestrictionRestrictionValue::GetTypeName |
( |
| ) |
const |
|
inline |
Returns a string denoting the type of this data object.
- Returns
google_androidenterprise_api::AppRestrictionsSchemaRestrictio nRestrictionValue
◆ has_type()
bool google_androidenterprise_api::AppRestrictionsSchemaRestrictionRestrictionValue::has_type |
( |
| ) |
const |
|
inline |
Determine if the 'type
' attribute was set.
- Returns
- true if the '
type
' attribute was set.
◆ has_value_bool()
bool google_androidenterprise_api::AppRestrictionsSchemaRestrictionRestrictionValue::has_value_bool |
( |
| ) |
const |
|
inline |
Determine if the 'valueBool
' attribute was set.
- Returns
- true if the '
valueBool
' attribute was set.
◆ has_value_integer()
bool google_androidenterprise_api::AppRestrictionsSchemaRestrictionRestrictionValue::has_value_integer |
( |
| ) |
const |
|
inline |
Determine if the 'valueInteger
' attribute was set.
- Returns
- true if the '
valueInteger
' attribute was set.
◆ has_value_multiselect()
bool google_androidenterprise_api::AppRestrictionsSchemaRestrictionRestrictionValue::has_value_multiselect |
( |
| ) |
const |
|
inline |
Determine if the 'valueMultiselect
' attribute was set.
- Returns
- true if the '
valueMultiselect
' attribute was set.
◆ has_value_string()
bool google_androidenterprise_api::AppRestrictionsSchemaRestrictionRestrictionValue::has_value_string |
( |
| ) |
const |
|
inline |
Determine if the 'valueString
' attribute was set.
- Returns
- true if the '
valueString
' attribute was set.
◆ mutable_valueMultiselect()
client::JsonCppArray<string > google_androidenterprise_api::AppRestrictionsSchemaRestrictionRestrictionValue::mutable_valueMultiselect |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'valueMultiselect
' property.
The list of string values - this will only be present if type is multiselect.
- 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_type()
void google_androidenterprise_api::AppRestrictionsSchemaRestrictionRestrictionValue::set_type |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'type
' attribute.
The type of the value being provided.
- Parameters
-
◆ set_value_bool()
void google_androidenterprise_api::AppRestrictionsSchemaRestrictionRestrictionValue::set_value_bool |
( |
bool |
value | ) |
|
|
inline |
Change the 'valueBool
' attribute.
The boolean value - this will only be present if type is bool.
- Parameters
-
◆ set_value_integer()
void google_androidenterprise_api::AppRestrictionsSchemaRestrictionRestrictionValue::set_value_integer |
( |
int32 |
value | ) |
|
|
inline |
Change the 'valueInteger
' attribute.
The integer value - this will only be present if type is integer.
- Parameters
-
◆ set_value_string()
void google_androidenterprise_api::AppRestrictionsSchemaRestrictionRestrictionValue::set_value_string |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'valueString
' attribute.
The string value - this will be present for types string, choice and hidden.
- Parameters
-
The documentation for this class was generated from the following files: