kmip/core/messages/payloads/activate.py
def validate(self):
        """
        Error check the attributes of the ActivateRequestPayload object.
        """
        if self.unique_identifier is not None:
            if not isinstance(self.unique_identifier,
                              attributes.UniqueIdentifier):
                msg = "invalid unique identifier"
                raise TypeError(msg)
def validate(self):
        """
        Error check the attributes of the ActivateRequestPayload object.
        """
        if self.unique_identifier is not None:
            if not isinstance(self.unique_identifier,
                              attributes.UniqueIdentifier):
                msg = "invalid unique identifier"
                raise TypeError(msg)
def validate ( self ) : if self . unique_identifier is not None : if not isinstance ( self . unique_identifier , attributes . UniqueIdentifier ) : msg = "invalid unique identifier" raise TypeError ( msg )
Error check the attributes of the ActivateRequestPayload object.
Error check the attributes of the ActivateRequestPayload object .