Skip to content

Latest commit

 

History

History
76 lines (67 loc) · 3.64 KB

ItemContentUnion.md

File metadata and controls

76 lines (67 loc) · 3.64 KB

ItemContentUnion

Properties

Name Type Description Notes
typename TypeName
has_moderated_replies bool [optional]
highlights Highlight [optional]
item_type ContentItemType
promoted_metadata EventSummaryPromotedMetadata
social_context SocialContextUnion [optional]
tweet_display_type str
tweet_results ItemResult
cursor_type CursorType
display_treatment DisplayTreatment [optional]
entry_type ContentEntryType [optional]
stop_on_empty_response bool [optional]
value str
user_display_type str
user_results UserResults
client_event_info ClientEventInfo
content TimelineMessagePromptContent
community_results CommunityResult
tombstone_display_type str [optional]
tombstone_info TombstoneInfo [optional]
description str [optional]
grouped_trends List[GroupedTrend] [optional]
images List[TrendImage] [optional]
is_ai_trend bool [optional]
name str
promoted_metadata TrendPromotedMetadata [optional]
rank str [optional]
social_context SocialContextUnion [optional]
thumbnail_image ThumbnailImage [optional]
trend_metadata TrendMetadata
trend_url SocialContextLandingUrl
id str
notification_icon str
notification_url SocialContextLandingUrl
rich_message RichMessage
template NotificationTemplate
timestamp_ms str
height int
payload str
display_type str [optional]
list TwitterList
text str
url SocialContextLandingUrl
event EventSummaryEvent
event_summary_display_type str
event_summary_url SocialContextLandingUrl
media EventSummaryMedia
title str

Example

from twitter_openapi_python_generated.models.item_content_union import ItemContentUnion

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

# convert the object into a dict
item_content_union_dict = item_content_union_instance.to_dict()
# create an instance of ItemContentUnion from a dict
item_content_union_from_dict = ItemContentUnion.from_dict(item_content_union_dict)

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