/// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { DeleteBackupResponse response = new DeleteBackupResponse(); return(response); }
/// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { DeleteBackupResponse response = new DeleteBackupResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("BackupId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.BackupId = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("Lifecycle", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.Lifecycle = unmarshaller.Unmarshall(context); continue; } } return(response); }
/// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { DeleteBackupResponse response = new DeleteBackupResponse(); return response; }
public static DeleteBackupResponse Unmarshall(UnmarshallerContext context) { DeleteBackupResponse deleteBackupResponse = new DeleteBackupResponse(); deleteBackupResponse.HttpResponse = context.HttpResponse; deleteBackupResponse.RequestId = context.StringValue("DeleteBackup.RequestId"); return(deleteBackupResponse); }