BehaviorModelTrainingSummary.fromJson constructor
BehaviorModelTrainingSummary.fromJson(
- Map<String, dynamic> json
)
Implementation
factory BehaviorModelTrainingSummary.fromJson(Map<String, dynamic> json) {
return BehaviorModelTrainingSummary(
behaviorName: json['behaviorName'] as String?,
datapointsCollectionPercentage:
json['datapointsCollectionPercentage'] as double?,
lastModelRefreshDate: timeStampFromJson(json['lastModelRefreshDate']),
modelStatus: (json['modelStatus'] as String?)?.toModelStatus(),
securityProfileName: json['securityProfileName'] as String?,
trainingDataCollectionStartDate:
timeStampFromJson(json['trainingDataCollectionStartDate']),
);
}