code: public static GenderTypeEnumeration fromValue(String value) {
      if (MALE.getValue().equalsIgnoreCase(value)) {
        return MALE;
      }
      else if (FEMALE.getValue().equalsIgnoreCase(value)) {
        return FEMALE;
      }
      else if (UNSPECIFIED.getValue().equalsIgnoreCase(value)) {
        return UNSPECIFIED;
      }
      else {
        return null;
      }
    }
docs: Parses a string into a {@code GenderTypeEnumeration} object.
  
  @param value
  the value to parse
  @return a {@code GenderTypeEnumeration} object