Class LocalizationModelLanguage


  • public class LocalizationModelLanguage
    extends java.lang.Object
    LocalizationModelLanguage

    The language associated with the localization details

    • 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.
      • 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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object