public DeliveryProfileAkamaiAppleHttpManifestFilter(JToken node) : base(node) { if (node["orderBy"] != null) { this._OrderBy = (DeliveryProfileAkamaiAppleHttpManifestOrderBy)StringEnum.Parse(typeof(DeliveryProfileAkamaiAppleHttpManifestOrderBy), node["orderBy"].Value <string>()); } }
public DeliveryProfileAkamaiAppleHttpManifestFilter(XmlElement node) : base(node) { foreach (XmlElement propertyNode in node.ChildNodes) { switch (propertyNode.Name) { case "orderBy": this._OrderBy = (DeliveryProfileAkamaiAppleHttpManifestOrderBy)StringEnum.Parse(typeof(DeliveryProfileAkamaiAppleHttpManifestOrderBy), propertyNode.InnerText); continue; } } }