public static DeleteBackupPlanResponse Unmarshall(UnmarshallerContext context) { DeleteBackupPlanResponse deleteBackupPlanResponse = new DeleteBackupPlanResponse(); deleteBackupPlanResponse.HttpResponse = context.HttpResponse; deleteBackupPlanResponse.RequestId = context.StringValue("DeleteBackupPlan.RequestId"); return(deleteBackupPlanResponse); }
/// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { DeleteBackupPlanResponse response = new DeleteBackupPlanResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("BackupPlanArn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.BackupPlanArn = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("BackupPlanId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.BackupPlanId = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("DeletionDate", targetDepth)) { var unmarshaller = DateTimeUnmarshaller.Instance; response.DeletionDate = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("VersionId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.VersionId = unmarshaller.Unmarshall(context); continue; } } return(response); }