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

#include <store_layout.h>

Inheritance diagram for google_androidenterprise_api::StoreLayout:

Public Member Functions

 StoreLayout (const Json::Value &storage)
 
 StoreLayout (Json::Value *storage)
 
virtual ~StoreLayout ()
 
const StringPiece GetTypeName () const
 
bool has_homepage_id () const
 
void clear_homepage_id ()
 
const StringPiece get_homepage_id () const
 
void set_homepage_id (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_store_layout_type () const
 
void clear_store_layout_type ()
 
const StringPiece get_store_layout_type () const
 
void set_store_layout_type (const StringPiece &value)
 

Static Public Member Functions

static StoreLayoutNew ()
 

Detailed Description

General setting for the managed Google Play store layout, currently only specifying the page to display the first time the store is opened.

Constructor & Destructor Documentation

◆ StoreLayout() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ StoreLayout() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~StoreLayout()

google_androidenterprise_api::StoreLayout::~StoreLayout ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_homepage_id()

void google_androidenterprise_api::StoreLayout::clear_homepage_id ( )
inline

Clears the 'homepageId' attribute.

◆ clear_kind()

void google_androidenterprise_api::StoreLayout::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_store_layout_type()

void google_androidenterprise_api::StoreLayout::clear_store_layout_type ( )
inline

Clears the 'storeLayoutType' attribute.

◆ get_homepage_id()

const StringPiece google_androidenterprise_api::StoreLayout::get_homepage_id ( ) const
inline

Get the value of the 'homepageId' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_store_layout_type()

const StringPiece google_androidenterprise_api::StoreLayout::get_store_layout_type ( ) const
inline

Get the value of the 'storeLayoutType' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_androidenterprise_api::StoreLayout

◆ has_homepage_id()

bool google_androidenterprise_api::StoreLayout::has_homepage_id ( ) const
inline

Determine if the 'homepageId' attribute was set.

Returns
true if the 'homepageId' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_store_layout_type()

bool google_androidenterprise_api::StoreLayout::has_store_layout_type ( ) const
inline

Determine if the 'storeLayoutType' attribute was set.

Returns
true if the 'storeLayoutType' attribute was set.

◆ New()

StoreLayout * google_androidenterprise_api::StoreLayout::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_homepage_id()

void google_androidenterprise_api::StoreLayout::set_homepage_id ( const StringPiece &  value)
inline

Change the 'homepageId' attribute.

The ID of the store page to be used as the homepage. The homepage is the first page shown in the managed Google Play Store.

Not specifying a homepage is equivalent to setting the store layout type to "basic".

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

Parameters
[in]valueThe new value.

◆ set_store_layout_type()

void google_androidenterprise_api::StoreLayout::set_store_layout_type ( const StringPiece &  value)
inline

Change the 'storeLayoutType' attribute.

The store layout type. By default, this value is set to "basic" if the homepageId field is not set, and to "custom" otherwise. If set to "basic", the layout will consist of all approved apps that have been whitelisted for the user.

Parameters
[in]valueThe new value.

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