Esempio n. 1
0
    def from_dict(cls, dikt) -> 'MistkMetric':
        """Returns the dict as a model

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

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

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

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

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

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