Skip to content

UpdateDictionaryRequest

Source code in docs_src/capo_elementalinference/types/update_dictionary_request.py
class UpdateDictionaryRequest(TypedDict, closed=True):
    id: "capo_elementalinference.types.dictionary_id.DictionaryId"
    """<p>The ID of the dictionary to update.</p>"""
    name: NotRequired["capo_elementalinference.types.resource_name.ResourceName"]
    """<p>A new name for the dictionary. If not specified, the name is not changed.</p>"""
    language: NotRequired[
        "capo_elementalinference.types.dictionary_language.DictionaryLanguage"
    ]
    """<p>A new language for the dictionary. If not specified, the language is not changed.</p>"""
    entries: NotRequired[
        "capo_elementalinference.types.dictionary_entries_payload.DictionaryEntriesPayload"
    ]
    """<p>New dictionary entries. If not specified, the entries are not changed.</p>"""

entries instance-attribute

entries: NotRequired[DictionaryEntriesPayload]

New dictionary entries. If not specified, the entries are not changed.

id instance-attribute

The ID of the dictionary to update.

language instance-attribute

language: NotRequired[DictionaryLanguage]

A new language for the dictionary. If not specified, the language is not changed.

name instance-attribute

name: NotRequired[ResourceName]

A new name for the dictionary. If not specified, the name is not changed.