mistk.model.server.models.metric module¶
-
class
mistk.model.server.models.metric.
Metric
(object_info: mistk.model.server.models.object_info.ObjectInfo = None, implementation_reference: mistk.model.server.models.object_reference.ObjectReference = None, package: str = None, method: str = None, default_args: object = None, data_parameters: mistk.model.server.models.metric_data_parameters.MetricDataParameters = None, assessment_types: List[str] = None, version: str = None)¶ Bases:
mistk.model.server.models.base_model_.Model
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
-
property
assessment_types
¶ Gets the assessment_types of this Metric.
The types of assessments this metric can be used for. # noqa: E501
- Returns
The assessment_types of this Metric.
- Return type
List[str]
-
property
data_parameters
¶ Gets the data_parameters of this Metric.
- Returns
The data_parameters of this Metric.
- Return type
-
property
default_args
¶ Gets the default_args of this Metric.
The default arguments passed to the method when the metric is called. These can be overwritten when the metric is associated with an assessment. # noqa: E501
- Returns
The default_args of this Metric.
- Return type
object
-
classmethod
from_dict
(dikt) → mistk.model.server.models.metric.Metric¶ Returns the dict as a model
- Parameters
dikt – A dict.
- Type
dict
- Returns
The Metric of this Metric. # noqa: E501
- Return type
-
property
implementation_reference
¶ Gets the implementation_reference of this Metric.
- Returns
The implementation_reference of this Metric.
- Return type
-
property
method
¶ Gets the method of this Metric.
The name of the method to be called when applying the metric. # noqa: E501
- Returns
The method of this Metric.
- Return type
str
-
property
object_info
¶ Gets the object_info of this Metric.
- Returns
The object_info of this Metric.
- Return type
-
property
package
¶ Gets the package of this Metric.
The name of the package containing the implementation of this metric. # noqa: E501
- Returns
The package of this Metric.
- Return type
str
-
property
version
¶ Gets the version of this Metric.
The version of this metric # noqa: E501
- Returns
The version of this Metric.
- Return type
str
-
property