code: @ApiModelProperty(hidden=true)
      public static Display getDisplay(String option) {
          if ("Optional".equals(option))
              return Display.Optional;
          else if ("Required".equals(option))
              return Display.Required;
          else if ("Read Only".equals(option))
              return Display.ReadOnly;
          else if ("Hidden".equals(option))
              return Display.Hidden;
          else
              return null;
      }
docs: Maps Designer display option to Display type.