'Use SupportStatus for current status of object.
:param status: current status of object.
:param version: version of OpenStack, from which current status is
valid. It may be None, but need to be defined for correct
doc generating.
:param message: specific status message for object.
:param substitute_class: assign substitute class.'

def __init__(self, status=SUPPORTED, message=None, version=None, previous_status=None, substitute_class=None):

    self.status = status
    self.substitute_class = substitute_class
    self.message = message
    self.version = version
    self.previous_status = previous_status
    self.validate()
