| Name | Type | Description | Notes |
|---|---|---|---|
| role | PromptRole | The role who generates the message | |
| content | str | The actual text of the message |
from cms_client.models.prompt_message import PromptMessage
# TODO update the JSON string below
json = "{}"
# create an instance of PromptMessage from a JSON string
prompt_message_instance = PromptMessage.from_json(json)
# print the JSON string representation of the object
print(PromptMessage.to_json())
# convert the object into a dict
prompt_message_dict = prompt_message_instance.to_dict()
# create an instance of PromptMessage from a dict
prompt_message_from_dict = PromptMessage.from_dict(prompt_message_dict)