public static UpdateFlowResponse Unmarshall(UnmarshallerContext context) { UpdateFlowResponse updateFlowResponse = new UpdateFlowResponse(); updateFlowResponse.HttpResponse = context.HttpResponse; updateFlowResponse.RequestId = context.StringValue("UpdateFlow.RequestId"); updateFlowResponse.Name = context.StringValue("UpdateFlow.Name"); updateFlowResponse.Description = context.StringValue("UpdateFlow.Description"); updateFlowResponse.Definition = context.StringValue("UpdateFlow.Definition"); updateFlowResponse.Id = context.StringValue("UpdateFlow.Id"); updateFlowResponse.Type = context.StringValue("UpdateFlow.Type"); updateFlowResponse.RoleArn = context.StringValue("UpdateFlow.RoleArn"); updateFlowResponse.CreatedTime = context.StringValue("UpdateFlow.CreatedTime"); updateFlowResponse.LastModifiedTime = context.StringValue("UpdateFlow.LastModifiedTime"); return(updateFlowResponse); }
/// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { UpdateFlowResponse response = new UpdateFlowResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("flowStatus", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.FlowStatus = unmarshaller.Unmarshall(context); continue; } } return(response); }