compute  v1
Classes | Public Member Functions | Static Public Member Functions | List of all members
google_compute_api::CommitmentsScopedList Class Reference

#include <commitments_scoped_list.h>

Inheritance diagram for google_compute_api::CommitmentsScopedList:

Classes

class  CommitmentsScopedListWarning
 

Public Member Functions

 CommitmentsScopedList (const Json::Value &storage)
 
 CommitmentsScopedList (Json::Value *storage)
 
virtual ~CommitmentsScopedList ()
 
const StringPiece GetTypeName () const
 
bool has_commitments () const
 
void clear_commitments ()
 
const client::JsonCppArray< Commitmentget_commitments () const
 
client::JsonCppArray< Commitmentmutable_commitments ()
 
bool has_warning () const
 
void clear_warning ()
 
const CommitmentsScopedListWarning get_warning () const
 
CommitmentsScopedListWarning mutable_warning ()
 

Static Public Member Functions

static CommitmentsScopedListNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ CommitmentsScopedList() [1/2]

google_compute_api::CommitmentsScopedList::CommitmentsScopedList ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ CommitmentsScopedList() [2/2]

google_compute_api::CommitmentsScopedList::CommitmentsScopedList ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~CommitmentsScopedList()

google_compute_api::CommitmentsScopedList::~CommitmentsScopedList ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_commitments()

void google_compute_api::CommitmentsScopedList::clear_commitments ( )
inline

Clears the 'commitments' attribute.

◆ clear_warning()

void google_compute_api::CommitmentsScopedList::clear_warning ( )
inline

Clears the 'warning' attribute.

◆ get_commitments()

const client::JsonCppArray<Commitment > google_compute_api::CommitmentsScopedList::get_commitments ( ) const

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

◆ get_warning()

const CommitmentsScopedListWarning google_compute_api::CommitmentsScopedList::get_warning ( ) const
inline

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

◆ GetTypeName()

const StringPiece google_compute_api::CommitmentsScopedList::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_compute_api::CommitmentsScopedList

◆ has_commitments()

bool google_compute_api::CommitmentsScopedList::has_commitments ( ) const
inline

Determine if the 'commitments' attribute was set.

Returns
true if the 'commitments' attribute was set.

◆ has_warning()

bool google_compute_api::CommitmentsScopedList::has_warning ( ) const
inline

Determine if the 'warning' attribute was set.

Returns
true if the 'warning' attribute was set.

◆ mutable_commitments()

client::JsonCppArray<Commitment > google_compute_api::CommitmentsScopedList::mutable_commitments ( )

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

[Output Only] A list of commitments contained in this scope.

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

◆ mutable_warning()

CommitmentsScopedListWarning google_compute_api::CommitmentsScopedList::mutable_warning ( )
inline

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

[Output Only] Informational warning which replaces the list of commitments when the list is empty.

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

◆ New()

CommitmentsScopedList * google_compute_api::CommitmentsScopedList::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

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