Example #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)
Example #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)
Example #3
0
    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)
Example #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)
Example #5
0
 def from_dict(cls: typing.Type[T], dikt) -> T:
     """Returns the dict as a model"""
     return util.deserialize_model(dikt, cls)