According to the SDK a Dashboard isn't a subclass of report, meaning you can't do Report dashboard = new Dashboard();
As far as I know only with reports can you set or get a specification. the dashboard class doesn't have a setSpecificaiton method, so i'm guessing you could only do it with a byte array and couldn't parse much meaningful information from that.