Package ganeti :: Module objects :: Class _QueryResponseBase
[hide private]
[frames] | no frames]

Class _QueryResponseBase

source code


Instance Methods [hide private]
 
ToDict(self, _with_private=False)
Custom function for serializing.
source code

Inherited from ConfigObject: Copy, UpgradeConfig, Validate, __eq__, __getattr__, __getstate__, __repr__, __setstate__

Inherited from outils.ValidatedSlots: __init__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]
 
FromDict(cls, val)
Custom function for de-serializing.
source code

Inherited from outils.ValidatedSlots: GetAllSlots

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

ToDict(self, _with_private=False)

source code 

Custom function for serializing.

Parameters:
  • _with_private - if True, the object will leak its private fields in the dictionary representation. If False, the values will be replaced with None.
Overrides: ConfigObject.ToDict

FromDict(cls, val)
Class Method

source code 

Custom function for de-serializing.

Overrides: ConfigObject.FromDict