Ejemplo n.º 1
0
    def from_dict(cls, dikt) -> "Origin":
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The Origin of this Origin.  # noqa: E501
        :rtype: Origin
        """
        return util.deserialize_model(dikt, cls)
Ejemplo n.º 2
0
    def from_dict(cls, dikt) -> "ProcedureRequest":
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The procedureRequest of this ProcedureRequest.  # noqa: E501
        :rtype: ProcedureRequest
        """
        return util.deserialize_model(dikt, cls)
Ejemplo n.º 3
0
    def from_dict(cls, dikt) -> "Coordinates":
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The Coordinates of this Coordinates.  # noqa: E501
        :rtype: Coordinates
        """
        return util.deserialize_model(dikt, cls)
Ejemplo n.º 4
0
    def from_dict(cls, dikt) -> "Quantity":
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The Quantity of this Quantity.  # noqa: E501
        :rtype: Quantity
        """
        return util.deserialize_model(dikt, cls)
Ejemplo n.º 5
0
    def from_dict(cls, dikt) -> 'Resolutions':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The Resolutions of this Resolutions.  # noqa: E501
        :rtype: Resolutions
        """
        return util.deserialize_model(dikt, cls)
Ejemplo n.º 6
0
    def from_dict(cls, dikt) -> 'StationId':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The StationId of this StationId.  # noqa: E501
        :rtype: StationId
        """
        return util.deserialize_model(dikt, cls)
Ejemplo n.º 7
0
    def from_dict(cls, dikt) -> 'ObservationTypes':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The ObservationTypes of this ObservationTypes.  # noqa: E501
        :rtype: ObservationTypes
        """
        return util.deserialize_model(dikt, cls)
Ejemplo n.º 8
0
    def from_dict(cls, dikt) -> "Longitude":
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The Longitude of this Longitude.  # noqa: E501
        :rtype: Longitude
        """
        return util.deserialize_model(dikt, cls)
Ejemplo n.º 9
0
    def from_dict(cls, dikt) -> "VehicleCapacity":
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The vehicleCapacity of this VehicleCapacity.  # noqa: E501
        :rtype: VehicleCapacity
        """
        return util.deserialize_model(dikt, cls)
Ejemplo n.º 10
0
    def from_dict(cls, dikt) -> "InvalidUsageError":
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The InvalidUsageError of this InvalidUsageError.  # noqa: E501
        :rtype: InvalidUsageError
        """
        return util.deserialize_model(dikt, cls)
Ejemplo n.º 11
0
    def from_dict(cls, dikt) -> 'Values':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The inline_response_200_1_values of this InlineResponse2001Values.  # noqa: E501
        :rtype: Values
        """
        return util.deserialize_model(dikt, cls)
Ejemplo n.º 12
0
    def from_dict(cls, dikt) -> 'ItemSet':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The ItemSet of this ItemSet.  # noqa: E501
        :rtype: ItemSet
        """
        return util.deserialize_model(dikt, cls)
Ejemplo n.º 13
0
    def from_dict(cls, dikt) -> "SolutionResponse":
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The solutionResponse of this SolutionResponse.  # noqa: E501
        :rtype: SolutionResponse
        """
        return util.deserialize_model(dikt, cls)
Ejemplo n.º 14
0
    def from_dict(cls, dikt) -> "Unit":
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The Unit of this Unit.  # noqa: E501
        :rtype: Unit
        """
        return util.deserialize_model(dikt, cls)
Ejemplo n.º 15
0
    def from_dict(cls, dikt) -> 'BuildInfo':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The BuildInfo of this BuildInfo.
        :rtype: BuildInfo
        """
        return util.deserialize_model(dikt, cls)
Ejemplo n.º 16
0
    def from_dict(cls, dikt) -> "Route":
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The Route of this Route.  # noqa: E501
        :rtype: Route
        """
        return util.deserialize_model(dikt, cls)
Ejemplo n.º 17
0
    def from_dict(cls, dikt) -> 'Response200':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The inline_response_200 of this InlineResponse200.  # noqa: E501
        :rtype: Response200
        """
        return util.deserialize_model(dikt, cls)
Ejemplo n.º 18
0
    def from_dict(cls, dikt) -> "StackID":
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The StackID of this StackID.  # noqa: E501
        :rtype: StackID
        """
        return util.deserialize_model(dikt, cls)
Ejemplo n.º 19
0
    def from_dict(cls, dikt) -> "Demand":
        """Returns the dict as a model

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