Package pywbem :: Module cim_obj :: Class CIMMethod
[frames] | no frames]

Class CIMMethod

source code

                   object --+    
                            |    
cim_types._CIMComparisonMixin --+
                                |
                               CIMMethod

A CIM method.
Instance Methods
 
__init__(self, methodname, return_type=None, parameters={}, class_origin=None, propagated=False, qualifiers={})
Initialize the CIMMethod object.
source code
 
copy(self)
Return copy of the CIMMethod object
source code
 
tocimxml(self)
Return string containing CIM/XML representation of CIMMethod object
source code
 
__repr__(self)
repr(x)
source code
 
tomof(self)
Return string MOF representation of the CIMMethod object
source code

Inherited from cim_types._CIMComparisonMixin: __eq__, __ge__, __gt__, __le__, __lt__, __ne__

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

Instance Variables
  ...
All parameters of __init__ are set as instance variables.
Properties

Inherited from object: __class__

Method Details

__init__(self, methodname, return_type=None, parameters={}, class_origin=None, propagated=False, qualifiers={})
(Constructor)

source code 

Initialize the CIMMethod object.

TODO: add description

Overrides: object.__init__

__repr__(self)
(Representation operator)

source code 
repr(x)
Overrides: object.__repr__
(inherited documentation)