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, Value 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()Valuevalue()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(Value value)The human readable value of the option
-
-
-
Constructor Detail
-
CustomFieldOption
public CustomFieldOption(java.lang.String id, Value value)
-
-
Method Detail
-
id
public java.lang.String id()
The unique identifier for the option to be used when updating the custom field
-
value
public Value value()
The human readable value of the option
-
builder
public static 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(Value 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
-
-