public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
{
DescribeOptionGroupsResponse response = new DescribeOptionGroupsResponse();
while (context.Read())
{
if (context.IsStartElement)
{
if(context.TestExpression("DescribeOptionGroupsResult", 2))
{
UnmarshallResult(context,response);
continue;
}
if (context.TestExpression("ResponseMetadata", 2))
{
response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context);
}
}
}
return response;
}