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