Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 1.73 KB

File metadata and controls

43 lines (34 loc) · 1.73 KB

ContentUnion

Properties

Name Type Description Notes
typename TypeName
client_event_info ClientEventInfo [optional]
entry_type ContentEntryType
feedback_info FeedbackInfo [optional]
item_content ItemContentUnion
display_type DisplayType
footer Dict[str, object] [optional]
header Dict[str, object] [optional]
items List[ModuleItem] [optional]
metadata Dict[str, object] [optional]
cursor_type CursorType
display_treatment DisplayTreatment [optional]
item_type ContentEntryType [optional]
stop_on_empty_response bool [optional]
value str

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]