public static BatchDeleteDevicesResponse Unmarshall(UnmarshallerContext context) { BatchDeleteDevicesResponse batchDeleteDevicesResponse = new BatchDeleteDevicesResponse(); batchDeleteDevicesResponse.HttpResponse = context.HttpResponse; batchDeleteDevicesResponse.ErrorCode = context.IntegerValue("BatchDeleteDevices.ErrorCode"); batchDeleteDevicesResponse.Message = context.StringValue("BatchDeleteDevices.Message"); batchDeleteDevicesResponse.Success = context.BooleanValue("BatchDeleteDevices.Success"); batchDeleteDevicesResponse.RequestId = context.StringValue("BatchDeleteDevices.RequestId"); return(batchDeleteDevicesResponse); }
public static BatchDeleteDevicesResponse Unmarshall(UnmarshallerContext context) { BatchDeleteDevicesResponse batchDeleteDevicesResponse = new BatchDeleteDevicesResponse(); batchDeleteDevicesResponse.HttpResponse = context.HttpResponse; batchDeleteDevicesResponse.RequestId = context.StringValue("BatchDeleteDevices.RequestId"); List <BatchDeleteDevicesResponse.BatchDeleteDevices_Result> batchDeleteDevicesResponse_results = new List <BatchDeleteDevicesResponse.BatchDeleteDevices_Result>(); for (int i = 0; i < context.Length("BatchDeleteDevices.Results.Length"); i++) { BatchDeleteDevicesResponse.BatchDeleteDevices_Result result = new BatchDeleteDevicesResponse.BatchDeleteDevices_Result(); result.Id = context.StringValue("BatchDeleteDevices.Results[" + i + "].Id"); result.Error = context.StringValue("BatchDeleteDevices.Results[" + i + "].Error"); batchDeleteDevicesResponse_results.Add(result); } batchDeleteDevicesResponse.Results = batchDeleteDevicesResponse_results; return(batchDeleteDevicesResponse); }