public ThumbCuePointBaseFilter(JToken node) : base(node)
 {
     if (node["descriptionLike"] != null)
     {
         this._DescriptionLike = node["descriptionLike"].Value <string>();
     }
     if (node["descriptionMultiLikeOr"] != null)
     {
         this._DescriptionMultiLikeOr = node["descriptionMultiLikeOr"].Value <string>();
     }
     if (node["descriptionMultiLikeAnd"] != null)
     {
         this._DescriptionMultiLikeAnd = node["descriptionMultiLikeAnd"].Value <string>();
     }
     if (node["titleLike"] != null)
     {
         this._TitleLike = node["titleLike"].Value <string>();
     }
     if (node["titleMultiLikeOr"] != null)
     {
         this._TitleMultiLikeOr = node["titleMultiLikeOr"].Value <string>();
     }
     if (node["titleMultiLikeAnd"] != null)
     {
         this._TitleMultiLikeAnd = node["titleMultiLikeAnd"].Value <string>();
     }
     if (node["subTypeEqual"] != null)
     {
         this._SubTypeEqual = (ThumbCuePointSubType)ParseEnum(typeof(ThumbCuePointSubType), node["subTypeEqual"].Value <string>());
     }
     if (node["subTypeIn"] != null)
     {
         this._SubTypeIn = node["subTypeIn"].Value <string>();
     }
 }
 public ThumbCuePoint(JToken node) : base(node)
 {
     if (node["assetId"] != null)
     {
         this._AssetId = node["assetId"].Value <string>();
     }
     if (node["description"] != null)
     {
         this._Description = node["description"].Value <string>();
     }
     if (node["title"] != null)
     {
         this._Title = node["title"].Value <string>();
     }
     if (node["subType"] != null)
     {
         this._SubType = (ThumbCuePointSubType)ParseEnum(typeof(ThumbCuePointSubType), node["subType"].Value <string>());
     }
 }
        public ThumbCuePointBaseFilter(XmlElement node) : base(node)
        {
            foreach (XmlElement propertyNode in node.ChildNodes)
            {
                switch (propertyNode.Name)
                {
                case "descriptionLike":
                    this._DescriptionLike = propertyNode.InnerText;
                    continue;

                case "descriptionMultiLikeOr":
                    this._DescriptionMultiLikeOr = propertyNode.InnerText;
                    continue;

                case "descriptionMultiLikeAnd":
                    this._DescriptionMultiLikeAnd = propertyNode.InnerText;
                    continue;

                case "titleLike":
                    this._TitleLike = propertyNode.InnerText;
                    continue;

                case "titleMultiLikeOr":
                    this._TitleMultiLikeOr = propertyNode.InnerText;
                    continue;

                case "titleMultiLikeAnd":
                    this._TitleMultiLikeAnd = propertyNode.InnerText;
                    continue;

                case "subTypeEqual":
                    this._SubTypeEqual = (ThumbCuePointSubType)ParseEnum(typeof(ThumbCuePointSubType), propertyNode.InnerText);
                    continue;

                case "subTypeIn":
                    this._SubTypeIn = propertyNode.InnerText;
                    continue;
                }
            }
        }
        public ThumbCuePoint(XmlElement node) : base(node)
        {
            foreach (XmlElement propertyNode in node.ChildNodes)
            {
                switch (propertyNode.Name)
                {
                case "assetId":
                    this._AssetId = propertyNode.InnerText;
                    continue;

                case "description":
                    this._Description = propertyNode.InnerText;
                    continue;

                case "title":
                    this._Title = propertyNode.InnerText;
                    continue;

                case "subType":
                    this._SubType = (ThumbCuePointSubType)ParseEnum(typeof(ThumbCuePointSubType), propertyNode.InnerText);
                    continue;
                }
            }
        }