Пример #1
0
    def from_dict(cls, dikt) -> 'Exposure':
        """Returns the dict as a model

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

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

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

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

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

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

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

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