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( TableParams.decode(obj['Params']) )