def decode(cls, obj): return cls( obj["NoSeat"], PlayerInfo.decode(obj['Player']), [SeatAttributeEnum.parse(x) for x in obj['SeatAttributes']] )