Skip to main content

DictionaryPhraseActionStringWrapperCollection Schema

Data structure for Dictionary Phrase Action String Wrapper Collection objects.

Item Type​

This is a collection (list) of DictionaryPhraseActionString items.

Usage​

# Example: Working with DictionaryPhraseActionStringWrapperCollection
items = [
{"action":"action-value-1","phrase":"phrase-value-1"},
{"action":"action-value-2","phrase":"phrase-value-2"}
]

# Pass to an action that requires this collection type
resource.some_action(body=items)

JSON Example​

[
{
"action": "action-value-1",
"phrase": "phrase-value-1"
},
{
"action": "action-value-2",
"phrase": "phrase-value-2"
}
]