public static GetMetricStatisticsResultUnmarshaller GetInstance()
        {
            if (instance == null)
            {
                instance = new GetMetricStatisticsResultUnmarshaller();
            }

            return(instance);
        }
        public GetMetricStatisticsResponse Unmarshall(UnmarshallerContext context)
        {
            GetMetricStatisticsResponse response = new GetMetricStatisticsResponse();

            while (context.Read())
            {
                if (context.IsStartElement)
                {
                    if (context.TestExpression("GetMetricStatisticsResult", 2))
                    {
                        response.GetMetricStatisticsResult = GetMetricStatisticsResultUnmarshaller.GetInstance().Unmarshall(context);
                        continue;
                    }
                    if (context.TestExpression("ResponseMetadata", 2))
                    {
                        response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context);
                    }
                }
            }

            return(response);
        }