code: def _cmp(self, other):
          
  
          if self is other:
              return 0
          try:
              assert isinstance(other, CIMParameter)
          except AssertionError:
              raise TypeError(
                  _format("other must be CIMParameter, but is: {0}",
                          type(other)))
          return (cmpname(self.name, other.name) or
                  cmpitem(self.type, other.type) or
                  cmpname(self.reference_class, other.reference_class) or
                  cmpitem(self.is_array, other.is_array) or
                  cmpitem(self.array_size, other.array_size) or
                  cmpdict(self.qualifiers, other.qualifiers) or
                  cmpitem(self.value, other.value) or
                  cmpitem(self.embedded_object, other.embedded_object))
docs: Comparator function for two :class:`~pywbem.CIMParameter` objects.
  
          The comparison is based on their public attributes, in descending
          precedence:
  
          * `name`
          * `type`
          * `reference_class`
          * `is_array`
          * `array_size`
          * `qualifiers`
          * `value`
          * `embedded_object`
  
          The comparison takes into account any case insensitivities described
          for these attributes.
  
          Raises `TypeError', if the `other` object is not a
          :class:`~pywbem.CIMParameter` object.