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

#include <app_restrictions_schema_restriction_restriction_value.h>

Inheritance diagram for google_androidenterprise_api::AppRestrictionsSchemaRestrictionRestrictionValue:

Public Member Functions

 AppRestrictionsSchemaRestrictionRestrictionValue (const Json::Value &storage)
 
 AppRestrictionsSchemaRestrictionRestrictionValue (Json::Value *storage)
 
virtual ~AppRestrictionsSchemaRestrictionRestrictionValue ()
 
const StringPiece GetTypeName () const
 
bool has_type () const
 
void clear_type ()
 
const StringPiece get_type () const
 
void set_type (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_integer () const
 
void clear_value_integer ()
 
int32 get_value_integer () const
 
void set_value_integer (int32 value)
 
bool has_value_multiselect () const
 
void clear_value_multiselect ()
 
const client::JsonCppArray< string > get_value_multiselect () const
 
client::JsonCppArray< string > mutable_valueMultiselect ()
 
bool has_value_string () const
 
void clear_value_string ()
 
const StringPiece get_value_string () const
 
void set_value_string (const StringPiece &value)
 

Static Public Member Functions

static AppRestrictionsSchemaRestrictionRestrictionValueNew ()
 

Detailed Description

A typed value for the restriction.

Constructor & Destructor Documentation

◆ AppRestrictionsSchemaRestrictionRestrictionValue() [1/2]

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

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe 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]storageThe underlying data storage for this instance.

◆ ~AppRestrictionsSchemaRestrictionRestrictionValue()

google_androidenterprise_api::AppRestrictionsSchemaRestrictionRestrictionValue::~AppRestrictionsSchemaRestrictionRestrictionValue ( )
virtual

Standard destructor.

Member Function Documentation

◆ 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()

AppRestrictionsSchemaRestrictionRestrictionValue * google_androidenterprise_api::AppRestrictionsSchemaRestrictionRestrictionValue::New ( )
static

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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

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