#include <license_assignment.h>
Representation of a license assignment.
◆ LicenseAssignment() [1/2]
google_licensing_api::LicenseAssignment::LicenseAssignment |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~LicenseAssignment()
google_licensing_api::LicenseAssignment::~LicenseAssignment |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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()
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
-
◆ set_kind()
void google_licensing_api::LicenseAssignment::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind
' attribute.
Identifies the resource as a LicenseAssignment.
- Parameters
-
◆ 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
-
◆ 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
-
◆ set_self_link()
void google_licensing_api::LicenseAssignment::set_self_link |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'selfLink
' attribute.
Link to this page.
- Parameters
-
◆ 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
-
◆ 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
-
◆ 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
-
The documentation for this class was generated from the following files: