コード例 #1
0
    def from_dict(cls, dikt) -> 'DocumentSets':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The documentSets of this DocumentSets.  # noqa: E501
        :rtype: DocumentSets
        """
        return util.deserialize_model(dikt, cls)
コード例 #2
0
    def from_dict(cls, dikt) -> 'SensitiveSections':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The sensitiveSections of this SensitiveSections.  # noqa: E501
        :rtype: SensitiveSections
        """
        return util.deserialize_model(dikt, cls)
コード例 #3
0
    def from_dict(cls, dikt) -> 'TextContent':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The textContent of this TextContent.  # noqa: E501
        :rtype: TextContent
        """
        return util.deserialize_model(dikt, cls)
コード例 #4
0
    def from_dict(cls, dikt) -> 'PredictedClassification':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The predictedClassification of this PredictedClassification.  # noqa: E501
        :rtype: PredictedClassification
        """
        return util.deserialize_model(dikt, cls)
コード例 #5
0
    def from_dict(cls, dikt) -> 'FeatureAllOf':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The feature_allOf of this FeatureAllOf.  # noqa: E501
        :rtype: FeatureAllOf
        """
        return util.deserialize_model(dikt, cls)
コード例 #6
0
    def from_dict(cls, dikt) -> 'HttpStatus':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The httpStatus of this HttpStatus.  # noqa: E501
        :rtype: HttpStatus
        """
        return util.deserialize_model(dikt, cls)
コード例 #7
0
 def from_dict(cls: typing.Type[T], dikt) -> T:
     """Returns the dict as a model"""
     return util.deserialize_model(dikt, cls)