Name | Type | Description | Notes |
---|---|---|---|
id | int | [readonly] | |
command | str | ||
mentor | int | ||
bot | int |
from iblai.models.bot_command import BotCommand
# TODO update the JSON string below
json = "{}"
# create an instance of BotCommand from a JSON string
bot_command_instance = BotCommand.from_json(json)
# print the JSON string representation of the object
print(BotCommand.to_json())
# convert the object into a dict
bot_command_dict = bot_command_instance.to_dict()
# create an instance of BotCommand from a dict
bot_command_from_dict = BotCommand.from_dict(bot_command_dict)