Class Field.Builder

  • Enclosing class:
    Field

    public static final class Field.Builder
    extends java.lang.Object
    • Method Detail

      • id

        public Field.Builder id​(java.lang.String id)
        Unique identifier
      • id

        public Field.Builder id​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
        Unique identifier
      • remoteId

        public Field.Builder remoteId​(java.lang.String remoteId)
        Provider's unique identifier
      • remoteId

        public Field.Builder remoteId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
        Provider's unique identifier
      • label

        public Field.Builder label​(java.lang.String label)
        The label of the field
      • label

        public Field.Builder label​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> label)
        The label of the field
      • type

        public Field.Builder type​(org.openapitools.jackson.nullable.JsonNullable<? extends FieldType> type)
        The type of the field
      • values

        public Field.Builder values​(java.util.List<java.lang.String> values)
        The possible values for the field
      • values

        public Field.Builder values​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> values)
        The possible values for the field
      • required

        public Field.Builder required​(org.openapitools.jackson.nullable.JsonNullable<? extends Required> required)
        Indicates if the field is required
      • build

        public Field build()