public static DescribeLiveStreamRecordContentResponse Unmarshall(UnmarshallerContext _ctx) { DescribeLiveStreamRecordContentResponse describeLiveStreamRecordContentResponse = new DescribeLiveStreamRecordContentResponse(); describeLiveStreamRecordContentResponse.HttpResponse = _ctx.HttpResponse; describeLiveStreamRecordContentResponse.RequestId = _ctx.StringValue("DescribeLiveStreamRecordContent.RequestId"); List <DescribeLiveStreamRecordContentResponse.DescribeLiveStreamRecordContent_RecordContentInfo> describeLiveStreamRecordContentResponse_recordContentInfoList = new List <DescribeLiveStreamRecordContentResponse.DescribeLiveStreamRecordContent_RecordContentInfo>(); for (int i = 0; i < _ctx.Length("DescribeLiveStreamRecordContent.RecordContentInfoList.Length"); i++) { DescribeLiveStreamRecordContentResponse.DescribeLiveStreamRecordContent_RecordContentInfo recordContentInfo = new DescribeLiveStreamRecordContentResponse.DescribeLiveStreamRecordContent_RecordContentInfo(); recordContentInfo.OssEndpoint = _ctx.StringValue("DescribeLiveStreamRecordContent.RecordContentInfoList[" + i + "].OssEndpoint"); recordContentInfo.OssBucket = _ctx.StringValue("DescribeLiveStreamRecordContent.RecordContentInfoList[" + i + "].OssBucket"); recordContentInfo.OssObjectPrefix = _ctx.StringValue("DescribeLiveStreamRecordContent.RecordContentInfoList[" + i + "].OssObjectPrefix"); recordContentInfo.StartTime = _ctx.StringValue("DescribeLiveStreamRecordContent.RecordContentInfoList[" + i + "].StartTime"); recordContentInfo.EndTime = _ctx.StringValue("DescribeLiveStreamRecordContent.RecordContentInfoList[" + i + "].EndTime"); recordContentInfo.Duration = _ctx.FloatValue("DescribeLiveStreamRecordContent.RecordContentInfoList[" + i + "].Duration"); describeLiveStreamRecordContentResponse_recordContentInfoList.Add(recordContentInfo); } describeLiveStreamRecordContentResponse.RecordContentInfoList = describeLiveStreamRecordContentResponse_recordContentInfoList; return(describeLiveStreamRecordContentResponse); }
public static DescribeLiveStreamRecordContentResponse Unmarshall(UnmarshallerContext context) { DescribeLiveStreamRecordContentResponse describeLiveStreamRecordContentResponse = new DescribeLiveStreamRecordContentResponse() { HttpResponse = context.HttpResponse, RequestId = context.StringValue("DescribeLiveStreamRecordContent.RequestId") }; List <DescribeLiveStreamRecordContentResponse.RecordContentInfo> recordContentInfoList = new List <DescribeLiveStreamRecordContentResponse.RecordContentInfo>(); for (int i = 0; i < context.Length("DescribeLiveStreamRecordContent.RecordContentInfoList.Length"); i++) { DescribeLiveStreamRecordContentResponse.RecordContentInfo recordContentInfo = new DescribeLiveStreamRecordContentResponse.RecordContentInfo() { OssEndpoint = context.StringValue($"DescribeLiveStreamRecordContent.RecordContentInfoList[{i}].OssEndpoint"), OssBucket = context.StringValue($"DescribeLiveStreamRecordContent.RecordContentInfoList[{i}].OssBucket"), OssObjectPrefix = context.StringValue($"DescribeLiveStreamRecordContent.RecordContentInfoList[{i}].OssObjectPrefix"), StartTime = context.StringValue($"DescribeLiveStreamRecordContent.RecordContentInfoList[{i}].StartTime"), EndTime = context.StringValue($"DescribeLiveStreamRecordContent.RecordContentInfoList[{i}].EndTime"), Duration = context.FloatValue($"DescribeLiveStreamRecordContent.RecordContentInfoList[{i}].Duration") }; recordContentInfoList.Add(recordContentInfo); } describeLiveStreamRecordContentResponse.RecordContentInfoList = recordContentInfoList; return(describeLiveStreamRecordContentResponse); }
public static DescribeLiveStreamRecordContentResponse Unmarshall(UnmarshallerContext context) { DescribeLiveStreamRecordContentResponse describeLiveStreamRecordContentResponse = new DescribeLiveStreamRecordContentResponse(); describeLiveStreamRecordContentResponse.HttpResponse = context.HttpResponse; describeLiveStreamRecordContentResponse.RequestId = context.StringValue("DescribeLiveStreamRecordContent.RequestId"); List<DescribeLiveStreamRecordContentResponse.RecordContentInfo> recordContentInfoList = new List<DescribeLiveStreamRecordContentResponse.RecordContentInfo>(); for (int i = 0; i < context.Length("DescribeLiveStreamRecordContent.RecordContentInfoList.Length"); i++) { DescribeLiveStreamRecordContentResponse.RecordContentInfo recordContentInfo = new DescribeLiveStreamRecordContentResponse.RecordContentInfo(); recordContentInfo.OssEndpoint = context.StringValue("DescribeLiveStreamRecordContent.RecordContentInfoList["+ i +"].OssEndpoint"); recordContentInfo.OssBucket = context.StringValue("DescribeLiveStreamRecordContent.RecordContentInfoList["+ i +"].OssBucket"); recordContentInfo.OssObjectPrefix = context.StringValue("DescribeLiveStreamRecordContent.RecordContentInfoList["+ i +"].OssObjectPrefix"); recordContentInfo.StartTime = context.StringValue("DescribeLiveStreamRecordContent.RecordContentInfoList["+ i +"].StartTime"); recordContentInfo.EndTime = context.StringValue("DescribeLiveStreamRecordContent.RecordContentInfoList["+ i +"].EndTime"); recordContentInfo.Duration = context.FloatValue("DescribeLiveStreamRecordContent.RecordContentInfoList["+ i +"].Duration"); recordContentInfoList.Add(recordContentInfo); } describeLiveStreamRecordContentResponse.RecordContentInfoList = recordContentInfoList; return describeLiveStreamRecordContentResponse; }