Beispiel #1
0
    def from_dict(cls, dikt) -> 'AggregateRating':
        """Returns the dict as a model

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

        :param dikt: A dict.
        :type: dict
        :return: The TokenAssociations of this TokenAssociations.  # noqa: E501
        :rtype: TokenAssociations
        """
        return util.deserialize_model(dikt, cls)
Beispiel #3
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)
Beispiel #4
0
    def from_dict(cls, dikt) -> 'AlignmentObject':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The AlignmentObject of this AlignmentObject.  # noqa: E501
        :rtype: AlignmentObject
        """
        return util.deserialize_model(dikt, cls)
Beispiel #5
0
 def from_dict(cls: typing.Type[T], dikt) -> T:
     """Returns the dict as a model"""
     return util.deserialize_model(dikt, cls)