|
androidenterprise
v1
|
#include <user_token.h>
Public Member Functions | |
| UserToken (const Json::Value &storage) | |
| UserToken (Json::Value *storage) | |
| virtual | ~UserToken () |
| const StringPiece | GetTypeName () const |
| bool | has_kind () const |
| void | clear_kind () |
| const StringPiece | get_kind () const |
| void | set_kind (const StringPiece &value) |
| bool | has_token () const |
| void | clear_token () |
| const StringPiece | get_token () const |
| void | set_token (const StringPiece &value) |
| bool | has_user_id () const |
| void | clear_user_id () |
| const StringPiece | get_user_id () const |
| void | set_user_id (const StringPiece &value) |
Static Public Member Functions | |
| static UserToken * | New () |
A UserToken is used by a user when setting up a managed device or profile with their managed Google Play account on a device. When the user enters their email address and token (activation code) the appropriate EMM app can be automatically downloaded.
|
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 'kind' attribute.
|
inline |
Clears the 'token' attribute.
|
inline |
Clears the 'userId' attribute.
|
inline |
Get the value of the 'kind' attribute.
|
inline |
Get the value of the 'token' attribute.
|
inline |
Get the value of the 'userId' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'kind' attribute was set.
kind' attribute was set.
|
inline |
Determine if the 'token' attribute was set.
token' attribute was set.
|
inline |
Determine if the 'userId' attribute was set.
userId' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'kind' attribute.
| [in] | value | The new value. |
|
inline |
Change the 'token' attribute.
The token (activation code) to be entered by the user. This consists of a sequence of decimal digits. Note that the leading digit may be 0.
| [in] | value | The new value. |
|
inline |
Change the 'userId' attribute.
The unique ID for the user.
| [in] | value | The new value. |