def qualifiers(self, qualifiers):
        """Setter method; for a description see the getter method."""
        # We make sure that the dictionary is a NocaseDict object, and that the
        # property values are CIMQualifier objects:
        # pylint: disable=attribute-defined-outside-init
        self._qualifiers = NocaseDict()
        if qualifiers:
            try:
                # This is used for iterables:
                iterator = qualifiers.items()
            except AttributeError:
                # This is used for dictionaries:
                iterator = qualifiers
            for item in iterator:
                if isinstance(item, CIMQualifier):
                    key = item.name
                    value = item
                elif isinstance(item, tuple):
                    key, value = item
                else:
                    raise TypeError(
                        _format("Input object for qualifiers has invalid item "
                                "in iterable: {0!A}", item))
                self.qualifiers[key] = _cim_qualifier(key, value)
def qualifiers ( self , qualifiers ) : self . _qualifiers = NocaseDict ( ) if qualifiers : try : iterator = qualifiers . items ( ) except AttributeError : iterator = qualifiers for item in iterator : if isinstance ( item , CIMQualifier ) : key = item . name value = item elif isinstance ( item , tuple ) : key , value = item else : raise TypeError ( _format ( "Input object for qualifiers has invalid item " "in iterable: {0!A}" , item ) ) self . qualifiers [ key ] = _cim_qualifier ( key , value )
Setter method; for a description see the getter method.