Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 1.85 KB

File metadata and controls

46 lines (37 loc) · 1.85 KB

InstructionUnion

Properties

Name Type Description Notes
entries List[TimelineAddEntry]
type InstructionType
module_entry_id str
module_items List[ModuleItem]
prepend bool [optional]
entry TimelineAddEntry
entry_id_to_replace str
alert_type str [optional]
color_config Dict[str, object] [optional]
display_duration_ms int [optional]
display_location str [optional]
icon_display_info Dict[str, object] [optional]
rich_text TimelineShowAlertRichText
trigger_delay_ms int [optional]
users_results List[UserResults]
direction str
client_event_info ClientEventInfo
cover TimelineHalfCover

Example

from twitter_openapi_python_generated.models.instruction_union import InstructionUnion

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

# convert the object into a dict
instruction_union_dict = instruction_union_instance.to_dict()
# create an instance of InstructionUnion from a dict
instruction_union_from_dict = InstructionUnion.from_dict(instruction_union_dict)

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