def from_dict(cls, dikt) -> 'QuoteTheme':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The quoteTheme of this QuoteTheme.  # noqa: E501
        :rtype: QuoteTheme
        """
        return util.deserialize_model(dikt, cls)
    def from_dict(cls, dikt) -> 'Protagonist':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The protagonist of this Protagonist.  # noqa: E501
        :rtype: Protagonist
        """
        return util.deserialize_model(dikt, cls)
    def from_dict(cls, dikt) -> 'ReferenceAuthor':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The referenceAuthor of this ReferenceAuthor.  # noqa: E501
        :rtype: ReferenceAuthor
        """
        return util.deserialize_model(dikt, cls)
Esempio n. 4
0
    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) -> 'IngredientInRecepies':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The ingredientInRecepies of this IngredientInRecepies.  # noqa: E501
        :rtype: IngredientInRecepies
        """
        return util.deserialize_model(dikt, cls)
Esempio n. 6
0
    def from_dict(cls, dikt) -> 'Recipes':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The recipes of this Recipes.  # noqa: E501
        :rtype: Recipes
        """
        return util.deserialize_model(dikt, cls)
Esempio n. 7
0
    def from_dict(cls, dikt) -> 'DietUser':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The DietUser of this DietUser.  # noqa: E501
        :rtype: DietUser
        """
        return util.deserialize_model(dikt, cls)
    def from_dict(cls, dikt) -> 'Person':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The person of this Person.  # noqa: E501
        :rtype: Person
        """
        return util.deserialize_model(dikt, cls)
Esempio n. 9
0
    def from_dict(cls, dikt) -> 'Company':
        """Returns the dict as a model

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