analytics
v3
|
#include <user_ref.h>
Public Member Functions | |
UserRef (const Json::Value &storage) | |
UserRef (Json::Value *storage) | |
virtual | ~UserRef () |
const StringPiece | GetTypeName () const |
bool | has_email () const |
void | clear_email () |
const StringPiece | get_email () const |
void | set_email (const StringPiece &value) |
bool | has_id () const |
void | clear_id () |
const StringPiece | get_id () const |
void | set_id (const StringPiece &value) |
bool | has_kind () const |
void | clear_kind () |
const StringPiece | get_kind () const |
void | set_kind (const StringPiece &value) |
Static Public Member Functions | |
static UserRef * | New () |
JSON template for a user reference.
|
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 'email
' attribute.
|
inline |
Clears the 'id
' attribute.
|
inline |
Clears the 'kind
' attribute.
|
inline |
Get the value of the 'email
' attribute.
|
inline |
Get the value of the 'id
' attribute.
|
inline |
Get the value of the 'kind
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'email
' attribute was set.
email
' attribute was set.
|
inline |
Determine if the 'id
' attribute was set.
id
' attribute was set.
|
inline |
Determine if the 'kind
' attribute was set.
kind
' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'email
' attribute.
Email ID of this user.
[in] | value | The new value. |
|
inline |
Change the 'id
' attribute.
User ID.
[in] | value | The new value. |
|
inline |
Change the 'kind
' attribute.
[in] | value | The new value. |