예제 #1
0
 public static CreateDBInstanceReadReplicaResultUnmarshaller GetInstance()
 {
     if (instance == null)
     {
         instance = new CreateDBInstanceReadReplicaResultUnmarshaller();
     }
     return(instance);
 }
예제 #2
0
        public CreateDBInstanceReadReplicaResponse Unmarshall(UnmarshallerContext context)
        {
            CreateDBInstanceReadReplicaResponse response = new CreateDBInstanceReadReplicaResponse();

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

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

            return(response);
        }