androidenterprise
v1
|
#include <app_restrictions_schema_restriction.h>
Public Member Functions | |
AppRestrictionsSchemaRestriction (const Json::Value &storage) | |
AppRestrictionsSchemaRestriction (Json::Value *storage) | |
virtual | ~AppRestrictionsSchemaRestriction () |
const StringPiece | GetTypeName () const |
bool | has_default_value () const |
void | clear_default_value () |
const AppRestrictionsSchemaRestrictionRestrictionValue | get_default_value () const |
AppRestrictionsSchemaRestrictionRestrictionValue | mutable_defaultValue () |
bool | has_description () const |
void | clear_description () |
const StringPiece | get_description () const |
void | set_description (const StringPiece &value) |
bool | has_entry () const |
void | clear_entry () |
const client::JsonCppArray< string > | get_entry () const |
client::JsonCppArray< string > | mutable_entry () |
bool | has_entry_value () const |
void | clear_entry_value () |
const client::JsonCppArray< string > | get_entry_value () const |
client::JsonCppArray< string > | mutable_entryValue () |
bool | has_key () const |
void | clear_key () |
const StringPiece | get_key () const |
void | set_key (const StringPiece &value) |
bool | has_nested_restriction () const |
void | clear_nested_restriction () |
const client::JsonCppArray< AppRestrictionsSchemaRestriction > | get_nested_restriction () const |
client::JsonCppArray< AppRestrictionsSchemaRestriction > | mutable_nestedRestriction () |
bool | has_restriction_type () const |
void | clear_restriction_type () |
const StringPiece | get_restriction_type () const |
void | set_restriction_type (const StringPiece &value) |
bool | has_title () const |
void | clear_title () |
const StringPiece | get_title () const |
void | set_title (const StringPiece &value) |
Static Public Member Functions | |
static AppRestrictionsSchemaRestriction * | New () |
A restriction in the App Restriction Schema represents a piece of configuration that may be pre-applied.
|
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 'defaultValue
' attribute.
|
inline |
Clears the 'description
' attribute.
|
inline |
Clears the 'entry
' attribute.
|
inline |
Clears the 'entryValue
' attribute.
|
inline |
Clears the 'key
' attribute.
|
inline |
Clears the 'nestedRestriction
' attribute.
|
inline |
Clears the 'restrictionType
' attribute.
|
inline |
Clears the 'title
' attribute.
const AppRestrictionsSchemaRestrictionRestrictionValue google_androidenterprise_api::AppRestrictionsSchemaRestriction::get_default_value | ( | ) | const |
Get a reference to the value of the 'defaultValue
' attribute.
|
inline |
Get the value of the 'description
' attribute.
|
inline |
Get a reference to the value of the 'entry
' attribute.
|
inline |
Get a reference to the value of the 'entryValue
' attribute.
|
inline |
Get the value of the 'key
' attribute.
const client::JsonCppArray<AppRestrictionsSchemaRestriction > google_androidenterprise_api::AppRestrictionsSchemaRestriction::get_nested_restriction | ( | ) | const |
Get a reference to the value of the 'nestedRestriction
' attribute.
|
inline |
Get the value of the 'restrictionType
' attribute.
|
inline |
Get the value of the 'title
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'defaultValue
' attribute was set.
defaultValue
' attribute was set.
|
inline |
Determine if the 'description
' attribute was set.
description
' attribute was set.
|
inline |
Determine if the 'entry
' attribute was set.
entry
' attribute was set.
|
inline |
Determine if the 'entryValue
' attribute was set.
entryValue
' attribute was set.
|
inline |
Determine if the 'key
' attribute was set.
key
' attribute was set.
|
inline |
Determine if the 'nestedRestriction
' attribute was set.
nestedRestriction
' attribute was set.
|
inline |
Determine if the 'restrictionType
' attribute was set.
restrictionType
' attribute was set.
|
inline |
Determine if the 'title
' attribute was set.
title
' attribute was set. AppRestrictionsSchemaRestrictionRestrictionValue google_androidenterprise_api::AppRestrictionsSchemaRestriction::mutable_defaultValue | ( | ) |
Gets a reference to a mutable value of the 'defaultValue
' property.
The default value of the restriction. bundle and bundleArray restrictions never have a default value.
|
inline |
Gets a reference to a mutable value of the 'entry
' property.
For choice or multiselect restrictions, the list of possible entries' human-readable names.
|
inline |
Gets a reference to a mutable value of the 'entryValue
' property.
For choice or multiselect restrictions, the list of possible entries' machine-readable values. These values should be used in the configuration, either as a single string value for a choice restriction or in a stringArray for a multiselect restriction.
client::JsonCppArray<AppRestrictionsSchemaRestriction > google_androidenterprise_api::AppRestrictionsSchemaRestriction::mutable_nestedRestriction | ( | ) |
Gets a reference to a mutable value of the 'nestedRestriction
' property.
For bundle or bundleArray restrictions, the list of nested restrictions. A bundle restriction is always nested within a bundleArray restriction, and a bundleArray restriction is at most two levels deep.
|
static |
Creates a new default instance.
|
inline |
Change the 'description
' attribute.
A longer description of the restriction, giving more detail of what it affects.
[in] | value | The new value. |
|
inline |
Change the 'key
' attribute.
The unique key that the product uses to identify the restriction, e.g. "com.google.android.gm.fieldname".
[in] | value | The new value. |
|
inline |
Change the 'restrictionType
' attribute.
The type of the restriction.
[in] | value | The new value. |
|
inline |
Change the 'title
' attribute.
The name of the restriction.
[in] | value | The new value. |