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

#include <app_restrictions_schema.h>

Inheritance diagram for google_androidenterprise_api::AppRestrictionsSchema:

Public Member Functions

 AppRestrictionsSchema (const Json::Value &storage)
 
 AppRestrictionsSchema (Json::Value *storage)
 
virtual ~AppRestrictionsSchema ()
 
const StringPiece GetTypeName () const
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_restrictions () const
 
void clear_restrictions ()
 
const client::JsonCppArray< AppRestrictionsSchemaRestrictionget_restrictions () const
 
client::JsonCppArray< AppRestrictionsSchemaRestrictionmutable_restrictions ()
 

Static Public Member Functions

static AppRestrictionsSchemaNew ()
 

Detailed Description

Represents the list of app restrictions available to be pre-configured for the product.

Constructor & Destructor Documentation

◆ AppRestrictionsSchema() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ AppRestrictionsSchema() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~AppRestrictionsSchema()

google_androidenterprise_api::AppRestrictionsSchema::~AppRestrictionsSchema ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_kind()

void google_androidenterprise_api::AppRestrictionsSchema::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_restrictions()

void google_androidenterprise_api::AppRestrictionsSchema::clear_restrictions ( )
inline

Clears the 'restrictions' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_restrictions()

const client::JsonCppArray<AppRestrictionsSchemaRestriction > google_androidenterprise_api::AppRestrictionsSchema::get_restrictions ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_androidenterprise_api::AppRestrictionsSchema

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_restrictions()

bool google_androidenterprise_api::AppRestrictionsSchema::has_restrictions ( ) const
inline

Determine if the 'restrictions' attribute was set.

Returns
true if the 'restrictions' attribute was set.

◆ mutable_restrictions()

client::JsonCppArray<AppRestrictionsSchemaRestriction > google_androidenterprise_api::AppRestrictionsSchema::mutable_restrictions ( )

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

The set of restrictions that make up this schema.

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

◆ New()

AppRestrictionsSchema * google_androidenterprise_api::AppRestrictionsSchema::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kind()

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

Change the 'kind' attribute.

Parameters
[in]valueThe new value.

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