androidenterprise
v1
|
#include <product_permission.h>
Public Member Functions | |
ProductPermission (const Json::Value &storage) | |
ProductPermission (Json::Value *storage) | |
virtual | ~ProductPermission () |
const StringPiece | GetTypeName () const |
bool | has_permission_id () const |
void | clear_permission_id () |
const StringPiece | get_permission_id () const |
void | set_permission_id (const StringPiece &value) |
bool | has_state () const |
void | clear_state () |
const StringPiece | get_state () const |
void | set_state (const StringPiece &value) |
Static Public Member Functions | |
static ProductPermission * | New () |
A product permissions resource represents the set of permissions required by a specific app and whether or not they have been accepted by an enterprise admin.
The API can be used to read the set of permissions, and also to update the set to indicate that permissions have been accepted.
|
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 'permissionId
' attribute.
|
inline |
Clears the 'state
' attribute.
|
inline |
Get the value of the 'permissionId
' attribute.
|
inline |
Get the value of the 'state
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'permissionId
' attribute was set.
permissionId
' attribute was set.
|
inline |
Determine if the 'state
' attribute was set.
state
' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'permissionId
' attribute.
An opaque string uniquely identifying the permission.
[in] | value | The new value. |
|
inline |
Change the 'state
' attribute.
Whether the permission has been accepted or not.
[in] | value | The new value. |