884 B
884 B
MessageDto
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| content | str | [optional] | |
| timestamp | int | [optional] |
Example
from board_mate.message.models.message_dto import MessageDto
# TODO update the JSON string below
json = "{}"
# create an instance of MessageDto from a JSON string
message_dto_instance = MessageDto.from_json(json)
# print the JSON string representation of the object
print MessageDto.to_json()
# convert the object into a dict
message_dto_dict = message_dto_instance.to_dict()
# create an instance of MessageDto from a dict
message_dto_form_dict = message_dto.from_dict(message_dto_dict)