Appboy.Models.Cards.CaptionedImageCard.CaptionedImageCard C# (CSharp) Method

CaptionedImageCard() public method

public CaptionedImageCard ( Appboy.Utilities.JSONClass json ) : System
json Appboy.Utilities.JSONClass
return System
        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"];
              }
        }