Class Field.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.Field.Builder
-
- Enclosing class:
- Field
public static final class Field.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Fieldbuild()Field.Builderid(java.lang.String id)Unique identifierField.Builderid(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierField.Builderlabel(java.lang.String label)The label of the fieldField.Builderlabel(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> label)The label of the fieldField.BuilderremoteId(java.lang.String remoteId)Provider's unique identifierField.BuilderremoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierField.Builderrequired(Required required)Indicates if the field is requiredField.Builderrequired(org.openapitools.jackson.nullable.JsonNullable<? extends Required> required)Indicates if the field is requiredField.Buildertype(FieldType type)The type of the fieldField.Buildertype(org.openapitools.jackson.nullable.JsonNullable<? extends FieldType> type)The type of the fieldField.Buildervalues(java.util.List<java.lang.String> values)The possible values for the fieldField.Buildervalues(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> values)The possible values for the field
-
-
-
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(FieldType type)
The type 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(Required required)
Indicates if the field is required
-
required
public Field.Builder required(org.openapitools.jackson.nullable.JsonNullable<? extends Required> required)
Indicates if the field is required
-
build
public Field build()
-
-