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

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

        :param dikt: A dict.
        :type: dict
        :return: The ImageUpload of this ImageUpload.  # noqa: E501
        :rtype: ImageUpload
        """
        return util.deserialize_model(dikt, cls)
예제 #3
0
파일: user.py 프로젝트: verifid/vl
    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: typing.Type[T], dikt) -> T:
     """Returns the dict as a model"""
     return util.deserialize_model(dikt, cls)