/**
 * @file edhrec_api_response_card_details.h
 * @ingroup ApiResponses
 */
//! \todo Document this file.

#ifndef CARD_VIEW_H
#define CARD_VIEW_H

#include <QJsonObject>
#include <QString>

class EdhrecApiResponseCardDetails
{
public:
    QString name;
    QString sanitized;
    QString sanitizedWo;
    QString url;
    double synergy;
    int inclusion;
    QString label;
    int numDecks;
    int potentialDecks;

    EdhrecApiResponseCardDetails();

    // Method to populate the object from a JSON object
    void fromJson(const QJsonObject &json);

    // Debug method to print out the data
    void debugPrint() const;
};

#endif // CARD_VIEW_H
