Flag#

class Flag(name=None, value=False, *args, **kwargs)#

Bases: object

Many entities in the Nutanix APIs carry flags. This object captures all the flags associated with that entity through this object. The field that hosts this type of object must have an attribute called x-bounded-map-keys that tells which flags are actually present for that entity.

Parameters:
  • name (min=3 chars, max=128 chars) – (name) Name of the flag.

  • value – (value) Value of the flag. (Default False)

property name#

Name of the flag.

Type:

str

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model

property value#

Value of the flag.

Type:

bool