Package ai.tock.bot.admin.model
Class BotI18nLabelUpdate
-
- All Implemented Interfaces:
-
ai.tock.translator.I18nLabelContract
public final class BotI18nLabelUpdate implements I18nLabelContractIncoming I18nLabel update from the client (missing defaultI18n).
-
-
Field Summary
Fields Modifier and Type Field Description private final Set<I18nLocalizedLabel>defaultI18nprivate final Id<I18nLabel>_idprivate final Stringnamespaceprivate final Stringcategoryprivate final LinkedHashSet<I18nLocalizedLabel>i18nprivate final StringdefaultLabelprivate final LocaledefaultLocaleprivate final Integerversion
-
Constructor Summary
Constructors Constructor Description BotI18nLabelUpdate(Id<I18nLabel> _id, String namespace, String category, LinkedHashSet<I18nLocalizedLabel> i18n, String defaultLabel, Locale defaultLocale, Integer version)
-
Method Summary
Modifier and Type Method Description Set<I18nLocalizedLabel>getDefaultI18n()Id<I18nLabel>get_id()StringgetNamespace()StringgetCategory()LinkedHashSet<I18nLocalizedLabel>getI18n()StringgetDefaultLabel()LocalegetDefaultLocale()IntegergetVersion()BotI18nLabelUpdatewithDefaultLabel(String defaultLabel)BotI18nLabelUpdatewithUpdatedI18n(LinkedHashSet<I18nLocalizedLabel> i18n, Integer version)-
-
Method Detail
-
getDefaultI18n
Set<I18nLocalizedLabel> getDefaultI18n()
-
get_id
Id<I18nLabel> get_id()
-
getNamespace
String getNamespace()
-
getCategory
String getCategory()
-
getI18n
LinkedHashSet<I18nLocalizedLabel> getI18n()
-
getDefaultLabel
String getDefaultLabel()
-
getDefaultLocale
Locale getDefaultLocale()
-
getVersion
Integer getVersion()
-
withDefaultLabel
BotI18nLabelUpdate withDefaultLabel(String defaultLabel)
-
withUpdatedI18n
BotI18nLabelUpdate withUpdatedI18n(LinkedHashSet<I18nLocalizedLabel> i18n, Integer version)
-
-
-
-