public static MarketDescriptionOutcome Parse(dynamic dynamicXml)
        {
            if (dynamicXml == null)
            {
                return(null);
            }

            var builder = new MarketDescriptionOutcome
            {
                Id   = dynamicXml.Id,
                Name = dynamicXml.Name
            };

            return(builder);
        }
        public static MarketDescription Parse(dynamic dynamicXml)
        {
            if (dynamicXml == null)
            {
                return(null);
            }

            var builder = new MarketDescription
            {
                Description = dynamicXml.Description,
                Groups      = dynamicXml.Groups,
                Id          = dynamicXml.Id <int>(),
                Name        = dynamicXml.Name,
                Outcomes    = MarketDescriptionOutcome.ParseList(dynamicXml.Outcomes?.GetOutcomeList()),
                Variant     = dynamicXml.Variant
            };

            return(builder);
        }