licensing  v1
Public Member Functions | Static Public Member Functions | List of all members
google_licensing_api::LicenseAssignment Class Reference

#include <license_assignment.h>

Inheritance diagram for google_licensing_api::LicenseAssignment:

Public Member Functions

 LicenseAssignment (const Json::Value &storage)
 
 LicenseAssignment (Json::Value *storage)
 
virtual ~LicenseAssignment ()
 
const StringPiece GetTypeName () const
 
bool has_etags () const
 
void clear_etags ()
 
const StringPiece get_etags () const
 
void set_etags (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_product_id () const
 
void clear_product_id ()
 
const StringPiece get_product_id () const
 
void set_product_id (const StringPiece &value)
 
bool has_product_name () const
 
void clear_product_name ()
 
const StringPiece get_product_name () const
 
void set_product_name (const StringPiece &value)
 
bool has_self_link () const
 
void clear_self_link ()
 
const StringPiece get_self_link () const
 
void set_self_link (const StringPiece &value)
 
bool has_sku_id () const
 
void clear_sku_id ()
 
const StringPiece get_sku_id () const
 
void set_sku_id (const StringPiece &value)
 
bool has_sku_name () const
 
void clear_sku_name ()
 
const StringPiece get_sku_name () const
 
void set_sku_name (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 LicenseAssignmentNew ()
 

Detailed Description

Representation of a license assignment.

Constructor & Destructor Documentation

◆ LicenseAssignment() [1/2]

google_licensing_api::LicenseAssignment::LicenseAssignment ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ LicenseAssignment() [2/2]

google_licensing_api::LicenseAssignment::LicenseAssignment ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~LicenseAssignment()

google_licensing_api::LicenseAssignment::~LicenseAssignment ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_etags()

void google_licensing_api::LicenseAssignment::clear_etags ( )
inline

Clears the 'etags' attribute.

◆ clear_kind()

void google_licensing_api::LicenseAssignment::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_product_id()

void google_licensing_api::LicenseAssignment::clear_product_id ( )
inline

Clears the 'productId' attribute.

◆ clear_product_name()

void google_licensing_api::LicenseAssignment::clear_product_name ( )
inline

Clears the 'productName' attribute.

◆ clear_self_link()

void google_licensing_api::LicenseAssignment::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ clear_sku_id()

void google_licensing_api::LicenseAssignment::clear_sku_id ( )
inline

Clears the 'skuId' attribute.

◆ clear_sku_name()

void google_licensing_api::LicenseAssignment::clear_sku_name ( )
inline

Clears the 'skuName' attribute.

◆ clear_user_id()

void google_licensing_api::LicenseAssignment::clear_user_id ( )
inline

Clears the 'userId' attribute.

◆ get_etags()

const StringPiece google_licensing_api::LicenseAssignment::get_etags ( ) const
inline

Get the value of the 'etags' attribute.

◆ get_kind()

const StringPiece google_licensing_api::LicenseAssignment::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_product_id()

const StringPiece google_licensing_api::LicenseAssignment::get_product_id ( ) const
inline

Get the value of the 'productId' attribute.

◆ get_product_name()

const StringPiece google_licensing_api::LicenseAssignment::get_product_name ( ) const
inline

Get the value of the 'productName' attribute.

◆ get_self_link()

const StringPiece google_licensing_api::LicenseAssignment::get_self_link ( ) const
inline

Get the value of the 'selfLink' attribute.

◆ get_sku_id()

const StringPiece google_licensing_api::LicenseAssignment::get_sku_id ( ) const
inline

Get the value of the 'skuId' attribute.

◆ get_sku_name()

const StringPiece google_licensing_api::LicenseAssignment::get_sku_name ( ) const
inline

Get the value of the 'skuName' attribute.

◆ get_user_id()

const StringPiece google_licensing_api::LicenseAssignment::get_user_id ( ) const
inline

Get the value of the 'userId' attribute.

◆ GetTypeName()

const StringPiece google_licensing_api::LicenseAssignment::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_licensing_api::LicenseAssignment

◆ has_etags()

bool google_licensing_api::LicenseAssignment::has_etags ( ) const
inline

Determine if the 'etags' attribute was set.

Returns
true if the 'etags' attribute was set.

◆ has_kind()

bool google_licensing_api::LicenseAssignment::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_product_id()

bool google_licensing_api::LicenseAssignment::has_product_id ( ) const
inline

Determine if the 'productId' attribute was set.

Returns
true if the 'productId' attribute was set.

◆ has_product_name()

bool google_licensing_api::LicenseAssignment::has_product_name ( ) const
inline

Determine if the 'productName' attribute was set.

Returns
true if the 'productName' attribute was set.

◆ has_self_link()

bool google_licensing_api::LicenseAssignment::has_self_link ( ) const
inline

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ has_sku_id()

bool google_licensing_api::LicenseAssignment::has_sku_id ( ) const
inline

Determine if the 'skuId' attribute was set.

Returns
true if the 'skuId' attribute was set.

◆ has_sku_name()

bool google_licensing_api::LicenseAssignment::has_sku_name ( ) const
inline

Determine if the 'skuName' attribute was set.

Returns
true if the 'skuName' attribute was set.

◆ has_user_id()

bool google_licensing_api::LicenseAssignment::has_user_id ( ) const
inline

Determine if the 'userId' attribute was set.

Returns
true if the 'userId' attribute was set.

◆ New()

LicenseAssignment * google_licensing_api::LicenseAssignment::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_etags()

void google_licensing_api::LicenseAssignment::set_etags ( const StringPiece &  value)
inline

Change the 'etags' attribute.

ETag of the resource.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_licensing_api::LicenseAssignment::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

Identifies the resource as a LicenseAssignment.

Parameters
[in]valueThe new value.

◆ set_product_id()

void google_licensing_api::LicenseAssignment::set_product_id ( const StringPiece &  value)
inline

Change the 'productId' attribute.

A product's unique identifier. For more information about products in this version of the API, see Product and SKU IDs.

Parameters
[in]valueThe new value.

◆ set_product_name()

void google_licensing_api::LicenseAssignment::set_product_name ( const StringPiece &  value)
inline

Change the 'productName' attribute.

Display Name of the product.

Parameters
[in]valueThe new value.

◆ set_self_link()

void google_licensing_api::LicenseAssignment::set_self_link ( const StringPiece &  value)
inline

Change the 'selfLink' attribute.

Link to this page.

Parameters
[in]valueThe new value.

◆ set_sku_id()

void google_licensing_api::LicenseAssignment::set_sku_id ( const StringPiece &  value)
inline

Change the 'skuId' attribute.

A product SKU's unique identifier. For more information about available SKUs in this version of the API, see Products and SKUs.

Parameters
[in]valueThe new value.

◆ set_sku_name()

void google_licensing_api::LicenseAssignment::set_sku_name ( const StringPiece &  value)
inline

Change the 'skuName' attribute.

Display Name of the sku of the product.

Parameters
[in]valueThe new value.

◆ set_user_id()

void google_licensing_api::LicenseAssignment::set_user_id ( const StringPiece &  value)
inline

Change the 'userId' attribute.

The user's current primary email address. If the user's email address changes, use the new email address in your API requests. Since a userId is subject to change, do not use a userId value as a key for persistent data. This key could break if the current user's email address changes. If the userId is suspended, the license status changes.

Parameters
[in]valueThe new value.

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