Name | Type | Description | Notes |
---|---|---|---|
additional_media_info | AdditionalMediaInfo | [optional] | |
allow_download_status | AllowDownloadStatus | [optional] | |
display_url | str | ||
expanded_url | str | ||
ext_alt_text | str | [optional] | |
ext_media_availability | ExtMediaAvailability | ||
features | object | [optional] | |
id_str | str | ||
indices | List[int] | ||
media_key | str | ||
media_results | MediaResults | [optional] | |
media_url_https | str | ||
original_info | MediaOriginalInfo | ||
sensitive_media_warning | SensitiveMediaWarning | [optional] | |
sizes | MediaSizes | ||
source_status_id_str | str | [optional] | |
source_user_id_str | str | [optional] | |
type | str | ||
url | str | ||
video_info | MediaVideoInfo | [optional] |
from twitter_openapi_python_generated.models.media import Media
# TODO update the JSON string below
json = "{}"
# create an instance of Media from a JSON string
media_instance = Media.from_json(json)
# print the JSON string representation of the object
print(Media.to_json())
# convert the object into a dict
media_dict = media_instance.to_dict()
# create an instance of Media from a dict
media_from_dict = Media.from_dict(media_dict)