def from_dict(cls, dikt) -> "HighScore": """Returns the dict as a model :param dikt: A dict. :type: dict :return: The HighScore of this HighScore. # noqa: E501 :rtype: HighScore """ return util.deserialize_model(dikt, cls)
def from_dict(cls, dikt) -> "FinishedGame": """Returns the dict as a model :param dikt: A dict. :type: dict :return: The FinishedGame of this FinishedGame. # noqa: E501 :rtype: FinishedGame """ return util.deserialize_model(dikt, cls)
def from_dict(cls, dikt) -> "Error": """Returns the dict as a model :param dikt: A dict. :type: dict :return: The Error of this Error. # noqa: E501 :rtype: Error """ return util.deserialize_model(dikt, cls)
def from_dict(cls: typing.Type[T], dikt) -> T: """Returns the dict as a model""" return util.deserialize_model(dikt, cls)