Files
2026-01-01 15:37:20 +01:00

929 B

GameDto

Properties

Name Type Description Notes
white_name str [optional]
black_name str [optional]
time_value int [optional]
increment int [optional]

Example

from board_mate.game.models.game_dto import GameDto

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

# convert the object into a dict
game_dto_dict = game_dto_instance.to_dict()
# create an instance of GameDto from a dict
game_dto_form_dict = game_dto.from_dict(game_dto_dict)

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