export declare class SharedNameAndDescription
export declare class SharedNameAndDescription
No summary provided.
Readonly
Optional
description_localizations?
:
LocalizationMap
Readonly
description
:
string
Readonly
Optional
name_localizations?
:
LocalizationMap
Readonly
name
:
string
setDescription(description)
:
this
Sets the description
Name | Type | Optional | Description |
---|---|---|---|
description | string | No | The description |
setDescriptionLocalization(locale, localizedDescription)
:
this
Sets a description localization
Name | Type | Optional | Description |
---|---|---|---|
locale | LocaleString | No | The locale to set a description for |
localizedDescription | string | null | No | The localized description for the given locale |
setDescriptionLocalizations(localizedDescriptions)
:
this
Sets the description localizations
Name | Type | Optional | Description |
---|---|---|---|
localizedDescriptions | LocalizationMap | null | No | The dictionary of localized descriptions to set |
setName(name)
:
this
Sets the name
Name | Type | Optional | Description |
---|---|---|---|
name | string | No | The name |
setNameLocalization(locale, localizedName)
:
this
Sets a name localization
Name | Type | Optional | Description |
---|---|---|---|
locale | LocaleString | No | The locale to set a description for |
localizedName | string | null | No | The localized description for the given locale |
setNameLocalizations(localizedNames)
:
this
Sets the name localizations
Name | Type | Optional | Description |
---|---|---|---|
localizedNames | LocalizationMap | null | No | The dictionary of localized descriptions to set |