Esempio n. 1
0
        public static UpdateJobResultUnmarshaller GetInstance()
        {
            if (instance == null)
            {
                instance = new UpdateJobResultUnmarshaller();
            }

            return(instance);
        }
Esempio n. 2
0
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            UpdateJobResponse response = new UpdateJobResponse();

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


            return(response);
        }