def from_dict(cls, dikt) -> 'CreateCandidate': """Returns the dict as a model :param dikt: A dict. :type: dict :return: The CreateCandidate of this CreateCandidate. # noqa: E501 :rtype: CreateCandidate """ 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, dikt) -> 'Election': """Returns the dict as a model :param dikt: A dict. :type: dict :return: The Election of this Election. # noqa: E501 :rtype: Election """ 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)