androidenterprise
v1
|
#include <permission.h>
Public Member Functions | |
Permission (const Json::Value &storage) | |
Permission (Json::Value *storage) | |
virtual | ~Permission () |
const StringPiece | GetTypeName () const |
bool | has_description () const |
void | clear_description () |
const StringPiece | get_description () const |
void | set_description (const StringPiece &value) |
bool | has_kind () const |
void | clear_kind () |
const StringPiece | get_kind () const |
void | set_kind (const StringPiece &value) |
bool | has_name () const |
void | clear_name () |
const StringPiece | get_name () const |
void | set_name (const StringPiece &value) |
bool | has_permission_id () const |
void | clear_permission_id () |
const StringPiece | get_permission_id () const |
void | set_permission_id (const StringPiece &value) |
Static Public Member Functions | |
static Permission * | New () |
A Permissions resource represents some extra capability, to be granted to an Android app, which requires explicit consent. An enterprise admin must consent to these permissions on behalf of their users before an entitlement for the app can be created.
The permissions collection is read-only. The information provided for each permission (localized name and description) is intended to be used in the MDM user interface when obtaining consent from the enterprise.
|
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 'description
' attribute.
|
inline |
Clears the 'kind
' attribute.
|
inline |
Clears the 'name
' attribute.
|
inline |
Clears the 'permissionId
' attribute.
|
inline |
Get the value of the 'description
' attribute.
|
inline |
Get the value of the 'kind
' attribute.
|
inline |
Get the value of the 'name
' attribute.
|
inline |
Get the value of the 'permissionId
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'description
' attribute was set.
description
' attribute was set.
|
inline |
Determine if the 'kind
' attribute was set.
kind
' attribute was set.
|
inline |
Determine if the 'name
' attribute was set.
name
' attribute was set.
|
inline |
Determine if the 'permissionId
' attribute was set.
permissionId
' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'description
' attribute.
A longer description of the Permissions resource, giving more details of what it affects.
[in] | value | The new value. |
|
inline |
Change the 'kind
' attribute.
[in] | value | The new value. |
|
inline |
Change the 'name
' attribute.
The name of the permission.
[in] | value | The new value. |
|
inline |
Change the 'permissionId
' attribute.
An opaque string uniquely identifying the permission.
[in] | value | The new value. |