Пример #1
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)
Пример #2
0
    def from_dict(cls, dikt) -> 'Place':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The Place of this Place.  # noqa: E501
        :rtype: Place
        """
        return util.deserialize_model(dikt, cls)
Пример #3
0
    def from_dict(cls, dikt) -> 'ArrayOfDocuments':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The ArrayOfDocuments of this ArrayOfDocuments.  # noqa: E501
        :rtype: ArrayOfDocuments
        """
        return util.deserialize_model(dikt, cls)
Пример #4
0
    def from_dict(cls, dikt) -> 'Document':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The Document of this Document.  # noqa: E501
        :rtype: Document
        """
        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)