androidenterprise
v1
|
#include <web_app.h>
Public Member Functions | |
WebApp (const Json::Value &storage) | |
WebApp (Json::Value *storage) | |
virtual | ~WebApp () |
const StringPiece | GetTypeName () const |
bool | has_display_mode () const |
void | clear_display_mode () |
const StringPiece | get_display_mode () const |
void | set_display_mode (const StringPiece &value) |
bool | has_icons () const |
void | clear_icons () |
const client::JsonCppArray< WebAppIcon > | get_icons () const |
client::JsonCppArray< WebAppIcon > | mutable_icons () |
bool | has_is_published () const |
void | clear_is_published () |
bool | get_is_published () const |
void | set_is_published (bool value) |
bool | has_start_url () const |
void | clear_start_url () |
const StringPiece | get_start_url () const |
void | set_start_url (const StringPiece &value) |
bool | has_title () const |
void | clear_title () |
const StringPiece | get_title () const |
void | set_title (const StringPiece &value) |
bool | has_version_code () const |
void | clear_version_code () |
int64 | get_version_code () const |
void | set_version_code (int64 value) |
bool | has_web_app_id () const |
void | clear_web_app_id () |
const StringPiece | get_web_app_id () const |
void | set_web_app_id (const StringPiece &value) |
Static Public Member Functions | |
static WebApp * | New () |
A WebApps resource represents a web app created for an enterprise. Web apps are published to managed Google Play and can be distributed like other Android apps. On a user's device, a web app opens its specified URL.
|
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 'displayMode
' attribute.
|
inline |
Clears the 'icons
' attribute.
|
inline |
Clears the 'isPublished
' attribute.
|
inline |
Clears the 'startUrl
' attribute.
|
inline |
Clears the 'title
' attribute.
|
inline |
Clears the 'versionCode
' attribute.
|
inline |
Clears the 'webAppId
' attribute.
|
inline |
Get the value of the 'displayMode
' attribute.
const client::JsonCppArray<WebAppIcon > google_androidenterprise_api::WebApp::get_icons | ( | ) | const |
Get a reference to the value of the 'icons
' attribute.
|
inline |
Get the value of the 'isPublished
' attribute.
|
inline |
Get the value of the 'startUrl
' attribute.
|
inline |
Get the value of the 'title
' attribute.
|
inline |
Get the value of the 'versionCode
' attribute.
|
inline |
Get the value of the 'webAppId
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'displayMode
' attribute was set.
displayMode
' attribute was set.
|
inline |
Determine if the 'icons
' attribute was set.
icons
' attribute was set.
|
inline |
Determine if the 'isPublished
' attribute was set.
isPublished
' attribute was set.
|
inline |
Determine if the 'startUrl
' attribute was set.
startUrl
' attribute was set.
|
inline |
Determine if the 'title
' attribute was set.
title
' attribute was set.
|
inline |
Determine if the 'versionCode
' attribute was set.
versionCode
' attribute was set.
|
inline |
Determine if the 'webAppId
' attribute was set.
webAppId
' attribute was set. client::JsonCppArray<WebAppIcon > google_androidenterprise_api::WebApp::mutable_icons | ( | ) |
Gets a reference to a mutable value of the 'icons
' property.
A list of icons representing this website. If absent, a default icon (for create) or the current icon (for update) will be used.
|
static |
Creates a new default instance.
|
inline |
Change the 'displayMode
' attribute.
The display mode of the web app.
Possible values include:
[in] | value | The new value. |
|
inline |
Change the 'isPublished
' attribute.
A flag whether the app has been published to the Play store yet.
[in] | value | The new value. |
|
inline |
Change the 'startUrl
' attribute.
The start URL, i.e. the URL that should load when the user opens the application.
[in] | value | The new value. |
|
inline |
Change the 'title
' attribute.
The title of the web app as displayed to the user (e.g., amongst a list of other applications, or as a label for an icon).
[in] | value | The new value. |
|
inline |
Change the 'versionCode
' attribute.
The current version of the app.
Note that the version can automatically increase during the lifetime of the web app, while Google does internal housekeeping to keep the web app up-to- date.
[in] | value | The new value. |
|
inline |
Change the 'webAppId
' attribute.
The ID of the application. A string of the form "app:" where the package name always starts with the prefix "com.google.enterprise.webapp." followed by a random id.
[in] | value | The new value. |