I wish to let the withParameters(String token, RiskRating details) method take in an object of type that\'s either a RiskRating object or is a subclass of it
withParameters(String token, RiskRating details)