public static class Storefront.Language extends AbstractResponse<Storefront.Language>
optimisticData, responseData| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getEndonymName()
The name of the language in the language itself.
|
java.lang.String |
getGraphQlTypeName() |
Storefront.LanguageCode |
getIsoCode()
The ISO code.
|
java.lang.String |
getName()
The name of the language in the current language.
|
Storefront.Language |
setEndonymName(java.lang.String arg) |
Storefront.Language |
setIsoCode(Storefront.LanguageCode arg) |
Storefront.Language |
setName(java.lang.String arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic Language()
public Language(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public java.lang.String getEndonymName()
public Storefront.Language setEndonymName(java.lang.String arg)
public Storefront.LanguageCode getIsoCode()
public Storefront.Language setIsoCode(Storefront.LanguageCode arg)
public java.lang.String getName()
public Storefront.Language setName(java.lang.String arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.Language>