public static DescribeApiErrorDataResponse Unmarshall(UnmarshallerContext context) { DescribeApiErrorDataResponse describeApiErrorDataResponse = new DescribeApiErrorDataResponse(); describeApiErrorDataResponse.HttpResponse = context.HttpResponse; describeApiErrorDataResponse.RequestId = context.StringValue("DescribeApiErrorData.RequestId"); List<DescribeApiErrorDataResponse.MonitorItem> clientErrors = new List<DescribeApiErrorDataResponse.MonitorItem>(); for (int i = 0; i < context.Length("DescribeApiErrorData.ClientErrors.Length"); i++) { DescribeApiErrorDataResponse.MonitorItem monitorItem = new DescribeApiErrorDataResponse.MonitorItem(); monitorItem.ItemTime = context.StringValue("DescribeApiErrorData.ClientErrors["+ i +"].ItemTime"); monitorItem.ItemValue = context.StringValue("DescribeApiErrorData.ClientErrors["+ i +"].ItemValue"); clientErrors.Add(monitorItem); } describeApiErrorDataResponse.ClientErrors = clientErrors; List<DescribeApiErrorDataResponse.MonitorItem> serverErrors = new List<DescribeApiErrorDataResponse.MonitorItem>(); for (int i = 0; i < context.Length("DescribeApiErrorData.ServerErrors.Length"); i++) { DescribeApiErrorDataResponse.MonitorItem monitorItem = new DescribeApiErrorDataResponse.MonitorItem(); monitorItem.ItemTime = context.StringValue("DescribeApiErrorData.ServerErrors["+ i +"].ItemTime"); monitorItem.ItemValue = context.StringValue("DescribeApiErrorData.ServerErrors["+ i +"].ItemValue"); serverErrors.Add(monitorItem); } describeApiErrorDataResponse.ServerErrors = serverErrors; return describeApiErrorDataResponse; }
public static DescribeCdnRegionAndIspResponse Unmarshall(UnmarshallerContext context) { DescribeCdnRegionAndIspResponse describeCdnRegionAndIspResponse = new DescribeCdnRegionAndIspResponse(); describeCdnRegionAndIspResponse.HttpResponse = context.HttpResponse; describeCdnRegionAndIspResponse.RequestId = context.StringValue("DescribeCdnRegionAndIsp.RequestId"); List<DescribeCdnRegionAndIspResponse.Region> regions = new List<DescribeCdnRegionAndIspResponse.Region>(); for (int i = 0; i < context.Length("DescribeCdnRegionAndIsp.Regions.Length"); i++) { DescribeCdnRegionAndIspResponse.Region region = new DescribeCdnRegionAndIspResponse.Region(); region.NameZh = context.StringValue("DescribeCdnRegionAndIsp.Regions["+ i +"].NameZh"); region.NameEn = context.StringValue("DescribeCdnRegionAndIsp.Regions["+ i +"].NameEn"); regions.Add(region); } describeCdnRegionAndIspResponse.Regions = regions; List<DescribeCdnRegionAndIspResponse.Isp> isps = new List<DescribeCdnRegionAndIspResponse.Isp>(); for (int i = 0; i < context.Length("DescribeCdnRegionAndIsp.Isps.Length"); i++) { DescribeCdnRegionAndIspResponse.Isp isp = new DescribeCdnRegionAndIspResponse.Isp(); isp.NameZh = context.StringValue("DescribeCdnRegionAndIsp.Isps["+ i +"].NameZh"); isp.NameEn = context.StringValue("DescribeCdnRegionAndIsp.Isps["+ i +"].NameEn"); isps.Add(isp); } describeCdnRegionAndIspResponse.Isps = isps; return describeCdnRegionAndIspResponse; }
public static DescribeZonesResponse Unmarshall(UnmarshallerContext context) { DescribeZonesResponse describeZonesResponse = new DescribeZonesResponse(); describeZonesResponse.HttpResponse = context.HttpResponse; describeZonesResponse.RequestId = context.StringValue("DescribeZones.RequestId"); List<DescribeZonesResponse.Zone> zones = new List<DescribeZonesResponse.Zone>(); for (int i = 0; i < context.Length("DescribeZones.Zones.Length"); i++) { DescribeZonesResponse.Zone zone = new DescribeZonesResponse.Zone(); zone.ZoneId = context.StringValue("DescribeZones.Zones["+ i +"].ZoneId"); zone.LocalName = context.StringValue("DescribeZones.Zones["+ i +"].LocalName"); List<DescribeZonesResponse.Zone.SlaveZone> slaveZones = new List<DescribeZonesResponse.Zone.SlaveZone>(); for (int j = 0; j < context.Length("DescribeZones.Zones["+ i +"].SlaveZones.Length"); j++) { DescribeZonesResponse.Zone.SlaveZone slaveZone = new DescribeZonesResponse.Zone.SlaveZone(); slaveZone.ZoneId = context.StringValue("DescribeZones.Zones["+ i +"].SlaveZones["+ j +"].ZoneId"); slaveZone.LocalName = context.StringValue("DescribeZones.Zones["+ i +"].SlaveZones["+ j +"].LocalName"); slaveZones.Add(slaveZone); } zone.SlaveZones = slaveZones; zones.Add(zone); } describeZonesResponse.Zones = zones; return describeZonesResponse; }
public static DescribeAppAttributesResponse Unmarshall(UnmarshallerContext context) { DescribeAppAttributesResponse describeAppAttributesResponse = new DescribeAppAttributesResponse(); describeAppAttributesResponse.HttpResponse = context.HttpResponse; describeAppAttributesResponse.RequestId = context.StringValue("DescribeAppAttributes.RequestId"); describeAppAttributesResponse.TotalCount = context.IntegerValue("DescribeAppAttributes.TotalCount"); describeAppAttributesResponse.PageSize = context.IntegerValue("DescribeAppAttributes.PageSize"); describeAppAttributesResponse.PageNumber = context.IntegerValue("DescribeAppAttributes.PageNumber"); List<DescribeAppAttributesResponse.AppAttribute> apps = new List<DescribeAppAttributesResponse.AppAttribute>(); for (int i = 0; i < context.Length("DescribeAppAttributes.Apps.Length"); i++) { DescribeAppAttributesResponse.AppAttribute appAttribute = new DescribeAppAttributesResponse.AppAttribute(); appAttribute.AppId = context.LongValue("DescribeAppAttributes.Apps["+ i +"].AppId"); appAttribute.AppName = context.StringValue("DescribeAppAttributes.Apps["+ i +"].AppName"); appAttribute.Description = context.StringValue("DescribeAppAttributes.Apps["+ i +"].Description"); appAttribute.CreatedTime = context.StringValue("DescribeAppAttributes.Apps["+ i +"].CreatedTime"); appAttribute.ModifiedTime = context.StringValue("DescribeAppAttributes.Apps["+ i +"].ModifiedTime"); apps.Add(appAttribute); } describeAppAttributesResponse.Apps = apps; return describeAppAttributesResponse; }
public static DescribeVSwitchesResponse Unmarshall(UnmarshallerContext context) { DescribeVSwitchesResponse describeVSwitchesResponse = new DescribeVSwitchesResponse(); describeVSwitchesResponse.HttpResponse = context.HttpResponse; describeVSwitchesResponse.RequestId = context.StringValue("DescribeVSwitches.RequestId"); describeVSwitchesResponse.TotalCount = context.IntegerValue("DescribeVSwitches.TotalCount"); describeVSwitchesResponse.PageNumber = context.IntegerValue("DescribeVSwitches.PageNumber"); describeVSwitchesResponse.PageSize = context.IntegerValue("DescribeVSwitches.PageSize"); List<DescribeVSwitchesResponse.VSwitch> vSwitches = new List<DescribeVSwitchesResponse.VSwitch>(); for (int i = 0; i < context.Length("DescribeVSwitches.VSwitches.Length"); i++) { DescribeVSwitchesResponse.VSwitch vSwitch = new DescribeVSwitchesResponse.VSwitch(); vSwitch.VSwitchId = context.StringValue("DescribeVSwitches.VSwitches["+ i +"].VSwitchId"); vSwitch.VpcId = context.StringValue("DescribeVSwitches.VSwitches["+ i +"].VpcId"); vSwitch.Status = context.StringValue("DescribeVSwitches.VSwitches["+ i +"].Status"); vSwitch.CidrBlock = context.StringValue("DescribeVSwitches.VSwitches["+ i +"].CidrBlock"); vSwitch.ZoneId = context.StringValue("DescribeVSwitches.VSwitches["+ i +"].ZoneId"); vSwitch.AvailableIpAddressCount = context.LongValue("DescribeVSwitches.VSwitches["+ i +"].AvailableIpAddressCount"); vSwitch.Description = context.StringValue("DescribeVSwitches.VSwitches["+ i +"].Description"); vSwitch.VSwitchName = context.StringValue("DescribeVSwitches.VSwitches["+ i +"].VSwitchName"); vSwitch.CreationTime = context.StringValue("DescribeVSwitches.VSwitches["+ i +"].CreationTime"); vSwitch.IsDefault = context.StringValue("DescribeVSwitches.VSwitches["+ i +"].IsDefault"); vSwitches.Add(vSwitch); } describeVSwitchesResponse.VSwitches = vSwitches; return describeVSwitchesResponse; }
public static DescribeDiskMonitorDataResponse Unmarshall(UnmarshallerContext context) { DescribeDiskMonitorDataResponse describeDiskMonitorDataResponse = new DescribeDiskMonitorDataResponse(); describeDiskMonitorDataResponse.HttpResponse = context.HttpResponse; describeDiskMonitorDataResponse.RequestId = context.StringValue("DescribeDiskMonitorData.RequestId"); describeDiskMonitorDataResponse.TotalCount = context.IntegerValue("DescribeDiskMonitorData.TotalCount"); List<DescribeDiskMonitorDataResponse.DiskMonitorData> monitorData = new List<DescribeDiskMonitorDataResponse.DiskMonitorData>(); for (int i = 0; i < context.Length("DescribeDiskMonitorData.MonitorData.Length"); i++) { DescribeDiskMonitorDataResponse.DiskMonitorData diskMonitorData = new DescribeDiskMonitorDataResponse.DiskMonitorData(); diskMonitorData.DiskId = context.StringValue("DescribeDiskMonitorData.MonitorData["+ i +"].DiskId"); diskMonitorData.IOPSRead = context.IntegerValue("DescribeDiskMonitorData.MonitorData["+ i +"].IOPSRead"); diskMonitorData.IOPSWrite = context.IntegerValue("DescribeDiskMonitorData.MonitorData["+ i +"].IOPSWrite"); diskMonitorData.IOPSTotal = context.IntegerValue("DescribeDiskMonitorData.MonitorData["+ i +"].IOPSTotal"); diskMonitorData.BPSRead = context.IntegerValue("DescribeDiskMonitorData.MonitorData["+ i +"].BPSRead"); diskMonitorData.BPSWrite = context.IntegerValue("DescribeDiskMonitorData.MonitorData["+ i +"].BPSWrite"); diskMonitorData.BPSTotal = context.IntegerValue("DescribeDiskMonitorData.MonitorData["+ i +"].BPSTotal"); diskMonitorData.TimeStamp = context.StringValue("DescribeDiskMonitorData.MonitorData["+ i +"].TimeStamp"); monitorData.Add(diskMonitorData); } describeDiskMonitorDataResponse.MonitorData = monitorData; return describeDiskMonitorDataResponse; }
public static DescribeCdnDomainBaseDetailResponse Unmarshall(UnmarshallerContext context) { DescribeCdnDomainBaseDetailResponse describeCdnDomainBaseDetailResponse = new DescribeCdnDomainBaseDetailResponse(); describeCdnDomainBaseDetailResponse.HttpResponse = context.HttpResponse; describeCdnDomainBaseDetailResponse.RequestId = context.StringValue("DescribeCdnDomainBaseDetail.RequestId"); DescribeCdnDomainBaseDetailResponse.DomainBaseDetailModel_ domainBaseDetailModel = new DescribeCdnDomainBaseDetailResponse.DomainBaseDetailModel_(); domainBaseDetailModel.Cname = context.StringValue("DescribeCdnDomainBaseDetail.DomainBaseDetailModel.Cname"); domainBaseDetailModel.CdnType = context.StringValue("DescribeCdnDomainBaseDetail.DomainBaseDetailModel.CdnType"); domainBaseDetailModel.DomainStatus = context.StringValue("DescribeCdnDomainBaseDetail.DomainBaseDetailModel.DomainStatus"); domainBaseDetailModel.SourceType = context.StringValue("DescribeCdnDomainBaseDetail.DomainBaseDetailModel.SourceType"); domainBaseDetailModel.DomainName = context.StringValue("DescribeCdnDomainBaseDetail.DomainBaseDetailModel.DomainName"); domainBaseDetailModel.Remark = context.StringValue("DescribeCdnDomainBaseDetail.DomainBaseDetailModel.Remark"); domainBaseDetailModel.GmtModified = context.StringValue("DescribeCdnDomainBaseDetail.DomainBaseDetailModel.GmtModified"); domainBaseDetailModel.GmtCreated = context.StringValue("DescribeCdnDomainBaseDetail.DomainBaseDetailModel.GmtCreated"); List<string> sources = new List<string>(); for (int i = 0; i < context.Length("DescribeCdnDomainBaseDetail.DomainBaseDetailModel.Sources.Length"); i++) { sources.Add(context.StringValue("DescribeCdnDomainBaseDetail.DomainBaseDetailModel.Sources["+ i +"]")); } domainBaseDetailModel.Sources = sources; describeCdnDomainBaseDetailResponse.DomainBaseDetailModel = domainBaseDetailModel; return describeCdnDomainBaseDetailResponse; }
public static SearchWaterMarkTemplateResponse Unmarshall(UnmarshallerContext context) { SearchWaterMarkTemplateResponse searchWaterMarkTemplateResponse = new SearchWaterMarkTemplateResponse(); searchWaterMarkTemplateResponse.HttpResponse = context.HttpResponse; searchWaterMarkTemplateResponse.RequestId = context.StringValue("SearchWaterMarkTemplate.RequestId"); searchWaterMarkTemplateResponse.TotalCount = context.LongValue("SearchWaterMarkTemplate.TotalCount"); searchWaterMarkTemplateResponse.PageNumber = context.LongValue("SearchWaterMarkTemplate.PageNumber"); searchWaterMarkTemplateResponse.PageSize = context.LongValue("SearchWaterMarkTemplate.PageSize"); List<SearchWaterMarkTemplateResponse.WaterMarkTemplate> waterMarkTemplateList = new List<SearchWaterMarkTemplateResponse.WaterMarkTemplate>(); for (int i = 0; i < context.Length("SearchWaterMarkTemplate.WaterMarkTemplateList.Length"); i++) { SearchWaterMarkTemplateResponse.WaterMarkTemplate waterMarkTemplate = new SearchWaterMarkTemplateResponse.WaterMarkTemplate(); waterMarkTemplate.Id = context.StringValue("SearchWaterMarkTemplate.WaterMarkTemplateList["+ i +"].Id"); waterMarkTemplate.Name = context.StringValue("SearchWaterMarkTemplate.WaterMarkTemplateList["+ i +"].Name"); waterMarkTemplate.Width = context.StringValue("SearchWaterMarkTemplate.WaterMarkTemplateList["+ i +"].Width"); waterMarkTemplate.Height = context.StringValue("SearchWaterMarkTemplate.WaterMarkTemplateList["+ i +"].Height"); waterMarkTemplate.Dx = context.StringValue("SearchWaterMarkTemplate.WaterMarkTemplateList["+ i +"].Dx"); waterMarkTemplate.Dy = context.StringValue("SearchWaterMarkTemplate.WaterMarkTemplateList["+ i +"].Dy"); waterMarkTemplate.ReferPos = context.StringValue("SearchWaterMarkTemplate.WaterMarkTemplateList["+ i +"].ReferPos"); waterMarkTemplate.Type = context.StringValue("SearchWaterMarkTemplate.WaterMarkTemplateList["+ i +"].Type"); waterMarkTemplate.State = context.StringValue("SearchWaterMarkTemplate.WaterMarkTemplateList["+ i +"].State"); waterMarkTemplateList.Add(waterMarkTemplate); } searchWaterMarkTemplateResponse.WaterMarkTemplateList = waterMarkTemplateList; return searchWaterMarkTemplateResponse; }
public static DescribeDBInstancePerformanceResponse Unmarshall(UnmarshallerContext context) { DescribeDBInstancePerformanceResponse describeDBInstancePerformanceResponse = new DescribeDBInstancePerformanceResponse(); describeDBInstancePerformanceResponse.HttpResponse = context.HttpResponse; describeDBInstancePerformanceResponse.RequestId = context.StringValue("DescribeDBInstancePerformance.RequestId"); describeDBInstancePerformanceResponse.DBInstanceId = context.StringValue("DescribeDBInstancePerformance.DBInstanceId"); describeDBInstancePerformanceResponse.Engine = context.StringValue("DescribeDBInstancePerformance.Engine"); describeDBInstancePerformanceResponse.StartTime = context.StringValue("DescribeDBInstancePerformance.StartTime"); describeDBInstancePerformanceResponse.EndTime = context.StringValue("DescribeDBInstancePerformance.EndTime"); List<DescribeDBInstancePerformanceResponse.PerformanceKey> performanceKeys = new List<DescribeDBInstancePerformanceResponse.PerformanceKey>(); for (int i = 0; i < context.Length("DescribeDBInstancePerformance.PerformanceKeys.Length"); i++) { DescribeDBInstancePerformanceResponse.PerformanceKey performanceKey = new DescribeDBInstancePerformanceResponse.PerformanceKey(); performanceKey.Key = context.StringValue("DescribeDBInstancePerformance.PerformanceKeys["+ i +"].Key"); performanceKey.Unit = context.StringValue("DescribeDBInstancePerformance.PerformanceKeys["+ i +"].Unit"); performanceKey.ValueFormat = context.StringValue("DescribeDBInstancePerformance.PerformanceKeys["+ i +"].ValueFormat"); List<DescribeDBInstancePerformanceResponse.PerformanceKey.PerformanceValue> values = new List<DescribeDBInstancePerformanceResponse.PerformanceKey.PerformanceValue>(); for (int j = 0; j < context.Length("DescribeDBInstancePerformance.PerformanceKeys["+ i +"].Values.Length"); j++) { DescribeDBInstancePerformanceResponse.PerformanceKey.PerformanceValue performanceValue = new DescribeDBInstancePerformanceResponse.PerformanceKey.PerformanceValue(); performanceValue.Value = context.StringValue("DescribeDBInstancePerformance.PerformanceKeys["+ i +"].Values["+ j +"].Value"); performanceValue.Date = context.StringValue("DescribeDBInstancePerformance.PerformanceKeys["+ i +"].Values["+ j +"].Date"); values.Add(performanceValue); } performanceKey.Values = values; performanceKeys.Add(performanceKey); } describeDBInstancePerformanceResponse.PerformanceKeys = performanceKeys; return describeDBInstancePerformanceResponse; }
public static DescribeCdnMonitorDataResponse Unmarshall(UnmarshallerContext context) { DescribeCdnMonitorDataResponse describeCdnMonitorDataResponse = new DescribeCdnMonitorDataResponse(); describeCdnMonitorDataResponse.HttpResponse = context.HttpResponse; describeCdnMonitorDataResponse.RequestId = context.StringValue("DescribeCdnMonitorData.RequestId"); describeCdnMonitorDataResponse.DomainName = context.StringValue("DescribeCdnMonitorData.DomainName"); describeCdnMonitorDataResponse.MonitorInterval = context.LongValue("DescribeCdnMonitorData.MonitorInterval"); describeCdnMonitorDataResponse.StartTime = context.StringValue("DescribeCdnMonitorData.StartTime"); describeCdnMonitorDataResponse.EndTime = context.StringValue("DescribeCdnMonitorData.EndTime"); List<DescribeCdnMonitorDataResponse.CDNMonitorData> monitorDatas = new List<DescribeCdnMonitorDataResponse.CDNMonitorData>(); for (int i = 0; i < context.Length("DescribeCdnMonitorData.MonitorDatas.Length"); i++) { DescribeCdnMonitorDataResponse.CDNMonitorData cDNMonitorData = new DescribeCdnMonitorDataResponse.CDNMonitorData(); cDNMonitorData.TimeStamp = context.StringValue("DescribeCdnMonitorData.MonitorDatas["+ i +"].TimeStamp"); cDNMonitorData.QueryPerSecond = context.StringValue("DescribeCdnMonitorData.MonitorDatas["+ i +"].QueryPerSecond"); cDNMonitorData.BytesPerSecond = context.StringValue("DescribeCdnMonitorData.MonitorDatas["+ i +"].BytesPerSecond"); cDNMonitorData.BytesHitRate = context.StringValue("DescribeCdnMonitorData.MonitorDatas["+ i +"].BytesHitRate"); cDNMonitorData.RequestHitRate = context.StringValue("DescribeCdnMonitorData.MonitorDatas["+ i +"].RequestHitRate"); cDNMonitorData.AverageObjectSize = context.StringValue("DescribeCdnMonitorData.MonitorDatas["+ i +"].AverageObjectSize"); monitorDatas.Add(cDNMonitorData); } describeCdnMonitorDataResponse.MonitorDatas = monitorDatas; return describeCdnMonitorDataResponse; }
public static ListDevicePermitsResponse Unmarshall(UnmarshallerContext context) { ListDevicePermitsResponse listDevicePermitsResponse = new ListDevicePermitsResponse(); listDevicePermitsResponse.HttpResponse = context.HttpResponse; listDevicePermitsResponse.RequestId = context.StringValue("ListDevicePermits.RequestId"); listDevicePermitsResponse.Success = context.BooleanValue("ListDevicePermits.Success"); listDevicePermitsResponse.ErrorMessage = context.StringValue("ListDevicePermits.ErrorMessage"); List<ListDevicePermitsResponse.DevicePermission> devicePermissions = new List<ListDevicePermitsResponse.DevicePermission>(); for (int i = 0; i < context.Length("ListDevicePermits.DevicePermissions.Length"); i++) { ListDevicePermitsResponse.DevicePermission devicePermission = new ListDevicePermitsResponse.DevicePermission(); devicePermission.Id = context.LongValue("ListDevicePermits.DevicePermissions["+ i +"].Id"); devicePermission.AppKey = context.LongValue("ListDevicePermits.DevicePermissions["+ i +"].AppKey"); devicePermission.DeviceId = context.StringValue("ListDevicePermits.DevicePermissions["+ i +"].DeviceId"); devicePermission.GrantType = context.StringValue("ListDevicePermits.DevicePermissions["+ i +"].GrantType"); devicePermission.TopicFullName = context.StringValue("ListDevicePermits.DevicePermissions["+ i +"].TopicFullName"); devicePermission.TopicUserId = context.LongValue("ListDevicePermits.DevicePermissions["+ i +"].TopicUserId"); devicePermissions.Add(devicePermission); } listDevicePermitsResponse.DevicePermissions = devicePermissions; return listDevicePermitsResponse; }
public static DescribeOptimizeAdviceOnBigTableResponse Unmarshall(UnmarshallerContext context) { DescribeOptimizeAdviceOnBigTableResponse describeOptimizeAdviceOnBigTableResponse = new DescribeOptimizeAdviceOnBigTableResponse(); describeOptimizeAdviceOnBigTableResponse.HttpResponse = context.HttpResponse; describeOptimizeAdviceOnBigTableResponse.RequestId = context.StringValue("DescribeOptimizeAdviceOnBigTable.RequestId"); describeOptimizeAdviceOnBigTableResponse.TotalRecordsCount = context.IntegerValue("DescribeOptimizeAdviceOnBigTable.TotalRecordsCount"); describeOptimizeAdviceOnBigTableResponse.PageNumber = context.IntegerValue("DescribeOptimizeAdviceOnBigTable.PageNumber"); describeOptimizeAdviceOnBigTableResponse.PageRecordCount = context.IntegerValue("DescribeOptimizeAdviceOnBigTable.PageRecordCount"); List<DescribeOptimizeAdviceOnBigTableResponse.AdviceOnBigTable> items = new List<DescribeOptimizeAdviceOnBigTableResponse.AdviceOnBigTable>(); for (int i = 0; i < context.Length("DescribeOptimizeAdviceOnBigTable.Items.Length"); i++) { DescribeOptimizeAdviceOnBigTableResponse.AdviceOnBigTable adviceOnBigTable = new DescribeOptimizeAdviceOnBigTableResponse.AdviceOnBigTable(); adviceOnBigTable.DBName = context.StringValue("DescribeOptimizeAdviceOnBigTable.Items["+ i +"].DBName"); adviceOnBigTable.TableName = context.StringValue("DescribeOptimizeAdviceOnBigTable.Items["+ i +"].TableName"); adviceOnBigTable.TableSize = context.LongValue("DescribeOptimizeAdviceOnBigTable.Items["+ i +"].TableSize"); adviceOnBigTable.DataSize = context.LongValue("DescribeOptimizeAdviceOnBigTable.Items["+ i +"].DataSize"); adviceOnBigTable.IndexSize = context.LongValue("DescribeOptimizeAdviceOnBigTable.Items["+ i +"].IndexSize"); items.Add(adviceOnBigTable); } describeOptimizeAdviceOnBigTableResponse.Items = items; return describeOptimizeAdviceOnBigTableResponse; }
public static DescribeImageSharePermissionResponse Unmarshall(UnmarshallerContext context) { DescribeImageSharePermissionResponse describeImageSharePermissionResponse = new DescribeImageSharePermissionResponse(); describeImageSharePermissionResponse.HttpResponse = context.HttpResponse; describeImageSharePermissionResponse.RequestId = context.StringValue("DescribeImageSharePermission.RequestId"); describeImageSharePermissionResponse.RegionId = context.StringValue("DescribeImageSharePermission.RegionId"); describeImageSharePermissionResponse.TotalCount = context.IntegerValue("DescribeImageSharePermission.TotalCount"); describeImageSharePermissionResponse.PageNumber = context.IntegerValue("DescribeImageSharePermission.PageNumber"); describeImageSharePermissionResponse.PageSize = context.IntegerValue("DescribeImageSharePermission.PageSize"); describeImageSharePermissionResponse.ImageId = context.StringValue("DescribeImageSharePermission.ImageId"); List<DescribeImageSharePermissionResponse.ShareGroup> shareGroups = new List<DescribeImageSharePermissionResponse.ShareGroup>(); for (int i = 0; i < context.Length("DescribeImageSharePermission.ShareGroups.Length"); i++) { DescribeImageSharePermissionResponse.ShareGroup shareGroup = new DescribeImageSharePermissionResponse.ShareGroup(); shareGroup.Group = context.StringValue("DescribeImageSharePermission.ShareGroups["+ i +"].Group"); shareGroups.Add(shareGroup); } describeImageSharePermissionResponse.ShareGroups = shareGroups; List<DescribeImageSharePermissionResponse.Account> accounts = new List<DescribeImageSharePermissionResponse.Account>(); for (int i = 0; i < context.Length("DescribeImageSharePermission.Accounts.Length"); i++) { DescribeImageSharePermissionResponse.Account account = new DescribeImageSharePermissionResponse.Account(); account.AliyunId = context.StringValue("DescribeImageSharePermission.Accounts["+ i +"].AliyunId"); accounts.Add(account); } describeImageSharePermissionResponse.Accounts = accounts; return describeImageSharePermissionResponse; }
public static DescribeApiTrafficDataResponse Unmarshall(UnmarshallerContext context) { DescribeApiTrafficDataResponse describeApiTrafficDataResponse = new DescribeApiTrafficDataResponse(); describeApiTrafficDataResponse.HttpResponse = context.HttpResponse; describeApiTrafficDataResponse.RequestId = context.StringValue("DescribeApiTrafficData.RequestId"); List<DescribeApiTrafficDataResponse.MonitorItem> callUploads = new List<DescribeApiTrafficDataResponse.MonitorItem>(); for (int i = 0; i < context.Length("DescribeApiTrafficData.CallUploads.Length"); i++) { DescribeApiTrafficDataResponse.MonitorItem monitorItem = new DescribeApiTrafficDataResponse.MonitorItem(); monitorItem.ItemTime = context.StringValue("DescribeApiTrafficData.CallUploads["+ i +"].ItemTime"); monitorItem.ItemValue = context.StringValue("DescribeApiTrafficData.CallUploads["+ i +"].ItemValue"); callUploads.Add(monitorItem); } describeApiTrafficDataResponse.CallUploads = callUploads; List<DescribeApiTrafficDataResponse.MonitorItem> callDownloads = new List<DescribeApiTrafficDataResponse.MonitorItem>(); for (int i = 0; i < context.Length("DescribeApiTrafficData.CallDownloads.Length"); i++) { DescribeApiTrafficDataResponse.MonitorItem monitorItem = new DescribeApiTrafficDataResponse.MonitorItem(); monitorItem.ItemTime = context.StringValue("DescribeApiTrafficData.CallDownloads["+ i +"].ItemTime"); monitorItem.ItemValue = context.StringValue("DescribeApiTrafficData.CallDownloads["+ i +"].ItemValue"); callDownloads.Add(monitorItem); } describeApiTrafficDataResponse.CallDownloads = callDownloads; return describeApiTrafficDataResponse; }
public static DescribeHistoryApisResponse Unmarshall(UnmarshallerContext context) { DescribeHistoryApisResponse describeHistoryApisResponse = new DescribeHistoryApisResponse(); describeHistoryApisResponse.HttpResponse = context.HttpResponse; describeHistoryApisResponse.RequestId = context.StringValue("DescribeHistoryApis.RequestId"); describeHistoryApisResponse.TotalCount = context.IntegerValue("DescribeHistoryApis.TotalCount"); describeHistoryApisResponse.PageSize = context.IntegerValue("DescribeHistoryApis.PageSize"); describeHistoryApisResponse.PageNumber = context.IntegerValue("DescribeHistoryApis.PageNumber"); List<DescribeHistoryApisResponse.ApiHisItem> apiHisItems = new List<DescribeHistoryApisResponse.ApiHisItem>(); for (int i = 0; i < context.Length("DescribeHistoryApis.ApiHisItems.Length"); i++) { DescribeHistoryApisResponse.ApiHisItem apiHisItem = new DescribeHistoryApisResponse.ApiHisItem(); apiHisItem.RegionId = context.StringValue("DescribeHistoryApis.ApiHisItems["+ i +"].RegionId"); apiHisItem.ApiId = context.StringValue("DescribeHistoryApis.ApiHisItems["+ i +"].ApiId"); apiHisItem.ApiName = context.StringValue("DescribeHistoryApis.ApiHisItems["+ i +"].ApiName"); apiHisItem.GroupId = context.StringValue("DescribeHistoryApis.ApiHisItems["+ i +"].GroupId"); apiHisItem.GroupName = context.StringValue("DescribeHistoryApis.ApiHisItems["+ i +"].GroupName"); apiHisItem.StageName = context.StringValue("DescribeHistoryApis.ApiHisItems["+ i +"].StageName"); apiHisItem.HistoryVersion = context.StringValue("DescribeHistoryApis.ApiHisItems["+ i +"].HistoryVersion"); apiHisItem.Status = context.EnumValue<DescribeHistoryApisResponse.ApiHisItem.StatusEnum>("DescribeHistoryApis.ApiHisItems["+ i +"].Status"); apiHisItem.Description = context.StringValue("DescribeHistoryApis.ApiHisItems["+ i +"].Description"); apiHisItem.DeployedTime = context.StringValue("DescribeHistoryApis.ApiHisItems["+ i +"].DeployedTime"); apiHisItems.Add(apiHisItem); } describeHistoryApisResponse.ApiHisItems = apiHisItems; return describeHistoryApisResponse; }
public static DescribeTagsResponse Unmarshall(UnmarshallerContext context) { DescribeTagsResponse describeTagsResponse = new DescribeTagsResponse(); describeTagsResponse.HttpResponse = context.HttpResponse; describeTagsResponse.RequestId = context.StringValue("DescribeTags.RequestId"); describeTagsResponse.PageSize = context.IntegerValue("DescribeTags.PageSize"); describeTagsResponse.PageNumber = context.IntegerValue("DescribeTags.PageNumber"); describeTagsResponse.TotalCount = context.IntegerValue("DescribeTags.TotalCount"); List<DescribeTagsResponse.Tag> tags = new List<DescribeTagsResponse.Tag>(); for (int i = 0; i < context.Length("DescribeTags.Tags.Length"); i++) { DescribeTagsResponse.Tag tag = new DescribeTagsResponse.Tag(); tag.TagKey = context.StringValue("DescribeTags.Tags["+ i +"].TagKey"); tag.TagValue = context.StringValue("DescribeTags.Tags["+ i +"].TagValue"); DescribeTagsResponse.Tag.ResourceTypeCount_ resourceTypeCount = new DescribeTagsResponse.Tag.ResourceTypeCount_(); resourceTypeCount.Instance = context.IntegerValue("DescribeTags.Tags["+ i +"].ResourceTypeCount.Instance"); resourceTypeCount.Disk = context.IntegerValue("DescribeTags.Tags["+ i +"].ResourceTypeCount.Disk"); resourceTypeCount.Image = context.IntegerValue("DescribeTags.Tags["+ i +"].ResourceTypeCount.Image"); resourceTypeCount.Snapshot = context.IntegerValue("DescribeTags.Tags["+ i +"].ResourceTypeCount.Snapshot"); resourceTypeCount.Securitygroup = context.IntegerValue("DescribeTags.Tags["+ i +"].ResourceTypeCount.Securitygroup"); tag.ResourceTypeCount = resourceTypeCount; tags.Add(tag); } describeTagsResponse.Tags = tags; return describeTagsResponse; }
public static DescribeParameterTemplatesResponse Unmarshall(UnmarshallerContext context) { DescribeParameterTemplatesResponse describeParameterTemplatesResponse = new DescribeParameterTemplatesResponse(); describeParameterTemplatesResponse.HttpResponse = context.HttpResponse; describeParameterTemplatesResponse.RequestId = context.StringValue("DescribeParameterTemplates.RequestId"); describeParameterTemplatesResponse.Engine = context.StringValue("DescribeParameterTemplates.Engine"); describeParameterTemplatesResponse.EngineVersion = context.StringValue("DescribeParameterTemplates.EngineVersion"); describeParameterTemplatesResponse.ParameterCount = context.StringValue("DescribeParameterTemplates.ParameterCount"); List<DescribeParameterTemplatesResponse.TemplateRecord> parameters = new List<DescribeParameterTemplatesResponse.TemplateRecord>(); for (int i = 0; i < context.Length("DescribeParameterTemplates.Parameters.Length"); i++) { DescribeParameterTemplatesResponse.TemplateRecord templateRecord = new DescribeParameterTemplatesResponse.TemplateRecord(); templateRecord.ParameterName = context.StringValue("DescribeParameterTemplates.Parameters["+ i +"].ParameterName"); templateRecord.ParameterValue = context.StringValue("DescribeParameterTemplates.Parameters["+ i +"].ParameterValue"); templateRecord.ForceModify = context.StringValue("DescribeParameterTemplates.Parameters["+ i +"].ForceModify"); templateRecord.ForceRestart = context.StringValue("DescribeParameterTemplates.Parameters["+ i +"].ForceRestart"); templateRecord.CheckingCode = context.StringValue("DescribeParameterTemplates.Parameters["+ i +"].CheckingCode"); templateRecord.ParameterDescription = context.StringValue("DescribeParameterTemplates.Parameters["+ i +"].ParameterDescription"); parameters.Add(templateRecord); } describeParameterTemplatesResponse.Parameters = parameters; return describeParameterTemplatesResponse; }
public static DescribeDomainCCAttackInfoResponse Unmarshall(UnmarshallerContext context) { DescribeDomainCCAttackInfoResponse describeDomainCCAttackInfoResponse = new DescribeDomainCCAttackInfoResponse(); describeDomainCCAttackInfoResponse.HttpResponse = context.HttpResponse; describeDomainCCAttackInfoResponse.RequestId = context.StringValue("DescribeDomainCCAttackInfo.RequestId"); describeDomainCCAttackInfoResponse.DomainName = context.StringValue("DescribeDomainCCAttackInfo.DomainName"); describeDomainCCAttackInfoResponse.StartTime = context.StringValue("DescribeDomainCCAttackInfo.StartTime"); describeDomainCCAttackInfoResponse.EndTime = context.StringValue("DescribeDomainCCAttackInfo.EndTime"); List<DescribeDomainCCAttackInfoResponse.AttackIpDatas> attackIpDataList = new List<DescribeDomainCCAttackInfoResponse.AttackIpDatas>(); for (int i = 0; i < context.Length("DescribeDomainCCAttackInfo.AttackIpDataList.Length"); i++) { DescribeDomainCCAttackInfoResponse.AttackIpDatas attackIpDatas = new DescribeDomainCCAttackInfoResponse.AttackIpDatas(); attackIpDatas.Ip = context.StringValue("DescribeDomainCCAttackInfo.AttackIpDataList["+ i +"].Ip"); attackIpDatas.AttackCount = context.StringValue("DescribeDomainCCAttackInfo.AttackIpDataList["+ i +"].AttackCount"); attackIpDatas.Result = context.StringValue("DescribeDomainCCAttackInfo.AttackIpDataList["+ i +"].Result"); attackIpDataList.Add(attackIpDatas); } describeDomainCCAttackInfoResponse.AttackIpDataList = attackIpDataList; List<DescribeDomainCCAttackInfoResponse.AttackedUrlDatas> attackedUrlDataList = new List<DescribeDomainCCAttackInfoResponse.AttackedUrlDatas>(); for (int i = 0; i < context.Length("DescribeDomainCCAttackInfo.AttackedUrlDataList.Length"); i++) { DescribeDomainCCAttackInfoResponse.AttackedUrlDatas attackedUrlDatas = new DescribeDomainCCAttackInfoResponse.AttackedUrlDatas(); attackedUrlDatas.Url = context.StringValue("DescribeDomainCCAttackInfo.AttackedUrlDataList["+ i +"].Url"); attackedUrlDatas.AttackCount = context.StringValue("DescribeDomainCCAttackInfo.AttackedUrlDataList["+ i +"].AttackCount"); attackedUrlDatas.Result = context.StringValue("DescribeDomainCCAttackInfo.AttackedUrlDataList["+ i +"].Result"); attackedUrlDataList.Add(attackedUrlDatas); } describeDomainCCAttackInfoResponse.AttackedUrlDataList = attackedUrlDataList; return describeDomainCCAttackInfoResponse; }
public static DescribeDBInstanceHAConfigResponse Unmarshall(UnmarshallerContext context) { DescribeDBInstanceHAConfigResponse describeDBInstanceHAConfigResponse = new DescribeDBInstanceHAConfigResponse(); describeDBInstanceHAConfigResponse.HttpResponse = context.HttpResponse; describeDBInstanceHAConfigResponse.RequestId = context.StringValue("DescribeDBInstanceHAConfig.RequestId"); describeDBInstanceHAConfigResponse.DBInstanceId = context.StringValue("DescribeDBInstanceHAConfig.DBInstanceId"); describeDBInstanceHAConfigResponse.SyncMode = context.StringValue("DescribeDBInstanceHAConfig.SyncMode"); describeDBInstanceHAConfigResponse.HAMode = context.StringValue("DescribeDBInstanceHAConfig.HAMode"); List<DescribeDBInstanceHAConfigResponse.NodeInfo> hostInstanceInfos = new List<DescribeDBInstanceHAConfigResponse.NodeInfo>(); for (int i = 0; i < context.Length("DescribeDBInstanceHAConfig.HostInstanceInfos.Length"); i++) { DescribeDBInstanceHAConfigResponse.NodeInfo nodeInfo = new DescribeDBInstanceHAConfigResponse.NodeInfo(); nodeInfo.NodeId = context.StringValue("DescribeDBInstanceHAConfig.HostInstanceInfos["+ i +"].NodeId"); nodeInfo.RegionId = context.StringValue("DescribeDBInstanceHAConfig.HostInstanceInfos["+ i +"].RegionId"); nodeInfo.LogSyncTime = context.StringValue("DescribeDBInstanceHAConfig.HostInstanceInfos["+ i +"].LogSyncTime"); nodeInfo.DataSyncTime = context.StringValue("DescribeDBInstanceHAConfig.HostInstanceInfos["+ i +"].DataSyncTime"); nodeInfo.NodeType = context.StringValue("DescribeDBInstanceHAConfig.HostInstanceInfos["+ i +"].NodeType"); nodeInfo.ZoneId = context.StringValue("DescribeDBInstanceHAConfig.HostInstanceInfos["+ i +"].ZoneId"); nodeInfo.SyncStatus = context.EnumValue<DescribeDBInstanceHAConfigResponse.NodeInfo.SyncStatusEnum>("DescribeDBInstanceHAConfig.HostInstanceInfos["+ i +"].SyncStatus"); hostInstanceInfos.Add(nodeInfo); } describeDBInstanceHAConfigResponse.HostInstanceInfos = hostInstanceInfos; return describeDBInstanceHAConfigResponse; }
public static DescribeInstanceMonitorDataResponse Unmarshall(UnmarshallerContext context) { DescribeInstanceMonitorDataResponse describeInstanceMonitorDataResponse = new DescribeInstanceMonitorDataResponse(); describeInstanceMonitorDataResponse.HttpResponse = context.HttpResponse; describeInstanceMonitorDataResponse.RequestId = context.StringValue("DescribeInstanceMonitorData.RequestId"); List<DescribeInstanceMonitorDataResponse.InstanceMonitorData> monitorData = new List<DescribeInstanceMonitorDataResponse.InstanceMonitorData>(); for (int i = 0; i < context.Length("DescribeInstanceMonitorData.MonitorData.Length"); i++) { DescribeInstanceMonitorDataResponse.InstanceMonitorData instanceMonitorData = new DescribeInstanceMonitorDataResponse.InstanceMonitorData(); instanceMonitorData.InstanceId = context.StringValue("DescribeInstanceMonitorData.MonitorData["+ i +"].InstanceId"); instanceMonitorData.CPU = context.IntegerValue("DescribeInstanceMonitorData.MonitorData["+ i +"].CPU"); instanceMonitorData.IntranetRX = context.IntegerValue("DescribeInstanceMonitorData.MonitorData["+ i +"].IntranetRX"); instanceMonitorData.IntranetTX = context.IntegerValue("DescribeInstanceMonitorData.MonitorData["+ i +"].IntranetTX"); instanceMonitorData.IntranetBandwidth = context.IntegerValue("DescribeInstanceMonitorData.MonitorData["+ i +"].IntranetBandwidth"); instanceMonitorData.InternetRX = context.IntegerValue("DescribeInstanceMonitorData.MonitorData["+ i +"].InternetRX"); instanceMonitorData.InternetTX = context.IntegerValue("DescribeInstanceMonitorData.MonitorData["+ i +"].InternetTX"); instanceMonitorData.InternetBandwidth = context.IntegerValue("DescribeInstanceMonitorData.MonitorData["+ i +"].InternetBandwidth"); instanceMonitorData.IOPSRead = context.IntegerValue("DescribeInstanceMonitorData.MonitorData["+ i +"].IOPSRead"); instanceMonitorData.IOPSWrite = context.IntegerValue("DescribeInstanceMonitorData.MonitorData["+ i +"].IOPSWrite"); instanceMonitorData.BPSRead = context.IntegerValue("DescribeInstanceMonitorData.MonitorData["+ i +"].BPSRead"); instanceMonitorData.BPSWrite = context.IntegerValue("DescribeInstanceMonitorData.MonitorData["+ i +"].BPSWrite"); instanceMonitorData.TimeStamp = context.StringValue("DescribeInstanceMonitorData.MonitorData["+ i +"].TimeStamp"); monitorData.Add(instanceMonitorData); } describeInstanceMonitorDataResponse.MonitorData = monitorData; return describeInstanceMonitorDataResponse; }
public static QueryPageByApplyIdResponse Unmarshall(UnmarshallerContext context) { QueryPageByApplyIdResponse queryPageByApplyIdResponse = new QueryPageByApplyIdResponse(); queryPageByApplyIdResponse.HttpResponse = context.HttpResponse; queryPageByApplyIdResponse.RequestId = context.StringValue("QueryPageByApplyId.RequestId"); queryPageByApplyIdResponse.Success = context.BooleanValue("QueryPageByApplyId.Success"); queryPageByApplyIdResponse.ErrorMessage = context.StringValue("QueryPageByApplyId.ErrorMessage"); queryPageByApplyIdResponse.PageSize = context.IntegerValue("QueryPageByApplyId.PageSize"); queryPageByApplyIdResponse.Page = context.IntegerValue("QueryPageByApplyId.Page"); queryPageByApplyIdResponse.PageCount = context.IntegerValue("QueryPageByApplyId.PageCount"); queryPageByApplyIdResponse.Total = context.IntegerValue("QueryPageByApplyId.Total"); List<QueryPageByApplyIdResponse.ApplyDeviceInfo> applyDeviceList = new List<QueryPageByApplyIdResponse.ApplyDeviceInfo>(); for (int i = 0; i < context.Length("QueryPageByApplyId.ApplyDeviceList.Length"); i++) { QueryPageByApplyIdResponse.ApplyDeviceInfo applyDeviceInfo = new QueryPageByApplyIdResponse.ApplyDeviceInfo(); applyDeviceInfo.DeviceId = context.StringValue("QueryPageByApplyId.ApplyDeviceList["+ i +"].DeviceId"); applyDeviceInfo.DeviceName = context.StringValue("QueryPageByApplyId.ApplyDeviceList["+ i +"].DeviceName"); applyDeviceInfo.DeviceSecret = context.StringValue("QueryPageByApplyId.ApplyDeviceList["+ i +"].DeviceSecret"); applyDeviceList.Add(applyDeviceInfo); } queryPageByApplyIdResponse.ApplyDeviceList = applyDeviceList; return queryPageByApplyIdResponse; }
public static DescribeLoadBalancerTCPListenerAttributeResponse Unmarshall(UnmarshallerContext context) { DescribeLoadBalancerTCPListenerAttributeResponse describeLoadBalancerTCPListenerAttributeResponse = new DescribeLoadBalancerTCPListenerAttributeResponse(); describeLoadBalancerTCPListenerAttributeResponse.HttpResponse = context.HttpResponse; describeLoadBalancerTCPListenerAttributeResponse.RequestId = context.StringValue("DescribeLoadBalancerTCPListenerAttribute.RequestId"); describeLoadBalancerTCPListenerAttributeResponse.ListenerPort = context.IntegerValue("DescribeLoadBalancerTCPListenerAttribute.ListenerPort"); describeLoadBalancerTCPListenerAttributeResponse.BackendServerPort = context.IntegerValue("DescribeLoadBalancerTCPListenerAttribute.BackendServerPort"); describeLoadBalancerTCPListenerAttributeResponse.Status = context.StringValue("DescribeLoadBalancerTCPListenerAttribute.Status"); describeLoadBalancerTCPListenerAttributeResponse.Bandwidth = context.IntegerValue("DescribeLoadBalancerTCPListenerAttribute.Bandwidth"); describeLoadBalancerTCPListenerAttributeResponse.Scheduler = context.StringValue("DescribeLoadBalancerTCPListenerAttribute.Scheduler"); describeLoadBalancerTCPListenerAttributeResponse.SynProxy = context.StringValue("DescribeLoadBalancerTCPListenerAttribute.SynProxy"); describeLoadBalancerTCPListenerAttributeResponse.PersistenceTimeout = context.IntegerValue("DescribeLoadBalancerTCPListenerAttribute.PersistenceTimeout"); describeLoadBalancerTCPListenerAttributeResponse.HealthCheck = context.StringValue("DescribeLoadBalancerTCPListenerAttribute.HealthCheck"); describeLoadBalancerTCPListenerAttributeResponse.HealthyThreshold = context.IntegerValue("DescribeLoadBalancerTCPListenerAttribute.HealthyThreshold"); describeLoadBalancerTCPListenerAttributeResponse.UnhealthyThreshold = context.IntegerValue("DescribeLoadBalancerTCPListenerAttribute.UnhealthyThreshold"); describeLoadBalancerTCPListenerAttributeResponse.HealthCheckConnectTimeout = context.IntegerValue("DescribeLoadBalancerTCPListenerAttribute.HealthCheckConnectTimeout"); describeLoadBalancerTCPListenerAttributeResponse.HealthCheckConnectPort = context.IntegerValue("DescribeLoadBalancerTCPListenerAttribute.HealthCheckConnectPort"); describeLoadBalancerTCPListenerAttributeResponse.HealthCheckInterval = context.IntegerValue("DescribeLoadBalancerTCPListenerAttribute.HealthCheckInterval"); describeLoadBalancerTCPListenerAttributeResponse.HealthCheckHttpCode = context.StringValue("DescribeLoadBalancerTCPListenerAttribute.HealthCheckHttpCode"); describeLoadBalancerTCPListenerAttributeResponse.HealthCheckDomain = context.StringValue("DescribeLoadBalancerTCPListenerAttribute.HealthCheckDomain"); describeLoadBalancerTCPListenerAttributeResponse.HealthCheckURI = context.StringValue("DescribeLoadBalancerTCPListenerAttribute.HealthCheckURI"); describeLoadBalancerTCPListenerAttributeResponse.HealthCheckType = context.StringValue("DescribeLoadBalancerTCPListenerAttribute.HealthCheckType"); describeLoadBalancerTCPListenerAttributeResponse.MaxConnection = context.IntegerValue("DescribeLoadBalancerTCPListenerAttribute.MaxConnection"); describeLoadBalancerTCPListenerAttributeResponse.VServerGroupId = context.StringValue("DescribeLoadBalancerTCPListenerAttribute.VServerGroupId"); return describeLoadBalancerTCPListenerAttributeResponse; }
public static DescribeRealtimeDiagnosesResponse Unmarshall(UnmarshallerContext context) { DescribeRealtimeDiagnosesResponse describeRealtimeDiagnosesResponse = new DescribeRealtimeDiagnosesResponse(); describeRealtimeDiagnosesResponse.HttpResponse = context.HttpResponse; describeRealtimeDiagnosesResponse.RequestId = context.StringValue("DescribeRealtimeDiagnoses.RequestId"); describeRealtimeDiagnosesResponse.Engine = context.StringValue("DescribeRealtimeDiagnoses.Engine"); describeRealtimeDiagnosesResponse.TotalRecordCount = context.IntegerValue("DescribeRealtimeDiagnoses.TotalRecordCount"); describeRealtimeDiagnosesResponse.PageNumber = context.IntegerValue("DescribeRealtimeDiagnoses.PageNumber"); describeRealtimeDiagnosesResponse.PageRecordCount = context.IntegerValue("DescribeRealtimeDiagnoses.PageRecordCount"); List<DescribeRealtimeDiagnosesResponse.RealtimeDiagnoseTasks> tasks = new List<DescribeRealtimeDiagnosesResponse.RealtimeDiagnoseTasks>(); for (int i = 0; i < context.Length("DescribeRealtimeDiagnoses.Tasks.Length"); i++) { DescribeRealtimeDiagnosesResponse.RealtimeDiagnoseTasks realtimeDiagnoseTasks = new DescribeRealtimeDiagnosesResponse.RealtimeDiagnoseTasks(); realtimeDiagnoseTasks.CreateTime = context.StringValue("DescribeRealtimeDiagnoses.Tasks["+ i +"].CreateTime"); realtimeDiagnoseTasks.TaskId = context.StringValue("DescribeRealtimeDiagnoses.Tasks["+ i +"].TaskId"); realtimeDiagnoseTasks.HealthScore = context.StringValue("DescribeRealtimeDiagnoses.Tasks["+ i +"].HealthScore"); realtimeDiagnoseTasks.Status = context.EnumValue<DescribeRealtimeDiagnosesResponse.RealtimeDiagnoseTasks.StatusEnum>("DescribeRealtimeDiagnoses.Tasks["+ i +"].Status"); tasks.Add(realtimeDiagnoseTasks); } describeRealtimeDiagnosesResponse.Tasks = tasks; return describeRealtimeDiagnosesResponse; }
public static DescribeDeployedApisResponse Unmarshall(UnmarshallerContext context) { DescribeDeployedApisResponse describeDeployedApisResponse = new DescribeDeployedApisResponse(); describeDeployedApisResponse.HttpResponse = context.HttpResponse; describeDeployedApisResponse.RequestId = context.StringValue("DescribeDeployedApis.RequestId"); describeDeployedApisResponse.TotalCount = context.IntegerValue("DescribeDeployedApis.TotalCount"); describeDeployedApisResponse.PageSize = context.IntegerValue("DescribeDeployedApis.PageSize"); describeDeployedApisResponse.PageNumber = context.IntegerValue("DescribeDeployedApis.PageNumber"); List<DescribeDeployedApisResponse.DeployedApiItem> deployedApis = new List<DescribeDeployedApisResponse.DeployedApiItem>(); for (int i = 0; i < context.Length("DescribeDeployedApis.DeployedApis.Length"); i++) { DescribeDeployedApisResponse.DeployedApiItem deployedApiItem = new DescribeDeployedApisResponse.DeployedApiItem(); deployedApiItem.RegionId = context.StringValue("DescribeDeployedApis.DeployedApis["+ i +"].RegionId"); deployedApiItem.ApiId = context.StringValue("DescribeDeployedApis.DeployedApis["+ i +"].ApiId"); deployedApiItem.ApiName = context.StringValue("DescribeDeployedApis.DeployedApis["+ i +"].ApiName"); deployedApiItem.GroupId = context.StringValue("DescribeDeployedApis.DeployedApis["+ i +"].GroupId"); deployedApiItem.GroupName = context.StringValue("DescribeDeployedApis.DeployedApis["+ i +"].GroupName"); deployedApiItem.StageName = context.StringValue("DescribeDeployedApis.DeployedApis["+ i +"].StageName"); deployedApiItem.Visibility = context.StringValue("DescribeDeployedApis.DeployedApis["+ i +"].Visibility"); deployedApiItem.Description = context.StringValue("DescribeDeployedApis.DeployedApis["+ i +"].Description"); deployedApiItem.DeployedTime = context.StringValue("DescribeDeployedApis.DeployedApis["+ i +"].DeployedTime"); deployedApis.Add(deployedApiItem); } describeDeployedApisResponse.DeployedApis = deployedApis; return describeDeployedApisResponse; }
public static DescribeInstancesResponse Unmarshall(UnmarshallerContext context) { DescribeInstancesResponse describeInstancesResponse = new DescribeInstancesResponse(); describeInstancesResponse.HttpResponse = context.HttpResponse; describeInstancesResponse.RequestId = context.StringValue("DescribeInstances.RequestId"); List<DescribeInstancesResponse.Instance> instances = new List<DescribeInstancesResponse.Instance>(); for (int i = 0; i < context.Length("DescribeInstances.Instances.Length"); i++) { DescribeInstancesResponse.Instance instance = new DescribeInstancesResponse.Instance(); instance.InstanceId = context.StringValue("DescribeInstances.Instances["+ i +"].InstanceId"); instance.InstanceType = context.EnumValue<DescribeInstancesResponse.Instance.InstanceTypeEnum>("DescribeInstances.Instances["+ i +"].InstanceType"); instance.PackageId = context.EnumValue<DescribeInstancesResponse.Instance.PackageIdEnum>("DescribeInstances.Instances["+ i +"].PackageId"); instance.Status = context.EnumValue<DescribeInstancesResponse.Instance.StatusEnum>("DescribeInstances.Instances["+ i +"].Status"); instance.InnerIpAddress = context.StringValue("DescribeInstances.Instances["+ i +"].InnerIpAddress"); instance.JumpserverStatus = context.EnumValue<DescribeInstancesResponse.Instance.JumpserverStatusEnum>("DescribeInstances.Instances["+ i +"].JumpserverStatus"); instance.JumpserverInnerIpAddress = context.StringValue("DescribeInstances.Instances["+ i +"].JumpserverInnerIpAddress"); instance.JumpServerPublicIpAddress = context.StringValue("DescribeInstances.Instances["+ i +"].JumpServerPublicIpAddress"); instances.Add(instance); } describeInstancesResponse.Instances = instances; return describeInstancesResponse; }
public static DescribeApisBySignatureResponse Unmarshall(UnmarshallerContext context) { DescribeApisBySignatureResponse describeApisBySignatureResponse = new DescribeApisBySignatureResponse(); describeApisBySignatureResponse.HttpResponse = context.HttpResponse; describeApisBySignatureResponse.RequestId = context.StringValue("DescribeApisBySignature.RequestId"); describeApisBySignatureResponse.TotalCount = context.IntegerValue("DescribeApisBySignature.TotalCount"); describeApisBySignatureResponse.PageSize = context.IntegerValue("DescribeApisBySignature.PageSize"); describeApisBySignatureResponse.PageNumber = context.IntegerValue("DescribeApisBySignature.PageNumber"); List<DescribeApisBySignatureResponse.ApiInfo> apiInfos = new List<DescribeApisBySignatureResponse.ApiInfo>(); for (int i = 0; i < context.Length("DescribeApisBySignature.ApiInfos.Length"); i++) { DescribeApisBySignatureResponse.ApiInfo apiInfo = new DescribeApisBySignatureResponse.ApiInfo(); apiInfo.RegionId = context.StringValue("DescribeApisBySignature.ApiInfos["+ i +"].RegionId"); apiInfo.GroupId = context.StringValue("DescribeApisBySignature.ApiInfos["+ i +"].GroupId"); apiInfo.GroupName = context.StringValue("DescribeApisBySignature.ApiInfos["+ i +"].GroupName"); apiInfo.StageName = context.StringValue("DescribeApisBySignature.ApiInfos["+ i +"].StageName"); apiInfo.ApiId = context.StringValue("DescribeApisBySignature.ApiInfos["+ i +"].ApiId"); apiInfo.ApiName = context.StringValue("DescribeApisBySignature.ApiInfos["+ i +"].ApiName"); apiInfo.Description = context.StringValue("DescribeApisBySignature.ApiInfos["+ i +"].Description"); apiInfo.Visibility = context.StringValue("DescribeApisBySignature.ApiInfos["+ i +"].Visibility"); apiInfo.BoundTime = context.StringValue("DescribeApisBySignature.ApiInfos["+ i +"].BoundTime"); apiInfos.Add(apiInfo); } describeApisBySignatureResponse.ApiInfos = apiInfos; return describeApisBySignatureResponse; }
public static DescibeImportsFromDatabaseResponse Unmarshall(UnmarshallerContext context) { DescibeImportsFromDatabaseResponse descibeImportsFromDatabaseResponse = new DescibeImportsFromDatabaseResponse(); descibeImportsFromDatabaseResponse.HttpResponse = context.HttpResponse; descibeImportsFromDatabaseResponse.RequestId = context.StringValue("DescibeImportsFromDatabase.RequestId"); descibeImportsFromDatabaseResponse.TotalRecordCount = context.IntegerValue("DescibeImportsFromDatabase.TotalRecordCount"); descibeImportsFromDatabaseResponse.PageNumber = context.IntegerValue("DescibeImportsFromDatabase.PageNumber"); descibeImportsFromDatabaseResponse.PageRecordCount = context.IntegerValue("DescibeImportsFromDatabase.PageRecordCount"); List<DescibeImportsFromDatabaseResponse.ImportResultFromDB> items = new List<DescibeImportsFromDatabaseResponse.ImportResultFromDB>(); for (int i = 0; i < context.Length("DescibeImportsFromDatabase.Items.Length"); i++) { DescibeImportsFromDatabaseResponse.ImportResultFromDB importResultFromDB = new DescibeImportsFromDatabaseResponse.ImportResultFromDB(); importResultFromDB.ImportId = context.IntegerValue("DescibeImportsFromDatabase.Items["+ i +"].ImportId"); importResultFromDB.ImportDataType = context.EnumValue<DescibeImportsFromDatabaseResponse.ImportResultFromDB.ImportDataTypeEnum>("DescibeImportsFromDatabase.Items["+ i +"].ImportDataType"); importResultFromDB.ImportDataStatus = context.EnumValue<DescibeImportsFromDatabaseResponse.ImportResultFromDB.ImportDataStatusEnum>("DescibeImportsFromDatabase.Items["+ i +"].ImportDataStatus"); importResultFromDB.ImportDataStatusDescription = context.StringValue("DescibeImportsFromDatabase.Items["+ i +"].ImportDataStatusDescription"); importResultFromDB.IncrementalImportingTime = context.StringValue("DescibeImportsFromDatabase.Items["+ i +"].IncrementalImportingTime"); items.Add(importResultFromDB); } descibeImportsFromDatabaseResponse.Items = items; return descibeImportsFromDatabaseResponse; }
public static QuerySmsDetailByPageResponse Unmarshall(UnmarshallerContext context) { QuerySmsDetailByPageResponse querySmsDetailByPageResponse = new QuerySmsDetailByPageResponse(); querySmsDetailByPageResponse.HttpResponse = context.HttpResponse; querySmsDetailByPageResponse.RequestId = context.StringValue("QuerySmsDetailByPage.RequestId"); querySmsDetailByPageResponse.PageNumber = context.IntegerValue("QuerySmsDetailByPage.PageNumber"); querySmsDetailByPageResponse.PageSize = context.IntegerValue("QuerySmsDetailByPage.PageSize"); querySmsDetailByPageResponse.TotalCount = context.IntegerValue("QuerySmsDetailByPage.TotalCount"); List<QuerySmsDetailByPageResponse.stat> data = new List<QuerySmsDetailByPageResponse.stat>(); for (int i = 0; i < context.Length("QuerySmsDetailByPage.data.Length"); i++) { QuerySmsDetailByPageResponse.stat stat = new QuerySmsDetailByPageResponse.stat(); stat.ReceiverNum = context.StringValue("QuerySmsDetailByPage.data["+ i +"].ReceiverNum"); stat.SmsCode = context.StringValue("QuerySmsDetailByPage.data["+ i +"].SmsCode"); stat.SmsContent = context.StringValue("QuerySmsDetailByPage.data["+ i +"].SmsContent"); stat.SmsStatus = context.IntegerValue("QuerySmsDetailByPage.data["+ i +"].SmsStatus"); stat.ResultCode = context.StringValue("QuerySmsDetailByPage.data["+ i +"].ResultCode"); data.Add(stat); } querySmsDetailByPageResponse.Data = data; return querySmsDetailByPageResponse; }
public static DescribeApisResponse Unmarshall(UnmarshallerContext context) { DescribeApisResponse describeApisResponse = new DescribeApisResponse(); describeApisResponse.HttpResponse = context.HttpResponse; describeApisResponse.RequestId = context.StringValue("DescribeApis.RequestId"); describeApisResponse.TotalCount = context.IntegerValue("DescribeApis.TotalCount"); describeApisResponse.PageSize = context.IntegerValue("DescribeApis.PageSize"); describeApisResponse.PageNumber = context.IntegerValue("DescribeApis.PageNumber"); List<DescribeApisResponse.ApiSummary> apiSummarys = new List<DescribeApisResponse.ApiSummary>(); for (int i = 0; i < context.Length("DescribeApis.ApiSummarys.Length"); i++) { DescribeApisResponse.ApiSummary apiSummary = new DescribeApisResponse.ApiSummary(); apiSummary.RegionId = context.StringValue("DescribeApis.ApiSummarys["+ i +"].RegionId"); apiSummary.GroupId = context.StringValue("DescribeApis.ApiSummarys["+ i +"].GroupId"); apiSummary.GroupName = context.StringValue("DescribeApis.ApiSummarys["+ i +"].GroupName"); apiSummary.ApiId = context.StringValue("DescribeApis.ApiSummarys["+ i +"].ApiId"); apiSummary.ApiName = context.StringValue("DescribeApis.ApiSummarys["+ i +"].ApiName"); apiSummary.Visibility = context.StringValue("DescribeApis.ApiSummarys["+ i +"].Visibility"); apiSummary.Description = context.StringValue("DescribeApis.ApiSummarys["+ i +"].Description"); apiSummary.CreatedTime = context.StringValue("DescribeApis.ApiSummarys["+ i +"].CreatedTime"); apiSummary.ModifiedTime = context.StringValue("DescribeApis.ApiSummarys["+ i +"].ModifiedTime"); apiSummarys.Add(apiSummary); } describeApisResponse.ApiSummarys = apiSummarys; return describeApisResponse; }
public static DescribeFilesForSQLServerResponse Unmarshall(UnmarshallerContext context) { DescribeFilesForSQLServerResponse describeFilesForSQLServerResponse = new DescribeFilesForSQLServerResponse(); describeFilesForSQLServerResponse.HttpResponse = context.HttpResponse; describeFilesForSQLServerResponse.RequestId = context.StringValue("DescribeFilesForSQLServer.RequestId"); describeFilesForSQLServerResponse.DBInstanceId = context.StringValue("DescribeFilesForSQLServer.DBInstanceId"); describeFilesForSQLServerResponse.TotalRecordCount = context.IntegerValue("DescribeFilesForSQLServer.TotalRecordCount"); describeFilesForSQLServerResponse.PageNumber = context.IntegerValue("DescribeFilesForSQLServer.PageNumber"); describeFilesForSQLServerResponse.PageRecordCount = context.IntegerValue("DescribeFilesForSQLServer.PageRecordCount"); List<DescribeFilesForSQLServerResponse.SQLServerUploadFile> items = new List<DescribeFilesForSQLServerResponse.SQLServerUploadFile>(); for (int i = 0; i < context.Length("DescribeFilesForSQLServer.Items.Length"); i++) { DescribeFilesForSQLServerResponse.SQLServerUploadFile sQLServerUploadFile = new DescribeFilesForSQLServerResponse.SQLServerUploadFile(); sQLServerUploadFile.DBName = context.StringValue("DescribeFilesForSQLServer.Items["+ i +"].DBName"); sQLServerUploadFile.FileName = context.StringValue("DescribeFilesForSQLServer.Items["+ i +"].FileName"); sQLServerUploadFile.FileSize = context.LongValue("DescribeFilesForSQLServer.Items["+ i +"].FileSize"); sQLServerUploadFile.InternetFtpServer = context.StringValue("DescribeFilesForSQLServer.Items["+ i +"].InternetFtpServer"); sQLServerUploadFile.InternetPort = context.IntegerValue("DescribeFilesForSQLServer.Items["+ i +"].InternetPort"); sQLServerUploadFile.IntranetFtpserver = context.StringValue("DescribeFilesForSQLServer.Items["+ i +"].IntranetFtpserver"); sQLServerUploadFile.Intranetport = context.IntegerValue("DescribeFilesForSQLServer.Items["+ i +"].Intranetport"); sQLServerUploadFile.UserName = context.StringValue("DescribeFilesForSQLServer.Items["+ i +"].UserName"); sQLServerUploadFile.Password = context.StringValue("DescribeFilesForSQLServer.Items["+ i +"].Password"); sQLServerUploadFile.FileStatus = context.EnumValue<DescribeFilesForSQLServerResponse.SQLServerUploadFile.FileStatusEnum>("DescribeFilesForSQLServer.Items["+ i +"].FileStatus"); sQLServerUploadFile.Description = context.StringValue("DescribeFilesForSQLServer.Items["+ i +"].Description"); sQLServerUploadFile.CreationTime = context.StringValue("DescribeFilesForSQLServer.Items["+ i +"].CreationTime"); items.Add(sQLServerUploadFile); } describeFilesForSQLServerResponse.Items = items; return describeFilesForSQLServerResponse; }
public static QueryMonthlyBillResponse Unmarshall(UnmarshallerContext _ctx) { QueryMonthlyBillResponse queryMonthlyBillResponse = new QueryMonthlyBillResponse(); queryMonthlyBillResponse.HttpResponse = _ctx.HttpResponse; queryMonthlyBillResponse.RequestId = _ctx.StringValue("QueryMonthlyBill.RequestId"); queryMonthlyBillResponse.Success = _ctx.BooleanValue("QueryMonthlyBill.Success"); queryMonthlyBillResponse.Code = _ctx.StringValue("QueryMonthlyBill.Code"); queryMonthlyBillResponse.Message = _ctx.StringValue("QueryMonthlyBill.Message"); QueryMonthlyBillResponse.QueryMonthlyBill_Data data = new QueryMonthlyBillResponse.QueryMonthlyBill_Data(); data.OutstandingAmount = _ctx.FloatValue("QueryMonthlyBill.Data.OutstandingAmount"); data.TotalOutstandingAmount = _ctx.FloatValue("QueryMonthlyBill.Data.TotalOutstandingAmount"); data.NewInvoiceAmount = _ctx.FloatValue("QueryMonthlyBill.Data.NewInvoiceAmount"); data.BillingCycle = _ctx.StringValue("QueryMonthlyBill.Data.BillingCycle"); List <QueryMonthlyBillResponse.QueryMonthlyBill_Data.QueryMonthlyBill_Item> data_items = new List <QueryMonthlyBillResponse.QueryMonthlyBill_Data.QueryMonthlyBill_Item>(); for (int i = 0; i < _ctx.Length("QueryMonthlyBill.Data.Items.Length"); i++) { QueryMonthlyBillResponse.QueryMonthlyBill_Data.QueryMonthlyBill_Item item = new QueryMonthlyBillResponse.QueryMonthlyBill_Data.QueryMonthlyBill_Item(); item.Item = _ctx.StringValue("QueryMonthlyBill.Data.Items[" + i + "].Item"); item.ProductCode = _ctx.StringValue("QueryMonthlyBill.Data.Items[" + i + "].ProductCode"); item.ProductType = _ctx.StringValue("QueryMonthlyBill.Data.Items[" + i + "].ProductType"); item.SubscriptionType = _ctx.StringValue("QueryMonthlyBill.Data.Items[" + i + "].SubscriptionType"); item.SolutionCode = _ctx.StringValue("QueryMonthlyBill.Data.Items[" + i + "].SolutionCode"); item.SolutionName = _ctx.StringValue("QueryMonthlyBill.Data.Items[" + i + "].SolutionName"); item.PretaxGrossAmount = _ctx.FloatValue("QueryMonthlyBill.Data.Items[" + i + "].PretaxGrossAmount"); item.InvoiceDiscount = _ctx.FloatValue("QueryMonthlyBill.Data.Items[" + i + "].InvoiceDiscount"); item.DeductedByCoupons = _ctx.FloatValue("QueryMonthlyBill.Data.Items[" + i + "].DeductedByCoupons"); item.PretaxAmount = _ctx.FloatValue("QueryMonthlyBill.Data.Items[" + i + "].PretaxAmount"); item.Currency = _ctx.StringValue("QueryMonthlyBill.Data.Items[" + i + "].Currency"); item.PretaxAmountLocal = _ctx.FloatValue("QueryMonthlyBill.Data.Items[" + i + "].PretaxAmountLocal"); item.Tax = _ctx.FloatValue("QueryMonthlyBill.Data.Items[" + i + "].Tax"); item.AfterTaxAmount = _ctx.FloatValue("QueryMonthlyBill.Data.Items[" + i + "].AfterTaxAmount"); item.OutstandingAmount = _ctx.FloatValue("QueryMonthlyBill.Data.Items[" + i + "].OutstandingAmount"); item.DeductedByCashCoupons = _ctx.FloatValue("QueryMonthlyBill.Data.Items[" + i + "].DeductedByCashCoupons"); item.DeductedByPrepaidCard = _ctx.FloatValue("QueryMonthlyBill.Data.Items[" + i + "].DeductedByPrepaidCard"); item.PaymentAmount = _ctx.FloatValue("QueryMonthlyBill.Data.Items[" + i + "].PaymentAmount"); item.PaymentCurrency = _ctx.StringValue("QueryMonthlyBill.Data.Items[" + i + "].PaymentCurrency"); data_items.Add(item); } data.Items = data_items; queryMonthlyBillResponse.Data = data; return(queryMonthlyBillResponse); }
public static DescribePropertyScaDetailResponse Unmarshall(UnmarshallerContext _ctx) { DescribePropertyScaDetailResponse describePropertyScaDetailResponse = new DescribePropertyScaDetailResponse(); describePropertyScaDetailResponse.HttpResponse = _ctx.HttpResponse; describePropertyScaDetailResponse.RequestId = _ctx.StringValue("DescribePropertyScaDetail.RequestId"); DescribePropertyScaDetailResponse.DescribePropertyScaDetail_PageInfo pageInfo = new DescribePropertyScaDetailResponse.DescribePropertyScaDetail_PageInfo(); pageInfo.Count = _ctx.IntegerValue("DescribePropertyScaDetail.PageInfo.Count"); pageInfo.PageSize = _ctx.IntegerValue("DescribePropertyScaDetail.PageInfo.PageSize"); pageInfo.TotalCount = _ctx.IntegerValue("DescribePropertyScaDetail.PageInfo.TotalCount"); pageInfo.CurrentPage = _ctx.IntegerValue("DescribePropertyScaDetail.PageInfo.CurrentPage"); describePropertyScaDetailResponse.PageInfo = pageInfo; List <DescribePropertyScaDetailResponse.DescribePropertyScaDetail_PropertySca> describePropertyScaDetailResponse_propertys = new List <DescribePropertyScaDetailResponse.DescribePropertyScaDetail_PropertySca>(); for (int i = 0; i < _ctx.Length("DescribePropertyScaDetail.Propertys.Length"); i++) { DescribePropertyScaDetailResponse.DescribePropertyScaDetail_PropertySca propertySca = new DescribePropertyScaDetailResponse.DescribePropertyScaDetail_PropertySca(); propertySca.InstanceName = _ctx.StringValue("DescribePropertyScaDetail.Propertys[" + i + "].InstanceName"); propertySca.Ip = _ctx.StringValue("DescribePropertyScaDetail.Propertys[" + i + "].Ip"); propertySca.Create = _ctx.StringValue("DescribePropertyScaDetail.Propertys[" + i + "].Create"); propertySca.CreateTimestamp = _ctx.LongValue("DescribePropertyScaDetail.Propertys[" + i + "].CreateTimestamp"); propertySca.Uuid = _ctx.StringValue("DescribePropertyScaDetail.Propertys[" + i + "].Uuid"); propertySca.InstanceId = _ctx.StringValue("DescribePropertyScaDetail.Propertys[" + i + "].InstanceId"); propertySca.IntranetIp = _ctx.StringValue("DescribePropertyScaDetail.Propertys[" + i + "].IntranetIp"); propertySca.InternetIp = _ctx.StringValue("DescribePropertyScaDetail.Propertys[" + i + "].InternetIp"); propertySca.Name = _ctx.StringValue("DescribePropertyScaDetail.Propertys[" + i + "].Name"); propertySca.Type = _ctx.StringValue("DescribePropertyScaDetail.Propertys[" + i + "].Type"); propertySca.Version = _ctx.StringValue("DescribePropertyScaDetail.Propertys[" + i + "].Version"); propertySca.Pid = _ctx.StringValue("DescribePropertyScaDetail.Propertys[" + i + "].Pid"); propertySca.BizType = _ctx.StringValue("DescribePropertyScaDetail.Propertys[" + i + "].BizType"); propertySca.BizTypeDispaly = _ctx.StringValue("DescribePropertyScaDetail.Propertys[" + i + "].BizTypeDispaly"); propertySca.Port = _ctx.StringValue("DescribePropertyScaDetail.Propertys[" + i + "].Port"); propertySca.ContainerName = _ctx.StringValue("DescribePropertyScaDetail.Propertys[" + i + "].ContainerName"); propertySca.Path = _ctx.StringValue("DescribePropertyScaDetail.Propertys[" + i + "].Path"); propertySca.Ppid = _ctx.StringValue("DescribePropertyScaDetail.Propertys[" + i + "].Ppid"); propertySca.ProcessUser = _ctx.StringValue("DescribePropertyScaDetail.Propertys[" + i + "].ProcessUser"); propertySca.ListenIp = _ctx.StringValue("DescribePropertyScaDetail.Propertys[" + i + "].ListenIp"); propertySca.ListenStatus = _ctx.StringValue("DescribePropertyScaDetail.Propertys[" + i + "].ListenStatus"); propertySca.ListenProtocol = _ctx.StringValue("DescribePropertyScaDetail.Propertys[" + i + "].ListenProtocol"); propertySca.ProcessStarted = _ctx.LongValue("DescribePropertyScaDetail.Propertys[" + i + "].ProcessStarted"); propertySca.Cmdline = _ctx.StringValue("DescribePropertyScaDetail.Propertys[" + i + "].Cmdline"); propertySca.ConfigPath = _ctx.StringValue("DescribePropertyScaDetail.Propertys[" + i + "].ConfigPath"); propertySca.WebPath = _ctx.StringValue("DescribePropertyScaDetail.Propertys[" + i + "].WebPath"); propertySca.Proof = _ctx.StringValue("DescribePropertyScaDetail.Propertys[" + i + "].Proof"); propertySca.ImageName = _ctx.StringValue("DescribePropertyScaDetail.Propertys[" + i + "].ImageName"); describePropertyScaDetailResponse_propertys.Add(propertySca); } describePropertyScaDetailResponse.Propertys = describePropertyScaDetailResponse_propertys; return(describePropertyScaDetailResponse); }
public static SearchMediaResponse Unmarshall(UnmarshallerContext context) { SearchMediaResponse searchMediaResponse = new SearchMediaResponse() { HttpResponse = context.HttpResponse, RequestId = context.StringValue("SearchMedia.RequestId"), TotalNum = context.LongValue("SearchMedia.TotalNum"), PageNumber = context.LongValue("SearchMedia.PageNumber"), PageSize = context.LongValue("SearchMedia.PageSize") }; List <SearchMediaResponse.Media> mediaList = new List <SearchMediaResponse.Media>(); for (int i = 0; i < context.Length("SearchMedia.MediaList.Length"); i++) { SearchMediaResponse.Media media = new SearchMediaResponse.Media() { MediaId = context.StringValue($"SearchMedia.MediaList[{i}].MediaId"), Title = context.StringValue($"SearchMedia.MediaList[{i}].Title"), Description = context.StringValue($"SearchMedia.MediaList[{i}].Description"), CoverURL = context.StringValue($"SearchMedia.MediaList[{i}].CoverURL"), CateId = context.LongValue($"SearchMedia.MediaList[{i}].CateId"), Duration = context.StringValue($"SearchMedia.MediaList[{i}].Duration"), Format = context.StringValue($"SearchMedia.MediaList[{i}].Format"), Size = context.StringValue($"SearchMedia.MediaList[{i}].Size"), Bitrate = context.StringValue($"SearchMedia.MediaList[{i}].Bitrate"), Width = context.StringValue($"SearchMedia.MediaList[{i}].Width"), Height = context.StringValue($"SearchMedia.MediaList[{i}].Height"), Fps = context.StringValue($"SearchMedia.MediaList[{i}].Fps"), PublishState = context.StringValue($"SearchMedia.MediaList[{i}].PublishState"), CreationTime = context.StringValue($"SearchMedia.MediaList[{i}].CreationTime") }; List <string> tags = new List <string>(); for (int j = 0; j < context.Length($"SearchMedia.MediaList[{i}].Tags.Length"); j++) { tags.Add(context.StringValue($"SearchMedia.MediaList[{i}].Tags[{j}]")); } media.Tags = tags; List <string> runIdList = new List <string>(); for (int j = 0; j < context.Length($"SearchMedia.MediaList[{i}].RunIdList.Length"); j++) { runIdList.Add(context.StringValue($"SearchMedia.MediaList[{i}].RunIdList[{j}]")); } media.RunIdList = runIdList; SearchMediaResponse.Media.File_ file = new SearchMediaResponse.Media.File_() { URL = context.StringValue($"SearchMedia.MediaList[{i}].File.URL"), State = context.StringValue($"SearchMedia.MediaList[{i}].File.State") }; media.File = file; mediaList.Add(media); } searchMediaResponse.MediaList = mediaList; return(searchMediaResponse); }
public static BatchQueryDeviceDetailResponse Unmarshall(UnmarshallerContext _ctx) { BatchQueryDeviceDetailResponse batchQueryDeviceDetailResponse = new BatchQueryDeviceDetailResponse(); batchQueryDeviceDetailResponse.HttpResponse = _ctx.HttpResponse; batchQueryDeviceDetailResponse.RequestId = _ctx.StringValue("BatchQueryDeviceDetail.RequestId"); batchQueryDeviceDetailResponse.Success = _ctx.BooleanValue("BatchQueryDeviceDetail.Success"); batchQueryDeviceDetailResponse.Code = _ctx.StringValue("BatchQueryDeviceDetail.Code"); batchQueryDeviceDetailResponse.ErrorMessage = _ctx.StringValue("BatchQueryDeviceDetail.ErrorMessage"); List <BatchQueryDeviceDetailResponse.BatchQueryDeviceDetail_DataItem> batchQueryDeviceDetailResponse_data = new List <BatchQueryDeviceDetailResponse.BatchQueryDeviceDetail_DataItem>(); for (int i = 0; i < _ctx.Length("BatchQueryDeviceDetail.Data.Length"); i++) { BatchQueryDeviceDetailResponse.BatchQueryDeviceDetail_DataItem dataItem = new BatchQueryDeviceDetailResponse.BatchQueryDeviceDetail_DataItem(); dataItem.ProductKey = _ctx.StringValue("BatchQueryDeviceDetail.Data[" + i + "].ProductKey"); dataItem.ProductName = _ctx.StringValue("BatchQueryDeviceDetail.Data[" + i + "].ProductName"); dataItem.DeviceName = _ctx.StringValue("BatchQueryDeviceDetail.Data[" + i + "].DeviceName"); dataItem.Nickname = _ctx.StringValue("BatchQueryDeviceDetail.Data[" + i + "].Nickname"); dataItem.DeviceSecret = _ctx.StringValue("BatchQueryDeviceDetail.Data[" + i + "].DeviceSecret"); dataItem.IotId = _ctx.StringValue("BatchQueryDeviceDetail.Data[" + i + "].IotId"); dataItem.UtcCreate = _ctx.StringValue("BatchQueryDeviceDetail.Data[" + i + "].UtcCreate"); dataItem.GmtCreate = _ctx.StringValue("BatchQueryDeviceDetail.Data[" + i + "].GmtCreate"); dataItem.UtcActive = _ctx.StringValue("BatchQueryDeviceDetail.Data[" + i + "].UtcActive"); dataItem.GmtActive = _ctx.StringValue("BatchQueryDeviceDetail.Data[" + i + "].GmtActive"); dataItem.Status = _ctx.StringValue("BatchQueryDeviceDetail.Data[" + i + "].Status"); dataItem.FirmwareVersion = _ctx.StringValue("BatchQueryDeviceDetail.Data[" + i + "].FirmwareVersion"); dataItem.NodeType = _ctx.IntegerValue("BatchQueryDeviceDetail.Data[" + i + "].NodeType"); dataItem.Region = _ctx.StringValue("BatchQueryDeviceDetail.Data[" + i + "].Region"); batchQueryDeviceDetailResponse_data.Add(dataItem); } batchQueryDeviceDetailResponse.Data = batchQueryDeviceDetailResponse_data; return(batchQueryDeviceDetailResponse); }
public static SearchMediaResponse Unmarshall(UnmarshallerContext context) { SearchMediaResponse searchMediaResponse = new SearchMediaResponse(); searchMediaResponse.HttpResponse = context.HttpResponse; searchMediaResponse.RequestId = context.StringValue("SearchMedia.RequestId"); searchMediaResponse.TotalNum = context.LongValue("SearchMedia.TotalNum"); searchMediaResponse.PageNumber = context.LongValue("SearchMedia.PageNumber"); searchMediaResponse.PageSize = context.LongValue("SearchMedia.PageSize"); List <SearchMediaResponse.SearchMedia_Media> searchMediaResponse_mediaList = new List <SearchMediaResponse.SearchMedia_Media>(); for (int i = 0; i < context.Length("SearchMedia.MediaList.Length"); i++) { SearchMediaResponse.SearchMedia_Media media = new SearchMediaResponse.SearchMedia_Media(); media.MediaId = context.StringValue("SearchMedia.MediaList[" + i + "].MediaId"); media.Title = context.StringValue("SearchMedia.MediaList[" + i + "].Title"); media.Description = context.StringValue("SearchMedia.MediaList[" + i + "].Description"); media.CoverURL = context.StringValue("SearchMedia.MediaList[" + i + "].CoverURL"); media.CateId = context.LongValue("SearchMedia.MediaList[" + i + "].CateId"); media.Duration = context.StringValue("SearchMedia.MediaList[" + i + "].Duration"); media.Format = context.StringValue("SearchMedia.MediaList[" + i + "].Format"); media.Size = context.StringValue("SearchMedia.MediaList[" + i + "].Size"); media.Bitrate = context.StringValue("SearchMedia.MediaList[" + i + "].Bitrate"); media.Width = context.StringValue("SearchMedia.MediaList[" + i + "].Width"); media.Height = context.StringValue("SearchMedia.MediaList[" + i + "].Height"); media.Fps = context.StringValue("SearchMedia.MediaList[" + i + "].Fps"); media.PublishState = context.StringValue("SearchMedia.MediaList[" + i + "].PublishState"); media.CreationTime = context.StringValue("SearchMedia.MediaList[" + i + "].CreationTime"); List <string> media_tags = new List <string>(); for (int j = 0; j < context.Length("SearchMedia.MediaList[" + i + "].Tags.Length"); j++) { media_tags.Add(context.StringValue("SearchMedia.MediaList[" + i + "].Tags[" + j + "]")); } media.Tags = media_tags; List <string> media_runIdList = new List <string>(); for (int j = 0; j < context.Length("SearchMedia.MediaList[" + i + "].RunIdList.Length"); j++) { media_runIdList.Add(context.StringValue("SearchMedia.MediaList[" + i + "].RunIdList[" + j + "]")); } media.RunIdList = media_runIdList; SearchMediaResponse.SearchMedia_Media.SearchMedia_File file = new SearchMediaResponse.SearchMedia_Media.SearchMedia_File(); file.URL = context.StringValue("SearchMedia.MediaList[" + i + "].File.URL"); file.State = context.StringValue("SearchMedia.MediaList[" + i + "].File.State"); media.File = file; searchMediaResponse_mediaList.Add(media); } searchMediaResponse.MediaList = searchMediaResponse_mediaList; return(searchMediaResponse); }
public static SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialResponse Unmarshall(UnmarshallerContext context) { SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialResponse saveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialResponse = new SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialResponse(); saveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialResponse.HttpResponse = context.HttpResponse; saveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialResponse.RequestId = context.StringValue("SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredential.RequestId"); saveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialResponse.TaskNo = context.StringValue("SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredential.TaskNo"); return(saveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialResponse); }
public static DescribeExecutionPlanResponse Unmarshall(UnmarshallerContext context) { DescribeExecutionPlanResponse describeExecutionPlanResponse = new DescribeExecutionPlanResponse(); describeExecutionPlanResponse.HttpResponse = context.HttpResponse; describeExecutionPlanResponse.RequestId = context.StringValue("DescribeExecutionPlan.RequestId"); describeExecutionPlanResponse.Id = context.StringValue("DescribeExecutionPlan.Id"); describeExecutionPlanResponse.Name = context.StringValue("DescribeExecutionPlan.Name"); describeExecutionPlanResponse.Status = context.StringValue("DescribeExecutionPlan.Status"); describeExecutionPlanResponse.Strategy = context.StringValue("DescribeExecutionPlan.Strategy"); describeExecutionPlanResponse.TimeInterval = context.IntegerValue("DescribeExecutionPlan.TimeInterval"); describeExecutionPlanResponse.StartTime = context.LongValue("DescribeExecutionPlan.StartTime"); describeExecutionPlanResponse.TimeUnit = context.StringValue("DescribeExecutionPlan.TimeUnit"); describeExecutionPlanResponse.DayOfWeek = context.StringValue("DescribeExecutionPlan.DayOfWeek"); describeExecutionPlanResponse.DayOfMonth = context.StringValue("DescribeExecutionPlan.DayOfMonth"); describeExecutionPlanResponse.CreateClusterOnDemand = context.BooleanValue("DescribeExecutionPlan.CreateClusterOnDemand"); describeExecutionPlanResponse.ClusterId = context.StringValue("DescribeExecutionPlan.ClusterId"); describeExecutionPlanResponse.ClusterName = context.StringValue("DescribeExecutionPlan.ClusterName"); describeExecutionPlanResponse.WorkflowApp = context.StringValue("DescribeExecutionPlan.WorkflowApp"); describeExecutionPlanResponse.ExecutionPlanVersion = context.LongValue("DescribeExecutionPlan.ExecutionPlanVersion"); DescribeExecutionPlanResponse.DescribeExecutionPlan_ClusterInfo clusterInfo = new DescribeExecutionPlanResponse.DescribeExecutionPlan_ClusterInfo(); clusterInfo.Name = context.StringValue("DescribeExecutionPlan.ClusterInfo.Name"); clusterInfo.ZoneId = context.StringValue("DescribeExecutionPlan.ClusterInfo.ZoneId"); clusterInfo.LogEnable = context.BooleanValue("DescribeExecutionPlan.ClusterInfo.LogEnable"); clusterInfo.LogPath = context.StringValue("DescribeExecutionPlan.ClusterInfo.LogPath"); clusterInfo.SecurityGroupId = context.StringValue("DescribeExecutionPlan.ClusterInfo.SecurityGroupId"); clusterInfo.EmrVer = context.StringValue("DescribeExecutionPlan.ClusterInfo.EmrVer"); clusterInfo.ClusterType = context.StringValue("DescribeExecutionPlan.ClusterInfo.ClusterType"); clusterInfo.HighAvailabilityEnable = context.BooleanValue("DescribeExecutionPlan.ClusterInfo.HighAvailabilityEnable"); clusterInfo.VpcId = context.StringValue("DescribeExecutionPlan.ClusterInfo.VpcId"); clusterInfo.VSwitchId = context.StringValue("DescribeExecutionPlan.ClusterInfo.VSwitchId"); clusterInfo.NetType = context.StringValue("DescribeExecutionPlan.ClusterInfo.NetType"); clusterInfo.IoOptimized = context.BooleanValue("DescribeExecutionPlan.ClusterInfo.IoOptimized"); clusterInfo.InstanceGeneration = context.StringValue("DescribeExecutionPlan.ClusterInfo.InstanceGeneration"); clusterInfo.Configurations = context.StringValue("DescribeExecutionPlan.ClusterInfo.Configurations"); clusterInfo.EasEnable = context.BooleanValue("DescribeExecutionPlan.ClusterInfo.EasEnable"); clusterInfo.UseCustomHiveMetaDB = context.BooleanValue("DescribeExecutionPlan.ClusterInfo.UseCustomHiveMetaDB"); clusterInfo.InitCustomHiveMetaDB = context.BooleanValue("DescribeExecutionPlan.ClusterInfo.InitCustomHiveMetaDB"); clusterInfo.UserDefinedEmrEcsRole = context.StringValue("DescribeExecutionPlan.ClusterInfo.UserDefinedEmrEcsRole"); clusterInfo.UseLocalMetaDb = context.BooleanValue("DescribeExecutionPlan.ClusterInfo.UseLocalMetaDb"); DescribeExecutionPlanResponse.DescribeExecutionPlan_ClusterInfo.DescribeExecutionPlan_SoftwareInfo softwareInfo = new DescribeExecutionPlanResponse.DescribeExecutionPlan_ClusterInfo.DescribeExecutionPlan_SoftwareInfo(); softwareInfo.EmrVer = context.StringValue("DescribeExecutionPlan.ClusterInfo.SoftwareInfo.EmrVer"); softwareInfo.ClusterType = context.StringValue("DescribeExecutionPlan.ClusterInfo.SoftwareInfo.ClusterType"); List <DescribeExecutionPlanResponse.DescribeExecutionPlan_ClusterInfo.DescribeExecutionPlan_SoftwareInfo.DescribeExecutionPlan_Software> softwareInfo_softwares = new List <DescribeExecutionPlanResponse.DescribeExecutionPlan_ClusterInfo.DescribeExecutionPlan_SoftwareInfo.DescribeExecutionPlan_Software>(); for (int i = 0; i < context.Length("DescribeExecutionPlan.ClusterInfo.SoftwareInfo.Softwares.Length"); i++) { DescribeExecutionPlanResponse.DescribeExecutionPlan_ClusterInfo.DescribeExecutionPlan_SoftwareInfo.DescribeExecutionPlan_Software software = new DescribeExecutionPlanResponse.DescribeExecutionPlan_ClusterInfo.DescribeExecutionPlan_SoftwareInfo.DescribeExecutionPlan_Software(); software.DisplayName = context.StringValue("DescribeExecutionPlan.ClusterInfo.SoftwareInfo.Softwares[" + i + "].DisplayName"); software.Name = context.StringValue("DescribeExecutionPlan.ClusterInfo.SoftwareInfo.Softwares[" + i + "].Name"); software.OnlyDisplay = context.BooleanValue("DescribeExecutionPlan.ClusterInfo.SoftwareInfo.Softwares[" + i + "].OnlyDisplay"); software.StartTpe = context.IntegerValue("DescribeExecutionPlan.ClusterInfo.SoftwareInfo.Softwares[" + i + "].StartTpe"); software.Version = context.StringValue("DescribeExecutionPlan.ClusterInfo.SoftwareInfo.Softwares[" + i + "].Version"); software.Optional = context.BooleanValue("DescribeExecutionPlan.ClusterInfo.SoftwareInfo.Softwares[" + i + "].Optional"); softwareInfo_softwares.Add(software); } softwareInfo.Softwares = softwareInfo_softwares; clusterInfo.SoftwareInfo = softwareInfo; List <DescribeExecutionPlanResponse.DescribeExecutionPlan_ClusterInfo.DescribeExecutionPlan_EcsOrderInfo> clusterInfo_ecsOrders = new List <DescribeExecutionPlanResponse.DescribeExecutionPlan_ClusterInfo.DescribeExecutionPlan_EcsOrderInfo>(); for (int i = 0; i < context.Length("DescribeExecutionPlan.ClusterInfo.EcsOrders.Length"); i++) { DescribeExecutionPlanResponse.DescribeExecutionPlan_ClusterInfo.DescribeExecutionPlan_EcsOrderInfo ecsOrderInfo = new DescribeExecutionPlanResponse.DescribeExecutionPlan_ClusterInfo.DescribeExecutionPlan_EcsOrderInfo(); ecsOrderInfo.Index = context.IntegerValue("DescribeExecutionPlan.ClusterInfo.EcsOrders[" + i + "].Index"); ecsOrderInfo.NodeCount = context.IntegerValue("DescribeExecutionPlan.ClusterInfo.EcsOrders[" + i + "].NodeCount"); ecsOrderInfo.InstanceType = context.StringValue("DescribeExecutionPlan.ClusterInfo.EcsOrders[" + i + "].InstanceType"); ecsOrderInfo.DiskType = context.StringValue("DescribeExecutionPlan.ClusterInfo.EcsOrders[" + i + "].DiskType"); ecsOrderInfo.DiskCapacity = context.IntegerValue("DescribeExecutionPlan.ClusterInfo.EcsOrders[" + i + "].DiskCapacity"); ecsOrderInfo.NodeType = context.StringValue("DescribeExecutionPlan.ClusterInfo.EcsOrders[" + i + "].NodeType"); ecsOrderInfo.DiskCount = context.IntegerValue("DescribeExecutionPlan.ClusterInfo.EcsOrders[" + i + "].DiskCount"); clusterInfo_ecsOrders.Add(ecsOrderInfo); } clusterInfo.EcsOrders = clusterInfo_ecsOrders; List <DescribeExecutionPlanResponse.DescribeExecutionPlan_ClusterInfo.DescribeExecutionPlan_BootstrapAction> clusterInfo_bootstrapActionList = new List <DescribeExecutionPlanResponse.DescribeExecutionPlan_ClusterInfo.DescribeExecutionPlan_BootstrapAction>(); for (int i = 0; i < context.Length("DescribeExecutionPlan.ClusterInfo.BootstrapActionList.Length"); i++) { DescribeExecutionPlanResponse.DescribeExecutionPlan_ClusterInfo.DescribeExecutionPlan_BootstrapAction bootstrapAction = new DescribeExecutionPlanResponse.DescribeExecutionPlan_ClusterInfo.DescribeExecutionPlan_BootstrapAction(); bootstrapAction.Name = context.StringValue("DescribeExecutionPlan.ClusterInfo.BootstrapActionList[" + i + "].Name"); bootstrapAction.Path = context.StringValue("DescribeExecutionPlan.ClusterInfo.BootstrapActionList[" + i + "].Path"); bootstrapAction.Arg = context.StringValue("DescribeExecutionPlan.ClusterInfo.BootstrapActionList[" + i + "].Arg"); clusterInfo_bootstrapActionList.Add(bootstrapAction); } clusterInfo.BootstrapActionList = clusterInfo_bootstrapActionList; List <DescribeExecutionPlanResponse.DescribeExecutionPlan_ClusterInfo.DescribeExecutionPlan_Config> clusterInfo_configList = new List <DescribeExecutionPlanResponse.DescribeExecutionPlan_ClusterInfo.DescribeExecutionPlan_Config>(); for (int i = 0; i < context.Length("DescribeExecutionPlan.ClusterInfo.ConfigList.Length"); i++) { DescribeExecutionPlanResponse.DescribeExecutionPlan_ClusterInfo.DescribeExecutionPlan_Config config = new DescribeExecutionPlanResponse.DescribeExecutionPlan_ClusterInfo.DescribeExecutionPlan_Config(); config.ServiceName = context.StringValue("DescribeExecutionPlan.ClusterInfo.ConfigList[" + i + "].ServiceName"); config.FileName = context.StringValue("DescribeExecutionPlan.ClusterInfo.ConfigList[" + i + "].FileName"); config.ConfigKey = context.StringValue("DescribeExecutionPlan.ClusterInfo.ConfigList[" + i + "].ConfigKey"); config.ConfigValue = context.StringValue("DescribeExecutionPlan.ClusterInfo.ConfigList[" + i + "].ConfigValue"); config.Encrypt = context.StringValue("DescribeExecutionPlan.ClusterInfo.ConfigList[" + i + "].Encrypt"); clusterInfo_configList.Add(config); } clusterInfo.ConfigList = clusterInfo_configList; describeExecutionPlanResponse.ClusterInfo = clusterInfo; List <DescribeExecutionPlanResponse.DescribeExecutionPlan_JobInfo> describeExecutionPlanResponse_jobInfoList = new List <DescribeExecutionPlanResponse.DescribeExecutionPlan_JobInfo>(); for (int i = 0; i < context.Length("DescribeExecutionPlan.JobInfoList.Length"); i++) { DescribeExecutionPlanResponse.DescribeExecutionPlan_JobInfo jobInfo = new DescribeExecutionPlanResponse.DescribeExecutionPlan_JobInfo(); jobInfo.Id = context.StringValue("DescribeExecutionPlan.JobInfoList[" + i + "].Id"); jobInfo.Name = context.StringValue("DescribeExecutionPlan.JobInfoList[" + i + "].Name"); jobInfo.Type = context.StringValue("DescribeExecutionPlan.JobInfoList[" + i + "].Type"); jobInfo.RunParameter = context.StringValue("DescribeExecutionPlan.JobInfoList[" + i + "].RunParameter"); jobInfo.FailAct = context.StringValue("DescribeExecutionPlan.JobInfoList[" + i + "].FailAct"); describeExecutionPlanResponse_jobInfoList.Add(jobInfo); } describeExecutionPlanResponse.JobInfoList = describeExecutionPlanResponse_jobInfoList; return(describeExecutionPlanResponse); }
public static DescribePunishListResponse Unmarshall(UnmarshallerContext context) { DescribePunishListResponse describePunishListResponse = new DescribePunishListResponse(); describePunishListResponse.HttpResponse = context.HttpResponse; describePunishListResponse.RequestId = context.StringValue("DescribePunishList.RequestId"); describePunishListResponse.Module = context.StringValue("DescribePunishList.Module"); DescribePunishListResponse.DescribePunishList_PageInfo pageInfo = new DescribePunishListResponse.DescribePunishList_PageInfo(); pageInfo.Total = context.IntegerValue("DescribePunishList.PageInfo.Total"); pageInfo.PageSize = context.IntegerValue("DescribePunishList.PageInfo.PageSize"); pageInfo.CurrentPage = context.IntegerValue("DescribePunishList.PageInfo.CurrentPage"); describePunishListResponse.PageInfo = pageInfo; List <DescribePunishListResponse.DescribePunishList_Data> describePunishListResponse_dataList = new List <DescribePunishListResponse.DescribePunishList_Data>(); for (int i = 0; i < context.Length("DescribePunishList.DataList.Length"); i++) { DescribePunishListResponse.DescribePunishList_Data data = new DescribePunishListResponse.DescribePunishList_Data(); data.GmtCreate = context.StringValue("DescribePunishList.DataList[" + i + "].GmtCreate"); data.SrcPort = context.IntegerValue("DescribePunishList.DataList[" + i + "].SrcPort"); data.FeedBack = context.IntegerValue("DescribePunishList.DataList[" + i + "].FeedBack"); data.GmtExpire = context.StringValue("DescribePunishList.DataList[" + i + "].GmtExpire"); data.PunishType = context.StringValue("DescribePunishList.DataList[" + i + "].PunishType"); data.DstIP = context.StringValue("DescribePunishList.DataList[" + i + "].DstIP"); data.PunishResult = context.StringValue("DescribePunishList.DataList[" + i + "].PunishResult"); data.RegionId = context.StringValue("DescribePunishList.DataList[" + i + "].RegionId"); data.DstPort = context.IntegerValue("DescribePunishList.DataList[" + i + "].DstPort"); data.Protocol = context.StringValue("DescribePunishList.DataList[" + i + "].Protocol"); data.SrcIP = context.StringValue("DescribePunishList.DataList[" + i + "].SrcIP"); data.Reason = context.StringValue("DescribePunishList.DataList[" + i + "].Reason"); describePunishListResponse_dataList.Add(data); } describePunishListResponse.DataList = describePunishListResponse_dataList; return(describePunishListResponse); }
public static DescribeVulListResponse Unmarshall(UnmarshallerContext context) { DescribeVulListResponse describeVulListResponse = new DescribeVulListResponse(); describeVulListResponse.HttpResponse = context.HttpResponse; describeVulListResponse.RequestId = context.StringValue("DescribeVulList.RequestId"); describeVulListResponse.PageSize = context.IntegerValue("DescribeVulList.PageSize"); describeVulListResponse.CurrentPage = context.IntegerValue("DescribeVulList.CurrentPage"); describeVulListResponse.TotalCount = context.IntegerValue("DescribeVulList.TotalCount"); List <DescribeVulListResponse.DescribeVulList_VulRecord> describeVulListResponse_vulRecords = new List <DescribeVulListResponse.DescribeVulList_VulRecord>(); for (int i = 0; i < context.Length("DescribeVulList.VulRecords.Length"); i++) { DescribeVulListResponse.DescribeVulList_VulRecord vulRecord = new DescribeVulListResponse.DescribeVulList_VulRecord(); vulRecord.PrimaryId = context.LongValue("DescribeVulList.VulRecords[" + i + "].PrimaryId"); vulRecord.Uuid = context.StringValue("DescribeVulList.VulRecords[" + i + "].Uuid"); vulRecord.Name = context.StringValue("DescribeVulList.VulRecords[" + i + "].Name"); vulRecord.Tag = context.StringValue("DescribeVulList.VulRecords[" + i + "].Tag"); vulRecord.AliasName = context.StringValue("DescribeVulList.VulRecords[" + i + "].AliasName"); vulRecord.RecordId = context.LongValue("DescribeVulList.VulRecords[" + i + "].RecordId"); vulRecord.Type = context.StringValue("DescribeVulList.VulRecords[" + i + "].Type"); vulRecord.Level = context.StringValue("DescribeVulList.VulRecords[" + i + "].Level"); vulRecord.Product = context.StringValue("DescribeVulList.VulRecords[" + i + "].Product"); vulRecord.FirstTs = context.LongValue("DescribeVulList.VulRecords[" + i + "].FirstTs"); vulRecord.LastTs = context.LongValue("DescribeVulList.VulRecords[" + i + "].LastTs"); vulRecord.RepairTs = context.LongValue("DescribeVulList.VulRecords[" + i + "].RepairTs"); vulRecord.Status = context.IntegerValue("DescribeVulList.VulRecords[" + i + "].Status"); vulRecord.Related = context.StringValue("DescribeVulList.VulRecords[" + i + "].Related"); vulRecord.ResultCode = context.StringValue("DescribeVulList.VulRecords[" + i + "].ResultCode"); vulRecord.ResultMessage = context.StringValue("DescribeVulList.VulRecords[" + i + "].ResultMessage"); vulRecord.ModifyTs = context.LongValue("DescribeVulList.VulRecords[" + i + "].ModifyTs"); vulRecord.Necessity = context.StringValue("DescribeVulList.VulRecords[" + i + "].Necessity"); vulRecord.GroupId = context.IntegerValue("DescribeVulList.VulRecords[" + i + "].GroupId"); vulRecord.InstanceId = context.StringValue("DescribeVulList.VulRecords[" + i + "].InstanceId"); vulRecord.InstanceName = context.StringValue("DescribeVulList.VulRecords[" + i + "].InstanceName"); vulRecord.InternetIp = context.StringValue("DescribeVulList.VulRecords[" + i + "].InternetIp"); vulRecord.IntranetIp = context.StringValue("DescribeVulList.VulRecords[" + i + "].IntranetIp"); vulRecord.Ip = context.StringValue("DescribeVulList.VulRecords[" + i + "].Ip"); vulRecord.OsVersion = context.StringValue("DescribeVulList.VulRecords[" + i + "].OsVersion"); vulRecord.NeedReboot = context.StringValue("DescribeVulList.VulRecords[" + i + "].NeedReboot"); DescribeVulListResponse.DescribeVulList_VulRecord.DescribeVulList_ExtendContentJson extendContentJson = new DescribeVulListResponse.DescribeVulList_VulRecord.DescribeVulList_ExtendContentJson(); extendContentJson.Os = context.StringValue("DescribeVulList.VulRecords[" + i + "].ExtendContentJson.Os"); extendContentJson.OsRelease = context.StringValue("DescribeVulList.VulRecords[" + i + "].ExtendContentJson.OsRelease"); extendContentJson.Status = context.IntegerValue("DescribeVulList.VulRecords[" + i + "].ExtendContentJson.Status"); extendContentJson.LastTs = context.LongValue("DescribeVulList.VulRecords[" + i + "].ExtendContentJson.LastTs"); extendContentJson.AliasName = context.StringValue("DescribeVulList.VulRecords[" + i + "].ExtendContentJson.AliasName"); extendContentJson.Tag = context.StringValue("DescribeVulList.VulRecords[" + i + "].ExtendContentJson.Tag"); extendContentJson.PrimaryId = context.LongValue("DescribeVulList.VulRecords[" + i + "].ExtendContentJson.PrimaryId"); extendContentJson.Level = context.StringValue("DescribeVulList.VulRecords[" + i + "].ExtendContentJson.Level"); extendContentJson.AbsolutePath = context.StringValue("DescribeVulList.VulRecords[" + i + "].ExtendContentJson.AbsolutePath"); extendContentJson.Target = context.StringValue("DescribeVulList.VulRecords[" + i + "].ExtendContentJson.Target"); extendContentJson.Proof = context.StringValue("DescribeVulList.VulRecords[" + i + "].ExtendContentJson.Proof"); extendContentJson.Reason = context.StringValue("DescribeVulList.VulRecords[" + i + "].ExtendContentJson.Reason"); List <string> extendContentJson_cveList = new List <string>(); for (int j = 0; j < context.Length("DescribeVulList.VulRecords[" + i + "].ExtendContentJson.CveList.Length"); j++) { extendContentJson_cveList.Add(context.StringValue("DescribeVulList.VulRecords[" + i + "].ExtendContentJson.CveList[" + j + "]")); } extendContentJson.CveList = extendContentJson_cveList; DescribeVulListResponse.DescribeVulList_VulRecord.DescribeVulList_ExtendContentJson.DescribeVulList_Necessity necessity = new DescribeVulListResponse.DescribeVulList_VulRecord.DescribeVulList_ExtendContentJson.DescribeVulList_Necessity(); necessity.Cvss_factor = context.StringValue("DescribeVulList.VulRecords[" + i + "].ExtendContentJson.Necessity.Cvss_factor"); necessity.Gmt_create = context.StringValue("DescribeVulList.VulRecords[" + i + "].ExtendContentJson.Necessity.Gmt_create"); necessity.Status = context.StringValue("DescribeVulList.VulRecords[" + i + "].ExtendContentJson.Necessity.Status"); necessity.Enviroment_factor = context.StringValue("DescribeVulList.VulRecords[" + i + "].ExtendContentJson.Necessity.Enviroment_factor"); necessity.Assets_factor = context.StringValue("DescribeVulList.VulRecords[" + i + "].ExtendContentJson.Necessity.Assets_factor"); necessity.Is_calc = context.StringValue("DescribeVulList.VulRecords[" + i + "].ExtendContentJson.Necessity.Is_calc"); necessity.Total_score = context.StringValue("DescribeVulList.VulRecords[" + i + "].ExtendContentJson.Necessity.Total_score"); necessity.Time_factor = context.StringValue("DescribeVulList.VulRecords[" + i + "].ExtendContentJson.Necessity.Time_factor"); extendContentJson.Necessity = necessity; List <DescribeVulListResponse.DescribeVulList_VulRecord.DescribeVulList_ExtendContentJson.DescribeVulList_RpmEntityListItem> extendContentJson_rpmEntityList = new List <DescribeVulListResponse.DescribeVulList_VulRecord.DescribeVulList_ExtendContentJson.DescribeVulList_RpmEntityListItem>(); for (int j = 0; j < context.Length("DescribeVulList.VulRecords[" + i + "].ExtendContentJson.RpmEntityList.Length"); j++) { DescribeVulListResponse.DescribeVulList_VulRecord.DescribeVulList_ExtendContentJson.DescribeVulList_RpmEntityListItem rpmEntityListItem = new DescribeVulListResponse.DescribeVulList_VulRecord.DescribeVulList_ExtendContentJson.DescribeVulList_RpmEntityListItem(); rpmEntityListItem.FullVersion = context.StringValue("DescribeVulList.VulRecords[" + i + "].ExtendContentJson.RpmEntityList[" + j + "].FullVersion"); rpmEntityListItem.MatchDetail = context.StringValue("DescribeVulList.VulRecords[" + i + "].ExtendContentJson.RpmEntityList[" + j + "].MatchDetail"); rpmEntityListItem.Name = context.StringValue("DescribeVulList.VulRecords[" + i + "].ExtendContentJson.RpmEntityList[" + j + "].Name"); rpmEntityListItem.Path = context.StringValue("DescribeVulList.VulRecords[" + i + "].ExtendContentJson.RpmEntityList[" + j + "].Path"); rpmEntityListItem.UpdateCmd = context.StringValue("DescribeVulList.VulRecords[" + i + "].ExtendContentJson.RpmEntityList[" + j + "].UpdateCmd"); rpmEntityListItem.Version = context.StringValue("DescribeVulList.VulRecords[" + i + "].ExtendContentJson.RpmEntityList[" + j + "].Version"); extendContentJson_rpmEntityList.Add(rpmEntityListItem); } extendContentJson.RpmEntityList = extendContentJson_rpmEntityList; vulRecord.ExtendContentJson = extendContentJson; describeVulListResponse_vulRecords.Add(vulRecord); } describeVulListResponse.VulRecords = describeVulListResponse_vulRecords; return(describeVulListResponse); }
public static LaunchAuthenticationResponse Unmarshall(UnmarshallerContext _ctx) { LaunchAuthenticationResponse launchAuthenticationResponse = new LaunchAuthenticationResponse(); launchAuthenticationResponse.HttpResponse = _ctx.HttpResponse; launchAuthenticationResponse.Code = _ctx.StringValue("LaunchAuthentication.Code"); launchAuthenticationResponse.HttpStatusCode = _ctx.IntegerValue("LaunchAuthentication.HttpStatusCode"); launchAuthenticationResponse.Message = _ctx.StringValue("LaunchAuthentication.Message"); launchAuthenticationResponse.RequestId = _ctx.StringValue("LaunchAuthentication.RequestId"); List <string> launchAuthenticationResponse_params = new List <string>(); for (int i = 0; i < _ctx.Length("LaunchAuthentication.Params.Length"); i++) { launchAuthenticationResponse_params.Add(_ctx.StringValue("LaunchAuthentication.Params[" + i + "]")); } launchAuthenticationResponse._Params = launchAuthenticationResponse_params; LaunchAuthenticationResponse.LaunchAuthentication_Data data = new LaunchAuthenticationResponse.LaunchAuthentication_Data(); LaunchAuthenticationResponse.LaunchAuthentication_Data.LaunchAuthentication_CallContext callContext = new LaunchAuthenticationResponse.LaunchAuthentication_Data.LaunchAuthentication_CallContext(); callContext.CallType = _ctx.StringValue("LaunchAuthentication.Data.CallContext.CallType"); callContext.InstanceId = _ctx.StringValue("LaunchAuthentication.Data.CallContext.InstanceId"); callContext.JobId = _ctx.StringValue("LaunchAuthentication.Data.CallContext.JobId"); List <LaunchAuthenticationResponse.LaunchAuthentication_Data.LaunchAuthentication_CallContext.LaunchAuthentication_ChannelContext> callContext_channelContexts = new List <LaunchAuthenticationResponse.LaunchAuthentication_Data.LaunchAuthentication_CallContext.LaunchAuthentication_ChannelContext>(); for (int i = 0; i < _ctx.Length("LaunchAuthentication.Data.CallContext.ChannelContexts.Length"); i++) { LaunchAuthenticationResponse.LaunchAuthentication_Data.LaunchAuthentication_CallContext.LaunchAuthentication_ChannelContext channelContext = new LaunchAuthenticationResponse.LaunchAuthentication_Data.LaunchAuthentication_CallContext.LaunchAuthentication_ChannelContext(); channelContext.AssociatedData = _ctx.StringValue("LaunchAuthentication.Data.CallContext.ChannelContexts[" + i + "].AssociatedData"); channelContext.CallType = _ctx.StringValue("LaunchAuthentication.Data.CallContext.ChannelContexts[" + i + "].CallType"); channelContext.ChannelFlags = _ctx.StringValue("LaunchAuthentication.Data.CallContext.ChannelContexts[" + i + "].ChannelFlags"); channelContext.ChannelId = _ctx.StringValue("LaunchAuthentication.Data.CallContext.ChannelContexts[" + i + "].ChannelId"); channelContext.ChannelState = _ctx.StringValue("LaunchAuthentication.Data.CallContext.ChannelContexts[" + i + "].ChannelState"); channelContext.Destination = _ctx.StringValue("LaunchAuthentication.Data.CallContext.ChannelContexts[" + i + "].Destination"); channelContext.Index = _ctx.IntegerValue("LaunchAuthentication.Data.CallContext.ChannelContexts[" + i + "].Index"); channelContext.JobId = _ctx.StringValue("LaunchAuthentication.Data.CallContext.ChannelContexts[" + i + "].JobId"); channelContext.Originator = _ctx.StringValue("LaunchAuthentication.Data.CallContext.ChannelContexts[" + i + "].Originator"); channelContext.ReleaseInitiator = _ctx.StringValue("LaunchAuthentication.Data.CallContext.ChannelContexts[" + i + "].ReleaseInitiator"); channelContext.ReleaseReason = _ctx.StringValue("LaunchAuthentication.Data.CallContext.ChannelContexts[" + i + "].ReleaseReason"); channelContext.SkillGroupId = _ctx.StringValue("LaunchAuthentication.Data.CallContext.ChannelContexts[" + i + "].SkillGroupId"); channelContext.Timestamp = _ctx.LongValue("LaunchAuthentication.Data.CallContext.ChannelContexts[" + i + "].Timestamp"); channelContext.UserExtension = _ctx.StringValue("LaunchAuthentication.Data.CallContext.ChannelContexts[" + i + "].UserExtension"); channelContext.UserId = _ctx.StringValue("LaunchAuthentication.Data.CallContext.ChannelContexts[" + i + "].UserId"); callContext_channelContexts.Add(channelContext); } callContext.ChannelContexts = callContext_channelContexts; data.CallContext = callContext; LaunchAuthenticationResponse.LaunchAuthentication_Data.LaunchAuthentication_UserContext userContext = new LaunchAuthenticationResponse.LaunchAuthentication_Data.LaunchAuthentication_UserContext(); userContext.BreakCode = _ctx.StringValue("LaunchAuthentication.Data.UserContext.BreakCode"); userContext.DeviceId = _ctx.StringValue("LaunchAuthentication.Data.UserContext.DeviceId"); userContext.Extension = _ctx.StringValue("LaunchAuthentication.Data.UserContext.Extension"); userContext.Heartbeat = _ctx.LongValue("LaunchAuthentication.Data.UserContext.Heartbeat"); userContext.InstanceId = _ctx.StringValue("LaunchAuthentication.Data.UserContext.InstanceId"); userContext.JobId = _ctx.StringValue("LaunchAuthentication.Data.UserContext.JobId"); userContext.Mobile = _ctx.StringValue("LaunchAuthentication.Data.UserContext.Mobile"); userContext.OutboundScenario = _ctx.BooleanValue("LaunchAuthentication.Data.UserContext.OutboundScenario"); userContext.Reserved = _ctx.LongValue("LaunchAuthentication.Data.UserContext.Reserved"); userContext.UserId = _ctx.StringValue("LaunchAuthentication.Data.UserContext.UserId"); userContext.UserState = _ctx.StringValue("LaunchAuthentication.Data.UserContext.UserState"); userContext.WorkMode = _ctx.StringValue("LaunchAuthentication.Data.UserContext.WorkMode"); List <string> userContext_signedSkillGroupIdList = new List <string>(); for (int i = 0; i < _ctx.Length("LaunchAuthentication.Data.UserContext.SignedSkillGroupIdList.Length"); i++) { userContext_signedSkillGroupIdList.Add(_ctx.StringValue("LaunchAuthentication.Data.UserContext.SignedSkillGroupIdList[" + i + "]")); } userContext.SignedSkillGroupIdList = userContext_signedSkillGroupIdList; data.UserContext = userContext; launchAuthenticationResponse.Data = data; return(launchAuthenticationResponse); }
public static DescribeOverviewDataResponse Unmarshall(UnmarshallerContext _ctx) { DescribeOverviewDataResponse describeOverviewDataResponse = new DescribeOverviewDataResponse(); describeOverviewDataResponse.HttpResponse = _ctx.HttpResponse; describeOverviewDataResponse.ErrorCode = _ctx.StringValue("DescribeOverviewData.ErrorCode"); describeOverviewDataResponse.ErrorMessage = _ctx.StringValue("DescribeOverviewData.ErrorMessage"); describeOverviewDataResponse.Message = _ctx.StringValue("DescribeOverviewData.Message"); describeOverviewDataResponse.Code = _ctx.StringValue("DescribeOverviewData.Code"); describeOverviewDataResponse.DynamicCode = _ctx.StringValue("DescribeOverviewData.DynamicCode"); describeOverviewDataResponse.RequestId = _ctx.StringValue("DescribeOverviewData.RequestId"); describeOverviewDataResponse.Success = _ctx.BooleanValue("DescribeOverviewData.Success"); describeOverviewDataResponse.DynamicMessage = _ctx.StringValue("DescribeOverviewData.DynamicMessage"); DescribeOverviewDataResponse.DescribeOverviewData_OverviewDetail overviewDetail = new DescribeOverviewDataResponse.DescribeOverviewData_OverviewDetail(); overviewDetail.StayDeepAvgWOWPercent = _ctx.FloatValue("DescribeOverviewData.OverviewDetail.StayDeepAvgWOWPercent"); overviewDetail.StayDeepAvg = _ctx.FloatValue("DescribeOverviewData.OverviewDetail.StayDeepAvg"); overviewDetail.UvAvgWOWPercent = _ctx.FloatValue("DescribeOverviewData.OverviewDetail.UvAvgWOWPercent"); overviewDetail.StayAvgPeriodWOWPercent = _ctx.FloatValue("DescribeOverviewData.OverviewDetail.StayAvgPeriodWOWPercent"); overviewDetail.UvEverySqmGrowthWOWPercent = _ctx.FloatValue("DescribeOverviewData.OverviewDetail.UvEverySqmGrowthWOWPercent"); overviewDetail.UvWOWPercent = _ctx.FloatValue("DescribeOverviewData.OverviewDetail.UvWOWPercent"); overviewDetail.Uv = _ctx.LongValue("DescribeOverviewData.OverviewDetail.Uv"); overviewDetail.UvEverySqm = _ctx.FloatValue("DescribeOverviewData.OverviewDetail.UvEverySqm"); overviewDetail.UvAvg = _ctx.FloatValue("DescribeOverviewData.OverviewDetail.UvAvg"); overviewDetail.StayAvgPeriod = _ctx.FloatValue("DescribeOverviewData.OverviewDetail.StayAvgPeriod"); describeOverviewDataResponse.OverviewDetail = overviewDetail; DescribeOverviewDataResponse.DescribeOverviewData_AccurateOverviewDetail accurateOverviewDetail = new DescribeOverviewDataResponse.DescribeOverviewData_AccurateOverviewDetail(); accurateOverviewDetail.StayDeepAvgWOWPercent = _ctx.StringValue("DescribeOverviewData.AccurateOverviewDetail.StayDeepAvgWOWPercent"); accurateOverviewDetail.StayDeepAvg = _ctx.StringValue("DescribeOverviewData.AccurateOverviewDetail.StayDeepAvg"); accurateOverviewDetail.UvAvgWOWPercent = _ctx.StringValue("DescribeOverviewData.AccurateOverviewDetail.UvAvgWOWPercent"); accurateOverviewDetail.StayAvgPeriodWOWPercent = _ctx.StringValue("DescribeOverviewData.AccurateOverviewDetail.StayAvgPeriodWOWPercent"); accurateOverviewDetail.UvWOWPercent = _ctx.StringValue("DescribeOverviewData.AccurateOverviewDetail.UvWOWPercent"); accurateOverviewDetail.UvEverySqmGrowthWOWPercent = _ctx.StringValue("DescribeOverviewData.AccurateOverviewDetail.UvEverySqmGrowthWOWPercent"); accurateOverviewDetail.Uv = _ctx.LongValue("DescribeOverviewData.AccurateOverviewDetail.Uv"); accurateOverviewDetail.UvEverySqm = _ctx.StringValue("DescribeOverviewData.AccurateOverviewDetail.UvEverySqm"); accurateOverviewDetail.UvAvg = _ctx.StringValue("DescribeOverviewData.AccurateOverviewDetail.UvAvg"); accurateOverviewDetail.StayAvgPeriod = _ctx.StringValue("DescribeOverviewData.AccurateOverviewDetail.StayAvgPeriod"); describeOverviewDataResponse.AccurateOverviewDetail = accurateOverviewDetail; return(describeOverviewDataResponse); }
public static GetStackResponse Unmarshall(UnmarshallerContext context) { GetStackResponse getStackResponse = new GetStackResponse(); getStackResponse.HttpResponse = context.HttpResponse; getStackResponse.CreateTime = context.StringValue("GetStack.CreateTime"); getStackResponse.Description = context.StringValue("GetStack.Description"); getStackResponse.DisableRollback = context.BooleanValue("GetStack.DisableRollback"); getStackResponse.RegionId = context.StringValue("GetStack.RegionId"); getStackResponse.RequestId = context.StringValue("GetStack.RequestId"); getStackResponse.StackId = context.StringValue("GetStack.StackId"); getStackResponse.StackName = context.StringValue("GetStack.StackName"); getStackResponse.Status = context.StringValue("GetStack.Status"); getStackResponse.StatusReason = context.StringValue("GetStack.StatusReason"); getStackResponse.TemplateDescription = context.StringValue("GetStack.TemplateDescription"); getStackResponse.TimeoutInMinutes = context.IntegerValue("GetStack.TimeoutInMinutes"); getStackResponse.UpdateTime = context.StringValue("GetStack.UpdateTime"); getStackResponse.ParentStackId = context.StringValue("GetStack.ParentStackId"); getStackResponse.StackDriftStatus = context.StringValue("GetStack.StackDriftStatus"); getStackResponse.DriftDetectionTime = context.StringValue("GetStack.DriftDetectionTime"); getStackResponse.RamRoleName = context.StringValue("GetStack.RamRoleName"); List <Dictionary <string, string> > getStackResponse_outputs = new List <Dictionary <string, string> >(); for (int i = 0; i < context.Length("GetStack.Outputs.Length"); i++) { Dictionary <string, string> tmp = new Dictionary <string, string>() { }; foreach (var item in context.ResponseDictionary) { string prefix = "GetStack.Outputs[" + i + "]."; if (item.Key.IndexOf(prefix) == 0) { tmp.Add(item.Key.Substring(prefix.Length), item.Value); } } if (tmp.Count > 0) { getStackResponse_outputs.Add(tmp); } } getStackResponse.Outputs = getStackResponse_outputs; List <string> getStackResponse_notificationURLs = new List <string>(); for (int i = 0; i < context.Length("GetStack.NotificationURLs.Length"); i++) { getStackResponse_notificationURLs.Add(context.StringValue("GetStack.NotificationURLs[" + i + "]")); } getStackResponse.NotificationURLs = getStackResponse_notificationURLs; List <GetStackResponse.GetStack_Parameter> getStackResponse_parameters = new List <GetStackResponse.GetStack_Parameter>(); for (int i = 0; i < context.Length("GetStack.Parameters.Length"); i++) { GetStackResponse.GetStack_Parameter parameter = new GetStackResponse.GetStack_Parameter(); parameter.ParameterKey = context.StringValue("GetStack.Parameters[" + i + "].ParameterKey"); parameter.ParameterValue = context.StringValue("GetStack.Parameters[" + i + "].ParameterValue"); getStackResponse_parameters.Add(parameter); } getStackResponse.Parameters = getStackResponse_parameters; return(getStackResponse); }
public static QueryTradeMarkApplicationsResponse Unmarshall(UnmarshallerContext context) { QueryTradeMarkApplicationsResponse queryTradeMarkApplicationsResponse = new QueryTradeMarkApplicationsResponse(); queryTradeMarkApplicationsResponse.HttpResponse = context.HttpResponse; queryTradeMarkApplicationsResponse.RequestId = context.StringValue("QueryTradeMarkApplications.RequestId"); queryTradeMarkApplicationsResponse.TotalItemNum = context.IntegerValue("QueryTradeMarkApplications.TotalItemNum"); queryTradeMarkApplicationsResponse.CurrentPageNum = context.IntegerValue("QueryTradeMarkApplications.CurrentPageNum"); queryTradeMarkApplicationsResponse.PageSize = context.IntegerValue("QueryTradeMarkApplications.PageSize"); queryTradeMarkApplicationsResponse.TotalPageNum = context.IntegerValue("QueryTradeMarkApplications.TotalPageNum"); List <QueryTradeMarkApplicationsResponse.QueryTradeMarkApplications_TmProduces> queryTradeMarkApplicationsResponse_data = new List <QueryTradeMarkApplicationsResponse.QueryTradeMarkApplications_TmProduces>(); for (int i = 0; i < context.Length("QueryTradeMarkApplications.Data.Length"); i++) { QueryTradeMarkApplicationsResponse.QueryTradeMarkApplications_TmProduces tmProduces = new QueryTradeMarkApplicationsResponse.QueryTradeMarkApplications_TmProduces(); tmProduces.BizId = context.StringValue("QueryTradeMarkApplications.Data[" + i + "].BizId"); tmProduces.OrderId = context.StringValue("QueryTradeMarkApplications.Data[" + i + "].OrderId"); tmProduces.MaterialName = context.StringValue("QueryTradeMarkApplications.Data[" + i + "].MaterialName"); tmProduces.TmIcon = context.StringValue("QueryTradeMarkApplications.Data[" + i + "].TmIcon"); tmProduces.TmName = context.StringValue("QueryTradeMarkApplications.Data[" + i + "].TmName"); tmProduces.TmNumber = context.StringValue("QueryTradeMarkApplications.Data[" + i + "].TmNumber"); tmProduces.CreateTime = context.LongValue("QueryTradeMarkApplications.Data[" + i + "].CreateTime"); tmProduces.Type = context.IntegerValue("QueryTradeMarkApplications.Data[" + i + "].Type"); tmProduces.Status = context.IntegerValue("QueryTradeMarkApplications.Data[" + i + "].Status"); tmProduces.UserId = context.StringValue("QueryTradeMarkApplications.Data[" + i + "].UserId"); tmProduces.OrderPrice = context.FloatValue("QueryTradeMarkApplications.Data[" + i + "].OrderPrice"); tmProduces.MaterialId = context.LongValue("QueryTradeMarkApplications.Data[" + i + "].MaterialId"); tmProduces.LoaUrl = context.StringValue("QueryTradeMarkApplications.Data[" + i + "].LoaUrl"); tmProduces.Note = context.StringValue("QueryTradeMarkApplications.Data[" + i + "].Note"); tmProduces.UpdateTime = context.LongValue("QueryTradeMarkApplications.Data[" + i + "].UpdateTime"); tmProduces.SupplementStatus = context.IntegerValue("QueryTradeMarkApplications.Data[" + i + "].SupplementStatus"); tmProduces.SupplementId = context.LongValue("QueryTradeMarkApplications.Data[" + i + "].SupplementId"); List <string> tmProduces_flags = new List <string>(); for (int j = 0; j < context.Length("QueryTradeMarkApplications.Data[" + i + "].Flags.Length"); j++) { tmProduces_flags.Add(context.StringValue("QueryTradeMarkApplications.Data[" + i + "].Flags[" + j + "]")); } tmProduces.Flags = tmProduces_flags; QueryTradeMarkApplicationsResponse.QueryTradeMarkApplications_TmProduces.QueryTradeMarkApplications_FirstClassification firstClassification = new QueryTradeMarkApplicationsResponse.QueryTradeMarkApplications_TmProduces.QueryTradeMarkApplications_FirstClassification(); firstClassification.ClassificationCode = context.StringValue("QueryTradeMarkApplications.Data[" + i + "].FirstClassification.ClassificationCode"); firstClassification.ClassificationName = context.StringValue("QueryTradeMarkApplications.Data[" + i + "].FirstClassification.ClassificationName"); tmProduces.FirstClassification = firstClassification; QueryTradeMarkApplicationsResponse.QueryTradeMarkApplications_TmProduces.QueryTradeMarkApplications_RenewResponse renewResponse = new QueryTradeMarkApplicationsResponse.QueryTradeMarkApplications_TmProduces.QueryTradeMarkApplications_RenewResponse(); renewResponse.Name = context.StringValue("QueryTradeMarkApplications.Data[" + i + "].RenewResponse.Name"); renewResponse.EngName = context.StringValue("QueryTradeMarkApplications.Data[" + i + "].RenewResponse.EngName"); renewResponse.Address = context.StringValue("QueryTradeMarkApplications.Data[" + i + "].RenewResponse.Address"); renewResponse.EngAddress = context.StringValue("QueryTradeMarkApplications.Data[" + i + "].RenewResponse.EngAddress"); renewResponse.RegisterTime = context.LongValue("QueryTradeMarkApplications.Data[" + i + "].RenewResponse.RegisterTime"); renewResponse.SubmitSbjtime = context.LongValue("QueryTradeMarkApplications.Data[" + i + "].RenewResponse.SubmitSbjtime"); tmProduces.RenewResponse = renewResponse; List <QueryTradeMarkApplicationsResponse.QueryTradeMarkApplications_TmProduces.QueryTradeMarkApplications_ThirdClassifications> tmProduces_thirdClassification = new List <QueryTradeMarkApplicationsResponse.QueryTradeMarkApplications_TmProduces.QueryTradeMarkApplications_ThirdClassifications>(); for (int j = 0; j < context.Length("QueryTradeMarkApplications.Data[" + i + "].ThirdClassification.Length"); j++) { QueryTradeMarkApplicationsResponse.QueryTradeMarkApplications_TmProduces.QueryTradeMarkApplications_ThirdClassifications thirdClassifications = new QueryTradeMarkApplicationsResponse.QueryTradeMarkApplications_TmProduces.QueryTradeMarkApplications_ThirdClassifications(); thirdClassifications.ClassificationCode = context.StringValue("QueryTradeMarkApplications.Data[" + i + "].ThirdClassification[" + j + "].ClassificationCode"); thirdClassifications.ClassificationName = context.StringValue("QueryTradeMarkApplications.Data[" + i + "].ThirdClassification[" + j + "].ClassificationName"); tmProduces_thirdClassification.Add(thirdClassifications); } tmProduces.ThirdClassification = tmProduces_thirdClassification; queryTradeMarkApplicationsResponse_data.Add(tmProduces); } queryTradeMarkApplicationsResponse.Data = queryTradeMarkApplicationsResponse_data; return(queryTradeMarkApplicationsResponse); }
public static DescribePriceResponse Unmarshall(UnmarshallerContext context) { DescribePriceResponse describePriceResponse = new DescribePriceResponse(); describePriceResponse.HttpResponse = context.HttpResponse; describePriceResponse.RequestId = context.StringValue("DescribePrice.RequestId"); describePriceResponse.OrderParams = context.StringValue("DescribePrice.OrderParams"); DescribePriceResponse.DescribePrice_Order order = new DescribePriceResponse.DescribePrice_Order(); order.OriginalAmount = context.StringValue("DescribePrice.Order.OriginalAmount"); order.TradeAmount = context.StringValue("DescribePrice.Order.TradeAmount"); order.DiscountAmount = context.StringValue("DescribePrice.Order.DiscountAmount"); order.Currency = context.StringValue("DescribePrice.Order.Currency"); List <string> order_ruleIds1 = new List <string>(); for (int i = 0; i < context.Length("DescribePrice.Order.RuleIds.Length"); i++) { order_ruleIds1.Add(context.StringValue("DescribePrice.Order.RuleIds[" + i + "]")); } order.RuleIds1 = order_ruleIds1; List <DescribePriceResponse.DescribePrice_Order.DescribePrice_Coupon> order_coupons = new List <DescribePriceResponse.DescribePrice_Order.DescribePrice_Coupon>(); for (int i = 0; i < context.Length("DescribePrice.Order.Coupons.Length"); i++) { DescribePriceResponse.DescribePrice_Order.DescribePrice_Coupon coupon = new DescribePriceResponse.DescribePrice_Order.DescribePrice_Coupon(); coupon.CouponNo = context.StringValue("DescribePrice.Order.Coupons[" + i + "].CouponNo"); coupon.Name = context.StringValue("DescribePrice.Order.Coupons[" + i + "].Name"); coupon.Description = context.StringValue("DescribePrice.Order.Coupons[" + i + "].Description"); coupon.IsSelected = context.StringValue("DescribePrice.Order.Coupons[" + i + "].IsSelected"); order_coupons.Add(coupon); } order.Coupons = order_coupons; describePriceResponse.Order = order; List <DescribePriceResponse.DescribePrice_Rule> describePriceResponse_rules = new List <DescribePriceResponse.DescribePrice_Rule>(); for (int i = 0; i < context.Length("DescribePrice.Rules.Length"); i++) { DescribePriceResponse.DescribePrice_Rule rule = new DescribePriceResponse.DescribePrice_Rule(); rule.RuleDescId = context.LongValue("DescribePrice.Rules[" + i + "].RuleDescId"); rule.Name = context.StringValue("DescribePrice.Rules[" + i + "].Name"); rule.Title = context.StringValue("DescribePrice.Rules[" + i + "].Title"); describePriceResponse_rules.Add(rule); } describePriceResponse.Rules = describePriceResponse_rules; List <DescribePriceResponse.DescribePrice_SubOrder> describePriceResponse_subOrders = new List <DescribePriceResponse.DescribePrice_SubOrder>(); for (int i = 0; i < context.Length("DescribePrice.SubOrders.Length"); i++) { DescribePriceResponse.DescribePrice_SubOrder subOrder = new DescribePriceResponse.DescribePrice_SubOrder(); subOrder.OriginalAmount = context.StringValue("DescribePrice.SubOrders[" + i + "].OriginalAmount"); subOrder.TradeAmount = context.StringValue("DescribePrice.SubOrders[" + i + "].TradeAmount"); subOrder.DiscountAmount = context.StringValue("DescribePrice.SubOrders[" + i + "].DiscountAmount"); subOrder.InstanceId = context.StringValue("DescribePrice.SubOrders[" + i + "].InstanceId"); List <string> subOrder_ruleIds = new List <string>(); for (int j = 0; j < context.Length("DescribePrice.SubOrders[" + i + "].RuleIds.Length"); j++) { subOrder_ruleIds.Add(context.StringValue("DescribePrice.SubOrders[" + i + "].RuleIds[" + j + "]")); } subOrder.RuleIds = subOrder_ruleIds; describePriceResponse_subOrders.Add(subOrder); } describePriceResponse.SubOrders = describePriceResponse_subOrders; return(describePriceResponse); }
public static ListQualityResultsByEntityResponse Unmarshall(UnmarshallerContext _ctx) { ListQualityResultsByEntityResponse listQualityResultsByEntityResponse = new ListQualityResultsByEntityResponse(); listQualityResultsByEntityResponse.HttpResponse = _ctx.HttpResponse; listQualityResultsByEntityResponse.RequestId = _ctx.StringValue("ListQualityResultsByEntity.RequestId"); listQualityResultsByEntityResponse.HttpStatusCode = _ctx.IntegerValue("ListQualityResultsByEntity.HttpStatusCode"); listQualityResultsByEntityResponse.ErrorMessage = _ctx.StringValue("ListQualityResultsByEntity.ErrorMessage"); listQualityResultsByEntityResponse.ErrorCode = _ctx.StringValue("ListQualityResultsByEntity.ErrorCode"); listQualityResultsByEntityResponse.Success = _ctx.BooleanValue("ListQualityResultsByEntity.Success"); ListQualityResultsByEntityResponse.ListQualityResultsByEntity_Data data = new ListQualityResultsByEntityResponse.ListQualityResultsByEntity_Data(); data.TotalCount = _ctx.LongValue("ListQualityResultsByEntity.Data.TotalCount"); data.PageNumber = _ctx.IntegerValue("ListQualityResultsByEntity.Data.PageNumber"); data.PageSize = _ctx.IntegerValue("ListQualityResultsByEntity.Data.PageSize"); List <ListQualityResultsByEntityResponse.ListQualityResultsByEntity_Data.ListQualityResultsByEntity_RuleChecksItem> data_ruleChecks = new List <ListQualityResultsByEntityResponse.ListQualityResultsByEntity_Data.ListQualityResultsByEntity_RuleChecksItem>(); for (int i = 0; i < _ctx.Length("ListQualityResultsByEntity.Data.RuleChecks.Length"); i++) { ListQualityResultsByEntityResponse.ListQualityResultsByEntity_Data.ListQualityResultsByEntity_RuleChecksItem ruleChecksItem = new ListQualityResultsByEntityResponse.ListQualityResultsByEntity_Data.ListQualityResultsByEntity_RuleChecksItem(); ruleChecksItem.Id = _ctx.IntegerValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].Id"); ruleChecksItem.TaskId = _ctx.StringValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].TaskId"); ruleChecksItem.EntityId = _ctx.IntegerValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].EntityId"); ruleChecksItem.RuleId = _ctx.IntegerValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].RuleId"); ruleChecksItem.Property = _ctx.StringValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].Property"); ruleChecksItem.BizDate = _ctx.LongValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].BizDate"); ruleChecksItem.DateType = _ctx.StringValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].DateType"); ruleChecksItem.ActualExpression = _ctx.StringValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].ActualExpression"); ruleChecksItem.MatchExpression = _ctx.StringValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].MatchExpression"); ruleChecksItem.BlockType = _ctx.IntegerValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].BlockType"); ruleChecksItem.CheckResult = _ctx.IntegerValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].CheckResult"); ruleChecksItem.CheckResultStatus = _ctx.IntegerValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].CheckResultStatus"); ruleChecksItem.MethodName = _ctx.StringValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].MethodName"); ruleChecksItem.Comment = _ctx.StringValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].Comment"); ruleChecksItem.WhereCondition = _ctx.StringValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].WhereCondition"); ruleChecksItem.BeginTime = _ctx.LongValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].BeginTime"); ruleChecksItem.EndTime = _ctx.LongValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].EndTime"); ruleChecksItem.TimeCost = _ctx.StringValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].TimeCost"); ruleChecksItem.ExternalType = _ctx.StringValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].ExternalType"); ruleChecksItem.ExternalId = _ctx.StringValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].ExternalId"); ruleChecksItem.DiscreteCheck = _ctx.BooleanValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].DiscreteCheck"); ruleChecksItem.FixedCheck = _ctx.BooleanValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].FixedCheck"); ruleChecksItem.Trend = _ctx.StringValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].Trend"); ruleChecksItem.WarningThreshold = _ctx.FloatValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].WarningThreshold"); ruleChecksItem.CriticalThreshold = _ctx.FloatValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].CriticalThreshold"); ruleChecksItem.ExpectValue = _ctx.FloatValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].ExpectValue"); ruleChecksItem.Op = _ctx.StringValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].Op"); ruleChecksItem.ProjectName = _ctx.StringValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].ProjectName"); ruleChecksItem.TableName = _ctx.StringValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].TableName"); ruleChecksItem.TemplateId = _ctx.IntegerValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].TemplateId"); ruleChecksItem.TemplateName = _ctx.StringValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].TemplateName"); ruleChecksItem.ResultString = _ctx.StringValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].ResultString"); ruleChecksItem.CheckerId = _ctx.IntegerValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].CheckerId"); ruleChecksItem.CheckerType = _ctx.IntegerValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].CheckerType"); ruleChecksItem.RuleName = _ctx.StringValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].RuleName"); ruleChecksItem.IsPrediction = _ctx.BooleanValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].IsPrediction"); ruleChecksItem.UpperValue = _ctx.FloatValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].UpperValue"); ruleChecksItem.LowerValue = _ctx.FloatValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].LowerValue"); ruleChecksItem.CheckerName = _ctx.StringValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].CheckerName"); List <ListQualityResultsByEntityResponse.ListQualityResultsByEntity_Data.ListQualityResultsByEntity_RuleChecksItem.ListQualityResultsByEntity_ReferenceValueItem> ruleChecksItem_referenceValue = new List <ListQualityResultsByEntityResponse.ListQualityResultsByEntity_Data.ListQualityResultsByEntity_RuleChecksItem.ListQualityResultsByEntity_ReferenceValueItem>(); for (int j = 0; j < _ctx.Length("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].ReferenceValue.Length"); j++) { ListQualityResultsByEntityResponse.ListQualityResultsByEntity_Data.ListQualityResultsByEntity_RuleChecksItem.ListQualityResultsByEntity_ReferenceValueItem referenceValueItem = new ListQualityResultsByEntityResponse.ListQualityResultsByEntity_Data.ListQualityResultsByEntity_RuleChecksItem.ListQualityResultsByEntity_ReferenceValueItem(); referenceValueItem.BizDate = _ctx.StringValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].ReferenceValue[" + j + "].BizDate"); referenceValueItem.DiscreteProperty = _ctx.StringValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].ReferenceValue[" + j + "].DiscreteProperty"); referenceValueItem._Value = _ctx.FloatValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].ReferenceValue[" + j + "].Value"); referenceValueItem.Threshold = _ctx.FloatValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].ReferenceValue[" + j + "].Threshold"); referenceValueItem.SingleCheckResult = _ctx.IntegerValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].ReferenceValue[" + j + "].SingleCheckResult"); ruleChecksItem_referenceValue.Add(referenceValueItem); } ruleChecksItem.ReferenceValue = ruleChecksItem_referenceValue; List <ListQualityResultsByEntityResponse.ListQualityResultsByEntity_Data.ListQualityResultsByEntity_RuleChecksItem.ListQualityResultsByEntity_SampleValueItem> ruleChecksItem_sampleValue = new List <ListQualityResultsByEntityResponse.ListQualityResultsByEntity_Data.ListQualityResultsByEntity_RuleChecksItem.ListQualityResultsByEntity_SampleValueItem>(); for (int j = 0; j < _ctx.Length("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].SampleValue.Length"); j++) { ListQualityResultsByEntityResponse.ListQualityResultsByEntity_Data.ListQualityResultsByEntity_RuleChecksItem.ListQualityResultsByEntity_SampleValueItem sampleValueItem = new ListQualityResultsByEntityResponse.ListQualityResultsByEntity_Data.ListQualityResultsByEntity_RuleChecksItem.ListQualityResultsByEntity_SampleValueItem(); sampleValueItem.BizDate = _ctx.StringValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].SampleValue[" + j + "].BizDate"); sampleValueItem.DiscreteProperty = _ctx.StringValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].SampleValue[" + j + "].DiscreteProperty"); sampleValueItem._Value = _ctx.FloatValue("ListQualityResultsByEntity.Data.RuleChecks[" + i + "].SampleValue[" + j + "].Value"); ruleChecksItem_sampleValue.Add(sampleValueItem); } ruleChecksItem.SampleValue = ruleChecksItem_sampleValue; data_ruleChecks.Add(ruleChecksItem); } data.RuleChecks = data_ruleChecks; listQualityResultsByEntityResponse.Data = data; return(listQualityResultsByEntityResponse); }
public static ListTaskExecutionsResponse Unmarshall(UnmarshallerContext context) { ListTaskExecutionsResponse listTaskExecutionsResponse = new ListTaskExecutionsResponse(); listTaskExecutionsResponse.HttpResponse = context.HttpResponse; listTaskExecutionsResponse.RequestId = context.StringValue("ListTaskExecutions.RequestId"); listTaskExecutionsResponse.MaxResults = context.IntegerValue("ListTaskExecutions.MaxResults"); listTaskExecutionsResponse.NextToken = context.StringValue("ListTaskExecutions.NextToken"); List <ListTaskExecutionsResponse.ListTaskExecutions_TaskExecution> listTaskExecutionsResponse_taskExecutions = new List <ListTaskExecutionsResponse.ListTaskExecutions_TaskExecution>(); for (int i = 0; i < context.Length("ListTaskExecutions.TaskExecutions.Length"); i++) { ListTaskExecutionsResponse.ListTaskExecutions_TaskExecution taskExecution = new ListTaskExecutionsResponse.ListTaskExecutions_TaskExecution(); taskExecution.ExecutionId = context.StringValue("ListTaskExecutions.TaskExecutions[" + i + "].ExecutionId"); taskExecution.TaskExecutionId = context.StringValue("ListTaskExecutions.TaskExecutions[" + i + "].TaskExecutionId"); taskExecution.TemplateId = context.StringValue("ListTaskExecutions.TaskExecutions[" + i + "].TemplateId"); taskExecution.StartDate = context.StringValue("ListTaskExecutions.TaskExecutions[" + i + "].StartDate"); taskExecution.EndDate = context.StringValue("ListTaskExecutions.TaskExecutions[" + i + "].EndDate"); taskExecution.CreateDate = context.StringValue("ListTaskExecutions.TaskExecutions[" + i + "].CreateDate"); taskExecution.UpdateDate = context.StringValue("ListTaskExecutions.TaskExecutions[" + i + "].UpdateDate"); taskExecution.Status = context.StringValue("ListTaskExecutions.TaskExecutions[" + i + "].Status"); taskExecution.Properties = context.StringValue("ListTaskExecutions.TaskExecutions[" + i + "].Properties"); taskExecution.Outputs = context.StringValue("ListTaskExecutions.TaskExecutions[" + i + "].Outputs"); taskExecution.TaskAction = context.StringValue("ListTaskExecutions.TaskExecutions[" + i + "].TaskAction"); taskExecution.TaskName = context.StringValue("ListTaskExecutions.TaskExecutions[" + i + "].TaskName"); taskExecution.StatusMessage = context.StringValue("ListTaskExecutions.TaskExecutions[" + i + "].StatusMessage"); taskExecution.ChildExecutionId = context.StringValue("ListTaskExecutions.TaskExecutions[" + i + "].ChildExecutionId"); taskExecution.ParentTaskExecutionId = context.StringValue("ListTaskExecutions.TaskExecutions[" + i + "].ParentTaskExecutionId"); taskExecution.LoopItem = context.StringValue("ListTaskExecutions.TaskExecutions[" + i + "].LoopItem"); taskExecution.Loop = context.StringValue("ListTaskExecutions.TaskExecutions[" + i + "].Loop"); taskExecution.ExtraData = context.StringValue("ListTaskExecutions.TaskExecutions[" + i + "].ExtraData"); listTaskExecutionsResponse_taskExecutions.Add(taskExecution); } listTaskExecutionsResponse.TaskExecutions = listTaskExecutionsResponse_taskExecutions; return(listTaskExecutionsResponse); }
public static DescribeUserDomainsResponse Unmarshall(UnmarshallerContext context) { DescribeUserDomainsResponse describeUserDomainsResponse = new DescribeUserDomainsResponse(); describeUserDomainsResponse.HttpResponse = context.HttpResponse; describeUserDomainsResponse.RequestId = context.StringValue("DescribeUserDomains.RequestId"); describeUserDomainsResponse.PageNumber = context.LongValue("DescribeUserDomains.PageNumber"); describeUserDomainsResponse.PageSize = context.LongValue("DescribeUserDomains.PageSize"); describeUserDomainsResponse.TotalCount = context.LongValue("DescribeUserDomains.TotalCount"); List <DescribeUserDomainsResponse.DescribeUserDomains_PageData> describeUserDomainsResponse_domains = new List <DescribeUserDomainsResponse.DescribeUserDomains_PageData>(); for (int i = 0; i < context.Length("DescribeUserDomains.Domains.Length"); i++) { DescribeUserDomainsResponse.DescribeUserDomains_PageData pageData = new DescribeUserDomainsResponse.DescribeUserDomains_PageData(); pageData.DomainName = context.StringValue("DescribeUserDomains.Domains[" + i + "].DomainName"); pageData.Cname = context.StringValue("DescribeUserDomains.Domains[" + i + "].Cname"); pageData.CdnType = context.StringValue("DescribeUserDomains.Domains[" + i + "].CdnType"); pageData.DomainStatus = context.StringValue("DescribeUserDomains.Domains[" + i + "].DomainStatus"); pageData.GmtCreated = context.StringValue("DescribeUserDomains.Domains[" + i + "].GmtCreated"); pageData.GmtModified = context.StringValue("DescribeUserDomains.Domains[" + i + "].GmtModified"); pageData.Description = context.StringValue("DescribeUserDomains.Domains[" + i + "].Description"); pageData.SslProtocol = context.StringValue("DescribeUserDomains.Domains[" + i + "].SslProtocol"); pageData.ResourceGroupId = context.StringValue("DescribeUserDomains.Domains[" + i + "].ResourceGroupId"); pageData.Sandbox = context.StringValue("DescribeUserDomains.Domains[" + i + "].Sandbox"); pageData.Coverage = context.StringValue("DescribeUserDomains.Domains[" + i + "].Coverage"); List <DescribeUserDomainsResponse.DescribeUserDomains_PageData.DescribeUserDomains_Source> pageData_sources = new List <DescribeUserDomainsResponse.DescribeUserDomains_PageData.DescribeUserDomains_Source>(); for (int j = 0; j < context.Length("DescribeUserDomains.Domains[" + i + "].Sources.Length"); j++) { DescribeUserDomainsResponse.DescribeUserDomains_PageData.DescribeUserDomains_Source source = new DescribeUserDomainsResponse.DescribeUserDomains_PageData.DescribeUserDomains_Source(); source.Type = context.StringValue("DescribeUserDomains.Domains[" + i + "].Sources[" + j + "].Type"); source.Content = context.StringValue("DescribeUserDomains.Domains[" + i + "].Sources[" + j + "].Content"); source.Port = context.IntegerValue("DescribeUserDomains.Domains[" + i + "].Sources[" + j + "].Port"); source.Priority = context.StringValue("DescribeUserDomains.Domains[" + i + "].Sources[" + j + "].Priority"); source.Weight = context.StringValue("DescribeUserDomains.Domains[" + i + "].Sources[" + j + "].Weight"); pageData_sources.Add(source); } pageData.Sources = pageData_sources; describeUserDomainsResponse_domains.Add(pageData); } describeUserDomainsResponse.Domains = describeUserDomainsResponse_domains; return(describeUserDomainsResponse); }
public static DescribeEipAddressesResponse Unmarshall(UnmarshallerContext context) { DescribeEipAddressesResponse describeEipAddressesResponse = new DescribeEipAddressesResponse() { HttpResponse = context.HttpResponse, RequestId = context.StringValue("DescribeEipAddresses.RequestId"), TotalCount = context.IntegerValue("DescribeEipAddresses.TotalCount"), PageNumber = context.IntegerValue("DescribeEipAddresses.PageNumber"), PageSize = context.IntegerValue("DescribeEipAddresses.PageSize") }; List <DescribeEipAddressesResponse.EipAddress> eipAddresses = new List <DescribeEipAddressesResponse.EipAddress>(); for (int i = 0; i < context.Length("DescribeEipAddresses.EipAddresses.Length"); i++) { DescribeEipAddressesResponse.EipAddress eipAddress = new DescribeEipAddressesResponse.EipAddress() { RegionId = context.StringValue($"DescribeEipAddresses.EipAddresses[{i}].RegionId"), IpAddress = context.StringValue($"DescribeEipAddresses.EipAddresses[{i}].IpAddress"), AllocationId = context.StringValue($"DescribeEipAddresses.EipAddresses[{i}].AllocationId"), Status = context.StringValue($"DescribeEipAddresses.EipAddresses[{i}].Status"), InstanceId = context.StringValue($"DescribeEipAddresses.EipAddresses[{i}].InstanceId"), Bandwidth = context.StringValue($"DescribeEipAddresses.EipAddresses[{i}].Bandwidth"), InternetChargeType = context.StringValue($"DescribeEipAddresses.EipAddresses[{i}].InternetChargeType"), AllocationTime = context.StringValue($"DescribeEipAddresses.EipAddresses[{i}].AllocationTime"), InstanceType = context.StringValue($"DescribeEipAddresses.EipAddresses[{i}].InstanceType") }; List <DescribeEipAddressesResponse.EipAddress.LockReason> operationLocks = new List <DescribeEipAddressesResponse.EipAddress.LockReason>(); for (int j = 0; j < context.Length($"DescribeEipAddresses.EipAddresses[{i}].OperationLocks.Length"); j++) { DescribeEipAddressesResponse.EipAddress.LockReason lockReason = new DescribeEipAddressesResponse.EipAddress.LockReason() { LockReason_ = context.StringValue($"DescribeEipAddresses.EipAddresses[{i}].OperationLocks[{j}].LockReason") }; operationLocks.Add(lockReason); } eipAddress.OperationLocks = operationLocks; eipAddresses.Add(eipAddress); } describeEipAddressesResponse.EipAddresses = eipAddresses; return(describeEipAddressesResponse); }
public static DescribeTaskAttributeResponse Unmarshall(UnmarshallerContext _ctx) { DescribeTaskAttributeResponse describeTaskAttributeResponse = new DescribeTaskAttributeResponse(); describeTaskAttributeResponse.HttpResponse = _ctx.HttpResponse; describeTaskAttributeResponse.RequestId = _ctx.StringValue("DescribeTaskAttribute.RequestId"); describeTaskAttributeResponse.TaskId = _ctx.StringValue("DescribeTaskAttribute.TaskId"); describeTaskAttributeResponse.RegionId = _ctx.StringValue("DescribeTaskAttribute.RegionId"); describeTaskAttributeResponse.TaskAction = _ctx.StringValue("DescribeTaskAttribute.TaskAction"); describeTaskAttributeResponse.TaskStatus = _ctx.StringValue("DescribeTaskAttribute.TaskStatus"); describeTaskAttributeResponse.TaskProcess = _ctx.StringValue("DescribeTaskAttribute.TaskProcess"); describeTaskAttributeResponse.SupportCancel = _ctx.StringValue("DescribeTaskAttribute.SupportCancel"); describeTaskAttributeResponse.TotalCount = _ctx.IntegerValue("DescribeTaskAttribute.TotalCount"); describeTaskAttributeResponse.SuccessCount = _ctx.IntegerValue("DescribeTaskAttribute.SuccessCount"); describeTaskAttributeResponse.FailedCount = _ctx.IntegerValue("DescribeTaskAttribute.FailedCount"); describeTaskAttributeResponse.CreationTime = _ctx.StringValue("DescribeTaskAttribute.CreationTime"); describeTaskAttributeResponse.FinishedTime = _ctx.StringValue("DescribeTaskAttribute.FinishedTime"); List <DescribeTaskAttributeResponse.DescribeTaskAttribute_OperationProgress> describeTaskAttributeResponse_operationProgressSet = new List <DescribeTaskAttributeResponse.DescribeTaskAttribute_OperationProgress>(); for (int i = 0; i < _ctx.Length("DescribeTaskAttribute.OperationProgressSet.Length"); i++) { DescribeTaskAttributeResponse.DescribeTaskAttribute_OperationProgress operationProgress = new DescribeTaskAttributeResponse.DescribeTaskAttribute_OperationProgress(); operationProgress.OperationStatus = _ctx.StringValue("DescribeTaskAttribute.OperationProgressSet[" + i + "].OperationStatus"); operationProgress.ErrorCode = _ctx.StringValue("DescribeTaskAttribute.OperationProgressSet[" + i + "].ErrorCode"); operationProgress.ErrorMsg = _ctx.StringValue("DescribeTaskAttribute.OperationProgressSet[" + i + "].ErrorMsg"); List <DescribeTaskAttributeResponse.DescribeTaskAttribute_OperationProgress.DescribeTaskAttribute_RelatedItem> operationProgress_relatedItemSet = new List <DescribeTaskAttributeResponse.DescribeTaskAttribute_OperationProgress.DescribeTaskAttribute_RelatedItem>(); for (int j = 0; j < _ctx.Length("DescribeTaskAttribute.OperationProgressSet[" + i + "].RelatedItemSet.Length"); j++) { DescribeTaskAttributeResponse.DescribeTaskAttribute_OperationProgress.DescribeTaskAttribute_RelatedItem relatedItem = new DescribeTaskAttributeResponse.DescribeTaskAttribute_OperationProgress.DescribeTaskAttribute_RelatedItem(); relatedItem.Name = _ctx.StringValue("DescribeTaskAttribute.OperationProgressSet[" + i + "].RelatedItemSet[" + j + "].Name"); relatedItem._Value = _ctx.StringValue("DescribeTaskAttribute.OperationProgressSet[" + i + "].RelatedItemSet[" + j + "].Value"); operationProgress_relatedItemSet.Add(relatedItem); } operationProgress.RelatedItemSet = operationProgress_relatedItemSet; describeTaskAttributeResponse_operationProgressSet.Add(operationProgress); } describeTaskAttributeResponse.OperationProgressSet = describeTaskAttributeResponse_operationProgressSet; return(describeTaskAttributeResponse); }
public static EditEventResponse Unmarshall(UnmarshallerContext context) { EditEventResponse editEventResponse = new EditEventResponse(); editEventResponse.HttpResponse = context.HttpResponse; editEventResponse.Code = context.StringValue("EditEvent.Code"); editEventResponse.Message = context.StringValue("EditEvent.Message"); editEventResponse.RequestId = context.StringValue("EditEvent.RequestId"); editEventResponse.Action = context.StringValue("EditEvent.Action"); EditEventResponse.EditEvent__Event _event = new EditEventResponse.EditEvent__Event(); _event.Id = context.LongValue("EditEvent.Event.Id"); _event.IdStr = context.StringValue("EditEvent.Event.IdStr"); _event.Title = context.StringValue("EditEvent.Event.Title"); _event.BannerPhotoId = context.StringValue("EditEvent.Event.BannerPhotoId"); _event.Identity = context.StringValue("EditEvent.Event.Identity"); _event.SplashPhotoId = context.StringValue("EditEvent.Event.SplashPhotoId"); _event.State = context.StringValue("EditEvent.Event.State"); _event.WeixinTitle = context.StringValue("EditEvent.Event.WeixinTitle"); _event.WatermarkPhotoId = context.StringValue("EditEvent.Event.WatermarkPhotoId"); _event.StartAt = context.LongValue("EditEvent.Event.StartAt"); _event.EndAt = context.LongValue("EditEvent.Event.EndAt"); _event.Ctime = context.LongValue("EditEvent.Event.Ctime"); _event.Mtime = context.LongValue("EditEvent.Event.Mtime"); _event.ViewsCount = context.LongValue("EditEvent.Event.ViewsCount"); _event.LibraryId = context.StringValue("EditEvent.Event.LibraryId"); _event.IdStr1 = context.StringValue("EditEvent.Event.IdStr"); editEventResponse._Event = _event; return(editEventResponse); }
public static DescribeDBProxyResponse Unmarshall(UnmarshallerContext _ctx) { DescribeDBProxyResponse describeDBProxyResponse = new DescribeDBProxyResponse(); describeDBProxyResponse.HttpResponse = _ctx.HttpResponse; describeDBProxyResponse.RequestId = _ctx.StringValue("DescribeDBProxy.RequestId"); describeDBProxyResponse.DBProxyServiceStatus = _ctx.StringValue("DescribeDBProxy.DBProxyServiceStatus"); describeDBProxyResponse.DBProxyInstanceType = _ctx.StringValue("DescribeDBProxy.DBProxyInstanceType"); describeDBProxyResponse.DBProxyInstanceNum = _ctx.IntegerValue("DescribeDBProxy.DBProxyInstanceNum"); describeDBProxyResponse.DBProxyInstanceStatus = _ctx.StringValue("DescribeDBProxy.DBProxyInstanceStatus"); describeDBProxyResponse.DBProxyInstanceCurrentMinorVersion = _ctx.StringValue("DescribeDBProxy.DBProxyInstanceCurrentMinorVersion"); describeDBProxyResponse.DBProxyInstanceLatestMinorVersion = _ctx.StringValue("DescribeDBProxy.DBProxyInstanceLatestMinorVersion"); describeDBProxyResponse.DBProxyInstanceName = _ctx.StringValue("DescribeDBProxy.DBProxyInstanceName"); List <DescribeDBProxyResponse.DescribeDBProxy_DBProxyConnectStringItemsItem> describeDBProxyResponse_dBProxyConnectStringItems = new List <DescribeDBProxyResponse.DescribeDBProxy_DBProxyConnectStringItemsItem>(); for (int i = 0; i < _ctx.Length("DescribeDBProxy.DBProxyConnectStringItems.Length"); i++) { DescribeDBProxyResponse.DescribeDBProxy_DBProxyConnectStringItemsItem dBProxyConnectStringItemsItem = new DescribeDBProxyResponse.DescribeDBProxy_DBProxyConnectStringItemsItem(); dBProxyConnectStringItemsItem.DBProxyEndpointId = _ctx.StringValue("DescribeDBProxy.DBProxyConnectStringItems[" + i + "].DBProxyEndpointId"); dBProxyConnectStringItemsItem.DBProxyConnectString = _ctx.StringValue("DescribeDBProxy.DBProxyConnectStringItems[" + i + "].DBProxyConnectString"); dBProxyConnectStringItemsItem.DBProxyConnectStringPort = _ctx.StringValue("DescribeDBProxy.DBProxyConnectStringItems[" + i + "].DBProxyConnectStringPort"); dBProxyConnectStringItemsItem.DBProxyConnectStringNetType = _ctx.StringValue("DescribeDBProxy.DBProxyConnectStringItems[" + i + "].DBProxyConnectStringNetType"); dBProxyConnectStringItemsItem.DBProxyVpcInstanceId = _ctx.StringValue("DescribeDBProxy.DBProxyConnectStringItems[" + i + "].DBProxyVpcInstanceId"); dBProxyConnectStringItemsItem.DBProxyEndpointName = _ctx.StringValue("DescribeDBProxy.DBProxyConnectStringItems[" + i + "].DBProxyEndpointName"); dBProxyConnectStringItemsItem.DBProxyConnectStringNetWorkType = _ctx.StringValue("DescribeDBProxy.DBProxyConnectStringItems[" + i + "].DBProxyConnectStringNetWorkType"); describeDBProxyResponse_dBProxyConnectStringItems.Add(dBProxyConnectStringItemsItem); } describeDBProxyResponse.DBProxyConnectStringItems = describeDBProxyResponse_dBProxyConnectStringItems; return(describeDBProxyResponse); }
public static QueryAuctionsResponse Unmarshall(UnmarshallerContext context) { QueryAuctionsResponse queryAuctionsResponse = new QueryAuctionsResponse(); queryAuctionsResponse.HttpResponse = context.HttpResponse; queryAuctionsResponse.RequestId = context.StringValue("QueryAuctions.RequestId"); queryAuctionsResponse.TotalItemNum = context.IntegerValue("QueryAuctions.TotalItemNum"); queryAuctionsResponse.CurrentPageNum = context.IntegerValue("QueryAuctions.CurrentPageNum"); queryAuctionsResponse.PageSize = context.IntegerValue("QueryAuctions.PageSize"); queryAuctionsResponse.TotalPageNum = context.IntegerValue("QueryAuctions.TotalPageNum"); List <QueryAuctionsResponse.QueryAuctions_AuctionDetail> queryAuctionsResponse_data = new List <QueryAuctionsResponse.QueryAuctions_AuctionDetail>(); for (int i = 0; i < context.Length("QueryAuctions.Data.Length"); i++) { QueryAuctionsResponse.QueryAuctions_AuctionDetail auctionDetail = new QueryAuctionsResponse.QueryAuctions_AuctionDetail(); auctionDetail.DomainName = context.StringValue("QueryAuctions.Data[" + i + "].DomainName"); auctionDetail.AuctionId = context.StringValue("QueryAuctions.Data[" + i + "].AuctionId"); auctionDetail.DomainType = context.StringValue("QueryAuctions.Data[" + i + "].DomainType"); auctionDetail.BookedPartner = context.StringValue("QueryAuctions.Data[" + i + "].BookedPartner"); auctionDetail.PartnerType = context.StringValue("QueryAuctions.Data[" + i + "].PartnerType"); auctionDetail.Currency = context.StringValue("QueryAuctions.Data[" + i + "].Currency"); auctionDetail.YourCurrentBid = context.FloatValue("QueryAuctions.Data[" + i + "].YourCurrentBid"); auctionDetail.YourMaxBid = context.FloatValue("QueryAuctions.Data[" + i + "].YourMaxBid"); auctionDetail.HighBid = context.FloatValue("QueryAuctions.Data[" + i + "].HighBid"); auctionDetail.NextValidBid = context.FloatValue("QueryAuctions.Data[" + i + "].NextValidBid"); auctionDetail.ReserveMet = context.BooleanValue("QueryAuctions.Data[" + i + "].ReserveMet"); auctionDetail.TransferInPrice = context.FloatValue("QueryAuctions.Data[" + i + "].TransferInPrice"); auctionDetail.PayPrice = context.FloatValue("QueryAuctions.Data[" + i + "].PayPrice"); auctionDetail.HighBidder = context.StringValue("QueryAuctions.Data[" + i + "].HighBidder"); auctionDetail.Status = context.StringValue("QueryAuctions.Data[" + i + "].Status"); auctionDetail.PayStatus = context.StringValue("QueryAuctions.Data[" + i + "].PayStatus"); auctionDetail.ProduceStatus = context.StringValue("QueryAuctions.Data[" + i + "].ProduceStatus"); auctionDetail.AuctionEndTime = context.LongValue("QueryAuctions.Data[" + i + "].AuctionEndTime"); auctionDetail.BookEndTime = context.LongValue("QueryAuctions.Data[" + i + "].BookEndTime"); auctionDetail.PayEndTime = context.LongValue("QueryAuctions.Data[" + i + "].PayEndTime"); auctionDetail.DeliveryTime = context.LongValue("QueryAuctions.Data[" + i + "].DeliveryTime"); auctionDetail.FailCode = context.StringValue("QueryAuctions.Data[" + i + "].FailCode"); queryAuctionsResponse_data.Add(auctionDetail); } queryAuctionsResponse.Data = queryAuctionsResponse_data; return(queryAuctionsResponse); }
public static DescribeEipAddressesResponse Unmarshall(UnmarshallerContext context) { DescribeEipAddressesResponse describeEipAddressesResponse = new DescribeEipAddressesResponse(); describeEipAddressesResponse.HttpResponse = context.HttpResponse; describeEipAddressesResponse.RequestId = context.StringValue("DescribeEipAddresses.RequestId"); describeEipAddressesResponse.TotalCount = context.IntegerValue("DescribeEipAddresses.TotalCount"); describeEipAddressesResponse.PageNumber = context.IntegerValue("DescribeEipAddresses.PageNumber"); describeEipAddressesResponse.PageSize = context.IntegerValue("DescribeEipAddresses.PageSize"); List <DescribeEipAddressesResponse.DescribeEipAddresses_EipAddress> describeEipAddressesResponse_eipAddresses = new List <DescribeEipAddressesResponse.DescribeEipAddresses_EipAddress>(); for (int i = 0; i < context.Length("DescribeEipAddresses.EipAddresses.Length"); i++) { DescribeEipAddressesResponse.DescribeEipAddresses_EipAddress eipAddress = new DescribeEipAddressesResponse.DescribeEipAddresses_EipAddress(); eipAddress.RegionId = context.StringValue("DescribeEipAddresses.EipAddresses[" + i + "].RegionId"); eipAddress.IpAddress = context.StringValue("DescribeEipAddresses.EipAddresses[" + i + "].IpAddress"); eipAddress.AllocationId = context.StringValue("DescribeEipAddresses.EipAddresses[" + i + "].AllocationId"); eipAddress.Status = context.StringValue("DescribeEipAddresses.EipAddresses[" + i + "].Status"); eipAddress.InstanceId = context.StringValue("DescribeEipAddresses.EipAddresses[" + i + "].InstanceId"); eipAddress.Bandwidth = context.StringValue("DescribeEipAddresses.EipAddresses[" + i + "].Bandwidth"); eipAddress.EipBandwidth = context.StringValue("DescribeEipAddresses.EipAddresses[" + i + "].EipBandwidth"); eipAddress.InternetChargeType = context.StringValue("DescribeEipAddresses.EipAddresses[" + i + "].InternetChargeType"); eipAddress.AllocationTime = context.StringValue("DescribeEipAddresses.EipAddresses[" + i + "].AllocationTime"); eipAddress.InstanceType = context.StringValue("DescribeEipAddresses.EipAddresses[" + i + "].InstanceType"); eipAddress.ChargeType = context.StringValue("DescribeEipAddresses.EipAddresses[" + i + "].ChargeType"); eipAddress.ExpiredTime = context.StringValue("DescribeEipAddresses.EipAddresses[" + i + "].ExpiredTime"); List <DescribeEipAddressesResponse.DescribeEipAddresses_EipAddress.DescribeEipAddresses_LockReason> eipAddress_operationLocks = new List <DescribeEipAddressesResponse.DescribeEipAddresses_EipAddress.DescribeEipAddresses_LockReason>(); for (int j = 0; j < context.Length("DescribeEipAddresses.EipAddresses[" + i + "].OperationLocks.Length"); j++) { DescribeEipAddressesResponse.DescribeEipAddresses_EipAddress.DescribeEipAddresses_LockReason lockReason = new DescribeEipAddressesResponse.DescribeEipAddresses_EipAddress.DescribeEipAddresses_LockReason(); lockReason.LockReason = context.StringValue("DescribeEipAddresses.EipAddresses[" + i + "].OperationLocks[" + j + "].LockReason"); eipAddress_operationLocks.Add(lockReason); } eipAddress.OperationLocks = eipAddress_operationLocks; describeEipAddressesResponse_eipAddresses.Add(eipAddress); } describeEipAddressesResponse.EipAddresses = describeEipAddressesResponse_eipAddresses; return(describeEipAddressesResponse); }
public static DescribeGatewaysResponse Unmarshall(UnmarshallerContext context) { DescribeGatewaysResponse describeGatewaysResponse = new DescribeGatewaysResponse(); describeGatewaysResponse.HttpResponse = context.HttpResponse; describeGatewaysResponse.RequestId = context.StringValue("DescribeGateways.RequestId"); describeGatewaysResponse.Success = context.BooleanValue("DescribeGateways.Success"); describeGatewaysResponse.Code = context.StringValue("DescribeGateways.Code"); describeGatewaysResponse.Message = context.StringValue("DescribeGateways.Message"); describeGatewaysResponse.TotalCount = context.IntegerValue("DescribeGateways.TotalCount"); describeGatewaysResponse.PageNumber = context.IntegerValue("DescribeGateways.PageNumber"); describeGatewaysResponse.PageSize = context.IntegerValue("DescribeGateways.PageSize"); List <DescribeGatewaysResponse.DescribeGateways_Gateway> describeGatewaysResponse_gateways = new List <DescribeGatewaysResponse.DescribeGateways_Gateway>(); for (int i = 0; i < context.Length("DescribeGateways.Gateways.Length"); i++) { DescribeGatewaysResponse.DescribeGateways_Gateway gateway = new DescribeGatewaysResponse.DescribeGateways_Gateway(); gateway.GatewayId = context.StringValue("DescribeGateways.Gateways[" + i + "].GatewayId"); gateway.StorageBundleId = context.StringValue("DescribeGateways.Gateways[" + i + "].StorageBundleId"); gateway.Name = context.StringValue("DescribeGateways.Gateways[" + i + "].Name"); gateway.Description = context.StringValue("DescribeGateways.Gateways[" + i + "].Description"); gateway.Location = context.StringValue("DescribeGateways.Gateways[" + i + "].Location"); gateway.Category = context.StringValue("DescribeGateways.Gateways[" + i + "].Category"); gateway.Type = context.StringValue("DescribeGateways.Gateways[" + i + "].Type"); gateway.GatewayClass = context.StringValue("DescribeGateways.Gateways[" + i + "].GatewayClass"); gateway.Model = context.StringValue("DescribeGateways.Gateways[" + i + "].Model"); gateway.SerialNumber = context.StringValue("DescribeGateways.Gateways[" + i + "].SerialNumber"); gateway.Status = context.StringValue("DescribeGateways.Gateways[" + i + "].Status"); gateway.EcsInstanceId = context.StringValue("DescribeGateways.Gateways[" + i + "].EcsInstanceId"); gateway.VpcId = context.StringValue("DescribeGateways.Gateways[" + i + "].VpcId"); gateway.VSwitchId = context.StringValue("DescribeGateways.Gateways[" + i + "].VSwitchId"); gateway.Ip = context.StringValue("DescribeGateways.Gateways[" + i + "].Ip"); gateway.InnerIp = context.StringValue("DescribeGateways.Gateways[" + i + "].InnerIp"); gateway.CreatedTime = context.LongValue("DescribeGateways.Gateways[" + i + "].CreatedTime"); gateway.ActivatedTime = context.LongValue("DescribeGateways.Gateways[" + i + "].ActivatedTime"); gateway.TaskId = context.StringValue("DescribeGateways.Gateways[" + i + "].TaskId"); gateway.GatewayVersion = context.StringValue("DescribeGateways.Gateways[" + i + "].GatewayVersion"); gateway.BuyURL = context.StringValue("DescribeGateways.Gateways[" + i + "].BuyURL"); gateway.RenewURL = context.StringValue("DescribeGateways.Gateways[" + i + "].RenewURL"); gateway.IsPostPaid = context.BooleanValue("DescribeGateways.Gateways[" + i + "].IsPostPaid"); gateway.IsReleaseAfterExpiration = context.BooleanValue("DescribeGateways.Gateways[" + i + "].IsReleaseAfterExpiration"); gateway.ExpiredTime = context.LongValue("DescribeGateways.Gateways[" + i + "].ExpiredTime"); gateway.ExpireStatus = context.IntegerValue("DescribeGateways.Gateways[" + i + "].ExpireStatus"); gateway.CommonBuyInstanceId = context.StringValue("DescribeGateways.Gateways[" + i + "].CommonBuyInstanceId"); gateway.PublicNetworkBandwidth = context.IntegerValue("DescribeGateways.Gateways[" + i + "].PublicNetworkBandwidth"); gateway.GatewayType = context.StringValue("DescribeGateways.Gateways[" + i + "].GatewayType"); gateway.ElasticGateway = context.BooleanValue("DescribeGateways.Gateways[" + i + "].ElasticGateway"); gateway.MaxThroughput = context.IntegerValue("DescribeGateways.Gateways[" + i + "].MaxThroughput"); gateway.Capacity = context.IntegerValue("DescribeGateways.Gateways[" + i + "].Capacity"); gateway.DataLoadType = context.StringValue("DescribeGateways.Gateways[" + i + "].DataLoadType"); gateway.DataLoadInterval = context.IntegerValue("DescribeGateways.Gateways[" + i + "].DataLoadInterval"); gateway.LastErrorKey = context.StringValue("DescribeGateways.Gateways[" + i + "].LastErrorKey"); List <string> gateway_elasticNodes = new List <string>(); for (int j = 0; j < context.Length("DescribeGateways.Gateways[" + i + "].ElasticNodes.Length"); j++) { gateway_elasticNodes.Add(context.StringValue("DescribeGateways.Gateways[" + i + "].ElasticNodes[" + j + "]")); } gateway.ElasticNodes = gateway_elasticNodes; describeGatewaysResponse_gateways.Add(gateway); } describeGatewaysResponse.Gateways = describeGatewaysResponse_gateways; return(describeGatewaysResponse); }
public static GetImageInfoResponse Unmarshall(UnmarshallerContext context) { GetImageInfoResponse getImageInfoResponse = new GetImageInfoResponse(); getImageInfoResponse.HttpResponse = context.HttpResponse; getImageInfoResponse.RequestId = context.StringValue("GetImageInfo.RequestId"); GetImageInfoResponse.GetImageInfo_ImageInfo imageInfo = new GetImageInfoResponse.GetImageInfo_ImageInfo(); imageInfo.ImageId = context.StringValue("GetImageInfo.ImageInfo.ImageId"); imageInfo.Title = context.StringValue("GetImageInfo.ImageInfo.Title"); imageInfo.CreationTime = context.StringValue("GetImageInfo.ImageInfo.CreationTime"); imageInfo.ImageType = context.StringValue("GetImageInfo.ImageInfo.ImageType"); imageInfo.Tags = context.StringValue("GetImageInfo.ImageInfo.Tags"); imageInfo.URL = context.StringValue("GetImageInfo.ImageInfo.URL"); imageInfo.CateId = context.IntegerValue("GetImageInfo.ImageInfo.CateId"); imageInfo.CateName = context.StringValue("GetImageInfo.ImageInfo.CateName"); imageInfo.Description = context.StringValue("GetImageInfo.ImageInfo.Description"); imageInfo.StorageLocation = context.StringValue("GetImageInfo.ImageInfo.StorageLocation"); imageInfo.RegionId = context.StringValue("GetImageInfo.ImageInfo.RegionId"); imageInfo.ModificationTime = context.StringValue("GetImageInfo.ImageInfo.ModificationTime"); GetImageInfoResponse.GetImageInfo_ImageInfo.GetImageInfo_Mezzanine mezzanine = new GetImageInfoResponse.GetImageInfo_ImageInfo.GetImageInfo_Mezzanine(); mezzanine.FileURL = context.StringValue("GetImageInfo.ImageInfo.Mezzanine.FileURL"); mezzanine.OriginalFileName = context.StringValue("GetImageInfo.ImageInfo.Mezzanine.OriginalFileName"); mezzanine.FileSize = context.LongValue("GetImageInfo.ImageInfo.Mezzanine.FileSize"); mezzanine.Width = context.IntegerValue("GetImageInfo.ImageInfo.Mezzanine.Width"); mezzanine.Height = context.IntegerValue("GetImageInfo.ImageInfo.Mezzanine.Height"); imageInfo.Mezzanine = mezzanine; getImageInfoResponse.ImageInfo = imageInfo; return(getImageInfoResponse); }
public static ListNamespacedConfigMapsResponse Unmarshall(UnmarshallerContext context) { ListNamespacedConfigMapsResponse listNamespacedConfigMapsResponse = new ListNamespacedConfigMapsResponse(); listNamespacedConfigMapsResponse.HttpResponse = context.HttpResponse; listNamespacedConfigMapsResponse.RequestId = context.StringValue("ListNamespacedConfigMaps.RequestId"); listNamespacedConfigMapsResponse.Code = context.StringValue("ListNamespacedConfigMaps.Code"); listNamespacedConfigMapsResponse.Message = context.StringValue("ListNamespacedConfigMaps.Message"); listNamespacedConfigMapsResponse.ErrorCode = context.StringValue("ListNamespacedConfigMaps.ErrorCode"); listNamespacedConfigMapsResponse.TraceId = context.StringValue("ListNamespacedConfigMaps.TraceId"); listNamespacedConfigMapsResponse.Success = context.BooleanValue("ListNamespacedConfigMaps.Success"); ListNamespacedConfigMapsResponse.ListNamespacedConfigMaps_Data data = new ListNamespacedConfigMapsResponse.ListNamespacedConfigMaps_Data(); List <ListNamespacedConfigMapsResponse.ListNamespacedConfigMaps_Data.ListNamespacedConfigMaps_ConfigMap> data_configMaps = new List <ListNamespacedConfigMapsResponse.ListNamespacedConfigMaps_Data.ListNamespacedConfigMaps_ConfigMap>(); for (int i = 0; i < context.Length("ListNamespacedConfigMaps.Data.ConfigMaps.Length"); i++) { ListNamespacedConfigMapsResponse.ListNamespacedConfigMaps_Data.ListNamespacedConfigMaps_ConfigMap configMap = new ListNamespacedConfigMapsResponse.ListNamespacedConfigMaps_Data.ListNamespacedConfigMaps_ConfigMap(); configMap.ConfigMapId = context.LongValue("ListNamespacedConfigMaps.Data.ConfigMaps[" + i + "].ConfigMapId"); configMap.Name = context.StringValue("ListNamespacedConfigMaps.Data.ConfigMaps[" + i + "].Name"); configMap.NamespaceId = context.StringValue("ListNamespacedConfigMaps.Data.ConfigMaps[" + i + "].NamespaceId"); configMap.Description = context.StringValue("ListNamespacedConfigMaps.Data.ConfigMaps[" + i + "].Description"); configMap.Data = context.StringValue("ListNamespacedConfigMaps.Data.ConfigMaps[" + i + "].Data"); configMap.CreateTime = context.LongValue("ListNamespacedConfigMaps.Data.ConfigMaps[" + i + "].CreateTime"); configMap.UpdateTime = context.LongValue("ListNamespacedConfigMaps.Data.ConfigMaps[" + i + "].UpdateTime"); List <ListNamespacedConfigMapsResponse.ListNamespacedConfigMaps_Data.ListNamespacedConfigMaps_ConfigMap.ListNamespacedConfigMaps_RelateApp> configMap_relateApps = new List <ListNamespacedConfigMapsResponse.ListNamespacedConfigMaps_Data.ListNamespacedConfigMaps_ConfigMap.ListNamespacedConfigMaps_RelateApp>(); for (int j = 0; j < context.Length("ListNamespacedConfigMaps.Data.ConfigMaps[" + i + "].RelateApps.Length"); j++) { ListNamespacedConfigMapsResponse.ListNamespacedConfigMaps_Data.ListNamespacedConfigMaps_ConfigMap.ListNamespacedConfigMaps_RelateApp relateApp = new ListNamespacedConfigMapsResponse.ListNamespacedConfigMaps_Data.ListNamespacedConfigMaps_ConfigMap.ListNamespacedConfigMaps_RelateApp(); relateApp.AppId = context.StringValue("ListNamespacedConfigMaps.Data.ConfigMaps[" + i + "].RelateApps[" + j + "].AppId"); relateApp.AppName = context.StringValue("ListNamespacedConfigMaps.Data.ConfigMaps[" + i + "].RelateApps[" + j + "].AppName"); configMap_relateApps.Add(relateApp); } configMap.RelateApps = configMap_relateApps; data_configMaps.Add(configMap); } data.ConfigMaps = data_configMaps; listNamespacedConfigMapsResponse.Data = data; return(listNamespacedConfigMapsResponse); }
public static DescribeSagWanListResponse Unmarshall(UnmarshallerContext context) { DescribeSagWanListResponse describeSagWanListResponse = new DescribeSagWanListResponse(); describeSagWanListResponse.HttpResponse = context.HttpResponse; describeSagWanListResponse.RequestId = context.StringValue("DescribeSagWanList.RequestId"); List <DescribeSagWanListResponse.DescribeSagWanList_Wan> describeSagWanListResponse_wans = new List <DescribeSagWanListResponse.DescribeSagWanList_Wan>(); for (int i = 0; i < context.Length("DescribeSagWanList.Wans.Length"); i++) { DescribeSagWanListResponse.DescribeSagWanList_Wan wan = new DescribeSagWanListResponse.DescribeSagWanList_Wan(); wan.PortName = context.StringValue("DescribeSagWanList.Wans[" + i + "].PortName"); wan.IPType = context.StringValue("DescribeSagWanList.Wans[" + i + "].IPType"); wan.IP = context.StringValue("DescribeSagWanList.Wans[" + i + "].IP"); wan.Mask = context.StringValue("DescribeSagWanList.Wans[" + i + "].Mask"); wan.Gateway = context.StringValue("DescribeSagWanList.Wans[" + i + "].Gateway"); wan.Username = context.StringValue("DescribeSagWanList.Wans[" + i + "].Username"); describeSagWanListResponse_wans.Add(wan); } describeSagWanListResponse.Wans = describeSagWanListResponse_wans; List <DescribeSagWanListResponse.DescribeSagWanList_TaskState> describeSagWanListResponse_taskStates = new List <DescribeSagWanListResponse.DescribeSagWanList_TaskState>(); for (int i = 0; i < context.Length("DescribeSagWanList.TaskStates.Length"); i++) { DescribeSagWanListResponse.DescribeSagWanList_TaskState taskState = new DescribeSagWanListResponse.DescribeSagWanList_TaskState(); taskState.State = context.StringValue("DescribeSagWanList.TaskStates[" + i + "].State"); taskState.ErrorCode = context.StringValue("DescribeSagWanList.TaskStates[" + i + "].ErrorCode"); taskState.ErrorMessage = context.StringValue("DescribeSagWanList.TaskStates[" + i + "].ErrorMessage"); taskState.CreateTime = context.StringValue("DescribeSagWanList.TaskStates[" + i + "].CreateTime"); describeSagWanListResponse_taskStates.Add(taskState); } describeSagWanListResponse.TaskStates = describeSagWanListResponse_taskStates; return(describeSagWanListResponse); }
public static DescribeVpcAttributeResponse Unmarshall(UnmarshallerContext context) { DescribeVpcAttributeResponse describeVpcAttributeResponse = new DescribeVpcAttributeResponse(); describeVpcAttributeResponse.HttpResponse = context.HttpResponse; describeVpcAttributeResponse.RequestId = context.StringValue("DescribeVpcAttribute.RequestId"); describeVpcAttributeResponse.VpcId = context.StringValue("DescribeVpcAttribute.VpcId"); describeVpcAttributeResponse.RegionId = context.StringValue("DescribeVpcAttribute.RegionId"); describeVpcAttributeResponse.Status = context.StringValue("DescribeVpcAttribute.Status"); describeVpcAttributeResponse.VpcName = context.StringValue("DescribeVpcAttribute.VpcName"); describeVpcAttributeResponse.CreationTime = context.StringValue("DescribeVpcAttribute.CreationTime"); describeVpcAttributeResponse.CidrBlock = context.StringValue("DescribeVpcAttribute.CidrBlock"); describeVpcAttributeResponse.Ipv6CidrBlock = context.StringValue("DescribeVpcAttribute.Ipv6CidrBlock"); describeVpcAttributeResponse.VRouterId = context.StringValue("DescribeVpcAttribute.VRouterId"); describeVpcAttributeResponse.Description = context.StringValue("DescribeVpcAttribute.Description"); describeVpcAttributeResponse.IsDefault = context.BooleanValue("DescribeVpcAttribute.IsDefault"); describeVpcAttributeResponse.ClassicLinkEnabled = context.BooleanValue("DescribeVpcAttribute.ClassicLinkEnabled"); describeVpcAttributeResponse.ResourceGroupId = context.StringValue("DescribeVpcAttribute.ResourceGroupId"); describeVpcAttributeResponse.NetworkAclNum = context.StringValue("DescribeVpcAttribute.NetworkAclNum"); List<string> describeVpcAttributeResponse_vSwitchIds = new List<string>(); for (int i = 0; i < context.Length("DescribeVpcAttribute.VSwitchIds.Length"); i++) { describeVpcAttributeResponse_vSwitchIds.Add(context.StringValue("DescribeVpcAttribute.VSwitchIds["+ i +"]")); } describeVpcAttributeResponse.VSwitchIds = describeVpcAttributeResponse_vSwitchIds; List<string> describeVpcAttributeResponse_userCidrs = new List<string>(); for (int i = 0; i < context.Length("DescribeVpcAttribute.UserCidrs.Length"); i++) { describeVpcAttributeResponse_userCidrs.Add(context.StringValue("DescribeVpcAttribute.UserCidrs["+ i +"]")); } describeVpcAttributeResponse.UserCidrs = describeVpcAttributeResponse_userCidrs; List<DescribeVpcAttributeResponse.DescribeVpcAttribute_AssociatedCen> describeVpcAttributeResponse_associatedCens = new List<DescribeVpcAttributeResponse.DescribeVpcAttribute_AssociatedCen>(); for (int i = 0; i < context.Length("DescribeVpcAttribute.AssociatedCens.Length"); i++) { DescribeVpcAttributeResponse.DescribeVpcAttribute_AssociatedCen associatedCen = new DescribeVpcAttributeResponse.DescribeVpcAttribute_AssociatedCen(); associatedCen.CenId = context.StringValue("DescribeVpcAttribute.AssociatedCens["+ i +"].CenId"); associatedCen.CenOwnerId = context.LongValue("DescribeVpcAttribute.AssociatedCens["+ i +"].CenOwnerId"); associatedCen.CenStatus = context.StringValue("DescribeVpcAttribute.AssociatedCens["+ i +"].CenStatus"); describeVpcAttributeResponse_associatedCens.Add(associatedCen); } describeVpcAttributeResponse.AssociatedCens = describeVpcAttributeResponse_associatedCens; List<DescribeVpcAttributeResponse.DescribeVpcAttribute_CloudResourceSetType> describeVpcAttributeResponse_cloudResources = new List<DescribeVpcAttributeResponse.DescribeVpcAttribute_CloudResourceSetType>(); for (int i = 0; i < context.Length("DescribeVpcAttribute.CloudResources.Length"); i++) { DescribeVpcAttributeResponse.DescribeVpcAttribute_CloudResourceSetType cloudResourceSetType = new DescribeVpcAttributeResponse.DescribeVpcAttribute_CloudResourceSetType(); cloudResourceSetType.ResourceType = context.StringValue("DescribeVpcAttribute.CloudResources["+ i +"].ResourceType"); cloudResourceSetType.ResourceCount = context.IntegerValue("DescribeVpcAttribute.CloudResources["+ i +"].ResourceCount"); describeVpcAttributeResponse_cloudResources.Add(cloudResourceSetType); } describeVpcAttributeResponse.CloudResources = describeVpcAttributeResponse_cloudResources; return describeVpcAttributeResponse; }
public static DescribeDomainAverageResponseTimeResponse Unmarshall(UnmarshallerContext context) { DescribeDomainAverageResponseTimeResponse describeDomainAverageResponseTimeResponse = new DescribeDomainAverageResponseTimeResponse(); describeDomainAverageResponseTimeResponse.HttpResponse = context.HttpResponse; describeDomainAverageResponseTimeResponse.RequestId = context.StringValue("DescribeDomainAverageResponseTime.RequestId"); describeDomainAverageResponseTimeResponse.DomainName = context.StringValue("DescribeDomainAverageResponseTime.DomainName"); describeDomainAverageResponseTimeResponse.StartTime = context.StringValue("DescribeDomainAverageResponseTime.StartTime"); describeDomainAverageResponseTimeResponse.EndTime = context.StringValue("DescribeDomainAverageResponseTime.EndTime"); describeDomainAverageResponseTimeResponse.LocationNameEn = context.StringValue("DescribeDomainAverageResponseTime.LocationNameEn"); describeDomainAverageResponseTimeResponse.IspNameEn = context.StringValue("DescribeDomainAverageResponseTime.IspNameEn"); describeDomainAverageResponseTimeResponse.LocationName = context.StringValue("DescribeDomainAverageResponseTime.LocationName"); describeDomainAverageResponseTimeResponse.IspName = context.StringValue("DescribeDomainAverageResponseTime.IspName"); describeDomainAverageResponseTimeResponse.DataInterval = context.StringValue("DescribeDomainAverageResponseTime.DataInterval"); List <DescribeDomainAverageResponseTimeResponse.DescribeDomainAverageResponseTime_DataModule> describeDomainAverageResponseTimeResponse_avgRTPerInterval = new List <DescribeDomainAverageResponseTimeResponse.DescribeDomainAverageResponseTime_DataModule>(); for (int i = 0; i < context.Length("DescribeDomainAverageResponseTime.AvgRTPerInterval.Length"); i++) { DescribeDomainAverageResponseTimeResponse.DescribeDomainAverageResponseTime_DataModule dataModule = new DescribeDomainAverageResponseTimeResponse.DescribeDomainAverageResponseTime_DataModule(); dataModule.TimeStamp = context.StringValue("DescribeDomainAverageResponseTime.AvgRTPerInterval[" + i + "].TimeStamp"); dataModule._Value = context.StringValue("DescribeDomainAverageResponseTime.AvgRTPerInterval[" + i + "].Value"); describeDomainAverageResponseTimeResponse_avgRTPerInterval.Add(dataModule); } describeDomainAverageResponseTimeResponse.AvgRTPerInterval = describeDomainAverageResponseTimeResponse_avgRTPerInterval; return(describeDomainAverageResponseTimeResponse); }
public static GetJobStatusByCallIdResponse Unmarshall(UnmarshallerContext context) { GetJobStatusByCallIdResponse getJobStatusByCallIdResponse = new GetJobStatusByCallIdResponse(); getJobStatusByCallIdResponse.HttpResponse = context.HttpResponse; getJobStatusByCallIdResponse.RequestId = context.StringValue("GetJobStatusByCallId.RequestId"); getJobStatusByCallIdResponse.Success = context.BooleanValue("GetJobStatusByCallId.Success"); getJobStatusByCallIdResponse.Code = context.StringValue("GetJobStatusByCallId.Code"); getJobStatusByCallIdResponse.Message = context.StringValue("GetJobStatusByCallId.Message"); getJobStatusByCallIdResponse.HttpStatusCode = context.IntegerValue("GetJobStatusByCallId.HttpStatusCode"); GetJobStatusByCallIdResponse.GetJobStatusByCallId_Job job = new GetJobStatusByCallIdResponse.GetJobStatusByCallId_Job(); job.JobId = context.StringValue("GetJobStatusByCallId.Job.JobId"); job.GroupId = context.StringValue("GetJobStatusByCallId.Job.GroupId"); job.ScenarioId = context.StringValue("GetJobStatusByCallId.Job.ScenarioId"); job.StrategyId = context.StringValue("GetJobStatusByCallId.Job.StrategyId"); job.Priority = context.IntegerValue("GetJobStatusByCallId.Job.Priority"); job.Status = context.StringValue("GetJobStatusByCallId.Job.Status"); job.ReferenceId = context.StringValue("GetJobStatusByCallId.Job.ReferenceId"); job.FailureReason = context.StringValue("GetJobStatusByCallId.Job.FailureReason"); List <string> job_callingNumbers = new List <string>(); for (int i = 0; i < context.Length("GetJobStatusByCallId.Job.CallingNumbers.Length"); i++) { job_callingNumbers.Add(context.StringValue("GetJobStatusByCallId.Job.CallingNumbers[" + i + "]")); } job.CallingNumbers = job_callingNumbers; List <GetJobStatusByCallIdResponse.GetJobStatusByCallId_Job.GetJobStatusByCallId_Contact> job_contacts = new List <GetJobStatusByCallIdResponse.GetJobStatusByCallId_Job.GetJobStatusByCallId_Contact>(); for (int i = 0; i < context.Length("GetJobStatusByCallId.Job.Contacts.Length"); i++) { GetJobStatusByCallIdResponse.GetJobStatusByCallId_Job.GetJobStatusByCallId_Contact contact = new GetJobStatusByCallIdResponse.GetJobStatusByCallId_Job.GetJobStatusByCallId_Contact(); contact.ContactId = context.StringValue("GetJobStatusByCallId.Job.Contacts[" + i + "].ContactId"); contact.ContactName = context.StringValue("GetJobStatusByCallId.Job.Contacts[" + i + "].ContactName"); contact.Honorific = context.StringValue("GetJobStatusByCallId.Job.Contacts[" + i + "].Honorific"); contact.Role = context.StringValue("GetJobStatusByCallId.Job.Contacts[" + i + "].Role"); contact.PhoneNumber = context.StringValue("GetJobStatusByCallId.Job.Contacts[" + i + "].PhoneNumber"); contact.State = context.StringValue("GetJobStatusByCallId.Job.Contacts[" + i + "].State"); contact.ReferenceId = context.StringValue("GetJobStatusByCallId.Job.Contacts[" + i + "].ReferenceId"); contact.JobId = context.StringValue("GetJobStatusByCallId.Job.Contacts[" + i + "].JobId"); job_contacts.Add(contact); } job.Contacts = job_contacts; List <GetJobStatusByCallIdResponse.GetJobStatusByCallId_Job.GetJobStatusByCallId_KeyValuePair> job_extras = new List <GetJobStatusByCallIdResponse.GetJobStatusByCallId_Job.GetJobStatusByCallId_KeyValuePair>(); for (int i = 0; i < context.Length("GetJobStatusByCallId.Job.Extras.Length"); i++) { GetJobStatusByCallIdResponse.GetJobStatusByCallId_Job.GetJobStatusByCallId_KeyValuePair keyValuePair = new GetJobStatusByCallIdResponse.GetJobStatusByCallId_Job.GetJobStatusByCallId_KeyValuePair(); keyValuePair.Key = context.StringValue("GetJobStatusByCallId.Job.Extras[" + i + "].Key"); keyValuePair._Value = context.StringValue("GetJobStatusByCallId.Job.Extras[" + i + "].Value"); job_extras.Add(keyValuePair); } job.Extras = job_extras; List <GetJobStatusByCallIdResponse.GetJobStatusByCallId_Job.GetJobStatusByCallId_Task> job_tasks = new List <GetJobStatusByCallIdResponse.GetJobStatusByCallId_Job.GetJobStatusByCallId_Task>(); for (int i = 0; i < context.Length("GetJobStatusByCallId.Job.Tasks.Length"); i++) { GetJobStatusByCallIdResponse.GetJobStatusByCallId_Job.GetJobStatusByCallId_Task task = new GetJobStatusByCallIdResponse.GetJobStatusByCallId_Job.GetJobStatusByCallId_Task(); task.TaskId = context.StringValue("GetJobStatusByCallId.Job.Tasks[" + i + "].TaskId"); task.JobId = context.StringValue("GetJobStatusByCallId.Job.Tasks[" + i + "].JobId"); task.ScenarioId = context.StringValue("GetJobStatusByCallId.Job.Tasks[" + i + "].ScenarioId"); task.ChatbotId = context.StringValue("GetJobStatusByCallId.Job.Tasks[" + i + "].ChatbotId"); task.PlanedTime = context.LongValue("GetJobStatusByCallId.Job.Tasks[" + i + "].PlanedTime"); task.ActualTime = context.LongValue("GetJobStatusByCallId.Job.Tasks[" + i + "].ActualTime"); task.CallingNumber = context.StringValue("GetJobStatusByCallId.Job.Tasks[" + i + "].CallingNumber"); task.CalledNumber = context.StringValue("GetJobStatusByCallId.Job.Tasks[" + i + "].CalledNumber"); task.CallId = context.StringValue("GetJobStatusByCallId.Job.Tasks[" + i + "].CallId"); task.Status = context.StringValue("GetJobStatusByCallId.Job.Tasks[" + i + "].Status"); task.Brief = context.StringValue("GetJobStatusByCallId.Job.Tasks[" + i + "].Brief"); task.Duration = context.IntegerValue("GetJobStatusByCallId.Job.Tasks[" + i + "].Duration"); GetJobStatusByCallIdResponse.GetJobStatusByCallId_Job.GetJobStatusByCallId_Task.GetJobStatusByCallId_Contact2 contact2 = new GetJobStatusByCallIdResponse.GetJobStatusByCallId_Job.GetJobStatusByCallId_Task.GetJobStatusByCallId_Contact2(); contact2.ContactId = context.StringValue("GetJobStatusByCallId.Job.Tasks[" + i + "].Contact.ContactId"); contact2.ContactName = context.StringValue("GetJobStatusByCallId.Job.Tasks[" + i + "].Contact.ContactName"); contact2.Honorific = context.StringValue("GetJobStatusByCallId.Job.Tasks[" + i + "].Contact.Honorific"); contact2.Role = context.StringValue("GetJobStatusByCallId.Job.Tasks[" + i + "].Contact.Role"); contact2.PhoneNumber = context.StringValue("GetJobStatusByCallId.Job.Tasks[" + i + "].Contact.PhoneNumber"); contact2.State = context.StringValue("GetJobStatusByCallId.Job.Tasks[" + i + "].Contact.State"); contact2.ReferenceId = context.StringValue("GetJobStatusByCallId.Job.Tasks[" + i + "].Contact.ReferenceId"); contact2.JobId = context.StringValue("GetJobStatusByCallId.Job.Tasks[" + i + "].Contact.JobId"); task.Contact2 = contact2; List <GetJobStatusByCallIdResponse.GetJobStatusByCallId_Job.GetJobStatusByCallId_Task.GetJobStatusByCallId_ConversationDetail> task_conversation = new List <GetJobStatusByCallIdResponse.GetJobStatusByCallId_Job.GetJobStatusByCallId_Task.GetJobStatusByCallId_ConversationDetail>(); for (int j = 0; j < context.Length("GetJobStatusByCallId.Job.Tasks[" + i + "].Conversation.Length"); j++) { GetJobStatusByCallIdResponse.GetJobStatusByCallId_Job.GetJobStatusByCallId_Task.GetJobStatusByCallId_ConversationDetail conversationDetail = new GetJobStatusByCallIdResponse.GetJobStatusByCallId_Job.GetJobStatusByCallId_Task.GetJobStatusByCallId_ConversationDetail(); conversationDetail.ConversationDetailId = context.StringValue("GetJobStatusByCallId.Job.Tasks[" + i + "].Conversation[" + j + "].ConversationDetailId"); conversationDetail.TaskId = context.StringValue("GetJobStatusByCallId.Job.Tasks[" + i + "].Conversation[" + j + "].TaskId"); conversationDetail.Timestamp = context.LongValue("GetJobStatusByCallId.Job.Tasks[" + i + "].Conversation[" + j + "].Timestamp"); conversationDetail.Speaker = context.StringValue("GetJobStatusByCallId.Job.Tasks[" + i + "].Conversation[" + j + "].Speaker"); conversationDetail.Script = context.StringValue("GetJobStatusByCallId.Job.Tasks[" + i + "].Conversation[" + j + "].Script"); List <GetJobStatusByCallIdResponse.GetJobStatusByCallId_Job.GetJobStatusByCallId_Task.GetJobStatusByCallId_ConversationDetail.GetJobStatusByCallId_SummaryItem> conversationDetail_summary1 = new List <GetJobStatusByCallIdResponse.GetJobStatusByCallId_Job.GetJobStatusByCallId_Task.GetJobStatusByCallId_ConversationDetail.GetJobStatusByCallId_SummaryItem>(); for (int k = 0; k < context.Length("GetJobStatusByCallId.Job.Tasks[" + i + "].Conversation[" + j + "].Summary.Length"); k++) { GetJobStatusByCallIdResponse.GetJobStatusByCallId_Job.GetJobStatusByCallId_Task.GetJobStatusByCallId_ConversationDetail.GetJobStatusByCallId_SummaryItem summaryItem = new GetJobStatusByCallIdResponse.GetJobStatusByCallId_Job.GetJobStatusByCallId_Task.GetJobStatusByCallId_ConversationDetail.GetJobStatusByCallId_SummaryItem(); summaryItem.SummaryId = context.StringValue("GetJobStatusByCallId.Job.Tasks[" + i + "].Conversation[" + j + "].Summary[" + k + "].SummaryId"); summaryItem.Category = context.StringValue("GetJobStatusByCallId.Job.Tasks[" + i + "].Conversation[" + j + "].Summary[" + k + "].Category"); summaryItem.SummaryName = context.StringValue("GetJobStatusByCallId.Job.Tasks[" + i + "].Conversation[" + j + "].Summary[" + k + "].SummaryName"); summaryItem.Content = context.StringValue("GetJobStatusByCallId.Job.Tasks[" + i + "].Conversation[" + j + "].Summary[" + k + "].Content"); conversationDetail_summary1.Add(summaryItem); } conversationDetail.Summary1 = conversationDetail_summary1; task_conversation.Add(conversationDetail); } task.Conversation = task_conversation; job_tasks.Add(task); } job.Tasks = job_tasks; List <GetJobStatusByCallIdResponse.GetJobStatusByCallId_Job.GetJobStatusByCallId_SummaryItem3> job_summary = new List <GetJobStatusByCallIdResponse.GetJobStatusByCallId_Job.GetJobStatusByCallId_SummaryItem3>(); for (int i = 0; i < context.Length("GetJobStatusByCallId.Job.Summary.Length"); i++) { GetJobStatusByCallIdResponse.GetJobStatusByCallId_Job.GetJobStatusByCallId_SummaryItem3 summaryItem3 = new GetJobStatusByCallIdResponse.GetJobStatusByCallId_Job.GetJobStatusByCallId_SummaryItem3(); summaryItem3.SummaryId = context.StringValue("GetJobStatusByCallId.Job.Summary[" + i + "].SummaryId"); summaryItem3.Category = context.StringValue("GetJobStatusByCallId.Job.Summary[" + i + "].Category"); summaryItem3.SummaryName = context.StringValue("GetJobStatusByCallId.Job.Summary[" + i + "].SummaryName"); summaryItem3.Content = context.StringValue("GetJobStatusByCallId.Job.Summary[" + i + "].Content"); job_summary.Add(summaryItem3); } job.Summary = job_summary; getJobStatusByCallIdResponse.Job = job; return(getJobStatusByCallIdResponse); }