toValue method

String toValue()

Implementation

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