DisplayTreatment
November 1, 2024 ยท View on GitHub
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| action_text | str | ||
| label_text | str | [optional] |
Example
from twitter_openapi_python_generated.models.display_treatment import DisplayTreatment
# TODO update the JSON string below
json = "{}"
# create an instance of DisplayTreatment from a JSON string
display_treatment_instance = DisplayTreatment.from_json(json)
# print the JSON string representation of the object
print(DisplayTreatment.to_json())
# convert the object into a dict
display_treatment_dict = display_treatment_instance.to_dict()
# create an instance of DisplayTreatment from a dict
display_treatment_from_dict = DisplayTreatment.from_dict(display_treatment_dict)