toValue method
Implementation
String toValue() {
switch (this) {
case GameServerProtectionPolicy.noProtection:
return 'NO_PROTECTION';
case GameServerProtectionPolicy.fullProtection:
return 'FULL_PROTECTION';
}
}
String toValue() {
switch (this) {
case GameServerProtectionPolicy.noProtection:
return 'NO_PROTECTION';
case GameServerProtectionPolicy.fullProtection:
return 'FULL_PROTECTION';
}
}