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

#include <user_token.h>

Inheritance diagram for google_androidenterprise_api::UserToken:

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 UserTokenNew ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ UserToken() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ UserToken() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~UserToken()

google_androidenterprise_api::UserToken::~UserToken ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_kind()

void google_androidenterprise_api::UserToken::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_token()

void google_androidenterprise_api::UserToken::clear_token ( )
inline

Clears the 'token' attribute.

◆ clear_user_id()

void google_androidenterprise_api::UserToken::clear_user_id ( )
inline

Clears the 'userId' attribute.

◆ get_kind()

const StringPiece google_androidenterprise_api::UserToken::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_token()

const StringPiece google_androidenterprise_api::UserToken::get_token ( ) const
inline

Get the value of the 'token' attribute.

◆ get_user_id()

const StringPiece google_androidenterprise_api::UserToken::get_user_id ( ) const
inline

Get the value of the 'userId' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_androidenterprise_api::UserToken

◆ has_kind()

bool google_androidenterprise_api::UserToken::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_token()

bool google_androidenterprise_api::UserToken::has_token ( ) const
inline

Determine if the 'token' attribute was set.

Returns
true if the 'token' attribute was set.

◆ has_user_id()

bool google_androidenterprise_api::UserToken::has_user_id ( ) const
inline

Determine if the 'userId' attribute was set.

Returns
true if the 'userId' attribute was set.

◆ New()

UserToken * google_androidenterprise_api::UserToken::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kind()

void google_androidenterprise_api::UserToken::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

Parameters
[in]valueThe new value.

◆ set_token()

void google_androidenterprise_api::UserToken::set_token ( const StringPiece &  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.

Parameters
[in]valueThe new value.

◆ set_user_id()

void google_androidenterprise_api::UserToken::set_user_id ( const StringPiece &  value)
inline

Change the 'userId' attribute.

The unique ID for the user.

Parameters
[in]valueThe new value.

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