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

#include <store_page.h>

Inheritance diagram for google_androidenterprise_api::StorePage:

Public Member Functions

 StorePage (const Json::Value &storage)
 
 StorePage (Json::Value *storage)
 
virtual ~StorePage ()
 
const StringPiece GetTypeName () const
 
bool has_id () const
 
void clear_id ()
 
const StringPiece get_id () const
 
void set_id (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_link () const
 
void clear_link ()
 
const client::JsonCppArray< string > get_link () const
 
client::JsonCppArray< string > mutable_link ()
 
bool has_name () const
 
void clear_name ()
 
const client::JsonCppArray< LocalizedTextget_name () const
 
client::JsonCppArray< LocalizedTextmutable_name ()
 

Static Public Member Functions

static StorePageNew ()
 

Detailed Description

Definition of a managed Google Play store page, made of a localized name and links to other pages. A page also contains clusters defined as a subcollection.

Constructor & Destructor Documentation

◆ StorePage() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ StorePage() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~StorePage()

google_androidenterprise_api::StorePage::~StorePage ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_id()

void google_androidenterprise_api::StorePage::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_androidenterprise_api::StorePage::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_link()

void google_androidenterprise_api::StorePage::clear_link ( )
inline

Clears the 'link' attribute.

◆ clear_name()

void google_androidenterprise_api::StorePage::clear_name ( )
inline

Clears the 'name' attribute.

◆ get_id()

const StringPiece google_androidenterprise_api::StorePage::get_id ( ) const
inline

Get the value of the 'id' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_link()

const client::JsonCppArray<string > google_androidenterprise_api::StorePage::get_link ( ) const
inline

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

◆ get_name()

const client::JsonCppArray<LocalizedText > google_androidenterprise_api::StorePage::get_name ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_androidenterprise_api::StorePage

◆ has_id()

bool google_androidenterprise_api::StorePage::has_id ( ) const
inline

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_link()

bool google_androidenterprise_api::StorePage::has_link ( ) const
inline

Determine if the 'link' attribute was set.

Returns
true if the 'link' attribute was set.

◆ has_name()

bool google_androidenterprise_api::StorePage::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ mutable_link()

client::JsonCppArray<string > google_androidenterprise_api::StorePage::mutable_link ( )
inline

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

Ordered list of pages a user should be able to reach from this page. The list can't include this page. It is recommended that the basic pages are created first, before adding the links between pages.

The API doesn't verify that the pages exist or the pages are reachable.

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

◆ mutable_name()

client::JsonCppArray<LocalizedText > google_androidenterprise_api::StorePage::mutable_name ( )

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

Ordered list of localized strings giving the name of this page. The text displayed is the one that best matches the user locale, or the first entry if there is no good match. There needs to be at least one entry.

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

◆ New()

StorePage * google_androidenterprise_api::StorePage::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_id()

void google_androidenterprise_api::StorePage::set_id ( const StringPiece &  value)
inline

Change the 'id' attribute.

Unique ID of this page. Assigned by the server. Immutable once assigned.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_androidenterprise_api::StorePage::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: