Class Hierarchy
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.Hierarchy
-
public class Hierarchy extends java.lang.ObjectHierarchyThe hierarchal level of the category
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHierarchy.Builder
-
Constructor Summary
Constructors Constructor Description Hierarchy()Hierarchy(org.openapitools.jackson.nullable.JsonNullable<? extends CategoryValue> value, org.openapitools.jackson.nullable.JsonNullable<? extends CategorySourceValue> sourceValue)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Hierarchy.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()org.openapitools.jackson.nullable.JsonNullable<CategorySourceValue>sourceValue()For read operations: the original category level from the provider.java.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<CategoryValue>value()The unified category level.HierarchywithSourceValue(CategorySourceValue sourceValue)For read operations: the original category level from the provider.HierarchywithSourceValue(org.openapitools.jackson.nullable.JsonNullable<? extends CategorySourceValue> sourceValue)For read operations: the original category level from the provider.HierarchywithValue(CategoryValue value)The unified category level.HierarchywithValue(org.openapitools.jackson.nullable.JsonNullable<? extends CategoryValue> value)The unified category level.
-
-
-
Constructor Detail
-
Hierarchy
public Hierarchy(org.openapitools.jackson.nullable.JsonNullable<? extends CategoryValue> value, org.openapitools.jackson.nullable.JsonNullable<? extends CategorySourceValue> sourceValue)
-
Hierarchy
public Hierarchy()
-
-
Method Detail
-
value
public org.openapitools.jackson.nullable.JsonNullable<CategoryValue> value()
The unified category level. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead.
-
sourceValue
public org.openapitools.jackson.nullable.JsonNullable<CategorySourceValue> sourceValue()
For read operations: the original category level from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format.
-
builder
public static Hierarchy.Builder builder()
-
withValue
public Hierarchy withValue(CategoryValue value)
The unified category level. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead.
-
withValue
public Hierarchy withValue(org.openapitools.jackson.nullable.JsonNullable<? extends CategoryValue> value)
The unified category level. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead.
-
withSourceValue
public Hierarchy withSourceValue(CategorySourceValue sourceValue)
For read operations: the original category level from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format.
-
withSourceValue
public Hierarchy withSourceValue(org.openapitools.jackson.nullable.JsonNullable<? extends CategorySourceValue> sourceValue)
For read operations: the original category level from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format.
-
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
-
-