public static ListExecutionLogsResponse Unmarshall(UnmarshallerContext _ctx) { ListExecutionLogsResponse listExecutionLogsResponse = new ListExecutionLogsResponse(); listExecutionLogsResponse.HttpResponse = _ctx.HttpResponse; listExecutionLogsResponse.RequestId = _ctx.StringValue("ListExecutionLogs.RequestId"); listExecutionLogsResponse.MaxResults = _ctx.IntegerValue("ListExecutionLogs.MaxResults"); listExecutionLogsResponse.NextToken = _ctx.StringValue("ListExecutionLogs.NextToken"); listExecutionLogsResponse.IsTruncated = _ctx.BooleanValue("ListExecutionLogs.IsTruncated"); List <ListExecutionLogsResponse.ListExecutionLogs_ExecutionLog> listExecutionLogsResponse_executionLogs = new List <ListExecutionLogsResponse.ListExecutionLogs_ExecutionLog>(); for (int i = 0; i < _ctx.Length("ListExecutionLogs.ExecutionLogs.Length"); i++) { ListExecutionLogsResponse.ListExecutionLogs_ExecutionLog executionLog = new ListExecutionLogsResponse.ListExecutionLogs_ExecutionLog(); executionLog.Timestamp = _ctx.StringValue("ListExecutionLogs.ExecutionLogs[" + i + "].Timestamp"); executionLog.Message = _ctx.StringValue("ListExecutionLogs.ExecutionLogs[" + i + "].Message"); executionLog.TaskExecutionId = _ctx.StringValue("ListExecutionLogs.ExecutionLogs[" + i + "].TaskExecutionId"); executionLog.LogType = _ctx.StringValue("ListExecutionLogs.ExecutionLogs[" + i + "].LogType"); listExecutionLogsResponse_executionLogs.Add(executionLog); } listExecutionLogsResponse.ExecutionLogs = listExecutionLogsResponse_executionLogs; return(listExecutionLogsResponse); }
public static ListExecutionLogsResponse Unmarshall(UnmarshallerContext context) { ListExecutionLogsResponse listExecutionLogsResponse = new ListExecutionLogsResponse(); listExecutionLogsResponse.HttpResponse = context.HttpResponse; listExecutionLogsResponse.RequestId = context.StringValue("ListExecutionLogs.RequestId"); listExecutionLogsResponse.MaxResults = context.IntegerValue("ListExecutionLogs.MaxResults"); listExecutionLogsResponse.NextToken = context.StringValue("ListExecutionLogs.NextToken"); List <ListExecutionLogsResponse.ListExecutionLogs_ExecutionLog> listExecutionLogsResponse_executionLogs = new List <ListExecutionLogsResponse.ListExecutionLogs_ExecutionLog>(); for (int i = 0; i < context.Length("ListExecutionLogs.ExecutionLogs.Length"); i++) { ListExecutionLogsResponse.ListExecutionLogs_ExecutionLog executionLog = new ListExecutionLogsResponse.ListExecutionLogs_ExecutionLog(); executionLog.Timestamp = context.StringValue("ListExecutionLogs.ExecutionLogs[" + i + "].Timestamp"); executionLog.Message = context.StringValue("ListExecutionLogs.ExecutionLogs[" + i + "].Message"); listExecutionLogsResponse_executionLogs.Add(executionLog); } listExecutionLogsResponse.ExecutionLogs = listExecutionLogsResponse_executionLogs; return(listExecutionLogsResponse); }