toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case GameServerGroupStatus.$new:
      return 'NEW';
    case GameServerGroupStatus.activating:
      return 'ACTIVATING';
    case GameServerGroupStatus.active:
      return 'ACTIVE';
    case GameServerGroupStatus.deleteScheduled:
      return 'DELETE_SCHEDULED';
    case GameServerGroupStatus.deleting:
      return 'DELETING';
    case GameServerGroupStatus.deleted:
      return 'DELETED';
    case GameServerGroupStatus.error:
      return 'ERROR';
  }
}