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