Package cm_api :: Package endpoints :: Module external_accounts :: Class ApiExternalAccount
[hide private]
[frames] | no frames]

Class ApiExternalAccount

         object --+    
                  |    
types.BaseApiObject --+
                      |
                     ApiExternalAccount

Instance Methods [hide private]
 
__init__(self, resource_root, name=None, displayName=None, typeName=None, accountConfigs=None)
Initializes internal state and sets all known writable properties of the object to None.
 
__str__(self)
Default implementation of __str__.

Inherited from types.BaseApiObject: __setattr__, to_json_dict

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

Class Methods [hide private]

Inherited from types.BaseApiObject: from_json_dict

Inherited from types.BaseApiObject (private): _get_attributes

Static Methods [hide private]

Inherited from types.BaseApiObject: init

Class Variables [hide private]
  _ATTRIBUTES = {'accountConfigs': <cm_api.endpoints.types.Attr ...

Inherited from types.BaseApiObject (private): _WHITELIST

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, resource_root, name=None, displayName=None, typeName=None, accountConfigs=None)
(Constructor)

 

Initializes internal state and sets all known writable properties of the object to None. Then initializes the properties given in the provided attributes dictionary.

Parameters:
  • resource_root - API resource object.
  • attrs - optional dictionary of attributes to set. This should only contain r/w attributes.
Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

 

Default implementation of __str__. Uses the type name and the first attribute retrieved from the attribute map to create the string.

Overrides: object.__str__
(inherited documentation)

Class Variable Details [hide private]

_ATTRIBUTES

Value:
{'accountConfigs': <cm_api.endpoints.types.Attr object at 0x102612c90>\
,
 'createdTime': <cm_api.endpoints.types.ROAttr object at 0x102612b50>,
 'displayName': None,
 'lastModifiedTime': <cm_api.endpoints.types.ROAttr object at 0x102612\
c50>,
 'name': None,
 'typeName': None}