def __init__(self, code=None, message=None):
        super(RevocationReason, self).__init__(tag=Tags.REVOCATION_REASON)
        if code is not None:
            self.revocation_code = RevocationReasonCode(value=code)
        else:
            self.revocation_code = RevocationReasonCode()

        if message is not None:
            self.revocation_message = TextString(
                value=message,
                tag=Tags.REVOCATION_MESSAGE)
        else:
            self.revocation_message = None

        self.validate()
Construct a RevocationReason object.
dataset/ETHPy150Open OpenKMIP/PyKMIP/kmip/core/objects.py/RevocationReason.__init__