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

#include <enterprise.h>

Inheritance diagram for google_androidenterprise_api::Enterprise:

Public Member Functions

 Enterprise (const Json::Value &storage)
 
 Enterprise (Json::Value *storage)
 
virtual ~Enterprise ()
 
const StringPiece GetTypeName () const
 
bool has_administrator () const
 
void clear_administrator ()
 
const client::JsonCppArray< Administratorget_administrator () const
 
client::JsonCppArray< Administratormutable_administrator ()
 
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)
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_primary_domain () const
 
void clear_primary_domain ()
 
const StringPiece get_primary_domain () const
 
void set_primary_domain (const StringPiece &value)
 

Static Public Member Functions

static EnterpriseNew ()
 

Detailed Description

An Enterprises resource represents the binding between an EMM and a specific organization. That binding can be instantiated in one of two different ways using this API as follows:

Constructor & Destructor Documentation

◆ Enterprise() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ Enterprise() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~Enterprise()

google_androidenterprise_api::Enterprise::~Enterprise ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_administrator()

void google_androidenterprise_api::Enterprise::clear_administrator ( )
inline

Clears the 'administrator' attribute.

◆ clear_id()

void google_androidenterprise_api::Enterprise::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_androidenterprise_api::Enterprise::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_name()

void google_androidenterprise_api::Enterprise::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_primary_domain()

void google_androidenterprise_api::Enterprise::clear_primary_domain ( )
inline

Clears the 'primaryDomain' attribute.

◆ get_administrator()

const client::JsonCppArray<Administrator > google_androidenterprise_api::Enterprise::get_administrator ( ) const

Get a reference to the value of the 'administrator' attribute.

◆ get_id()

const StringPiece google_androidenterprise_api::Enterprise::get_id ( ) const
inline

Get the value of the 'id' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_name()

const StringPiece google_androidenterprise_api::Enterprise::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ get_primary_domain()

const StringPiece google_androidenterprise_api::Enterprise::get_primary_domain ( ) const
inline

Get the value of the 'primaryDomain' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_androidenterprise_api::Enterprise

◆ has_administrator()

bool google_androidenterprise_api::Enterprise::has_administrator ( ) const
inline

Determine if the 'administrator' attribute was set.

Returns
true if the 'administrator' attribute was set.

◆ has_id()

bool google_androidenterprise_api::Enterprise::has_id ( ) const
inline

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_name()

bool google_androidenterprise_api::Enterprise::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_primary_domain()

bool google_androidenterprise_api::Enterprise::has_primary_domain ( ) const
inline

Determine if the 'primaryDomain' attribute was set.

Returns
true if the 'primaryDomain' attribute was set.

◆ mutable_administrator()

client::JsonCppArray<Administrator > google_androidenterprise_api::Enterprise::mutable_administrator ( )

Gets a reference to a mutable value of the 'administrator' property.

Admins of the enterprise. This is only supported for enterprises created via the EMM-initiated flow.

Returns
The result can be modified to change the attribute value.

◆ New()

Enterprise * google_androidenterprise_api::Enterprise::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_id()

void google_androidenterprise_api::Enterprise::set_id ( const StringPiece &  value)
inline

Change the 'id' attribute.

The unique ID for the enterprise.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

Parameters
[in]valueThe new value.

◆ set_name()

void google_androidenterprise_api::Enterprise::set_name ( const StringPiece &  value)
inline

Change the 'name' attribute.

The name of the enterprise, for example, "Example, Inc".

Parameters
[in]valueThe new value.

◆ set_primary_domain()

void google_androidenterprise_api::Enterprise::set_primary_domain ( const StringPiece &  value)
inline

Change the 'primaryDomain' attribute.

The enterprise's primary domain, such as "example.com".

Parameters
[in]valueThe new value.

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