mistk.model.server.models.mistk_metric module¶
-
class
mistk.model.server.models.mistk_metric.
MistkMetric
(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 MistkMetric.
The types of assessments this metric can be used for. # noqa: E501
- Returns
The assessment_types of this MistkMetric.
- Return type
List[str]
-
property
data_parameters
¶ Gets the data_parameters of this MistkMetric.
- Returns
The data_parameters of this MistkMetric.
- Return type
-
property
default_args
¶ Gets the default_args of this MistkMetric.
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 MistkMetric.
- Return type
object
-
classmethod
from_dict
(dikt) → mistk.model.server.models.mistk_metric.MistkMetric¶ Returns the dict as a model
- Parameters
dikt – A dict.
- Type
dict
- Returns
The MistkMetric of this MistkMetric. # noqa: E501
- Return type
-
property
implementation_reference
¶ Gets the implementation_reference of this MistkMetric.
- Returns
The implementation_reference of this MistkMetric.
- Return type
-
property
method
¶ Gets the method of this MistkMetric.
The name of the method to be called when applying the metric. # noqa: E501
- Returns
The method of this MistkMetric.
- Return type
str
-
property
object_info
¶ Gets the object_info of this MistkMetric.
- Returns
The object_info of this MistkMetric.
- Return type
-
property
package
¶ Gets the package of this MistkMetric.
The name of the package containing the implementation of this metric. # noqa: E501
- Returns
The package of this MistkMetric.
- Return type
str
-
property
version
¶ Gets the version of this MistkMetric.
The version of this metric # noqa: E501
- Returns
The version of this MistkMetric.
- Return type
str
-
property