Exemplo n.º 1
0
 public static RestoreDBInstanceToPointInTimeResultUnmarshaller GetInstance()
 {
     if (instance == null)
     {
         instance = new RestoreDBInstanceToPointInTimeResultUnmarshaller();
     }
     return(instance);
 }
Exemplo n.º 2
0
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            RestoreDBInstanceToPointInTimeResponse response = new RestoreDBInstanceToPointInTimeResponse();

            while (context.Read())
            {
                if (context.IsStartElement)
                {
                    if (context.TestExpression("RestoreDBInstanceToPointInTimeResult", 2))
                    {
                        response.RestoreDBInstanceToPointInTimeResult = RestoreDBInstanceToPointInTimeResultUnmarshaller.GetInstance().Unmarshall(context);
                        continue;
                    }

                    if (context.TestExpression("ResponseMetadata", 2))
                    {
                        response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context);
                    }
                }
            }


            return(response);
        }