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

#include <disks_scoped_list.h>

Inheritance diagram for google_compute_api::DisksScopedList:

Classes

class  DisksScopedListWarning
 

Public Member Functions

 DisksScopedList (const Json::Value &storage)
 
 DisksScopedList (Json::Value *storage)
 
virtual ~DisksScopedList ()
 
const StringPiece GetTypeName () const
 
bool has_disks () const
 
void clear_disks ()
 
const client::JsonCppArray< Diskget_disks () const
 
client::JsonCppArray< Diskmutable_disks ()
 
bool has_warning () const
 
void clear_warning ()
 
const DisksScopedListWarning get_warning () const
 
DisksScopedListWarning mutable_warning ()
 

Static Public Member Functions

static DisksScopedListNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ DisksScopedList() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ DisksScopedList() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~DisksScopedList()

google_compute_api::DisksScopedList::~DisksScopedList ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_disks()

void google_compute_api::DisksScopedList::clear_disks ( )
inline

Clears the 'disks' attribute.

◆ clear_warning()

void google_compute_api::DisksScopedList::clear_warning ( )
inline

Clears the 'warning' attribute.

◆ get_disks()

const client::JsonCppArray<Disk > google_compute_api::DisksScopedList::get_disks ( ) const

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

◆ get_warning()

const DisksScopedListWarning google_compute_api::DisksScopedList::get_warning ( ) const
inline

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_compute_api::DisksScopedList

◆ has_disks()

bool google_compute_api::DisksScopedList::has_disks ( ) const
inline

Determine if the 'disks' attribute was set.

Returns
true if the 'disks' attribute was set.

◆ has_warning()

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

Determine if the 'warning' attribute was set.

Returns
true if the 'warning' attribute was set.

◆ mutable_disks()

client::JsonCppArray<Disk > google_compute_api::DisksScopedList::mutable_disks ( )

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

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

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

◆ mutable_warning()

DisksScopedListWarning google_compute_api::DisksScopedList::mutable_warning ( )
inline

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

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

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

◆ New()

DisksScopedList * google_compute_api::DisksScopedList::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: