@@ -16,6 +16,7 @@ enum MDTranscriptionStatus implements MDValueEnumInterface, JsonSerializable {
|
||||
case rough_draft;
|
||||
case quality_control_failed;
|
||||
case quality_control_passed;
|
||||
case reviewed;
|
||||
|
||||
/**
|
||||
* Returns a value of this type based on a string.
|
||||
@@ -32,6 +33,7 @@ enum MDTranscriptionStatus implements MDValueEnumInterface, JsonSerializable {
|
||||
'rough_draft' => self::rough_draft,
|
||||
'quality_control_failed' => self::quality_control_failed,
|
||||
'quality_control_passed' => self::quality_control_passed,
|
||||
'reviewed' => self::reviewed,
|
||||
default => throw new MDpageParameterNotFromListException("Unknown transcript status"),
|
||||
};
|
||||
|
||||
@@ -52,6 +54,7 @@ enum MDTranscriptionStatus implements MDValueEnumInterface, JsonSerializable {
|
||||
3 => self::rough_draft,
|
||||
4 => self::quality_control_failed,
|
||||
5 => self::quality_control_passed,
|
||||
6 => self::reviewed,
|
||||
default => throw new MDpageParameterNotFromListException("Unknown transcript status"),
|
||||
};
|
||||
|
||||
@@ -88,6 +91,7 @@ enum MDTranscriptionStatus implements MDValueEnumInterface, JsonSerializable {
|
||||
self::rough_draft => 3,
|
||||
self::quality_control_failed => 4,
|
||||
self::quality_control_passed => 5,
|
||||
self::reviewed => 6,
|
||||
# default => throw new MDpageParameterNotFromListException("Unknown transcription type"),
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user