toValue method
Implementation
String toValue() {
switch (this) {
case DetectorModelVersionStatus.active:
return 'ACTIVE';
case DetectorModelVersionStatus.activating:
return 'ACTIVATING';
case DetectorModelVersionStatus.inactive:
return 'INACTIVE';
case DetectorModelVersionStatus.deprecated:
return 'DEPRECATED';
case DetectorModelVersionStatus.draft:
return 'DRAFT';
case DetectorModelVersionStatus.paused:
return 'PAUSED';
case DetectorModelVersionStatus.failed:
return 'FAILED';
}
}