Package cm_api_tests :: Module test_baseapiobject :: Class Child
[hide private]
[frames] | no frames]

Class Child

source code

                          object --+    
                                   |    
cm_api.endpoints.types.BaseApiObject --+
                                       |
                                      Child

Instance Methods [hide private]
 
_get_attributes(self)
Returns a map of property names to attr instances (or None for default attribute behavior) describing the properties of the object.
source code

Inherited from cm_api.endpoints.types.BaseApiObject: __init__, __setattr__, __str__, to_json_dict

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

Class Methods [hide private]

Inherited from cm_api.endpoints.types.BaseApiObject: from_json_dict

Static Methods [hide private]

Inherited from cm_api.endpoints.types.BaseApiObject: init

Class Variables [hide private]
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

_get_attributes(self)

source code 

Returns a map of property names to attr instances (or None for default attribute behavior) describing the properties of the object.

By default, this method will return the class's _ATTRIBUTES field. Classes can override this method to do custom initialization of the attributes when needed.

Overrides: cm_api.endpoints.types.BaseApiObject._get_attributes
(inherited documentation)