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

#include <app_version.h>

Inheritance diagram for google_androidenterprise_api::AppVersion:

Public Member Functions

 AppVersion (const Json::Value &storage)
 
 AppVersion (Json::Value *storage)
 
virtual ~AppVersion ()
 
const StringPiece GetTypeName () const
 
bool has_is_production () const
 
void clear_is_production ()
 
bool get_is_production () const
 
void set_is_production (bool value)
 
bool has_track () const
 
void clear_track ()
 
const StringPiece get_track () const
 
void set_track (const StringPiece &value)
 
bool has_track_id () const
 
void clear_track_id ()
 
const client::JsonCppArray< string > get_track_id () const
 
client::JsonCppArray< string > mutable_trackId ()
 
bool has_version_code () const
 
void clear_version_code ()
 
int32 get_version_code () const
 
void set_version_code (int32 value)
 
bool has_version_string () const
 
void clear_version_string ()
 
const StringPiece get_version_string () const
 
void set_version_string (const StringPiece &value)
 

Static Public Member Functions

static AppVersionNew ()
 

Detailed Description

This represents a single version of the app.

Constructor & Destructor Documentation

◆ AppVersion() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ AppVersion() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~AppVersion()

google_androidenterprise_api::AppVersion::~AppVersion ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_is_production()

void google_androidenterprise_api::AppVersion::clear_is_production ( )
inline

Clears the 'isProduction' attribute.

◆ clear_track()

void google_androidenterprise_api::AppVersion::clear_track ( )
inline

Clears the 'track' attribute.

◆ clear_track_id()

void google_androidenterprise_api::AppVersion::clear_track_id ( )
inline

Clears the 'trackId' attribute.

◆ clear_version_code()

void google_androidenterprise_api::AppVersion::clear_version_code ( )
inline

Clears the 'versionCode' attribute.

◆ clear_version_string()

void google_androidenterprise_api::AppVersion::clear_version_string ( )
inline

Clears the 'versionString' attribute.

◆ get_is_production()

bool google_androidenterprise_api::AppVersion::get_is_production ( ) const
inline

Get the value of the 'isProduction' attribute.

◆ get_track()

const StringPiece google_androidenterprise_api::AppVersion::get_track ( ) const
inline

Get the value of the 'track' attribute.

◆ get_track_id()

const client::JsonCppArray<string > google_androidenterprise_api::AppVersion::get_track_id ( ) const
inline

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

◆ get_version_code()

int32 google_androidenterprise_api::AppVersion::get_version_code ( ) const
inline

Get the value of the 'versionCode' attribute.

◆ get_version_string()

const StringPiece google_androidenterprise_api::AppVersion::get_version_string ( ) const
inline

Get the value of the 'versionString' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_androidenterprise_api::AppVersion

◆ has_is_production()

bool google_androidenterprise_api::AppVersion::has_is_production ( ) const
inline

Determine if the 'isProduction' attribute was set.

Returns
true if the 'isProduction' attribute was set.

◆ has_track()

bool google_androidenterprise_api::AppVersion::has_track ( ) const
inline

Determine if the 'track' attribute was set.

Returns
true if the 'track' attribute was set.

◆ has_track_id()

bool google_androidenterprise_api::AppVersion::has_track_id ( ) const
inline

Determine if the 'trackId' attribute was set.

Returns
true if the 'trackId' attribute was set.

◆ has_version_code()

bool google_androidenterprise_api::AppVersion::has_version_code ( ) const
inline

Determine if the 'versionCode' attribute was set.

Returns
true if the 'versionCode' attribute was set.

◆ has_version_string()

bool google_androidenterprise_api::AppVersion::has_version_string ( ) const
inline

Determine if the 'versionString' attribute was set.

Returns
true if the 'versionString' attribute was set.

◆ mutable_trackId()

client::JsonCppArray<string > google_androidenterprise_api::AppVersion::mutable_trackId ( )
inline

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

Track ids that the app version is published in. Replaces the track field (deprecated), but doesn't include the production track (see isProduction instead).

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

◆ New()

AppVersion * google_androidenterprise_api::AppVersion::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_is_production()

void google_androidenterprise_api::AppVersion::set_is_production ( bool  value)
inline

Change the 'isProduction' attribute.

True if this version is a production APK.

Parameters
[in]valueThe new value.

◆ set_track()

void google_androidenterprise_api::AppVersion::set_track ( const StringPiece &  value)
inline

Change the 'track' attribute.

Deprecated:

Deprecated, use trackId instead.

Parameters
[in]valueThe new value.

◆ set_version_code()

void google_androidenterprise_api::AppVersion::set_version_code ( int32  value)
inline

Change the 'versionCode' attribute.

Unique increasing identifier for the app version.

Parameters
[in]valueThe new value.

◆ set_version_string()

void google_androidenterprise_api::AppVersion::set_version_string ( const StringPiece &  value)
inline

Change the 'versionString' attribute.

The string used in the Play store by the app developer to identify the version. The string is not necessarily unique or localized (for example, the string could be "1.4").

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: