#include <product_visibility.h>
A product to be made visible to a user.
◆ ProductVisibility() [1/2]
google_androidenterprise_api::ProductVisibility::ProductVisibility |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ProductVisibility() [2/2]
google_androidenterprise_api::ProductVisibility::ProductVisibility |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~ProductVisibility()
google_androidenterprise_api::ProductVisibility::~ProductVisibility |
( |
| ) |
|
|
virtual |
◆ clear_product_id()
void google_androidenterprise_api::ProductVisibility::clear_product_id |
( |
| ) |
|
|
inline |
Clears the 'productId
' attribute.
◆ clear_track_ids()
void google_androidenterprise_api::ProductVisibility::clear_track_ids |
( |
| ) |
|
|
inline |
Clears the 'trackIds
' attribute.
◆ clear_tracks()
void google_androidenterprise_api::ProductVisibility::clear_tracks |
( |
| ) |
|
|
inline |
Clears the 'tracks
' attribute.
◆ get_product_id()
const StringPiece google_androidenterprise_api::ProductVisibility::get_product_id |
( |
| ) |
const |
|
inline |
Get the value of the 'productId
' attribute.
◆ get_track_ids()
const client::JsonCppArray<string > google_androidenterprise_api::ProductVisibility::get_track_ids |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'trackIds
' attribute.
◆ get_tracks()
const client::JsonCppArray<string > google_androidenterprise_api::ProductVisibility::get_tracks |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'tracks
' attribute.
◆ GetTypeName()
const StringPiece google_androidenterprise_api::ProductVisibility::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_product_id()
bool google_androidenterprise_api::ProductVisibility::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::ProductVisibility::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::ProductVisibility::has_tracks |
( |
| ) |
const |
|
inline |
Determine if the 'tracks
' attribute was set.
- Returns
- true if the '
tracks
' attribute was set.
◆ mutable_trackIds()
client::JsonCppArray<string > google_androidenterprise_api::ProductVisibility::mutable_trackIds |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'trackIds
' property.
Grants the user visibility to the specified product track(s), identified by trackIds.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_tracks()
client::JsonCppArray<string > google_androidenterprise_api::ProductVisibility::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()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_product_id()
void google_androidenterprise_api::ProductVisibility::set_product_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'productId
' attribute.
The product ID to make visible to the user. Required for each item in the productVisibility list.
- Parameters
-
The documentation for this class was generated from the following files:
- google/androidenterprise_api/product_visibility.h
- google/androidenterprise_api/product_visibility.cc