public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
DescribePatchGroupsResponse response = new DescribePatchGroupsResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("Mappings", targetDepth))
{
var unmarshaller = new ListUnmarshaller<PatchGroupPatchBaselineMapping, PatchGroupPatchBaselineMappingUnmarshaller>(PatchGroupPatchBaselineMappingUnmarshaller.Instance);
response.Mappings = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("NextToken", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.NextToken = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}