def from_dict(cls, dikt: dict) -> 'KgeMetadata':
        """Returns the dict as a model

        :param dikt: A dict.
        :return: The KgeMetadata of this KgeMetadata.
        """
        return util.deserialize_model(dikt, cls)
Example #2
0
    def from_dict(cls, dikt: dict) -> 'KgeUploadProgressStatusCode':
        """Returns the dict as a model

        :param dikt: A dict.
        :return: The KgeUploadProgressStatusCode of this KgeUploadProgressStatusCode.
        """
        return util.deserialize_model(dikt, cls)
Example #3
0
    def from_dict(cls, dikt: dict) -> 'MetaKnowledgeGraph':
        """Returns the dict as a model

        :param dikt: A dict.
        :return: The MetaKnowledgeGraph of this MetaKnowledgeGraph.
        """
        return util.deserialize_model(dikt, cls)
    def from_dict(cls, dikt: dict) -> 'MetaEdge':
        """Returns the dict as a model

        :param dikt: A dict.
        :return: The MetaEdge of this MetaEdge.
        """
        return util.deserialize_model(dikt, cls)
    def from_dict(cls, dikt: dict) -> 'UploadTokenObject':
        """Returns the dict as a model

        :param dikt: A dict.
        :return: The UploadTokenObject of this UploadTokenObject.
        """
        return util.deserialize_model(dikt, cls)
    def from_dict(cls, dikt: dict) -> 'KgxCompliance':
        """Returns the dict as a model

        :param dikt: A dict.
        :return: The KgxCompliance of this KgxCompliance.
        """
        return util.deserialize_model(dikt, cls)
Example #7
0
    def from_dict(cls, dikt: dict) -> 'KgeFileSetEntry':
        """Returns the dict as a model

        :param dikt: A dict.
        :return: The KgeFileSetEntry of this KgeFileSetEntry.
        """
        return util.deserialize_model(dikt, cls)
Example #8
0
    def from_dict(cls, dikt: dict) -> 'UploadProgressToken':
        """Returns the dict as a model

        :param dikt: A dict.
        :return: The UploadProgressToken of this UploadProgressToken.
        """
        return util.deserialize_model(dikt, cls)
 def from_dict(cls: T, dikt: dict) -> T:
     """Returns the dict as a model"""
     return util.deserialize_model(dikt, cls)