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