#include <store_cluster.h>
Definition of a managed Google Play store cluster, a list of products displayed as part of a store page.
◆ StoreCluster() [1/2]
google_androidenterprise_api::StoreCluster::StoreCluster |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ StoreCluster() [2/2]
google_androidenterprise_api::StoreCluster::StoreCluster |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~StoreCluster()
google_androidenterprise_api::StoreCluster::~StoreCluster |
( |
| ) |
|
|
virtual |
◆ clear_id()
void google_androidenterprise_api::StoreCluster::clear_id |
( |
| ) |
|
|
inline |
Clears the 'id
' attribute.
◆ clear_kind()
void google_androidenterprise_api::StoreCluster::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind
' attribute.
◆ clear_name()
void google_androidenterprise_api::StoreCluster::clear_name |
( |
| ) |
|
|
inline |
Clears the 'name
' attribute.
◆ clear_order_in_page()
void google_androidenterprise_api::StoreCluster::clear_order_in_page |
( |
| ) |
|
|
inline |
Clears the 'orderInPage
' attribute.
◆ clear_product_id()
void google_androidenterprise_api::StoreCluster::clear_product_id |
( |
| ) |
|
|
inline |
Clears the 'productId
' attribute.
◆ get_id()
const StringPiece google_androidenterprise_api::StoreCluster::get_id |
( |
| ) |
const |
|
inline |
Get the value of the 'id
' attribute.
◆ get_kind()
const StringPiece google_androidenterprise_api::StoreCluster::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind
' attribute.
◆ get_name()
const client::JsonCppArray<LocalizedText > google_androidenterprise_api::StoreCluster::get_name |
( |
| ) |
const |
Get a reference to the value of the 'name
' attribute.
◆ get_order_in_page()
const StringPiece google_androidenterprise_api::StoreCluster::get_order_in_page |
( |
| ) |
const |
|
inline |
Get the value of the 'orderInPage
' attribute.
◆ get_product_id()
const client::JsonCppArray<string > google_androidenterprise_api::StoreCluster::get_product_id |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'productId
' attribute.
◆ GetTypeName()
const StringPiece google_androidenterprise_api::StoreCluster::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_id()
bool google_androidenterprise_api::StoreCluster::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::StoreCluster::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind
' attribute was set.
- Returns
- true if the '
kind
' attribute was set.
◆ has_name()
bool google_androidenterprise_api::StoreCluster::has_name |
( |
| ) |
const |
|
inline |
Determine if the 'name
' attribute was set.
- Returns
- true if the '
name
' attribute was set.
◆ has_order_in_page()
bool google_androidenterprise_api::StoreCluster::has_order_in_page |
( |
| ) |
const |
|
inline |
Determine if the 'orderInPage
' attribute was set.
- Returns
- true if the '
orderInPage
' attribute was set.
◆ has_product_id()
bool google_androidenterprise_api::StoreCluster::has_product_id |
( |
| ) |
const |
|
inline |
Determine if the 'productId
' attribute was set.
- Returns
- true if the '
productId
' attribute was set.
◆ mutable_name()
client::JsonCppArray<LocalizedText > google_androidenterprise_api::StoreCluster::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.
◆ mutable_productId()
client::JsonCppArray<string > google_androidenterprise_api::StoreCluster::mutable_productId |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'productId
' property.
List of products in the order they are displayed in the cluster. There should not be duplicates within a cluster.
- Returns
- The result can be modified to change the attribute value.
◆ New()
StoreCluster * google_androidenterprise_api::StoreCluster::New |
( |
| ) |
|
|
static |
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_id()
void google_androidenterprise_api::StoreCluster::set_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'id
' attribute.
Unique ID of this cluster. Assigned by the server. Immutable once assigned.
- Parameters
-
◆ set_kind()
void google_androidenterprise_api::StoreCluster::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind
' attribute.
- Parameters
-
◆ set_order_in_page()
void google_androidenterprise_api::StoreCluster::set_order_in_page |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'orderInPage
' attribute.
String (US-ASCII only) used to determine order of this cluster within the parent page's elements. Page elements are sorted in lexicographic order of this field. Duplicated values are allowed, but ordering between elements with duplicate order is undefined.
The value of this field is never visible to a user, it is used solely for the purpose of defining an ordering. Maximum length is 256 characters.
- Parameters
-
The documentation for this class was generated from the following files:
- google/androidenterprise_api/store_cluster.h
- google/androidenterprise_api/store_cluster.cc