getArgumentForRequest method

int getArgumentForRequest()

Get the request argument for the option

Implementation

int getArgumentForRequest() {
  switch (this) {
    case EVERYONE_CAN_VOTE:
      return 1;
    case COLLABORATORS_ONLY:
      return 2;
    case OFF:
      return 3;
  }
}