예제 #1
0
    def from_dict(cls, dikt) -> 'AgendaEvent':
        """Returns the dict as a model

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

        :param dikt: A dict.
        :type: dict
        :return: The Subject of this Subject.  # noqa: E501
        :rtype: Subject
        """
        return util.deserialize_model(dikt, cls)
예제 #3
0
파일: user.py 프로젝트: cermatej/insis-api
    def from_dict(cls, dikt) -> 'User':
        """Returns the dict as a model

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

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