/// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { DeleteWorkflowResponse response = new DeleteWorkflowResponse(); return(response); }
public static DeleteWorkflowResponse Unmarshall(UnmarshallerContext context) { DeleteWorkflowResponse deleteWorkflowResponse = new DeleteWorkflowResponse(); deleteWorkflowResponse.HttpResponse = context.HttpResponse; deleteWorkflowResponse.RequestId = context.StringValue("DeleteWorkflow.RequestId"); deleteWorkflowResponse.WorkflowId = context.StringValue("DeleteWorkflow.WorkflowId"); return(deleteWorkflowResponse); }
public static DeleteWorkflowResponse Unmarshall(UnmarshallerContext context) { DeleteWorkflowResponse deleteWorkflowResponse = new DeleteWorkflowResponse(); deleteWorkflowResponse.HttpResponse = context.HttpResponse; deleteWorkflowResponse.RequestId = context.StringValue("DeleteWorkflow.RequestId"); deleteWorkflowResponse.Code = context.IntegerValue("DeleteWorkflow.Code"); deleteWorkflowResponse.Success = context.BooleanValue("DeleteWorkflow.Success"); deleteWorkflowResponse.Message = context.StringValue("DeleteWorkflow.Message"); return(deleteWorkflowResponse); }
/// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { DeleteWorkflowResponse response = new DeleteWorkflowResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("Name", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.Name = unmarshaller.Unmarshall(context); continue; } } return(response); }
public HttpResponseMessage DeleteWorkflow(DeleteWorkflowRequest workflowIds) { DeleteWorkflowResponse response = workflowService.DeleteWorkflow(workflowIds); return(Request.BuildResponse(response)); }