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

#include <managed_configuration.h>

Inheritance diagram for google_androidenterprise_api::ManagedConfiguration:

Public Member Functions

 ManagedConfiguration (const Json::Value &storage)
 
 ManagedConfiguration (Json::Value *storage)
 
virtual ~ManagedConfiguration ()
 
const StringPiece GetTypeName () const
 
bool has_configuration_variables () const
 
void clear_configuration_variables ()
 
const ConfigurationVariables get_configuration_variables () const
 
ConfigurationVariables mutable_configurationVariables ()
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_managed_property () const
 
void clear_managed_property ()
 
const client::JsonCppArray< ManagedPropertyget_managed_property () const
 
client::JsonCppArray< ManagedPropertymutable_managedProperty ()
 
bool has_product_id () const
 
void clear_product_id ()
 
const StringPiece get_product_id () const
 
void set_product_id (const StringPiece &value)
 

Static Public Member Functions

static ManagedConfigurationNew ()
 

Detailed Description

A managed configuration resource contains the set of managed properties defined by the app developer in the app's managed configurations schema, as well as any configuration variables defined for the user.

Constructor & Destructor Documentation

◆ ManagedConfiguration() [1/2]

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

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ManagedConfiguration() [2/2]

google_androidenterprise_api::ManagedConfiguration::ManagedConfiguration ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~ManagedConfiguration()

google_androidenterprise_api::ManagedConfiguration::~ManagedConfiguration ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_configuration_variables()

void google_androidenterprise_api::ManagedConfiguration::clear_configuration_variables ( )
inline

Clears the 'configurationVariables' attribute.

◆ clear_kind()

void google_androidenterprise_api::ManagedConfiguration::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_managed_property()

void google_androidenterprise_api::ManagedConfiguration::clear_managed_property ( )
inline

Clears the 'managedProperty' attribute.

◆ clear_product_id()

void google_androidenterprise_api::ManagedConfiguration::clear_product_id ( )
inline

Clears the 'productId' attribute.

◆ get_configuration_variables()

const ConfigurationVariables google_androidenterprise_api::ManagedConfiguration::get_configuration_variables ( ) const

Get a reference to the value of the 'configurationVariables' attribute.

◆ get_kind()

const StringPiece google_androidenterprise_api::ManagedConfiguration::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_managed_property()

const client::JsonCppArray<ManagedProperty > google_androidenterprise_api::ManagedConfiguration::get_managed_property ( ) const

Get a reference to the value of the 'managedProperty' attribute.

◆ get_product_id()

const StringPiece google_androidenterprise_api::ManagedConfiguration::get_product_id ( ) const
inline

Get the value of the 'productId' attribute.

◆ GetTypeName()

const StringPiece google_androidenterprise_api::ManagedConfiguration::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_androidenterprise_api::ManagedConfiguration

◆ has_configuration_variables()

bool google_androidenterprise_api::ManagedConfiguration::has_configuration_variables ( ) const
inline

Determine if the 'configurationVariables' attribute was set.

Returns
true if the 'configurationVariables' attribute was set.

◆ has_kind()

bool google_androidenterprise_api::ManagedConfiguration::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_managed_property()

bool google_androidenterprise_api::ManagedConfiguration::has_managed_property ( ) const
inline

Determine if the 'managedProperty' attribute was set.

Returns
true if the 'managedProperty' attribute was set.

◆ has_product_id()

bool google_androidenterprise_api::ManagedConfiguration::has_product_id ( ) const
inline

Determine if the 'productId' attribute was set.

Returns
true if the 'productId' attribute was set.

◆ mutable_configurationVariables()

ConfigurationVariables google_androidenterprise_api::ManagedConfiguration::mutable_configurationVariables ( )

Gets a reference to a mutable value of the 'configurationVariables' property.

Contains the ID of the managed configuration profile and the set of configuration variables (if any) defined for the user.

Returns
The result can be modified to change the attribute value.

◆ mutable_managedProperty()

client::JsonCppArray<ManagedProperty > google_androidenterprise_api::ManagedConfiguration::mutable_managedProperty ( )

Gets a reference to a mutable value of the 'managedProperty' property.

The set of managed properties for this configuration.

Returns
The result can be modified to change the attribute value.

◆ New()

ManagedConfiguration * google_androidenterprise_api::ManagedConfiguration::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kind()

void google_androidenterprise_api::ManagedConfiguration::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

Deprecated:

Deprecated.

Parameters
[in]valueThe new value.

◆ set_product_id()

void google_androidenterprise_api::ManagedConfiguration::set_product_id ( const StringPiece &  value)
inline

Change the 'productId' attribute.

The ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm".

Parameters
[in]valueThe new value.

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