Class LangText
- java.lang.Object
-
- aero.panasonic.inflight.services.contentdiscovery.v1.data.LangText
-
public class LangText extends java.lang.ObjectThis class is LangText class. Language Text consists of the 639-1/3 language code and text value. Example
"title" : [ { "lang":"eng", "value":"Kids Movies" } ]Example
"description" : [ { "lang":"eng", "value":"Kids Movies" } ],
-
-
Constructor Summary
Constructors Constructor Description LangText(java.lang.String lang, java.lang.String value)Language Text consists of the 639-1/3 language code and text value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetLang()Gets the ISO 639-1/3 language code.java.lang.StringgetValue()Gets the text value associated with the ISO 639-1/3 language code.
-
-
-
Method Detail
-
getLang
public java.lang.String getLang()
Gets the ISO 639-1/3 language code.
If not specified or available, defaults to language code defined by the airline.- Returns:
- ISO 639-1/3 language code.
-
getValue
public java.lang.String getValue()
Gets the text value associated with the ISO 639-1/3 language code.
Example: lang: eng value: Comedy- Returns:
- Text value associated with the language code.
-
-