Class LanguageEnum
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.LanguageEnum
-
public class LanguageEnum extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLanguageEnum.Builder
-
Constructor Summary
Constructors Constructor Description LanguageEnum()LanguageEnum(org.openapitools.jackson.nullable.JsonNullable<? extends LanguageEnumValue> value, org.openapitools.jackson.nullable.JsonNullable<? extends LanguageEnumSourceValue> sourceValue)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LanguageEnum.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()org.openapitools.jackson.nullable.JsonNullable<LanguageEnumSourceValue>sourceValue()For read operations: the original language code from the provider.java.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<LanguageEnumValue>value()The unified locale code.LanguageEnumwithSourceValue(LanguageEnumSourceValue sourceValue)For read operations: the original language code from the provider.LanguageEnumwithSourceValue(org.openapitools.jackson.nullable.JsonNullable<? extends LanguageEnumSourceValue> sourceValue)For read operations: the original language code from the provider.LanguageEnumwithValue(LanguageEnumValue value)The unified locale code.LanguageEnumwithValue(org.openapitools.jackson.nullable.JsonNullable<? extends LanguageEnumValue> value)The unified locale code.
-
-
-
Constructor Detail
-
LanguageEnum
public LanguageEnum(org.openapitools.jackson.nullable.JsonNullable<? extends LanguageEnumValue> value, org.openapitools.jackson.nullable.JsonNullable<? extends LanguageEnumSourceValue> sourceValue)
-
LanguageEnum
public LanguageEnum()
-
-
Method Detail
-
value
public org.openapitools.jackson.nullable.JsonNullable<LanguageEnumValue> 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<LanguageEnumSourceValue> 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 LanguageEnum.Builder builder()
-
withValue
public LanguageEnum withValue(LanguageEnumValue 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 LanguageEnum withValue(org.openapitools.jackson.nullable.JsonNullable<? extends LanguageEnumValue> 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 LanguageEnum withSourceValue(LanguageEnumSourceValue 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 LanguageEnum withSourceValue(org.openapitools.jackson.nullable.JsonNullable<? extends LanguageEnumSourceValue> 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
-
-