|
androidenterprise
v1
|
#include <product.h>
Public Member Functions | |
| Product (const Json::Value &storage) | |
| Product (Json::Value *storage) | |
| virtual | ~Product () |
| const StringPiece | GetTypeName () const |
| bool | has_app_tracks () const |
| void | clear_app_tracks () |
| const client::JsonCppArray< TrackInfo > | get_app_tracks () const |
| client::JsonCppArray< TrackInfo > | mutable_appTracks () |
| bool | has_app_version () const |
| void | clear_app_version () |
| const client::JsonCppArray< AppVersion > | get_app_version () const |
| client::JsonCppArray< AppVersion > | mutable_appVersion () |
| bool | has_author_name () const |
| void | clear_author_name () |
| const StringPiece | get_author_name () const |
| void | set_author_name (const StringPiece &value) |
| bool | has_available_countries () const |
| void | clear_available_countries () |
| const client::JsonCppArray< string > | get_available_countries () const |
| client::JsonCppArray< string > | mutable_availableCountries () |
| bool | has_available_tracks () const |
| void | clear_available_tracks () |
| const client::JsonCppArray< string > | get_available_tracks () const |
| client::JsonCppArray< string > | mutable_availableTracks () |
| bool | has_category () const |
| void | clear_category () |
| const StringPiece | get_category () const |
| void | set_category (const StringPiece &value) |
| bool | has_content_rating () const |
| void | clear_content_rating () |
| const StringPiece | get_content_rating () const |
| void | set_content_rating (const StringPiece &value) |
| bool | has_description () const |
| void | clear_description () |
| const StringPiece | get_description () const |
| void | set_description (const StringPiece &value) |
| bool | has_details_url () const |
| void | clear_details_url () |
| const StringPiece | get_details_url () const |
| void | set_details_url (const StringPiece &value) |
| bool | has_distribution_channel () const |
| void | clear_distribution_channel () |
| const StringPiece | get_distribution_channel () const |
| void | set_distribution_channel (const StringPiece &value) |
| bool | has_features () const |
| void | clear_features () |
| const client::JsonCppArray< string > | get_features () const |
| client::JsonCppArray< string > | mutable_features () |
| bool | has_icon_url () const |
| void | clear_icon_url () |
| const StringPiece | get_icon_url () const |
| void | set_icon_url (const StringPiece &value) |
| bool | has_kind () const |
| void | clear_kind () |
| const StringPiece | get_kind () const |
| void | set_kind (const StringPiece &value) |
| bool | has_last_updated_timestamp_millis () const |
| void | clear_last_updated_timestamp_millis () |
| int64 | get_last_updated_timestamp_millis () const |
| void | set_last_updated_timestamp_millis (int64 value) |
| bool | has_min_android_sdk_version () const |
| void | clear_min_android_sdk_version () |
| int32 | get_min_android_sdk_version () const |
| void | set_min_android_sdk_version (int32 value) |
| bool | has_permissions () const |
| void | clear_permissions () |
| const client::JsonCppArray< ProductPermission > | get_permissions () const |
| client::JsonCppArray< ProductPermission > | mutable_permissions () |
| bool | has_product_id () const |
| void | clear_product_id () |
| const StringPiece | get_product_id () const |
| void | set_product_id (const StringPiece &value) |
| bool | has_product_pricing () const |
| void | clear_product_pricing () |
| const StringPiece | get_product_pricing () const |
| void | set_product_pricing (const StringPiece &value) |
| bool | has_recent_changes () const |
| void | clear_recent_changes () |
| const StringPiece | get_recent_changes () const |
| void | set_recent_changes (const StringPiece &value) |
| bool | has_requires_container_app () const |
| void | clear_requires_container_app () |
| bool | get_requires_container_app () const |
| void | set_requires_container_app (bool value) |
| bool | has_screenshot_urls () const |
| void | clear_screenshot_urls () |
| const client::JsonCppArray< string > | get_screenshot_urls () const |
| client::JsonCppArray< string > | mutable_screenshotUrls () |
| bool | has_signing_certificate () const |
| void | clear_signing_certificate () |
| const ProductSigningCertificate | get_signing_certificate () const |
| ProductSigningCertificate | mutable_signingCertificate () |
| bool | has_small_icon_url () const |
| void | clear_small_icon_url () |
| const StringPiece | get_small_icon_url () const |
| void | set_small_icon_url (const StringPiece &value) |
| bool | has_title () const |
| void | clear_title () |
| const StringPiece | get_title () const |
| void | set_title (const StringPiece &value) |
| bool | has_work_details_url () const |
| void | clear_work_details_url () |
| const StringPiece | get_work_details_url () const |
| void | set_work_details_url (const StringPiece &value) |
Static Public Member Functions | |
| static Product * | New () |
A Products resource represents an app in the Google Play store that is available to at least some users in the enterprise. (Some apps are restricted to a single enterprise, and no information about them is made available outside that enterprise.)
The information provided for each product (localized name, icon, link to the full Google Play details page) is intended to allow a basic representation of the product within an EMM user interface.
|
explicit |
Standard constructor for an immutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'appTracks' attribute.
|
inline |
Clears the 'appVersion' attribute.
|
inline |
Clears the 'authorName' attribute.
|
inline |
Clears the 'availableCountries' attribute.
|
inline |
Clears the 'availableTracks' attribute.
|
inline |
Clears the 'category' attribute.
|
inline |
Clears the 'contentRating' attribute.
|
inline |
Clears the 'description' attribute.
|
inline |
Clears the 'detailsUrl' attribute.
|
inline |
Clears the 'distributionChannel' attribute.
|
inline |
Clears the 'features' attribute.
|
inline |
Clears the 'iconUrl' attribute.
|
inline |
Clears the 'kind' attribute.
|
inline |
Clears the 'lastUpdatedTimestampMillis' attribute.
|
inline |
Clears the 'minAndroidSdkVersion' attribute.
|
inline |
Clears the 'permissions' attribute.
|
inline |
Clears the 'productId' attribute.
|
inline |
Clears the 'productPricing' attribute.
|
inline |
Clears the 'recentChanges' attribute.
|
inline |
Clears the 'requiresContainerApp' attribute.
|
inline |
Clears the 'screenshotUrls' attribute.
|
inline |
Clears the 'signingCertificate' attribute.
|
inline |
Clears the 'smallIconUrl' attribute.
|
inline |
Clears the 'title' attribute.
|
inline |
Clears the 'workDetailsUrl' attribute.
| const client::JsonCppArray<TrackInfo > google_androidenterprise_api::Product::get_app_tracks | ( | ) | const |
Get a reference to the value of the 'appTracks' attribute.
| const client::JsonCppArray<AppVersion > google_androidenterprise_api::Product::get_app_version | ( | ) | const |
Get a reference to the value of the 'appVersion' attribute.
|
inline |
Get the value of the 'authorName' attribute.
|
inline |
Get a reference to the value of the 'availableCountries' attribute.
|
inline |
Get a reference to the value of the 'availableTracks' attribute.
|
inline |
Get the value of the 'category' attribute.
|
inline |
Get the value of the 'contentRating' attribute.
|
inline |
Get the value of the 'description' attribute.
|
inline |
Get the value of the 'detailsUrl' attribute.
|
inline |
Get the value of the 'distributionChannel' attribute.
|
inline |
Get a reference to the value of the 'features' attribute.
|
inline |
Get the value of the 'iconUrl' attribute.
|
inline |
Get the value of the 'kind' attribute.
|
inline |
Get the value of the 'lastUpdatedTimestampMillis' attribute.
|
inline |
Get the value of the 'minAndroidSdkVersion' attribute.
| const client::JsonCppArray<ProductPermission > google_androidenterprise_api::Product::get_permissions | ( | ) | const |
Get a reference to the value of the 'permissions' attribute.
|
inline |
Get the value of the 'productId' attribute.
|
inline |
Get the value of the 'productPricing' attribute.
|
inline |
Get the value of the 'recentChanges' attribute.
|
inline |
Get the value of the 'requiresContainerApp' attribute.
|
inline |
Get a reference to the value of the 'screenshotUrls' attribute.
| const ProductSigningCertificate google_androidenterprise_api::Product::get_signing_certificate | ( | ) | const |
Get a reference to the value of the 'signingCertificate' attribute.
|
inline |
Get the value of the 'smallIconUrl' attribute.
|
inline |
Get the value of the 'title' attribute.
|
inline |
Get the value of the 'workDetailsUrl' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'appTracks' attribute was set.
appTracks' attribute was set.
|
inline |
Determine if the 'appVersion' attribute was set.
appVersion' attribute was set.
|
inline |
Determine if the 'authorName' attribute was set.
authorName' attribute was set.
|
inline |
Determine if the 'availableCountries' attribute was set.
availableCountries' attribute was set.
|
inline |
Determine if the 'availableTracks' attribute was set.
availableTracks' attribute was set.
|
inline |
Determine if the 'category' attribute was set.
category' attribute was set.
|
inline |
Determine if the 'contentRating' attribute was set.
contentRating' attribute was set.
|
inline |
Determine if the 'description' attribute was set.
description' attribute was set.
|
inline |
Determine if the 'detailsUrl' attribute was set.
detailsUrl' attribute was set.
|
inline |
Determine if the 'distributionChannel' attribute was set.
distributionChannel' attribute was set.
|
inline |
Determine if the 'features' attribute was set.
features' attribute was set.
|
inline |
Determine if the 'iconUrl' attribute was set.
iconUrl' attribute was set.
|
inline |
Determine if the 'kind' attribute was set.
kind' attribute was set.
|
inline |
Determine if the 'lastUpdatedTimestampMillis' attribute was set.
lastUpdatedTimestampMillis' attribute was set.
|
inline |
Determine if the 'minAndroidSdkVersion' attribute was set.
minAndroidSdkVersion' attribute was set.
|
inline |
Determine if the 'permissions' attribute was set.
permissions' attribute was set.
|
inline |
Determine if the 'productId' attribute was set.
productId' attribute was set.
|
inline |
Determine if the 'productPricing' attribute was set.
productPricing' attribute was set.
|
inline |
Determine if the 'recentChanges' attribute was set.
recentChanges' attribute was set.
|
inline |
Determine if the 'requiresContainerApp' attribute was set.
requiresContainerApp' attribute was set.
|
inline |
Determine if the 'screenshotUrls' attribute was set.
screenshotUrls' attribute was set.
|
inline |
Determine if the 'signingCertificate' attribute was set.
signingCertificate' attribute was set.
|
inline |
Determine if the 'smallIconUrl' attribute was set.
smallIconUrl' attribute was set.
|
inline |
Determine if the 'title' attribute was set.
title' attribute was set.
|
inline |
Determine if the 'workDetailsUrl' attribute was set.
workDetailsUrl' attribute was set. | client::JsonCppArray<TrackInfo > google_androidenterprise_api::Product::mutable_appTracks | ( | ) |
Gets a reference to a mutable value of the 'appTracks' property.
The tracks visible to the enterprise.
| client::JsonCppArray<AppVersion > google_androidenterprise_api::Product::mutable_appVersion | ( | ) |
Gets a reference to a mutable value of the 'appVersion' property.
App versions currently available for this product.
|
inline |
Gets a reference to a mutable value of the 'availableCountries' property.
The countries which this app is available in.
|
inline |
Gets a reference to a mutable value of the 'availableTracks' property.
Deprecated, use appTracks instead.
|
inline |
Gets a reference to a mutable value of the 'features' property.
Noteworthy features (if any) of this product.
| client::JsonCppArray<ProductPermission > google_androidenterprise_api::Product::mutable_permissions | ( | ) |
Gets a reference to a mutable value of the 'permissions' property.
A list of permissions required by the app.
|
inline |
Gets a reference to a mutable value of the 'screenshotUrls' property.
A list of screenshot links representing the app.
| ProductSigningCertificate google_androidenterprise_api::Product::mutable_signingCertificate | ( | ) |
Gets a reference to a mutable value of the 'signingCertificate' property.
The certificate used to sign this product.
|
static |
Creates a new default instance.
|
inline |
Change the 'authorName' attribute.
The name of the author of the product (for example, the app developer).
| [in] | value | The new value. |
|
inline |
Change the 'category' attribute.
The app category (e.g. RACING, SOCIAL, etc.).
| [in] | value | The new value. |
|
inline |
Change the 'contentRating' attribute.
The content rating for this app.
| [in] | value | The new value. |
|
inline |
Change the 'description' attribute.
The localized promotional description, if available.
| [in] | value | The new value. |
|
inline |
Change the 'detailsUrl' attribute.
A link to the (consumer) Google Play details page for the product.
| [in] | value | The new value. |
|
inline |
Change the 'distributionChannel' attribute.
How and to whom the package is made available. The value publicGoogleHosted means that the package is available through the Play store and not restricted to a specific enterprise. The value privateGoogleHosted means that the package is a private app (restricted to an enterprise) but hosted by Google. The value privateSelfHosted means that the package is a private app (restricted to an enterprise) and is privately hosted.
| [in] | value | The new value. |
|
inline |
Change the 'iconUrl' attribute.
A link to an image that can be used as an icon for the product. This image is suitable for use at up to 512px x 512px.
| [in] | value | The new value. |
|
inline |
Change the 'kind' attribute.
| [in] | value | The new value. |
|
inline |
Change the 'lastUpdatedTimestampMillis' attribute.
The approximate time (within 7 days) the app was last published, expressed in milliseconds since epoch.
| [in] | value | The new value. |
|
inline |
Change the 'minAndroidSdkVersion' attribute.
The minimum Android SDK necessary to run the app.
| [in] | value | The new value. |
|
inline |
Change the 'productId' attribute.
A string of the form app:. For example, app:com.google.android.gm represents the Gmail app.
| [in] | value | The new value. |
|
inline |
Change the 'productPricing' attribute.
Whether this product is free, free with in-app purchases, or paid. If the pricing is unknown, this means the product is not generally available anymore (even though it might still be available to people who own it).
| [in] | value | The new value. |
|
inline |
Change the 'recentChanges' attribute.
A description of the recent changes made to the app.
| [in] | value | The new value. |
|
inline |
Change the 'requiresContainerApp' attribute.
Deprecated.
| [in] | value | The new value. |
|
inline |
Change the 'smallIconUrl' attribute.
A link to a smaller image that can be used as an icon for the product. This image is suitable for use at up to 128px x 128px.
| [in] | value | The new value. |
|
inline |
Change the 'title' attribute.
The name of the product.
| [in] | value | The new value. |
|
inline |
Change the 'workDetailsUrl' attribute.
A link to the managed Google Play details page for the product, for use by an Enterprise admin.
| [in] | value | The new value. |