public static CreateDBSnapshotResultUnmarshaller GetInstance()
 {
     if (instance == null)
     {
         instance = new CreateDBSnapshotResultUnmarshaller();
     }
     return(instance);
 }
Esempio n. 2
0
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            CreateDBSnapshotResponse response = new CreateDBSnapshotResponse();

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

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


            return(response);
        }