public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
DescribeProvisioningParametersResponse response = new DescribeProvisioningParametersResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("ConstraintSummaries", targetDepth))
{
var unmarshaller = new ListUnmarshaller<ConstraintSummary, ConstraintSummaryUnmarshaller>(ConstraintSummaryUnmarshaller.Instance);
response.ConstraintSummaries = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("ProvisioningArtifactParameters", targetDepth))
{
var unmarshaller = new ListUnmarshaller<ProvisioningArtifactParameter, ProvisioningArtifactParameterUnmarshaller>(ProvisioningArtifactParameterUnmarshaller.Instance);
response.ProvisioningArtifactParameters = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("UsageInstructions", targetDepth))
{
var unmarshaller = new ListUnmarshaller<UsageInstruction, UsageInstructionUnmarshaller>(UsageInstructionUnmarshaller.Instance);
response.UsageInstructions = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}