public ITunesSyndicationFeed(XmlElement node) : base(node)
        {
            foreach (XmlElement propertyNode in node.ChildNodes)
            {
                switch (propertyNode.Name)
                {
                case "feedDescription":
                    this._FeedDescription = propertyNode.InnerText;
                    continue;

                case "language":
                    this._Language = propertyNode.InnerText;
                    continue;

                case "feedLandingPage":
                    this._FeedLandingPage = propertyNode.InnerText;
                    continue;

                case "ownerName":
                    this._OwnerName = propertyNode.InnerText;
                    continue;

                case "ownerEmail":
                    this._OwnerEmail = propertyNode.InnerText;
                    continue;

                case "feedImageUrl":
                    this._FeedImageUrl = propertyNode.InnerText;
                    continue;

                case "category":
                    this._Category = (ITunesSyndicationFeedCategories)StringEnum.Parse(typeof(ITunesSyndicationFeedCategories), propertyNode.InnerText);
                    continue;

                case "adultContent":
                    this._AdultContent = (ITunesSyndicationFeedAdultValues)StringEnum.Parse(typeof(ITunesSyndicationFeedAdultValues), propertyNode.InnerText);
                    continue;

                case "feedAuthor":
                    this._FeedAuthor = propertyNode.InnerText;
                    continue;

                case "enforceOrder":
                    this._EnforceOrder = (NullableBoolean)ParseEnum(typeof(NullableBoolean), propertyNode.InnerText);
                    continue;
                }
            }
        }
 public ITunesSyndicationFeed(JToken node) : base(node)
 {
     if (node["feedDescription"] != null)
     {
         this._FeedDescription = node["feedDescription"].Value <string>();
     }
     if (node["language"] != null)
     {
         this._Language = node["language"].Value <string>();
     }
     if (node["feedLandingPage"] != null)
     {
         this._FeedLandingPage = node["feedLandingPage"].Value <string>();
     }
     if (node["ownerName"] != null)
     {
         this._OwnerName = node["ownerName"].Value <string>();
     }
     if (node["ownerEmail"] != null)
     {
         this._OwnerEmail = node["ownerEmail"].Value <string>();
     }
     if (node["feedImageUrl"] != null)
     {
         this._FeedImageUrl = node["feedImageUrl"].Value <string>();
     }
     if (node["category"] != null)
     {
         this._Category = (ITunesSyndicationFeedCategories)StringEnum.Parse(typeof(ITunesSyndicationFeedCategories), node["category"].Value <string>());
     }
     if (node["adultContent"] != null)
     {
         this._AdultContent = (ITunesSyndicationFeedAdultValues)StringEnum.Parse(typeof(ITunesSyndicationFeedAdultValues), node["adultContent"].Value <string>());
     }
     if (node["feedAuthor"] != null)
     {
         this._FeedAuthor = node["feedAuthor"].Value <string>();
     }
     if (node["enforceFeedAuthor"] != null)
     {
         this._EnforceFeedAuthor = ParseBool(node["enforceFeedAuthor"].Value <string>());
     }
     if (node["enforceOrder"] != null)
     {
         this._EnforceOrder = (NullableBoolean)ParseEnum(typeof(NullableBoolean), node["enforceOrder"].Value <string>());
     }
 }