示例#1
0
    def from_dict(cls, dikt) -> 'Link':
        """Returns the dict as a model

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

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

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

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

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

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

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

        :param dikt: A dict.
        :type: dict
        :return: The MatchingExercise_allOf of this MatchingExerciseAllOf.  # noqa: E501
        :rtype: MatchingExerciseAllOf
        """
        return util.deserialize_model(dikt, cls)
示例#9
0
    def from_dict(cls, dikt) -> 'GraphData':
        """Returns the dict as a model

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

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

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

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

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

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

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

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