@classmethod
def de_json(cls, json_string):
    """
        Returns an instance of this class from the given json dict or string.

        This function must be overridden by subclasses.
        :return: an instance of this class created from the given json dict or string.
        """
    raise NotImplementedError
