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

#include <product_policy.h>

Inheritance diagram for google_androidenterprise_api::ProductPolicy:

Public Member Functions

 ProductPolicy (const Json::Value &storage)
 
 ProductPolicy (Json::Value *storage)
 
virtual ~ProductPolicy ()
 
const StringPiece GetTypeName () const
 
bool has_auto_install_policy () const
 
void clear_auto_install_policy ()
 
const AutoInstallPolicy get_auto_install_policy () const
 
AutoInstallPolicy mutable_autoInstallPolicy ()
 
bool has_managed_configuration () const
 
void clear_managed_configuration ()
 
const ManagedConfiguration get_managed_configuration () const
 
ManagedConfiguration mutable_managedConfiguration ()
 
bool has_product_id () const
 
void clear_product_id ()
 
const StringPiece get_product_id () const
 
void set_product_id (const StringPiece &value)
 
bool has_track_ids () const
 
void clear_track_ids ()
 
const client::JsonCppArray< string > get_track_ids () const
 
client::JsonCppArray< string > mutable_trackIds ()
 
bool has_tracks () const
 
void clear_tracks ()
 
const client::JsonCppArray< string > get_tracks () const
 
client::JsonCppArray< string > mutable_tracks ()
 

Static Public Member Functions

static ProductPolicyNew ()
 

Detailed Description

The policy for a product.

Constructor & Destructor Documentation

◆ ProductPolicy() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ProductPolicy() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ProductPolicy()

google_androidenterprise_api::ProductPolicy::~ProductPolicy ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_auto_install_policy()

void google_androidenterprise_api::ProductPolicy::clear_auto_install_policy ( )
inline

Clears the 'autoInstallPolicy' attribute.

◆ clear_managed_configuration()

void google_androidenterprise_api::ProductPolicy::clear_managed_configuration ( )
inline

Clears the 'managedConfiguration' attribute.

◆ clear_product_id()

void google_androidenterprise_api::ProductPolicy::clear_product_id ( )
inline

Clears the 'productId' attribute.

◆ clear_track_ids()

void google_androidenterprise_api::ProductPolicy::clear_track_ids ( )
inline

Clears the 'trackIds' attribute.

◆ clear_tracks()

void google_androidenterprise_api::ProductPolicy::clear_tracks ( )
inline

Clears the 'tracks' attribute.

◆ get_auto_install_policy()

const AutoInstallPolicy google_androidenterprise_api::ProductPolicy::get_auto_install_policy ( ) const

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

◆ get_managed_configuration()

const ManagedConfiguration google_androidenterprise_api::ProductPolicy::get_managed_configuration ( ) const

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

◆ get_product_id()

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

Get the value of the 'productId' attribute.

◆ get_track_ids()

const client::JsonCppArray<string > google_androidenterprise_api::ProductPolicy::get_track_ids ( ) const
inline

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

◆ get_tracks()

const client::JsonCppArray<string > google_androidenterprise_api::ProductPolicy::get_tracks ( ) const
inline

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_androidenterprise_api::ProductPolicy

◆ has_auto_install_policy()

bool google_androidenterprise_api::ProductPolicy::has_auto_install_policy ( ) const
inline

Determine if the 'autoInstallPolicy' attribute was set.

Returns
true if the 'autoInstallPolicy' attribute was set.

◆ has_managed_configuration()

bool google_androidenterprise_api::ProductPolicy::has_managed_configuration ( ) const
inline

Determine if the 'managedConfiguration' attribute was set.

Returns
true if the 'managedConfiguration' attribute was set.

◆ has_product_id()

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

Determine if the 'productId' attribute was set.

Returns
true if the 'productId' attribute was set.

◆ has_track_ids()

bool google_androidenterprise_api::ProductPolicy::has_track_ids ( ) const
inline

Determine if the 'trackIds' attribute was set.

Returns
true if the 'trackIds' attribute was set.

◆ has_tracks()

bool google_androidenterprise_api::ProductPolicy::has_tracks ( ) const
inline

Determine if the 'tracks' attribute was set.

Returns
true if the 'tracks' attribute was set.

◆ mutable_autoInstallPolicy()

AutoInstallPolicy google_androidenterprise_api::ProductPolicy::mutable_autoInstallPolicy ( )

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

The auto-install policy for the product.

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

◆ mutable_managedConfiguration()

ManagedConfiguration google_androidenterprise_api::ProductPolicy::mutable_managedConfiguration ( )

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

The managed configuration for the product.

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

◆ mutable_trackIds()

client::JsonCppArray<string > google_androidenterprise_api::ProductPolicy::mutable_trackIds ( )
inline

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

Grants the device visibility to the specified product release track(s), identified by trackIds. The list of release tracks of a product can be obtained by calling Products.Get.

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

◆ mutable_tracks()

client::JsonCppArray<string > google_androidenterprise_api::ProductPolicy::mutable_tracks ( )
inline

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

Deprecated:

Deprecated. Use trackIds instead.

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

◆ New()

ProductPolicy * google_androidenterprise_api::ProductPolicy::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_product_id()

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

Change the 'productId' attribute.

The ID of the product. For example, "app:com.google.android.gm".

Parameters
[in]valueThe new value.

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