def decode(cls, obj):
     return cls(
         obj["Success"],
         BluffinMessageIdEnum.parse(obj["MessageId"]),
         obj["Message"],
         obj["Command"],
         TableParams.decode(obj["Params"]),
         obj["TotalPotAmount"],
         obj["PotsAmount"],
         obj["BoardCards"],
         [SeatInfo.decode(x) for x in obj["Seats"]],
         obj["GameHasStarted"],
     )
 def decode(cls, obj):
     return cls(
         obj["TableId"],
         SeatInfo.decode(obj['Seat'])
     )
 def decode(cls, obj):
     return cls(
         obj["TableId"],
         obj['NeededBlindAmount'],
         [SeatInfo.decode(x) for x in obj['Seats']]
     )