//
// Generated by JSON2Apex http://json2apex.herokuapp.com/
//

public class QBAccountQueryResponseJSON {
  public class Account {
    public String Name;
    public Boolean SubAccount;
    public String FullyQualifiedName;
    public Boolean Active;
    public String Classification;
    public String AccountType;
    public String AccountSubType;
    public Integer CurrentBalance;
    public Integer CurrentBalanceWithSubAccounts;
    public CurrencyRef CurrencyRef;
    public String domain;
    public Boolean sparse;
    public String Id;
    public String SyncToken;
    public MetaData MetaData;
  }

  public class CurrencyRef {
    public String value;
    public String name;
  }

  public QueryResponse QueryResponse;

  public class MetaData {
    public String CreateTime;
    public String LastUpdatedTime;
  }

  public class QueryResponse {
    public List<Account> Account;
    public Integer startPosition;
    public Integer maxResults;
  }

  public static QBAccountQueryResponseJSON parse(String json) {
    return (QBAccountQueryResponseJSON) System.JSON.deserialize(
      json,
      QBAccountQueryResponseJSON.class
    );
  }
}
