public CaptionedImageCard(JSONClass json)
: base(json)
{
if (json["image"] == null || json["title"] == null || json["description"] == null) {
throw new ArgumentException("Missing required field(s).");
}
ImageUrl = json["image"];
Title = json["title"];
Description = json["description"];
if (json["url"] != null) {
Url = json["url"];
}
if (json["domain"] != null) {
Domain = json["domain"];
}
}