Class CustomFieldOption
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.CustomFieldOption
-
public class CustomFieldOption extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCustomFieldOption.Builder
-
Constructor Summary
Constructors Constructor Description CustomFieldOption(java.lang.String id, java.lang.String value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CustomFieldOption.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()java.lang.Stringid()The unique identifier for the option to be used when updating the custom fieldjava.lang.StringtoString()java.lang.Stringvalue()The human readable value of the optionCustomFieldOptionwithId(java.lang.String id)The unique identifier for the option to be used when updating the custom fieldCustomFieldOptionwithValue(java.lang.String value)The human readable value of the option
-
-
-
Method Detail
-
id
public java.lang.String id()
The unique identifier for the option to be used when updating the custom field
-
value
public java.lang.String value()
The human readable value of the option
-
builder
public static final CustomFieldOption.Builder builder()
-
withId
public CustomFieldOption withId(java.lang.String id)
The unique identifier for the option to be used when updating the custom field
-
withValue
public CustomFieldOption withValue(java.lang.String value)
The human readable value of the option
-
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
-
-