reseller  v1
Public Member Functions | Static Public Member Functions | List of all members
google_reseller_api::Seats Class Reference

#include <seats.h>

Inheritance diagram for google_reseller_api::Seats:

Public Member Functions

 Seats (const Json::Value &storage)
 
 Seats (Json::Value *storage)
 
virtual ~Seats ()
 
const StringPiece GetTypeName () const
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_licensed_number_of_seats () const
 
void clear_licensed_number_of_seats ()
 
int32 get_licensed_number_of_seats () const
 
void set_licensed_number_of_seats (int32 value)
 
bool has_maximum_number_of_seats () const
 
void clear_maximum_number_of_seats ()
 
int32 get_maximum_number_of_seats () const
 
void set_maximum_number_of_seats (int32 value)
 
bool has_number_of_seats () const
 
void clear_number_of_seats ()
 
int32 get_number_of_seats () const
 
void set_number_of_seats (int32 value)
 

Static Public Member Functions

static SeatsNew ()
 

Detailed Description

JSON template for subscription seats.

Constructor & Destructor Documentation

◆ Seats() [1/2]

google_reseller_api::Seats::Seats ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ Seats() [2/2]

google_reseller_api::Seats::Seats ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~Seats()

google_reseller_api::Seats::~Seats ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_kind()

void google_reseller_api::Seats::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_licensed_number_of_seats()

void google_reseller_api::Seats::clear_licensed_number_of_seats ( )
inline

Clears the 'licensedNumberOfSeats' attribute.

◆ clear_maximum_number_of_seats()

void google_reseller_api::Seats::clear_maximum_number_of_seats ( )
inline

Clears the 'maximumNumberOfSeats' attribute.

◆ clear_number_of_seats()

void google_reseller_api::Seats::clear_number_of_seats ( )
inline

Clears the 'numberOfSeats' attribute.

◆ get_kind()

const StringPiece google_reseller_api::Seats::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_licensed_number_of_seats()

int32 google_reseller_api::Seats::get_licensed_number_of_seats ( ) const
inline

Get the value of the 'licensedNumberOfSeats' attribute.

◆ get_maximum_number_of_seats()

int32 google_reseller_api::Seats::get_maximum_number_of_seats ( ) const
inline

Get the value of the 'maximumNumberOfSeats' attribute.

◆ get_number_of_seats()

int32 google_reseller_api::Seats::get_number_of_seats ( ) const
inline

Get the value of the 'numberOfSeats' attribute.

◆ GetTypeName()

const StringPiece google_reseller_api::Seats::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_reseller_api::Seats

◆ has_kind()

bool google_reseller_api::Seats::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_licensed_number_of_seats()

bool google_reseller_api::Seats::has_licensed_number_of_seats ( ) const
inline

Determine if the 'licensedNumberOfSeats' attribute was set.

Returns
true if the 'licensedNumberOfSeats' attribute was set.

◆ has_maximum_number_of_seats()

bool google_reseller_api::Seats::has_maximum_number_of_seats ( ) const
inline

Determine if the 'maximumNumberOfSeats' attribute was set.

Returns
true if the 'maximumNumberOfSeats' attribute was set.

◆ has_number_of_seats()

bool google_reseller_api::Seats::has_number_of_seats ( ) const
inline

Determine if the 'numberOfSeats' attribute was set.

Returns
true if the 'numberOfSeats' attribute was set.

◆ New()

Seats * google_reseller_api::Seats::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kind()

void google_reseller_api::Seats::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

Identifies the resource as a subscription seat setting. Value: subscriptions::seats.

Parameters
[in]valueThe new value.

◆ set_licensed_number_of_seats()

void google_reseller_api::Seats::set_licensed_number_of_seats ( int32  value)
inline

Change the 'licensedNumberOfSeats' attribute.

Read-only field containing the current number of users that are assigned a license for the product defined in skuId. This field's value is equivalent to the numerical count of users returned by the Enterprise License Manager API method: listForProductAndSku.

Parameters
[in]valueThe new value.

◆ set_maximum_number_of_seats()

void google_reseller_api::Seats::set_maximum_number_of_seats ( int32  value)
inline

Change the 'maximumNumberOfSeats' attribute.

This is a required property and is exclusive to subscriptions with FLEXIBLE or TRIAL plans. This property sets the maximum number of licensed users allowed on a subscription. This quantity can be increased up to the maximum limit defined in the reseller's contract. The minimum quantity is the current number of users in the customer account. Note: G Suite subscriptions automatically assign a license to every user.

Parameters
[in]valueThe new value.

◆ set_number_of_seats()

void google_reseller_api::Seats::set_number_of_seats ( int32  value)
inline

Change the 'numberOfSeats' attribute.

This is a required property and is exclusive to subscriptions with ANNUAL_MONTHLY_PAY and ANNUAL_YEARLY_PAY plans. This property sets the maximum number of licenses assignable to users on a subscription. The reseller can add more licenses, but once set, the numberOfSeats cannot be reduced until renewal. The reseller is invoiced based on the numberOfSeats value regardless of how many of these user licenses are assigned. Note: G Suite subscriptions automatically assign a license to every user.

Parameters
[in]valueThe new value.

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