Class CategoryLanguage
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.CategoryLanguage
-
public class CategoryLanguage extends java.lang.ObjectCategoryLanguageThe language associated with this category
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCategoryLanguage.Builder
-
Constructor Summary
Constructors Constructor Description CategoryLanguage()CategoryLanguage(org.openapitools.jackson.nullable.JsonNullable<? extends CategoryLanguageValue> value, org.openapitools.jackson.nullable.JsonNullable<? extends CategoryLanguageSourceValue> sourceValue)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CategoryLanguage.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()org.openapitools.jackson.nullable.JsonNullable<CategoryLanguageSourceValue>sourceValue()For read operations: the original language code from the provider.java.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<CategoryLanguageValue>value()The unified locale code.CategoryLanguagewithSourceValue(CategoryLanguageSourceValue sourceValue)For read operations: the original language code from the provider.CategoryLanguagewithSourceValue(org.openapitools.jackson.nullable.JsonNullable<? extends CategoryLanguageSourceValue> sourceValue)For read operations: the original language code from the provider.CategoryLanguagewithValue(CategoryLanguageValue value)The unified locale code.CategoryLanguagewithValue(org.openapitools.jackson.nullable.JsonNullable<? extends CategoryLanguageValue> value)The unified locale code.
-
-
-
Constructor Detail
-
CategoryLanguage
public CategoryLanguage(org.openapitools.jackson.nullable.JsonNullable<? extends CategoryLanguageValue> value, org.openapitools.jackson.nullable.JsonNullable<? extends CategoryLanguageSourceValue> sourceValue)
-
CategoryLanguage
public CategoryLanguage()
-
-
Method Detail
-
value
public org.openapitools.jackson.nullable.JsonNullable<CategoryLanguageValue> value()
The unified locale code. 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<CategoryLanguageSourceValue> sourceValue()
For read operations: the original language code 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 CategoryLanguage.Builder builder()
-
withValue
public CategoryLanguage withValue(CategoryLanguageValue value)
The unified locale code. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead.
-
withValue
public CategoryLanguage withValue(org.openapitools.jackson.nullable.JsonNullable<? extends CategoryLanguageValue> value)
The unified locale code. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead.
-
withSourceValue
public CategoryLanguage withSourceValue(CategoryLanguageSourceValue sourceValue)
For read operations: the original language code 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 CategoryLanguage withSourceValue(org.openapitools.jackson.nullable.JsonNullable<? extends CategoryLanguageSourceValue> sourceValue)
For read operations: the original language code 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
-
-