toValue method
Implementation
String toValue() {
switch (this) {
case MatchmakingConfigurationStatus.cancelled:
return 'CANCELLED';
case MatchmakingConfigurationStatus.completed:
return 'COMPLETED';
case MatchmakingConfigurationStatus.failed:
return 'FAILED';
case MatchmakingConfigurationStatus.placing:
return 'PLACING';
case MatchmakingConfigurationStatus.queued:
return 'QUEUED';
case MatchmakingConfigurationStatus.requiresAcceptance:
return 'REQUIRES_ACCEPTANCE';
case MatchmakingConfigurationStatus.searching:
return 'SEARCHING';
case MatchmakingConfigurationStatus.timedOut:
return 'TIMED_OUT';
}
}