ContentUnion

May 7, 2025 ยท View on GitHub

Properties

NameTypeDescriptionNotes
typenameTypeName
client_event_infoClientEventInfo[optional]
entry_typeContentEntryType
feedback_infoFeedbackInfo[optional]
item_contentItemContentUnion
display_typeDisplayType
footerDict[str, object][optional]
headerDict[str, object][optional]
itemsList[ModuleItem][optional]
metadataDict[str, object][optional]
cursor_typeCursorType
display_treatmentDisplayTreatment[optional]
item_typeContentEntryType[optional]
stop_on_empty_responsebool[optional]
valuestr

Example

from twitter_openapi_python_generated.models.content_union import ContentUnion

# TODO update the JSON string below
json = "{}"
# create an instance of ContentUnion from a JSON string
content_union_instance = ContentUnion.from_json(json)
# print the JSON string representation of the object
print(ContentUnion.to_json())

# convert the object into a dict
content_union_dict = content_union_instance.to_dict()
# create an instance of ContentUnion from a dict
content_union_from_dict = ContentUnion.from_dict(content_union_dict)

[Back to Model list] [Back to API list] [Back to README]