Class Field
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.Field
-
public class Field extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classField.Builder
-
Constructor Summary
Constructors Constructor Description Field()Field(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> label, org.openapitools.jackson.nullable.JsonNullable<? extends FieldType> type, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> values, org.openapitools.jackson.nullable.JsonNullable<? extends Required> required)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Field.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>id()Unique identifierorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>label()The label of the fieldorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>remoteId()Provider's unique identifierorg.openapitools.jackson.nullable.JsonNullable<Required>required()Indicates if the field is requiredjava.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<FieldType>type()The type of the fieldorg.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>>values()The possible values for the fieldFieldwithId(java.lang.String id)Unique identifierFieldwithId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierFieldwithLabel(java.lang.String label)The label of the fieldFieldwithLabel(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> label)The label of the fieldFieldwithRemoteId(java.lang.String remoteId)Provider's unique identifierFieldwithRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierFieldwithRequired(Required required)Indicates if the field is requiredFieldwithRequired(org.openapitools.jackson.nullable.JsonNullable<? extends Required> required)Indicates if the field is requiredFieldwithType(FieldType type)The type of the fieldFieldwithType(org.openapitools.jackson.nullable.JsonNullable<? extends FieldType> type)The type of the fieldFieldwithValues(java.util.List<java.lang.String> values)The possible values for the fieldFieldwithValues(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> values)The possible values for the field
-
-
-
Constructor Detail
-
Field
public Field(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> label, org.openapitools.jackson.nullable.JsonNullable<? extends FieldType> type, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> values, org.openapitools.jackson.nullable.JsonNullable<? extends Required> required)
-
Field
public Field()
-
-
Method Detail
-
id
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id()
Unique identifier
-
remoteId
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId()
Provider's unique identifier
-
label
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> label()
The label of the field
-
type
public org.openapitools.jackson.nullable.JsonNullable<FieldType> type()
The type of the field
-
values
public org.openapitools.jackson.nullable.JsonNullable<java.util.List<java.lang.String>> values()
The possible values for the field
-
required
public org.openapitools.jackson.nullable.JsonNullable<Required> required()
Indicates if the field is required
-
builder
public static Field.Builder builder()
-
withId
public Field withId(java.lang.String id)
Unique identifier
-
withId
public Field withId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
withRemoteId
public Field withRemoteId(java.lang.String remoteId)
Provider's unique identifier
-
withRemoteId
public Field withRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
withLabel
public Field withLabel(java.lang.String label)
The label of the field
-
withLabel
public Field withLabel(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> label)
The label of the field
-
withType
public Field withType(org.openapitools.jackson.nullable.JsonNullable<? extends FieldType> type)
The type of the field
-
withValues
public Field withValues(java.util.List<java.lang.String> values)
The possible values for the field
-
withValues
public Field withValues(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> values)
The possible values for the field
-
withRequired
public Field withRequired(org.openapitools.jackson.nullable.JsonNullable<? extends Required> required)
Indicates if the field is required
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-