public static DescribeEnvironmentResourcesResultUnmarshaller GetInstance() { if (instance == null) { instance = new DescribeEnvironmentResourcesResultUnmarshaller(); } return(instance); }
public DescribeEnvironmentResourcesResponse Unmarshall(UnmarshallerContext context) { DescribeEnvironmentResourcesResponse response = new DescribeEnvironmentResourcesResponse(); while (context.Read()) { if (context.IsStartElement) { if (context.TestExpression("DescribeEnvironmentResourcesResult", 2)) { response.DescribeEnvironmentResourcesResult = DescribeEnvironmentResourcesResultUnmarshaller.GetInstance().Unmarshall(context); continue; } if (context.TestExpression("ResponseMetadata", 2)) { response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context); } } } return(response); }