public static DescribeAccountsResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeAccountsResponse describeAccountsResponse = new DescribeAccountsResponse();

            describeAccountsResponse.HttpResponse = context.HttpResponse;
            describeAccountsResponse.RequestId = context.StringValue("DescribeAccounts.RequestId");

            List<DescribeAccountsResponse.DBInstanceAccount> accounts = new List<DescribeAccountsResponse.DBInstanceAccount>();
            for (int i = 0; i < context.Length("DescribeAccounts.Accounts.Length"); i++) {
                DescribeAccountsResponse.DBInstanceAccount dBInstanceAccount = new DescribeAccountsResponse.DBInstanceAccount();
                dBInstanceAccount.DBInstanceId = context.StringValue("DescribeAccounts.Accounts["+ i +"].DBInstanceId");
                dBInstanceAccount.AccountName = context.StringValue("DescribeAccounts.Accounts["+ i +"].AccountName");
                dBInstanceAccount.AccountStatus = context.EnumValue<DescribeAccountsResponse.DBInstanceAccount.AccountStatusEnum>("DescribeAccounts.Accounts["+ i +"].AccountStatus");
                dBInstanceAccount.AccountType = context.EnumValue<DescribeAccountsResponse.DBInstanceAccount.AccountTypeEnum>("DescribeAccounts.Accounts["+ i +"].AccountType");
                dBInstanceAccount.AccountDescription = context.StringValue("DescribeAccounts.Accounts["+ i +"].AccountDescription");

                List<DescribeAccountsResponse.DBInstanceAccount.DatabasePrivilege> databasePrivileges = new List<DescribeAccountsResponse.DBInstanceAccount.DatabasePrivilege>();
                for (int j = 0; j < context.Length("DescribeAccounts.Accounts["+ i +"].DatabasePrivileges.Length"); j++) {
                    DescribeAccountsResponse.DBInstanceAccount.DatabasePrivilege databasePrivilege = new DescribeAccountsResponse.DBInstanceAccount.DatabasePrivilege();
                    databasePrivilege.DBName = context.StringValue("DescribeAccounts.Accounts["+ i +"].DatabasePrivileges["+ j +"].DBName");
                    databasePrivilege.AccountPrivilege = context.StringValue("DescribeAccounts.Accounts["+ i +"].DatabasePrivileges["+ j +"].AccountPrivilege");

                    databasePrivileges.Add(databasePrivilege);
                }
                dBInstanceAccount.DatabasePrivileges = databasePrivileges;

                accounts.Add(dBInstanceAccount);
            }
            describeAccountsResponse.Accounts = accounts;

            return describeAccountsResponse;
        }
        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 DescribeVRoutersResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeVRoutersResponse describeVRoutersResponse = new DescribeVRoutersResponse();

            describeVRoutersResponse.HttpResponse = context.HttpResponse;
            describeVRoutersResponse.RequestId = context.StringValue("DescribeVRouters.RequestId");
            describeVRoutersResponse.TotalCount = context.IntegerValue("DescribeVRouters.TotalCount");
            describeVRoutersResponse.PageNumber = context.IntegerValue("DescribeVRouters.PageNumber");
            describeVRoutersResponse.PageSize = context.IntegerValue("DescribeVRouters.PageSize");

            List<DescribeVRoutersResponse.VRouter> vRouters = new List<DescribeVRoutersResponse.VRouter>();
            for (int i = 0; i < context.Length("DescribeVRouters.VRouters.Length"); i++) {
                DescribeVRoutersResponse.VRouter vRouter = new DescribeVRoutersResponse.VRouter();
                vRouter.RegionId = context.StringValue("DescribeVRouters.VRouters["+ i +"].RegionId");
                vRouter.VpcId = context.StringValue("DescribeVRouters.VRouters["+ i +"].VpcId");
                vRouter.VRouterName = context.StringValue("DescribeVRouters.VRouters["+ i +"].VRouterName");
                vRouter.Description = context.StringValue("DescribeVRouters.VRouters["+ i +"].Description");
                vRouter.VRouterId = context.StringValue("DescribeVRouters.VRouters["+ i +"].VRouterId");
                vRouter.CreationTime = context.StringValue("DescribeVRouters.VRouters["+ i +"].CreationTime");

                List<string> routeTableIds = new List<string>();
                for (int j = 0; j < context.Length("DescribeVRouters.VRouters["+ i +"].RouteTableIds.Length"); j++) {
                    routeTableIds.Add(context.StringValue("DescribeVRouters.VRouters["+ i +"].RouteTableIds["+ j +"]"));
                }
                vRouter.RouteTableIds = routeTableIds;

                vRouters.Add(vRouter);
            }
            describeVRoutersResponse.VRouters = vRouters;

            return describeVRoutersResponse;
        }
        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.PageData> domains = new List<DescribeUserDomainsResponse.PageData>();
            for (int i = 0; i < context.Length("DescribeUserDomains.Domains.Length"); i++) {
                DescribeUserDomainsResponse.PageData pageData = new DescribeUserDomainsResponse.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.SourceType = context.StringValue("DescribeUserDomains.Domains["+ i +"].SourceType");
                pageData.SslProtocol = context.StringValue("DescribeUserDomains.Domains["+ i +"].SslProtocol");

                List<string> sources = new List<string>();
                for (int j = 0; j < context.Length("DescribeUserDomains.Domains["+ i +"].Sources.Length"); j++) {
                    sources.Add(context.StringValue("DescribeUserDomains.Domains["+ i +"].Sources["+ j +"]"));
                }
                pageData.Sources = sources;

                domains.Add(pageData);
            }
            describeUserDomainsResponse.Domains = domains;

            return describeUserDomainsResponse;
        }
        public static DescribeDatabasesResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeDatabasesResponse describeDatabasesResponse = new DescribeDatabasesResponse();

            describeDatabasesResponse.HttpResponse = context.HttpResponse;
            describeDatabasesResponse.RequestId = context.StringValue("DescribeDatabases.RequestId");

            List<DescribeDatabasesResponse.Database> databases = new List<DescribeDatabasesResponse.Database>();
            for (int i = 0; i < context.Length("DescribeDatabases.Databases.Length"); i++) {
                DescribeDatabasesResponse.Database database = new DescribeDatabasesResponse.Database();
                database.DBName = context.StringValue("DescribeDatabases.Databases["+ i +"].DBName");
                database.DBInstanceId = context.StringValue("DescribeDatabases.Databases["+ i +"].DBInstanceId");
                database.Engine = context.StringValue("DescribeDatabases.Databases["+ i +"].Engine");
                database.DBStatus = context.EnumValue<DescribeDatabasesResponse.Database.DBStatusEnum>("DescribeDatabases.Databases["+ i +"].DBStatus");
                database.CharacterSetName = context.StringValue("DescribeDatabases.Databases["+ i +"].CharacterSetName");
                database.DBDescription = context.StringValue("DescribeDatabases.Databases["+ i +"].DBDescription");

                List<DescribeDatabasesResponse.Database.AccountPrivilegeInfo> accounts = new List<DescribeDatabasesResponse.Database.AccountPrivilegeInfo>();
                for (int j = 0; j < context.Length("DescribeDatabases.Databases["+ i +"].Accounts.Length"); j++) {
                    DescribeDatabasesResponse.Database.AccountPrivilegeInfo accountPrivilegeInfo = new DescribeDatabasesResponse.Database.AccountPrivilegeInfo();
                    accountPrivilegeInfo.Account = context.StringValue("DescribeDatabases.Databases["+ i +"].Accounts["+ j +"].Account");
                    accountPrivilegeInfo.AccountPrivilege = context.StringValue("DescribeDatabases.Databases["+ i +"].Accounts["+ j +"].AccountPrivilege");

                    accounts.Add(accountPrivilegeInfo);
                }
                database.Accounts = accounts;

                databases.Add(database);
            }
            describeDatabasesResponse.Databases = databases;

            return describeDatabasesResponse;
        }
        public static QueryPipelineListResponse Unmarshall(UnmarshallerContext context)
        {
            QueryPipelineListResponse queryPipelineListResponse = new QueryPipelineListResponse();

            queryPipelineListResponse.HttpResponse = context.HttpResponse;
            queryPipelineListResponse.RequestId = context.StringValue("QueryPipelineList.RequestId");

            List<string> nonExistPids = new List<string>();
            for (int i = 0; i < context.Length("QueryPipelineList.NonExistPids.Length"); i++) {
                nonExistPids.Add(context.StringValue("QueryPipelineList.NonExistPids["+ i +"]"));
            }
            queryPipelineListResponse.NonExistPids = nonExistPids;

            List<QueryPipelineListResponse.Pipeline> pipelineList = new List<QueryPipelineListResponse.Pipeline>();
            for (int i = 0; i < context.Length("QueryPipelineList.PipelineList.Length"); i++) {
                QueryPipelineListResponse.Pipeline pipeline = new QueryPipelineListResponse.Pipeline();
                pipeline.Id = context.StringValue("QueryPipelineList.PipelineList["+ i +"].Id");
                pipeline.Name = context.StringValue("QueryPipelineList.PipelineList["+ i +"].Name");
                pipeline.State = context.StringValue("QueryPipelineList.PipelineList["+ i +"].State");
                pipeline.Speed = context.StringValue("QueryPipelineList.PipelineList["+ i +"].Speed");
                pipeline.Role = context.StringValue("QueryPipelineList.PipelineList["+ i +"].Role");

                QueryPipelineListResponse.Pipeline.NotifyConfig_ notifyConfig = new QueryPipelineListResponse.Pipeline.NotifyConfig_();
                notifyConfig.Topic = context.StringValue("QueryPipelineList.PipelineList["+ i +"].NotifyConfig.Topic");
                notifyConfig.QueueName = context.StringValue("QueryPipelineList.PipelineList["+ i +"].NotifyConfig.QueueName");
                pipeline.NotifyConfig = notifyConfig;

                pipelineList.Add(pipeline);
            }
            queryPipelineListResponse.PipelineList = pipelineList;

            return queryPipelineListResponse;
        }
        public static QueryMediaWorkflowListResponse Unmarshall(UnmarshallerContext context)
        {
            QueryMediaWorkflowListResponse queryMediaWorkflowListResponse = new QueryMediaWorkflowListResponse();

            queryMediaWorkflowListResponse.HttpResponse = context.HttpResponse;
            queryMediaWorkflowListResponse.RequestId = context.StringValue("QueryMediaWorkflowList.RequestId");

            List<string> nonExistMediaWorkflowIds = new List<string>();
            for (int i = 0; i < context.Length("QueryMediaWorkflowList.NonExistMediaWorkflowIds.Length"); i++) {
                nonExistMediaWorkflowIds.Add(context.StringValue("QueryMediaWorkflowList.NonExistMediaWorkflowIds["+ i +"]"));
            }
            queryMediaWorkflowListResponse.NonExistMediaWorkflowIds = nonExistMediaWorkflowIds;

            List<QueryMediaWorkflowListResponse.MediaWorkflow> mediaWorkflowList = new List<QueryMediaWorkflowListResponse.MediaWorkflow>();
            for (int i = 0; i < context.Length("QueryMediaWorkflowList.MediaWorkflowList.Length"); i++) {
                QueryMediaWorkflowListResponse.MediaWorkflow mediaWorkflow = new QueryMediaWorkflowListResponse.MediaWorkflow();
                mediaWorkflow.MediaWorkflowId = context.StringValue("QueryMediaWorkflowList.MediaWorkflowList["+ i +"].MediaWorkflowId");
                mediaWorkflow.Name = context.StringValue("QueryMediaWorkflowList.MediaWorkflowList["+ i +"].Name");
                mediaWorkflow.Topology = context.StringValue("QueryMediaWorkflowList.MediaWorkflowList["+ i +"].Topology");
                mediaWorkflow.State = context.StringValue("QueryMediaWorkflowList.MediaWorkflowList["+ i +"].State");
                mediaWorkflow.CreationTime = context.StringValue("QueryMediaWorkflowList.MediaWorkflowList["+ i +"].CreationTime");

                mediaWorkflowList.Add(mediaWorkflow);
            }
            queryMediaWorkflowListResponse.MediaWorkflowList = mediaWorkflowList;

            return queryMediaWorkflowListResponse;
        }
        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 DescribeDomainHttpCodeDataResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeDomainHttpCodeDataResponse describeDomainHttpCodeDataResponse = new DescribeDomainHttpCodeDataResponse();

            describeDomainHttpCodeDataResponse.HttpResponse = context.HttpResponse;
            describeDomainHttpCodeDataResponse.RequestId = context.StringValue("DescribeDomainHttpCodeData.RequestId");
            describeDomainHttpCodeDataResponse.DomainName = context.StringValue("DescribeDomainHttpCodeData.DomainName");
            describeDomainHttpCodeDataResponse.DataInterval = context.StringValue("DescribeDomainHttpCodeData.DataInterval");
            describeDomainHttpCodeDataResponse.StartTime = context.StringValue("DescribeDomainHttpCodeData.StartTime");
            describeDomainHttpCodeDataResponse.EndTime = context.StringValue("DescribeDomainHttpCodeData.EndTime");

            List<DescribeDomainHttpCodeDataResponse.UsageData> httpCodeData = new List<DescribeDomainHttpCodeDataResponse.UsageData>();
            for (int i = 0; i < context.Length("DescribeDomainHttpCodeData.HttpCodeData.Length"); i++) {
                DescribeDomainHttpCodeDataResponse.UsageData usageData = new DescribeDomainHttpCodeDataResponse.UsageData();
                usageData.TimeStamp = context.StringValue("DescribeDomainHttpCodeData.HttpCodeData["+ i +"].TimeStamp");

                List<DescribeDomainHttpCodeDataResponse.UsageData.CodeProportionData> value = new List<DescribeDomainHttpCodeDataResponse.UsageData.CodeProportionData>();
                for (int j = 0; j < context.Length("DescribeDomainHttpCodeData.HttpCodeData["+ i +"].Value.Length"); j++) {
                    DescribeDomainHttpCodeDataResponse.UsageData.CodeProportionData codeProportionData = new DescribeDomainHttpCodeDataResponse.UsageData.CodeProportionData();
                    codeProportionData.Code = context.StringValue("DescribeDomainHttpCodeData.HttpCodeData["+ i +"].Value["+ j +"].Code");
                    codeProportionData.Proportion = context.StringValue("DescribeDomainHttpCodeData.HttpCodeData["+ i +"].Value["+ j +"].Proportion");

                    value.Add(codeProportionData);
                }
                usageData.Value = value;

                httpCodeData.Add(usageData);
            }
            describeDomainHttpCodeDataResponse.HttpCodeData = httpCodeData;

            return describeDomainHttpCodeDataResponse;
        }
        public static QueryWaterMarkTemplateListResponse Unmarshall(UnmarshallerContext context)
        {
            QueryWaterMarkTemplateListResponse queryWaterMarkTemplateListResponse = new QueryWaterMarkTemplateListResponse();

            queryWaterMarkTemplateListResponse.HttpResponse = context.HttpResponse;
            queryWaterMarkTemplateListResponse.RequestId = context.StringValue("QueryWaterMarkTemplateList.RequestId");

            List<string> nonExistWids = new List<string>();
            for (int i = 0; i < context.Length("QueryWaterMarkTemplateList.NonExistWids.Length"); i++) {
                nonExistWids.Add(context.StringValue("QueryWaterMarkTemplateList.NonExistWids["+ i +"]"));
            }
            queryWaterMarkTemplateListResponse.NonExistWids = nonExistWids;

            List<QueryWaterMarkTemplateListResponse.WaterMarkTemplate> waterMarkTemplateList = new List<QueryWaterMarkTemplateListResponse.WaterMarkTemplate>();
            for (int i = 0; i < context.Length("QueryWaterMarkTemplateList.WaterMarkTemplateList.Length"); i++) {
                QueryWaterMarkTemplateListResponse.WaterMarkTemplate waterMarkTemplate = new QueryWaterMarkTemplateListResponse.WaterMarkTemplate();
                waterMarkTemplate.Id = context.StringValue("QueryWaterMarkTemplateList.WaterMarkTemplateList["+ i +"].Id");
                waterMarkTemplate.Name = context.StringValue("QueryWaterMarkTemplateList.WaterMarkTemplateList["+ i +"].Name");
                waterMarkTemplate.Width = context.StringValue("QueryWaterMarkTemplateList.WaterMarkTemplateList["+ i +"].Width");
                waterMarkTemplate.Height = context.StringValue("QueryWaterMarkTemplateList.WaterMarkTemplateList["+ i +"].Height");
                waterMarkTemplate.Dx = context.StringValue("QueryWaterMarkTemplateList.WaterMarkTemplateList["+ i +"].Dx");
                waterMarkTemplate.Dy = context.StringValue("QueryWaterMarkTemplateList.WaterMarkTemplateList["+ i +"].Dy");
                waterMarkTemplate.ReferPos = context.StringValue("QueryWaterMarkTemplateList.WaterMarkTemplateList["+ i +"].ReferPos");
                waterMarkTemplate.Type = context.StringValue("QueryWaterMarkTemplateList.WaterMarkTemplateList["+ i +"].Type");
                waterMarkTemplate.State = context.StringValue("QueryWaterMarkTemplateList.WaterMarkTemplateList["+ i +"].State");

                waterMarkTemplateList.Add(waterMarkTemplate);
            }
            queryWaterMarkTemplateListResponse.WaterMarkTemplateList = waterMarkTemplateList;

            return queryWaterMarkTemplateListResponse;
        }
        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 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 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 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 DescribeParametersResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeParametersResponse describeParametersResponse = new DescribeParametersResponse();

            describeParametersResponse.HttpResponse = context.HttpResponse;
            describeParametersResponse.RequestId = context.StringValue("DescribeParameters.RequestId");
            describeParametersResponse.Engine = context.StringValue("DescribeParameters.Engine");
            describeParametersResponse.EngineVersion = context.StringValue("DescribeParameters.EngineVersion");

            List<DescribeParametersResponse.DBInstanceParameter> configParameters = new List<DescribeParametersResponse.DBInstanceParameter>();
            for (int i = 0; i < context.Length("DescribeParameters.ConfigParameters.Length"); i++) {
                DescribeParametersResponse.DBInstanceParameter dBInstanceParameter = new DescribeParametersResponse.DBInstanceParameter();
                dBInstanceParameter.ParameterName = context.StringValue("DescribeParameters.ConfigParameters["+ i +"].ParameterName");
                dBInstanceParameter.ParameterValue = context.StringValue("DescribeParameters.ConfigParameters["+ i +"].ParameterValue");
                dBInstanceParameter.ParameterDescription = context.StringValue("DescribeParameters.ConfigParameters["+ i +"].ParameterDescription");

                configParameters.Add(dBInstanceParameter);
            }
            describeParametersResponse.ConfigParameters = configParameters;

            List<DescribeParametersResponse.DBInstanceParameter> runningParameters = new List<DescribeParametersResponse.DBInstanceParameter>();
            for (int i = 0; i < context.Length("DescribeParameters.RunningParameters.Length"); i++) {
                DescribeParametersResponse.DBInstanceParameter dBInstanceParameter = new DescribeParametersResponse.DBInstanceParameter();
                dBInstanceParameter.ParameterName = context.StringValue("DescribeParameters.RunningParameters["+ i +"].ParameterName");
                dBInstanceParameter.ParameterValue = context.StringValue("DescribeParameters.RunningParameters["+ i +"].ParameterValue");
                dBInstanceParameter.ParameterDescription = context.StringValue("DescribeParameters.RunningParameters["+ i +"].ParameterDescription");

                runningParameters.Add(dBInstanceParameter);
            }
            describeParametersResponse.RunningParameters = runningParameters;

            return describeParametersResponse;
        }
        public static DescribeDomainWafDataResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeDomainWafDataResponse describeDomainWafDataResponse = new DescribeDomainWafDataResponse();

            describeDomainWafDataResponse.HttpResponse = context.HttpResponse;
            describeDomainWafDataResponse.RequestId = context.StringValue("DescribeDomainWafData.RequestId");
            describeDomainWafDataResponse.DomainName = context.StringValue("DescribeDomainWafData.DomainName");
            describeDomainWafDataResponse.DataInterval = context.StringValue("DescribeDomainWafData.DataInterval");
            describeDomainWafDataResponse.StartTime = context.StringValue("DescribeDomainWafData.StartTime");
            describeDomainWafDataResponse.EndTime = context.StringValue("DescribeDomainWafData.EndTime");

            List<DescribeDomainWafDataResponse.WafDatas> wafDataList = new List<DescribeDomainWafDataResponse.WafDatas>();
            for (int i = 0; i < context.Length("DescribeDomainWafData.WafDataList.Length"); i++) {
                DescribeDomainWafDataResponse.WafDatas wafDatas = new DescribeDomainWafDataResponse.WafDatas();
                wafDatas.TimeStamp = context.StringValue("DescribeDomainWafData.WafDataList["+ i +"].TimeStamp");

                List<string> value = new List<string>();
                for (int j = 0; j < context.Length("DescribeDomainWafData.WafDataList["+ i +"].Value.Length"); j++) {
                    value.Add(context.StringValue("DescribeDomainWafData.WafDataList["+ i +"].Value["+ j +"]"));
                }
                wafDatas.Value = value;

                wafDataList.Add(wafDatas);
            }
            describeDomainWafDataResponse.WafDataList = wafDataList;

            return describeDomainWafDataResponse;
        }
        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 QuerySnapshotJobListResponse Unmarshall(UnmarshallerContext context)
        {
            QuerySnapshotJobListResponse querySnapshotJobListResponse = new QuerySnapshotJobListResponse();

            querySnapshotJobListResponse.HttpResponse = context.HttpResponse;
            querySnapshotJobListResponse.RequestId = context.StringValue("QuerySnapshotJobList.RequestId");

            List<string> nonExistSnapshotJobIds = new List<string>();
            for (int i = 0; i < context.Length("QuerySnapshotJobList.NonExistSnapshotJobIds.Length"); i++) {
                nonExistSnapshotJobIds.Add(context.StringValue("QuerySnapshotJobList.NonExistSnapshotJobIds["+ i +"]"));
            }
            querySnapshotJobListResponse.NonExistSnapshotJobIds = nonExistSnapshotJobIds;

            List<QuerySnapshotJobListResponse.SnapshotJob> snapshotJobList = new List<QuerySnapshotJobListResponse.SnapshotJob>();
            for (int i = 0; i < context.Length("QuerySnapshotJobList.SnapshotJobList.Length"); i++) {
                QuerySnapshotJobListResponse.SnapshotJob snapshotJob = new QuerySnapshotJobListResponse.SnapshotJob();
                snapshotJob.Id = context.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].Id");
                snapshotJob.UserData = context.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].UserData");
                snapshotJob.PipelineId = context.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].PipelineId");
                snapshotJob.State = context.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].State");
                snapshotJob.Code = context.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].Code");
                snapshotJob.Count = context.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].Count");
                snapshotJob.Message = context.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].Message");
                snapshotJob.CreationTime = context.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].CreationTime");

                QuerySnapshotJobListResponse.SnapshotJob.Input_ input = new QuerySnapshotJobListResponse.SnapshotJob.Input_();
                input.Bucket = context.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].Input.Bucket");
                input.Location = context.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].Input.Location");
                input.Object = context.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].Input.Object");
                snapshotJob.Input = input;

                QuerySnapshotJobListResponse.SnapshotJob.SnapshotConfig_ snapshotConfig = new QuerySnapshotJobListResponse.SnapshotJob.SnapshotConfig_();
                snapshotConfig.Time = context.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.Time");
                snapshotConfig.Interval = context.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.Interval");
                snapshotConfig.Num = context.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.Num");
                snapshotConfig.Width = context.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.Width");
                snapshotConfig.Height = context.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.Height");
                snapshotConfig.FrameType = context.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.FrameType");

                QuerySnapshotJobListResponse.SnapshotJob.SnapshotConfig_.OutputFile_ outputFile = new QuerySnapshotJobListResponse.SnapshotJob.SnapshotConfig_.OutputFile_();
                outputFile.Bucket = context.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.OutputFile.Bucket");
                outputFile.Location = context.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.OutputFile.Location");
                outputFile.Object = context.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].SnapshotConfig.OutputFile.Object");
                snapshotConfig.OutputFile = outputFile;
                snapshotJob.SnapshotConfig = snapshotConfig;

                QuerySnapshotJobListResponse.SnapshotJob.MNSMessageResult_ mNSMessageResult = new QuerySnapshotJobListResponse.SnapshotJob.MNSMessageResult_();
                mNSMessageResult.MessageId = context.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].MNSMessageResult.MessageId");
                mNSMessageResult.ErrorMessage = context.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].MNSMessageResult.ErrorMessage");
                mNSMessageResult.ErrorCode = context.StringValue("QuerySnapshotJobList.SnapshotJobList["+ i +"].MNSMessageResult.ErrorCode");
                snapshotJob.MNSMessageResult = mNSMessageResult;

                snapshotJobList.Add(snapshotJob);
            }
            querySnapshotJobListResponse.SnapshotJobList = snapshotJobList;

            return querySnapshotJobListResponse;
        }
        public static DescribeProtectedDomainsResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeProtectedDomainsResponse describeProtectedDomainsResponse = new DescribeProtectedDomainsResponse();

            describeProtectedDomainsResponse.HttpResponse = context.HttpResponse;
            describeProtectedDomainsResponse.RequestId = context.StringValue("DescribeProtectedDomains.RequestId");

            List<DescribeProtectedDomainsResponse.Domain> domains = new List<DescribeProtectedDomainsResponse.Domain>();
            for (int i = 0; i < context.Length("DescribeProtectedDomains.Domains.Length"); i++) {
                DescribeProtectedDomainsResponse.Domain domain = new DescribeProtectedDomainsResponse.Domain();
                domain.DomainName = context.StringValue("DescribeProtectedDomains.Domains["+ i +"].DomainName");
                domain.CcStatus = context.StringValue("DescribeProtectedDomains.Domains["+ i +"].CcStatus");
                domain.WafStatus = context.StringValue("DescribeProtectedDomains.Domains["+ i +"].WafStatus");
                domain.WafPolicyLevel = context.StringValue("DescribeProtectedDomains.Domains["+ i +"].WafPolicyLevel");

                List<DescribeProtectedDomainsResponse.Domain.IpItems> ccBlackList = new List<DescribeProtectedDomainsResponse.Domain.IpItems>();
                for (int j = 0; j < context.Length("DescribeProtectedDomains.Domains["+ i +"].CcBlackList.Length"); j++) {
                    DescribeProtectedDomainsResponse.Domain.IpItems ipItems = new DescribeProtectedDomainsResponse.Domain.IpItems();
                    ipItems.IpItem = context.StringValue("DescribeProtectedDomains.Domains["+ i +"].CcBlackList["+ j +"].IpItem");

                    ccBlackList.Add(ipItems);
                }
                domain.CcBlackList = ccBlackList;

                List<DescribeProtectedDomainsResponse.Domain.IpItems> ccWhiteList = new List<DescribeProtectedDomainsResponse.Domain.IpItems>();
                for (int j = 0; j < context.Length("DescribeProtectedDomains.Domains["+ i +"].CcWhiteList.Length"); j++) {
                    DescribeProtectedDomainsResponse.Domain.IpItems ipItems = new DescribeProtectedDomainsResponse.Domain.IpItems();
                    ipItems.IpItem = context.StringValue("DescribeProtectedDomains.Domains["+ i +"].CcWhiteList["+ j +"].IpItem");

                    ccWhiteList.Add(ipItems);
                }
                domain.CcWhiteList = ccWhiteList;

                List<DescribeProtectedDomainsResponse.Domain.IpItems> wafBlackList = new List<DescribeProtectedDomainsResponse.Domain.IpItems>();
                for (int j = 0; j < context.Length("DescribeProtectedDomains.Domains["+ i +"].WafBlackList.Length"); j++) {
                    DescribeProtectedDomainsResponse.Domain.IpItems ipItems = new DescribeProtectedDomainsResponse.Domain.IpItems();
                    ipItems.IpItem = context.StringValue("DescribeProtectedDomains.Domains["+ i +"].WafBlackList["+ j +"].IpItem");

                    wafBlackList.Add(ipItems);
                }
                domain.WafBlackList = wafBlackList;

                List<DescribeProtectedDomainsResponse.Domain.IpItems> wafWhiteList = new List<DescribeProtectedDomainsResponse.Domain.IpItems>();
                for (int j = 0; j < context.Length("DescribeProtectedDomains.Domains["+ i +"].WafWhiteList.Length"); j++) {
                    DescribeProtectedDomainsResponse.Domain.IpItems ipItems = new DescribeProtectedDomainsResponse.Domain.IpItems();
                    ipItems.IpItem = context.StringValue("DescribeProtectedDomains.Domains["+ i +"].WafWhiteList["+ j +"].IpItem");

                    wafWhiteList.Add(ipItems);
                }
                domain.WafWhiteList = wafWhiteList;

                domains.Add(domain);
            }
            describeProtectedDomainsResponse.Domains = domains;

            return describeProtectedDomainsResponse;
        }
        public static ListMediaWorkflowExecutionsResponse Unmarshall(UnmarshallerContext context)
        {
            ListMediaWorkflowExecutionsResponse listMediaWorkflowExecutionsResponse = new ListMediaWorkflowExecutionsResponse();

            listMediaWorkflowExecutionsResponse.HttpResponse = context.HttpResponse;
            listMediaWorkflowExecutionsResponse.RequestId = context.StringValue("ListMediaWorkflowExecutions.RequestId");
            listMediaWorkflowExecutionsResponse.NextPageToken = context.StringValue("ListMediaWorkflowExecutions.NextPageToken");

            List<ListMediaWorkflowExecutionsResponse.MediaWorkflowExecution> mediaWorkflowExecutionList = new List<ListMediaWorkflowExecutionsResponse.MediaWorkflowExecution>();
            for (int i = 0; i < context.Length("ListMediaWorkflowExecutions.MediaWorkflowExecutionList.Length"); i++) {
                ListMediaWorkflowExecutionsResponse.MediaWorkflowExecution mediaWorkflowExecution = new ListMediaWorkflowExecutionsResponse.MediaWorkflowExecution();
                mediaWorkflowExecution.RunId = context.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].RunId");
                mediaWorkflowExecution.MediaWorkflowId = context.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].MediaWorkflowId");
                mediaWorkflowExecution.Name = context.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].Name");
                mediaWorkflowExecution.State = context.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].State");
                mediaWorkflowExecution.MediaId = context.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].MediaId");
                mediaWorkflowExecution.CreationTime = context.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].CreationTime");

                ListMediaWorkflowExecutionsResponse.MediaWorkflowExecution.Input_ input = new ListMediaWorkflowExecutionsResponse.MediaWorkflowExecution.Input_();
                input.UserData = context.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].Input.UserData");

                ListMediaWorkflowExecutionsResponse.MediaWorkflowExecution.Input_.InputFile_ inputFile = new ListMediaWorkflowExecutionsResponse.MediaWorkflowExecution.Input_.InputFile_();
                inputFile.Bucket = context.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].Input.InputFile.Bucket");
                inputFile.Location = context.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].Input.InputFile.Location");
                inputFile.Object = context.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].Input.InputFile.Object");
                input.InputFile = inputFile;
                mediaWorkflowExecution.Input = input;

                List<ListMediaWorkflowExecutionsResponse.MediaWorkflowExecution.Activity> activityList = new List<ListMediaWorkflowExecutionsResponse.MediaWorkflowExecution.Activity>();
                for (int j = 0; j < context.Length("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].ActivityList.Length"); j++) {
                    ListMediaWorkflowExecutionsResponse.MediaWorkflowExecution.Activity activity = new ListMediaWorkflowExecutionsResponse.MediaWorkflowExecution.Activity();
                    activity.Name = context.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].Name");
                    activity.Type = context.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].Type");
                    activity.JobId = context.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].JobId");
                    activity.State = context.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].State");
                    activity.Code = context.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].Code");
                    activity.Message = context.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].Message");
                    activity.StartTime = context.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].StartTime");
                    activity.EndTime = context.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].EndTime");

                    ListMediaWorkflowExecutionsResponse.MediaWorkflowExecution.Activity.MNSMessageResult_ mNSMessageResult = new ListMediaWorkflowExecutionsResponse.MediaWorkflowExecution.Activity.MNSMessageResult_();
                    mNSMessageResult.MessageId = context.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].MNSMessageResult.MessageId");
                    mNSMessageResult.ErrorMessage = context.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].MNSMessageResult.ErrorMessage");
                    mNSMessageResult.ErrorCode = context.StringValue("ListMediaWorkflowExecutions.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].MNSMessageResult.ErrorCode");
                    activity.MNSMessageResult = mNSMessageResult;

                    activityList.Add(activity);
                }
                mediaWorkflowExecution.ActivityList = activityList;

                mediaWorkflowExecutionList.Add(mediaWorkflowExecution);
            }
            listMediaWorkflowExecutionsResponse.MediaWorkflowExecutionList = mediaWorkflowExecutionList;

            return listMediaWorkflowExecutionsResponse;
        }
        public static QueryMediaWorkflowExecutionListResponse Unmarshall(UnmarshallerContext context)
        {
            QueryMediaWorkflowExecutionListResponse queryMediaWorkflowExecutionListResponse = new QueryMediaWorkflowExecutionListResponse();

            queryMediaWorkflowExecutionListResponse.HttpResponse = context.HttpResponse;
            queryMediaWorkflowExecutionListResponse.RequestId = context.StringValue("QueryMediaWorkflowExecutionList.RequestId");

            List<string> nonExistRunIds = new List<string>();
            for (int i = 0; i < context.Length("QueryMediaWorkflowExecutionList.NonExistRunIds.Length"); i++) {
                nonExistRunIds.Add(context.StringValue("QueryMediaWorkflowExecutionList.NonExistRunIds["+ i +"]"));
            }
            queryMediaWorkflowExecutionListResponse.NonExistRunIds = nonExistRunIds;

            List<QueryMediaWorkflowExecutionListResponse.MediaWorkflowExecution> mediaWorkflowExecutionList = new List<QueryMediaWorkflowExecutionListResponse.MediaWorkflowExecution>();
            for (int i = 0; i < context.Length("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList.Length"); i++) {
                QueryMediaWorkflowExecutionListResponse.MediaWorkflowExecution mediaWorkflowExecution = new QueryMediaWorkflowExecutionListResponse.MediaWorkflowExecution();
                mediaWorkflowExecution.RunId = context.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].RunId");
                mediaWorkflowExecution.Name = context.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].Name");
                mediaWorkflowExecution.State = context.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].State");
                mediaWorkflowExecution.MediaId = context.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].MediaId");
                mediaWorkflowExecution.CreationTime = context.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].CreationTime");

                QueryMediaWorkflowExecutionListResponse.MediaWorkflowExecution.Input_ input = new QueryMediaWorkflowExecutionListResponse.MediaWorkflowExecution.Input_();
                input.UserData = context.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].Input.UserData");

                QueryMediaWorkflowExecutionListResponse.MediaWorkflowExecution.Input_.InputFile_ inputFile = new QueryMediaWorkflowExecutionListResponse.MediaWorkflowExecution.Input_.InputFile_();
                inputFile.Bucket = context.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].Input.InputFile.Bucket");
                inputFile.Location = context.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].Input.InputFile.Location");
                inputFile.Object = context.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].Input.InputFile.Object");
                input.InputFile = inputFile;
                mediaWorkflowExecution.Input = input;

                List<QueryMediaWorkflowExecutionListResponse.MediaWorkflowExecution.Activity> activityList = new List<QueryMediaWorkflowExecutionListResponse.MediaWorkflowExecution.Activity>();
                for (int j = 0; j < context.Length("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].ActivityList.Length"); j++) {
                    QueryMediaWorkflowExecutionListResponse.MediaWorkflowExecution.Activity activity = new QueryMediaWorkflowExecutionListResponse.MediaWorkflowExecution.Activity();
                    activity.Name = context.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].Name");
                    activity.Type = context.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].Type");
                    activity.JobId = context.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].JobId");
                    activity.State = context.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].State");
                    activity.Code = context.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].Code");
                    activity.Message = context.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].Message");
                    activity.StartTime = context.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].StartTime");
                    activity.EndTime = context.StringValue("QueryMediaWorkflowExecutionList.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].EndTime");

                    activityList.Add(activity);
                }
                mediaWorkflowExecution.ActivityList = activityList;

                mediaWorkflowExecutionList.Add(mediaWorkflowExecution);
            }
            queryMediaWorkflowExecutionListResponse.MediaWorkflowExecutionList = mediaWorkflowExecutionList;

            return queryMediaWorkflowExecutionListResponse;
        }
        public static DescribeDBInstancesResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeDBInstancesResponse describeDBInstancesResponse = new DescribeDBInstancesResponse();

            describeDBInstancesResponse.HttpResponse = context.HttpResponse;
            describeDBInstancesResponse.RequestId = context.StringValue("DescribeDBInstances.RequestId");
            describeDBInstancesResponse.PageNumber = context.IntegerValue("DescribeDBInstances.PageNumber");
            describeDBInstancesResponse.TotalRecordCount = context.IntegerValue("DescribeDBInstances.TotalRecordCount");
            describeDBInstancesResponse.PageRecordCount = context.IntegerValue("DescribeDBInstances.PageRecordCount");

            List<DescribeDBInstancesResponse.DBInstance> items = new List<DescribeDBInstancesResponse.DBInstance>();
            for (int i = 0; i < context.Length("DescribeDBInstances.Items.Length"); i++) {
                DescribeDBInstancesResponse.DBInstance dBInstance = new DescribeDBInstancesResponse.DBInstance();
                dBInstance.InsId = context.IntegerValue("DescribeDBInstances.Items["+ i +"].InsId");
                dBInstance.DBInstanceId = context.StringValue("DescribeDBInstances.Items["+ i +"].DBInstanceId");
                dBInstance.DBInstanceDescription = context.StringValue("DescribeDBInstances.Items["+ i +"].DBInstanceDescription");
                dBInstance.PayType = context.StringValue("DescribeDBInstances.Items["+ i +"].PayType");
                dBInstance.DBInstanceType = context.EnumValue<DescribeDBInstancesResponse.DBInstance.DBInstanceTypeEnum>("DescribeDBInstances.Items["+ i +"].DBInstanceType");
                dBInstance.RegionId = context.StringValue("DescribeDBInstances.Items["+ i +"].RegionId");
                dBInstance.ExpireTime = context.StringValue("DescribeDBInstances.Items["+ i +"].ExpireTime");
                dBInstance.DBInstanceStatus = context.EnumValue<DescribeDBInstancesResponse.DBInstance.DBInstanceStatusEnum>("DescribeDBInstances.Items["+ i +"].DBInstanceStatus");
                dBInstance.Engine = context.StringValue("DescribeDBInstances.Items["+ i +"].Engine");
                dBInstance.DBInstanceNetType = context.EnumValue<DescribeDBInstancesResponse.DBInstance.DBInstanceNetTypeEnum>("DescribeDBInstances.Items["+ i +"].DBInstanceNetType");
                dBInstance.ConnectionMode = context.EnumValue<DescribeDBInstancesResponse.DBInstance.ConnectionModeEnum>("DescribeDBInstances.Items["+ i +"].ConnectionMode");
                dBInstance.LockMode = context.EnumValue<DescribeDBInstancesResponse.DBInstance.LockModeEnum>("DescribeDBInstances.Items["+ i +"].LockMode");
                dBInstance.InstanceNetworkType = context.StringValue("DescribeDBInstances.Items["+ i +"].InstanceNetworkType");
                dBInstance.LockReason = context.StringValue("DescribeDBInstances.Items["+ i +"].LockReason");
                dBInstance.ZoneId = context.StringValue("DescribeDBInstances.Items["+ i +"].ZoneId");
                dBInstance.MutriORsignle = context.BooleanValue("DescribeDBInstances.Items["+ i +"].MutriORsignle");
                dBInstance.CreateTime = context.StringValue("DescribeDBInstances.Items["+ i +"].CreateTime");
                dBInstance.EngineVersion = context.StringValue("DescribeDBInstances.Items["+ i +"].EngineVersion");
                dBInstance.GuardDBInstanceId = context.StringValue("DescribeDBInstances.Items["+ i +"].GuardDBInstanceId");
                dBInstance.TempDBInstanceId = context.StringValue("DescribeDBInstances.Items["+ i +"].TempDBInstanceId");
                dBInstance.MasterInstanceId = context.StringValue("DescribeDBInstances.Items["+ i +"].MasterInstanceId");
                dBInstance.VpcId = context.StringValue("DescribeDBInstances.Items["+ i +"].VpcId");

                List<DescribeDBInstancesResponse.DBInstance.ReadOnlyDBInstanceId> readOnlyDBInstanceIds = new List<DescribeDBInstancesResponse.DBInstance.ReadOnlyDBInstanceId>();
                for (int j = 0; j < context.Length("DescribeDBInstances.Items["+ i +"].ReadOnlyDBInstanceIds.Length"); j++) {
                    DescribeDBInstancesResponse.DBInstance.ReadOnlyDBInstanceId readOnlyDBInstanceId = new DescribeDBInstancesResponse.DBInstance.ReadOnlyDBInstanceId();
                    readOnlyDBInstanceId.DBInstanceId = context.StringValue("DescribeDBInstances.Items["+ i +"].ReadOnlyDBInstanceIds["+ j +"].DBInstanceId");

                    readOnlyDBInstanceIds.Add(readOnlyDBInstanceId);
                }
                dBInstance.ReadOnlyDBInstanceIds = readOnlyDBInstanceIds;

                items.Add(dBInstance);
            }
            describeDBInstancesResponse.Items = items;

            return describeDBInstancesResponse;
        }
        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.Media> mediaList = new List<SearchMediaResponse.Media>();
            for (int i = 0; i < context.Length("SearchMedia.MediaList.Length"); i++) {
                SearchMediaResponse.Media media = new SearchMediaResponse.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> 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_();
                file.URL = context.StringValue("SearchMedia.MediaList["+ i +"].File.URL");
                file.State = context.StringValue("SearchMedia.MediaList["+ i +"].File.State");
                media.File = file;

                mediaList.Add(media);
            }
            searchMediaResponse.MediaList = mediaList;

            return searchMediaResponse;
        }
        public static SearchMediaWorkflowExecutionResponse Unmarshall(UnmarshallerContext context)
        {
            SearchMediaWorkflowExecutionResponse searchMediaWorkflowExecutionResponse = new SearchMediaWorkflowExecutionResponse();

            searchMediaWorkflowExecutionResponse.HttpResponse = context.HttpResponse;
            searchMediaWorkflowExecutionResponse.RequestId = context.StringValue("SearchMediaWorkflowExecution.RequestId");
            searchMediaWorkflowExecutionResponse.TotalCount = context.LongValue("SearchMediaWorkflowExecution.TotalCount");
            searchMediaWorkflowExecutionResponse.PageNumber = context.LongValue("SearchMediaWorkflowExecution.PageNumber");
            searchMediaWorkflowExecutionResponse.PageSize = context.LongValue("SearchMediaWorkflowExecution.PageSize");

            List<SearchMediaWorkflowExecutionResponse.MediaWorkflowExecution> mediaWorkflowExecutionList = new List<SearchMediaWorkflowExecutionResponse.MediaWorkflowExecution>();
            for (int i = 0; i < context.Length("SearchMediaWorkflowExecution.MediaWorkflowExecutionList.Length"); i++) {
                SearchMediaWorkflowExecutionResponse.MediaWorkflowExecution mediaWorkflowExecution = new SearchMediaWorkflowExecutionResponse.MediaWorkflowExecution();
                mediaWorkflowExecution.RunId = context.StringValue("SearchMediaWorkflowExecution.MediaWorkflowExecutionList["+ i +"].RunId");
                mediaWorkflowExecution.Name = context.StringValue("SearchMediaWorkflowExecution.MediaWorkflowExecutionList["+ i +"].Name");
                mediaWorkflowExecution.State = context.StringValue("SearchMediaWorkflowExecution.MediaWorkflowExecutionList["+ i +"].State");
                mediaWorkflowExecution.MediaId = context.StringValue("SearchMediaWorkflowExecution.MediaWorkflowExecutionList["+ i +"].MediaId");
                mediaWorkflowExecution.CreationTime = context.StringValue("SearchMediaWorkflowExecution.MediaWorkflowExecutionList["+ i +"].CreationTime");

                SearchMediaWorkflowExecutionResponse.MediaWorkflowExecution.Input_ input = new SearchMediaWorkflowExecutionResponse.MediaWorkflowExecution.Input_();

                SearchMediaWorkflowExecutionResponse.MediaWorkflowExecution.Input_.InputFile_ inputFile = new SearchMediaWorkflowExecutionResponse.MediaWorkflowExecution.Input_.InputFile_();
                inputFile.Bucket = context.StringValue("SearchMediaWorkflowExecution.MediaWorkflowExecutionList["+ i +"].Input.InputFile.Bucket");
                inputFile.Location = context.StringValue("SearchMediaWorkflowExecution.MediaWorkflowExecutionList["+ i +"].Input.InputFile.Location");
                inputFile.Object = context.StringValue("SearchMediaWorkflowExecution.MediaWorkflowExecutionList["+ i +"].Input.InputFile.Object");
                input.InputFile = inputFile;
                mediaWorkflowExecution.Input = input;

                List<SearchMediaWorkflowExecutionResponse.MediaWorkflowExecution.Activity> activityList = new List<SearchMediaWorkflowExecutionResponse.MediaWorkflowExecution.Activity>();
                for (int j = 0; j < context.Length("SearchMediaWorkflowExecution.MediaWorkflowExecutionList["+ i +"].ActivityList.Length"); j++) {
                    SearchMediaWorkflowExecutionResponse.MediaWorkflowExecution.Activity activity = new SearchMediaWorkflowExecutionResponse.MediaWorkflowExecution.Activity();
                    activity.Name = context.StringValue("SearchMediaWorkflowExecution.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].Name");
                    activity.Type = context.StringValue("SearchMediaWorkflowExecution.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].Type");
                    activity.JobId = context.StringValue("SearchMediaWorkflowExecution.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].JobId");
                    activity.State = context.StringValue("SearchMediaWorkflowExecution.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].State");
                    activity.Code = context.StringValue("SearchMediaWorkflowExecution.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].Code");
                    activity.Message = context.StringValue("SearchMediaWorkflowExecution.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].Message");
                    activity.StartTime = context.StringValue("SearchMediaWorkflowExecution.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].StartTime");
                    activity.EndTime = context.StringValue("SearchMediaWorkflowExecution.MediaWorkflowExecutionList["+ i +"].ActivityList["+ j +"].EndTime");

                    activityList.Add(activity);
                }
                mediaWorkflowExecution.ActivityList = activityList;

                mediaWorkflowExecutionList.Add(mediaWorkflowExecution);
            }
            searchMediaWorkflowExecutionResponse.MediaWorkflowExecutionList = mediaWorkflowExecutionList;

            return searchMediaWorkflowExecutionResponse;
        }
        public static DescribeTrafficControlsResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeTrafficControlsResponse describeTrafficControlsResponse = new DescribeTrafficControlsResponse();

            describeTrafficControlsResponse.HttpResponse = context.HttpResponse;
            describeTrafficControlsResponse.RequestId = context.StringValue("DescribeTrafficControls.RequestId");
            describeTrafficControlsResponse.TotalCount = context.IntegerValue("DescribeTrafficControls.TotalCount");
            describeTrafficControlsResponse.PageSize = context.IntegerValue("DescribeTrafficControls.PageSize");
            describeTrafficControlsResponse.PageNumber = context.IntegerValue("DescribeTrafficControls.PageNumber");

            List<DescribeTrafficControlsResponse.TrafficControl> trafficControls = new List<DescribeTrafficControlsResponse.TrafficControl>();
            for (int i = 0; i < context.Length("DescribeTrafficControls.TrafficControls.Length"); i++) {
                DescribeTrafficControlsResponse.TrafficControl trafficControl = new DescribeTrafficControlsResponse.TrafficControl();
                trafficControl.TrafficControlId = context.StringValue("DescribeTrafficControls.TrafficControls["+ i +"].TrafficControlId");
                trafficControl.TrafficControlName = context.StringValue("DescribeTrafficControls.TrafficControls["+ i +"].TrafficControlName");
                trafficControl.Description = context.StringValue("DescribeTrafficControls.TrafficControls["+ i +"].Description");
                trafficControl.TrafficControlUnit = context.StringValue("DescribeTrafficControls.TrafficControls["+ i +"].TrafficControlUnit");
                trafficControl.ApiDefault = context.IntegerValue("DescribeTrafficControls.TrafficControls["+ i +"].ApiDefault");
                trafficControl.UserDefault = context.IntegerValue("DescribeTrafficControls.TrafficControls["+ i +"].UserDefault");
                trafficControl.AppDefault = context.IntegerValue("DescribeTrafficControls.TrafficControls["+ i +"].AppDefault");
                trafficControl.CreatedTime = context.StringValue("DescribeTrafficControls.TrafficControls["+ i +"].CreatedTime");
                trafficControl.ModifiedTime = context.StringValue("DescribeTrafficControls.TrafficControls["+ i +"].ModifiedTime");

                List<DescribeTrafficControlsResponse.TrafficControl.SpecialPolicy> specialPolicies = new List<DescribeTrafficControlsResponse.TrafficControl.SpecialPolicy>();
                for (int j = 0; j < context.Length("DescribeTrafficControls.TrafficControls["+ i +"].SpecialPolicies.Length"); j++) {
                    DescribeTrafficControlsResponse.TrafficControl.SpecialPolicy specialPolicy = new DescribeTrafficControlsResponse.TrafficControl.SpecialPolicy();
                    specialPolicy.SpecialType = context.StringValue("DescribeTrafficControls.TrafficControls["+ i +"].SpecialPolicies["+ j +"].SpecialType");

                    List<DescribeTrafficControlsResponse.TrafficControl.SpecialPolicy.Special> specials = new List<DescribeTrafficControlsResponse.TrafficControl.SpecialPolicy.Special>();
                    for (int k = 0; k < context.Length("DescribeTrafficControls.TrafficControls["+ i +"].SpecialPolicies["+ j +"].Specials.Length"); k++) {
                        DescribeTrafficControlsResponse.TrafficControl.SpecialPolicy.Special special = new DescribeTrafficControlsResponse.TrafficControl.SpecialPolicy.Special();
                        special.SpecialKey = context.StringValue("DescribeTrafficControls.TrafficControls["+ i +"].SpecialPolicies["+ j +"].Specials["+ k +"].SpecialKey");
                        special.TrafficValue = context.IntegerValue("DescribeTrafficControls.TrafficControls["+ i +"].SpecialPolicies["+ j +"].Specials["+ k +"].TrafficValue");

                        specials.Add(special);
                    }
                    specialPolicy.Specials = specials;

                    specialPolicies.Add(specialPolicy);
                }
                trafficControl.SpecialPolicies = specialPolicies;

                trafficControls.Add(trafficControl);
            }
            describeTrafficControlsResponse.TrafficControls = trafficControls;

            return describeTrafficControlsResponse;
        }
        public static DescribeRouteTablesResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeRouteTablesResponse describeRouteTablesResponse = new DescribeRouteTablesResponse();

            describeRouteTablesResponse.HttpResponse = context.HttpResponse;
            describeRouteTablesResponse.RequestId = context.StringValue("DescribeRouteTables.RequestId");
            describeRouteTablesResponse.TotalCount = context.IntegerValue("DescribeRouteTables.TotalCount");
            describeRouteTablesResponse.PageNumber = context.IntegerValue("DescribeRouteTables.PageNumber");
            describeRouteTablesResponse.PageSize = context.IntegerValue("DescribeRouteTables.PageSize");

            List<DescribeRouteTablesResponse.RouteTable> routeTables = new List<DescribeRouteTablesResponse.RouteTable>();
            for (int i = 0; i < context.Length("DescribeRouteTables.RouteTables.Length"); i++) {
                DescribeRouteTablesResponse.RouteTable routeTable = new DescribeRouteTablesResponse.RouteTable();
                routeTable.VRouterId = context.StringValue("DescribeRouteTables.RouteTables["+ i +"].VRouterId");
                routeTable.RouteTableId = context.StringValue("DescribeRouteTables.RouteTables["+ i +"].RouteTableId");
                routeTable.RouteTableType = context.StringValue("DescribeRouteTables.RouteTables["+ i +"].RouteTableType");
                routeTable.CreationTime = context.StringValue("DescribeRouteTables.RouteTables["+ i +"].CreationTime");

                List<DescribeRouteTablesResponse.RouteTable.RouteEntry> routeEntrys = new List<DescribeRouteTablesResponse.RouteTable.RouteEntry>();
                for (int j = 0; j < context.Length("DescribeRouteTables.RouteTables["+ i +"].RouteEntrys.Length"); j++) {
                    DescribeRouteTablesResponse.RouteTable.RouteEntry routeEntry = new DescribeRouteTablesResponse.RouteTable.RouteEntry();
                    routeEntry.RouteTableId = context.StringValue("DescribeRouteTables.RouteTables["+ i +"].RouteEntrys["+ j +"].RouteTableId");
                    routeEntry.DestinationCidrBlock = context.StringValue("DescribeRouteTables.RouteTables["+ i +"].RouteEntrys["+ j +"].DestinationCidrBlock");
                    routeEntry.Type = context.StringValue("DescribeRouteTables.RouteTables["+ i +"].RouteEntrys["+ j +"].Type");
                    routeEntry.Status = context.StringValue("DescribeRouteTables.RouteTables["+ i +"].RouteEntrys["+ j +"].Status");
                    routeEntry.InstanceId = context.StringValue("DescribeRouteTables.RouteTables["+ i +"].RouteEntrys["+ j +"].InstanceId");
                    routeEntry.NextHopType = context.StringValue("DescribeRouteTables.RouteTables["+ i +"].RouteEntrys["+ j +"].NextHopType");

                    List<DescribeRouteTablesResponse.RouteTable.RouteEntry.NextHop> nextHops = new List<DescribeRouteTablesResponse.RouteTable.RouteEntry.NextHop>();
                    for (int k = 0; k < context.Length("DescribeRouteTables.RouteTables["+ i +"].RouteEntrys["+ j +"].NextHops.Length"); k++) {
                        DescribeRouteTablesResponse.RouteTable.RouteEntry.NextHop nextHop = new DescribeRouteTablesResponse.RouteTable.RouteEntry.NextHop();
                        nextHop.NextHopType = context.StringValue("DescribeRouteTables.RouteTables["+ i +"].RouteEntrys["+ j +"].NextHops["+ k +"].NextHopType");
                        nextHop.NextHopId = context.StringValue("DescribeRouteTables.RouteTables["+ i +"].RouteEntrys["+ j +"].NextHops["+ k +"].NextHopId");

                        nextHops.Add(nextHop);
                    }
                    routeEntry.NextHops = nextHops;

                    routeEntrys.Add(routeEntry);
                }
                routeTable.RouteEntrys = routeEntrys;

                routeTables.Add(routeTable);
            }
            describeRouteTablesResponse.RouteTables = routeTables;

            return describeRouteTablesResponse;
        }
        public static DescribeCdnDomainDetailResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeCdnDomainDetailResponse describeCdnDomainDetailResponse = new DescribeCdnDomainDetailResponse();

            describeCdnDomainDetailResponse.HttpResponse = context.HttpResponse;
            describeCdnDomainDetailResponse.RequestId = context.StringValue("DescribeCdnDomainDetail.RequestId");

            DescribeCdnDomainDetailResponse.GetDomainDetailModel_ getDomainDetailModel = new DescribeCdnDomainDetailResponse.GetDomainDetailModel_();
            getDomainDetailModel.GmtCreated = context.StringValue("DescribeCdnDomainDetail.GetDomainDetailModel.GmtCreated");
            getDomainDetailModel.GmtModified = context.StringValue("DescribeCdnDomainDetail.GetDomainDetailModel.GmtModified");
            getDomainDetailModel.SourceType = context.StringValue("DescribeCdnDomainDetail.GetDomainDetailModel.SourceType");
            getDomainDetailModel.DomainStatus = context.StringValue("DescribeCdnDomainDetail.GetDomainDetailModel.DomainStatus");
            getDomainDetailModel.SourcePort = context.IntegerValue("DescribeCdnDomainDetail.GetDomainDetailModel.SourcePort");
            getDomainDetailModel.CdnType = context.StringValue("DescribeCdnDomainDetail.GetDomainDetailModel.CdnType");
            getDomainDetailModel.Cname = context.StringValue("DescribeCdnDomainDetail.GetDomainDetailModel.Cname");
            getDomainDetailModel.HttpsCname = context.StringValue("DescribeCdnDomainDetail.GetDomainDetailModel.HttpsCname");
            getDomainDetailModel.DomainName = context.StringValue("DescribeCdnDomainDetail.GetDomainDetailModel.DomainName");
            getDomainDetailModel.Description = context.StringValue("DescribeCdnDomainDetail.GetDomainDetailModel.Description");
            getDomainDetailModel.ServerCertificateStatus = context.StringValue("DescribeCdnDomainDetail.GetDomainDetailModel.ServerCertificateStatus");
            getDomainDetailModel.ServerCertificate = context.StringValue("DescribeCdnDomainDetail.GetDomainDetailModel.ServerCertificate");
            getDomainDetailModel.Scope = context.StringValue("DescribeCdnDomainDetail.GetDomainDetailModel.Scope");

            List<string> sources = new List<string>();
            for (int i = 0; i < context.Length("DescribeCdnDomainDetail.GetDomainDetailModel.Sources.Length"); i++) {
                sources.Add(context.StringValue("DescribeCdnDomainDetail.GetDomainDetailModel.Sources["+ i +"]"));
            }
            getDomainDetailModel.Sources = sources;
            describeCdnDomainDetailResponse.GetDomainDetailModel = getDomainDetailModel;

            return describeCdnDomainDetailResponse;
        }
        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 DescribeDomainQpsDataResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeDomainQpsDataResponse describeDomainQpsDataResponse = new DescribeDomainQpsDataResponse();

            describeDomainQpsDataResponse.HttpResponse = context.HttpResponse;
            describeDomainQpsDataResponse.RequestId = context.StringValue("DescribeDomainQpsData.RequestId");
            describeDomainQpsDataResponse.DomainName = context.StringValue("DescribeDomainQpsData.DomainName");
            describeDomainQpsDataResponse.DataInterval = context.StringValue("DescribeDomainQpsData.DataInterval");
            describeDomainQpsDataResponse.StartTime = context.StringValue("DescribeDomainQpsData.StartTime");
            describeDomainQpsDataResponse.EndTime = context.StringValue("DescribeDomainQpsData.EndTime");

            List<DescribeDomainQpsDataResponse.DataModule> qpsDataInterval = new List<DescribeDomainQpsDataResponse.DataModule>();
            for (int i = 0; i < context.Length("DescribeDomainQpsData.QpsDataInterval.Length"); i++) {
                DescribeDomainQpsDataResponse.DataModule dataModule = new DescribeDomainQpsDataResponse.DataModule();
                dataModule.TimeStamp = context.StringValue("DescribeDomainQpsData.QpsDataInterval["+ i +"].TimeStamp");
                dataModule.Value = context.StringValue("DescribeDomainQpsData.QpsDataInterval["+ i +"].Value");
                dataModule.DomesticValue = context.StringValue("DescribeDomainQpsData.QpsDataInterval["+ i +"].DomesticValue");
                dataModule.OverseasValue = context.StringValue("DescribeDomainQpsData.QpsDataInterval["+ i +"].OverseasValue");
                dataModule.AccValue = context.StringValue("DescribeDomainQpsData.QpsDataInterval["+ i +"].AccValue");
                dataModule.AccDomesticValue = context.StringValue("DescribeDomainQpsData.QpsDataInterval["+ i +"].AccDomesticValue");
                dataModule.AccOverseasValue = context.StringValue("DescribeDomainQpsData.QpsDataInterval["+ i +"].AccOverseasValue");

                qpsDataInterval.Add(dataModule);
            }
            describeDomainQpsDataResponse.QpsDataInterval = qpsDataInterval;

            return describeDomainQpsDataResponse;
        }
        public static DescribeSQLLogRecordsResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeSQLLogRecordsResponse describeSQLLogRecordsResponse = new DescribeSQLLogRecordsResponse();

            describeSQLLogRecordsResponse.HttpResponse = context.HttpResponse;
            describeSQLLogRecordsResponse.RequestId = context.StringValue("DescribeSQLLogRecords.RequestId");
            describeSQLLogRecordsResponse.TotalRecordCount = context.IntegerValue("DescribeSQLLogRecords.TotalRecordCount");
            describeSQLLogRecordsResponse.PageNumber = context.IntegerValue("DescribeSQLLogRecords.PageNumber");
            describeSQLLogRecordsResponse.PageRecordCount = context.IntegerValue("DescribeSQLLogRecords.PageRecordCount");

            List<DescribeSQLLogRecordsResponse.SQLRecord> items = new List<DescribeSQLLogRecordsResponse.SQLRecord>();
            for (int i = 0; i < context.Length("DescribeSQLLogRecords.Items.Length"); i++) {
                DescribeSQLLogRecordsResponse.SQLRecord sQLRecord = new DescribeSQLLogRecordsResponse.SQLRecord();
                sQLRecord.DBName = context.StringValue("DescribeSQLLogRecords.Items["+ i +"].DBName");
                sQLRecord.AccountName = context.StringValue("DescribeSQLLogRecords.Items["+ i +"].AccountName");
                sQLRecord.HostAddress = context.StringValue("DescribeSQLLogRecords.Items["+ i +"].HostAddress");
                sQLRecord.SQLText = context.StringValue("DescribeSQLLogRecords.Items["+ i +"].SQLText");
                sQLRecord.TotalExecutionTimes = context.LongValue("DescribeSQLLogRecords.Items["+ i +"].TotalExecutionTimes");
                sQLRecord.ReturnRowCounts = context.LongValue("DescribeSQLLogRecords.Items["+ i +"].ReturnRowCounts");
                sQLRecord.ExecuteTime = context.StringValue("DescribeSQLLogRecords.Items["+ i +"].ExecuteTime");

                items.Add(sQLRecord);
            }
            describeSQLLogRecordsResponse.Items = items;

            return describeSQLLogRecordsResponse;
        }
        public static DescribeImagesResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeImagesResponse describeImagesResponse = new DescribeImagesResponse();

            describeImagesResponse.HttpResponse = context.HttpResponse;
            describeImagesResponse.RequestId    = context.StringValue("DescribeImages.RequestId");
            describeImagesResponse.RegionId     = context.StringValue("DescribeImages.RegionId");
            describeImagesResponse.TotalCount   = context.IntegerValue("DescribeImages.TotalCount");
            describeImagesResponse.PageNumber   = context.IntegerValue("DescribeImages.PageNumber");
            describeImagesResponse.PageSize     = context.IntegerValue("DescribeImages.PageSize");

            List <DescribeImagesResponse.DescribeImages_Image> describeImagesResponse_images = new List <DescribeImagesResponse.DescribeImages_Image>();

            for (int i = 0; i < context.Length("DescribeImages.Images.Length"); i++)
            {
                DescribeImagesResponse.DescribeImages_Image image = new DescribeImagesResponse.DescribeImages_Image();
                image.Progress             = context.StringValue("DescribeImages.Images[" + i + "].Progress");
                image.ImageId              = context.StringValue("DescribeImages.Images[" + i + "].ImageId");
                image.ImageName            = context.StringValue("DescribeImages.Images[" + i + "].ImageName");
                image.ImageVersion         = context.StringValue("DescribeImages.Images[" + i + "].ImageVersion");
                image.Description          = context.StringValue("DescribeImages.Images[" + i + "].Description");
                image.Size                 = context.IntegerValue("DescribeImages.Images[" + i + "].Size");
                image.ImageOwnerAlias      = context.StringValue("DescribeImages.Images[" + i + "].ImageOwnerAlias");
                image.IsSupportIoOptimized = context.BooleanValue("DescribeImages.Images[" + i + "].IsSupportIoOptimized");
                image.IsSupportCloudinit   = context.BooleanValue("DescribeImages.Images[" + i + "].IsSupportCloudinit");
                image.OSName               = context.StringValue("DescribeImages.Images[" + i + "].OSName");
                image.Architecture         = context.StringValue("DescribeImages.Images[" + i + "].Architecture");
                image.Status               = context.StringValue("DescribeImages.Images[" + i + "].Status");
                image.ProductCode          = context.StringValue("DescribeImages.Images[" + i + "].ProductCode");
                image.IsSubscribed         = context.BooleanValue("DescribeImages.Images[" + i + "].IsSubscribed");
                image.CreationTime         = context.StringValue("DescribeImages.Images[" + i + "].CreationTime");
                image.IsSelfShared         = context.StringValue("DescribeImages.Images[" + i + "].IsSelfShared");
                image.OSType               = context.StringValue("DescribeImages.Images[" + i + "].OSType");
                image.Platform             = context.StringValue("DescribeImages.Images[" + i + "].Platform");
                image.Usage                = context.StringValue("DescribeImages.Images[" + i + "].Usage");
                image.IsCopied             = context.BooleanValue("DescribeImages.Images[" + i + "].IsCopied");
                image.ResourceGroupId      = context.StringValue("DescribeImages.Images[" + i + "].ResourceGroupId");

                List <DescribeImagesResponse.DescribeImages_Image.DescribeImages_DiskDeviceMapping> image_diskDeviceMappings = new List <DescribeImagesResponse.DescribeImages_Image.DescribeImages_DiskDeviceMapping>();
                for (int j = 0; j < context.Length("DescribeImages.Images[" + i + "].DiskDeviceMappings.Length"); j++)
                {
                    DescribeImagesResponse.DescribeImages_Image.DescribeImages_DiskDeviceMapping diskDeviceMapping = new DescribeImagesResponse.DescribeImages_Image.DescribeImages_DiskDeviceMapping();
                    diskDeviceMapping.SnapshotId      = context.StringValue("DescribeImages.Images[" + i + "].DiskDeviceMappings[" + j + "].SnapshotId");
                    diskDeviceMapping.Size            = context.StringValue("DescribeImages.Images[" + i + "].DiskDeviceMappings[" + j + "].Size");
                    diskDeviceMapping.Device          = context.StringValue("DescribeImages.Images[" + i + "].DiskDeviceMappings[" + j + "].Device");
                    diskDeviceMapping.Type            = context.StringValue("DescribeImages.Images[" + i + "].DiskDeviceMappings[" + j + "].Type");
                    diskDeviceMapping.Format          = context.StringValue("DescribeImages.Images[" + i + "].DiskDeviceMappings[" + j + "].Format");
                    diskDeviceMapping.ImportOSSBucket = context.StringValue("DescribeImages.Images[" + i + "].DiskDeviceMappings[" + j + "].ImportOSSBucket");
                    diskDeviceMapping.ImportOSSObject = context.StringValue("DescribeImages.Images[" + i + "].DiskDeviceMappings[" + j + "].ImportOSSObject");

                    image_diskDeviceMappings.Add(diskDeviceMapping);
                }
                image.DiskDeviceMappings = image_diskDeviceMappings;

                List <DescribeImagesResponse.DescribeImages_Image.DescribeImages_Tag> image_tags = new List <DescribeImagesResponse.DescribeImages_Image.DescribeImages_Tag>();
                for (int j = 0; j < context.Length("DescribeImages.Images[" + i + "].Tags.Length"); j++)
                {
                    DescribeImagesResponse.DescribeImages_Image.DescribeImages_Tag tag = new DescribeImagesResponse.DescribeImages_Image.DescribeImages_Tag();
                    tag.TagKey   = context.StringValue("DescribeImages.Images[" + i + "].Tags[" + j + "].TagKey");
                    tag.TagValue = context.StringValue("DescribeImages.Images[" + i + "].Tags[" + j + "].TagValue");

                    image_tags.Add(tag);
                }
                image.Tags = image_tags;

                describeImagesResponse_images.Add(image);
            }
            describeImagesResponse.Images = describeImagesResponse_images;

            return(describeImagesResponse);
        }
示例#32
0
        public static DescribeAlarmsForResourcesResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeAlarmsForResourcesResponse describeAlarmsForResourcesResponse = new DescribeAlarmsForResourcesResponse();

            describeAlarmsForResourcesResponse.HttpResponse = context.HttpResponse;
            describeAlarmsForResourcesResponse.RequestId    = context.StringValue("DescribeAlarmsForResources.RequestId");
            describeAlarmsForResourcesResponse.TraceId      = context.StringValue("DescribeAlarmsForResources.TraceId");
            describeAlarmsForResourcesResponse.Success      = context.BooleanValue("DescribeAlarmsForResources.Success");
            describeAlarmsForResourcesResponse.Code         = context.IntegerValue("DescribeAlarmsForResources.Code");
            describeAlarmsForResourcesResponse.Message      = context.StringValue("DescribeAlarmsForResources.Message");
            describeAlarmsForResourcesResponse.Total        = context.StringValue("DescribeAlarmsForResources.Total");
            describeAlarmsForResourcesResponse.Dimensions   = context.StringValue("DescribeAlarmsForResources.Dimensions");

            List <DescribeAlarmsForResourcesResponse.DescribeAlarmsForResources_Alarm> describeAlarmsForResourcesResponse_datapoints = new List <DescribeAlarmsForResourcesResponse.DescribeAlarmsForResources_Alarm>();

            for (int i = 0; i < context.Length("DescribeAlarmsForResources.Datapoints.Length"); i++)
            {
                DescribeAlarmsForResourcesResponse.DescribeAlarmsForResources_Alarm alarm = new DescribeAlarmsForResourcesResponse.DescribeAlarmsForResources_Alarm();
                alarm.Uuid                = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].Uuid");
                alarm.Name                = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].Name");
                alarm._Namespace          = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].Namespace");
                alarm.MetricName          = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].MetricName");
                alarm.Period              = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].Period");
                alarm.EvaluationCount     = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].EvaluationCount");
                alarm.EffectiveInterval   = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].EffectiveInterval");
                alarm.NoEffectiveInterval = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].NoEffectiveInterval");
                alarm.SilenceTime         = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].SilenceTime");
                alarm.Enable              = context.BooleanValue("DescribeAlarmsForResources.Datapoints[" + i + "].Enable");
                alarm.State               = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].State");
                alarm.ContactGroups       = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].ContactGroups");
                alarm.Webhook             = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].Webhook");
                alarm.Subject             = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].Subject");
                alarm.DisplayName         = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].DisplayName");
                alarm.Resources           = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].Resources");
                alarm.Level               = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].Level");
                alarm.GroupId             = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].GroupId");
                alarm.GroupName           = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].GroupName");
                alarm.Statistics          = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].Statistics");
                alarm.ComparisonOperator  = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].ComparisonOperator");
                alarm.Threshold           = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].Threshold");

                DescribeAlarmsForResourcesResponse.DescribeAlarmsForResources_Alarm.DescribeAlarmsForResources_Escalations escalations = new DescribeAlarmsForResourcesResponse.DescribeAlarmsForResources_Alarm.DescribeAlarmsForResources_Escalations();

                DescribeAlarmsForResourcesResponse.DescribeAlarmsForResources_Alarm.DescribeAlarmsForResources_Escalations.DescribeAlarmsForResources_Info info = new DescribeAlarmsForResourcesResponse.DescribeAlarmsForResources_Alarm.DescribeAlarmsForResources_Escalations.DescribeAlarmsForResources_Info();
                info.ComparisonOperator = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].Escalations.Info.ComparisonOperator");
                info.Statistics         = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].Escalations.Info.Statistics");
                info.Threshold          = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].Escalations.Info.Threshold");
                info.Times       = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].Escalations.Info.Times");
                escalations.Info = info;

                DescribeAlarmsForResourcesResponse.DescribeAlarmsForResources_Alarm.DescribeAlarmsForResources_Escalations.DescribeAlarmsForResources_Warn warn = new DescribeAlarmsForResourcesResponse.DescribeAlarmsForResources_Alarm.DescribeAlarmsForResources_Escalations.DescribeAlarmsForResources_Warn();
                warn.ComparisonOperator = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].Escalations.Warn.ComparisonOperator");
                warn.Statistics         = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].Escalations.Warn.Statistics");
                warn.Threshold          = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].Escalations.Warn.Threshold");
                warn.Times       = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].Escalations.Warn.Times");
                escalations.Warn = warn;

                DescribeAlarmsForResourcesResponse.DescribeAlarmsForResources_Alarm.DescribeAlarmsForResources_Escalations.DescribeAlarmsForResources_Critical critical = new DescribeAlarmsForResourcesResponse.DescribeAlarmsForResources_Alarm.DescribeAlarmsForResources_Escalations.DescribeAlarmsForResources_Critical();
                critical.ComparisonOperator = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].Escalations.Critical.ComparisonOperator");
                critical.Statistics         = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].Escalations.Critical.Statistics");
                critical.Threshold          = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].Escalations.Critical.Threshold");
                critical.Times       = context.StringValue("DescribeAlarmsForResources.Datapoints[" + i + "].Escalations.Critical.Times");
                escalations.Critical = critical;
                alarm.Escalations    = escalations;

                describeAlarmsForResourcesResponse_datapoints.Add(alarm);
            }
            describeAlarmsForResourcesResponse.Datapoints = describeAlarmsForResourcesResponse_datapoints;

            return(describeAlarmsForResourcesResponse);
        }
示例#33
0
        public static StartBack2BackCallResponse Unmarshall(UnmarshallerContext _ctx)
        {
            StartBack2BackCallResponse startBack2BackCallResponse = new StartBack2BackCallResponse();

            startBack2BackCallResponse.HttpResponse   = _ctx.HttpResponse;
            startBack2BackCallResponse.Code           = _ctx.StringValue("StartBack2BackCall.Code");
            startBack2BackCallResponse.HttpStatusCode = _ctx.IntegerValue("StartBack2BackCall.HttpStatusCode");
            startBack2BackCallResponse.Message        = _ctx.StringValue("StartBack2BackCall.Message");
            startBack2BackCallResponse.RequestId      = _ctx.StringValue("StartBack2BackCall.RequestId");

            List <string> startBack2BackCallResponse_params = new List <string>();

            for (int i = 0; i < _ctx.Length("StartBack2BackCall.Params.Length"); i++)
            {
                startBack2BackCallResponse_params.Add(_ctx.StringValue("StartBack2BackCall.Params[" + i + "]"));
            }
            startBack2BackCallResponse._Params = startBack2BackCallResponse_params;

            StartBack2BackCallResponse.StartBack2BackCall_Data data = new StartBack2BackCallResponse.StartBack2BackCall_Data();

            StartBack2BackCallResponse.StartBack2BackCall_Data.StartBack2BackCall_CallContext callContext = new StartBack2BackCallResponse.StartBack2BackCall_Data.StartBack2BackCall_CallContext();
            callContext.CallType   = _ctx.StringValue("StartBack2BackCall.Data.CallContext.CallType");
            callContext.InstanceId = _ctx.StringValue("StartBack2BackCall.Data.CallContext.InstanceId");
            callContext.JobId      = _ctx.StringValue("StartBack2BackCall.Data.CallContext.JobId");

            List <StartBack2BackCallResponse.StartBack2BackCall_Data.StartBack2BackCall_CallContext.StartBack2BackCall_ChannelContext> callContext_channelContexts = new List <StartBack2BackCallResponse.StartBack2BackCall_Data.StartBack2BackCall_CallContext.StartBack2BackCall_ChannelContext>();

            for (int i = 0; i < _ctx.Length("StartBack2BackCall.Data.CallContext.ChannelContexts.Length"); i++)
            {
                StartBack2BackCallResponse.StartBack2BackCall_Data.StartBack2BackCall_CallContext.StartBack2BackCall_ChannelContext channelContext = new StartBack2BackCallResponse.StartBack2BackCall_Data.StartBack2BackCall_CallContext.StartBack2BackCall_ChannelContext();
                channelContext.AssociatedData   = _ctx.StringValue("StartBack2BackCall.Data.CallContext.ChannelContexts[" + i + "].AssociatedData");
                channelContext.CallType         = _ctx.StringValue("StartBack2BackCall.Data.CallContext.ChannelContexts[" + i + "].CallType");
                channelContext.ChannelFlags     = _ctx.StringValue("StartBack2BackCall.Data.CallContext.ChannelContexts[" + i + "].ChannelFlags");
                channelContext.ChannelId        = _ctx.StringValue("StartBack2BackCall.Data.CallContext.ChannelContexts[" + i + "].ChannelId");
                channelContext.ChannelState     = _ctx.StringValue("StartBack2BackCall.Data.CallContext.ChannelContexts[" + i + "].ChannelState");
                channelContext.Destination      = _ctx.StringValue("StartBack2BackCall.Data.CallContext.ChannelContexts[" + i + "].Destination");
                channelContext.JobId            = _ctx.StringValue("StartBack2BackCall.Data.CallContext.ChannelContexts[" + i + "].JobId");
                channelContext.Originator       = _ctx.StringValue("StartBack2BackCall.Data.CallContext.ChannelContexts[" + i + "].Originator");
                channelContext.ReleaseInitiator = _ctx.StringValue("StartBack2BackCall.Data.CallContext.ChannelContexts[" + i + "].ReleaseInitiator");
                channelContext.ReleaseReason    = _ctx.StringValue("StartBack2BackCall.Data.CallContext.ChannelContexts[" + i + "].ReleaseReason");
                channelContext.Timestamp        = _ctx.LongValue("StartBack2BackCall.Data.CallContext.ChannelContexts[" + i + "].Timestamp");
                channelContext.UserExtension    = _ctx.StringValue("StartBack2BackCall.Data.CallContext.ChannelContexts[" + i + "].UserExtension");
                channelContext.UserId           = _ctx.StringValue("StartBack2BackCall.Data.CallContext.ChannelContexts[" + i + "].UserId");

                callContext_channelContexts.Add(channelContext);
            }
            callContext.ChannelContexts = callContext_channelContexts;
            data.CallContext            = callContext;

            StartBack2BackCallResponse.StartBack2BackCall_Data.StartBack2BackCall_UserContext userContext = new StartBack2BackCallResponse.StartBack2BackCall_Data.StartBack2BackCall_UserContext();
            userContext.BreakCode        = _ctx.StringValue("StartBack2BackCall.Data.UserContext.BreakCode");
            userContext.DeviceId         = _ctx.StringValue("StartBack2BackCall.Data.UserContext.DeviceId");
            userContext.DeviceState      = _ctx.StringValue("StartBack2BackCall.Data.UserContext.DeviceState");
            userContext.Extension        = _ctx.StringValue("StartBack2BackCall.Data.UserContext.Extension");
            userContext.Heartbeat        = _ctx.LongValue("StartBack2BackCall.Data.UserContext.Heartbeat");
            userContext.InstanceId       = _ctx.StringValue("StartBack2BackCall.Data.UserContext.InstanceId");
            userContext.JobId            = _ctx.StringValue("StartBack2BackCall.Data.UserContext.JobId");
            userContext.Mobile           = _ctx.StringValue("StartBack2BackCall.Data.UserContext.Mobile");
            userContext.OutboundScenario = _ctx.BooleanValue("StartBack2BackCall.Data.UserContext.OutboundScenario");
            userContext.Reserved         = _ctx.LongValue("StartBack2BackCall.Data.UserContext.Reserved");
            userContext.Uri       = _ctx.StringValue("StartBack2BackCall.Data.UserContext.Uri");
            userContext.UserId    = _ctx.StringValue("StartBack2BackCall.Data.UserContext.UserId");
            userContext.UserState = _ctx.StringValue("StartBack2BackCall.Data.UserContext.UserState");
            userContext.WorkMode  = _ctx.StringValue("StartBack2BackCall.Data.UserContext.WorkMode");

            List <string> userContext_signedSkillGroupIdList = new List <string>();

            for (int i = 0; i < _ctx.Length("StartBack2BackCall.Data.UserContext.SignedSkillGroupIdList.Length"); i++)
            {
                userContext_signedSkillGroupIdList.Add(_ctx.StringValue("StartBack2BackCall.Data.UserContext.SignedSkillGroupIdList[" + i + "]"));
            }
            userContext.SignedSkillGroupIdList = userContext_signedSkillGroupIdList;
            data.UserContext = userContext;
            startBack2BackCallResponse.Data = data;

            return(startBack2BackCallResponse);
        }
        public static ListJobsByGroupResponse Unmarshall(UnmarshallerContext context)
        {
            ListJobsByGroupResponse listJobsByGroupResponse = new ListJobsByGroupResponse();

            listJobsByGroupResponse.HttpResponse   = context.HttpResponse;
            listJobsByGroupResponse.RequestId      = context.StringValue("ListJobsByGroup.RequestId");
            listJobsByGroupResponse.Success        = context.BooleanValue("ListJobsByGroup.Success");
            listJobsByGroupResponse.Code           = context.StringValue("ListJobsByGroup.Code");
            listJobsByGroupResponse.Message        = context.StringValue("ListJobsByGroup.Message");
            listJobsByGroupResponse.HttpStatusCode = context.IntegerValue("ListJobsByGroup.HttpStatusCode");

            ListJobsByGroupResponse.ListJobsByGroup_Jobs jobs = new ListJobsByGroupResponse.ListJobsByGroup_Jobs();
            jobs.TotalCount = context.IntegerValue("ListJobsByGroup.Jobs.TotalCount");
            jobs.PageNumber = context.IntegerValue("ListJobsByGroup.Jobs.PageNumber");
            jobs.PageSize   = context.IntegerValue("ListJobsByGroup.Jobs.PageSize");

            List <ListJobsByGroupResponse.ListJobsByGroup_Jobs.ListJobsByGroup_Job> jobs_list = new List <ListJobsByGroupResponse.ListJobsByGroup_Jobs.ListJobsByGroup_Job>();

            for (int i = 0; i < context.Length("ListJobsByGroup.Jobs.List.Length"); i++)
            {
                ListJobsByGroupResponse.ListJobsByGroup_Jobs.ListJobsByGroup_Job job = new ListJobsByGroupResponse.ListJobsByGroup_Jobs.ListJobsByGroup_Job();
                job.JobId          = context.StringValue("ListJobsByGroup.Jobs.List[" + i + "].JobId");
                job.GroupId        = context.StringValue("ListJobsByGroup.Jobs.List[" + i + "].GroupId");
                job.ScenarioId     = context.StringValue("ListJobsByGroup.Jobs.List[" + i + "].ScenarioId");
                job.StrategyId     = context.StringValue("ListJobsByGroup.Jobs.List[" + i + "].StrategyId");
                job.Priority       = context.IntegerValue("ListJobsByGroup.Jobs.List[" + i + "].Priority");
                job.SystemPriority = context.IntegerValue("ListJobsByGroup.Jobs.List[" + i + "].SystemPriority");
                job.Status         = context.StringValue("ListJobsByGroup.Jobs.List[" + i + "].Status");
                job.ReferenceId    = context.StringValue("ListJobsByGroup.Jobs.List[" + i + "].ReferenceId");
                job.FailureReason  = context.StringValue("ListJobsByGroup.Jobs.List[" + i + "].FailureReason");

                List <string> job_callingNumbers = new List <string>();
                for (int j = 0; j < context.Length("ListJobsByGroup.Jobs.List[" + i + "].CallingNumbers.Length"); j++)
                {
                    job_callingNumbers.Add(context.StringValue("ListJobsByGroup.Jobs.List[" + i + "].CallingNumbers[" + j + "]"));
                }
                job.CallingNumbers = job_callingNumbers;

                List <ListJobsByGroupResponse.ListJobsByGroup_Jobs.ListJobsByGroup_Job.ListJobsByGroup_Contact> job_contacts = new List <ListJobsByGroupResponse.ListJobsByGroup_Jobs.ListJobsByGroup_Job.ListJobsByGroup_Contact>();
                for (int j = 0; j < context.Length("ListJobsByGroup.Jobs.List[" + i + "].Contacts.Length"); j++)
                {
                    ListJobsByGroupResponse.ListJobsByGroup_Jobs.ListJobsByGroup_Job.ListJobsByGroup_Contact contact = new ListJobsByGroupResponse.ListJobsByGroup_Jobs.ListJobsByGroup_Job.ListJobsByGroup_Contact();
                    contact.ContactId   = context.StringValue("ListJobsByGroup.Jobs.List[" + i + "].Contacts[" + j + "].ContactId");
                    contact.ContactName = context.StringValue("ListJobsByGroup.Jobs.List[" + i + "].Contacts[" + j + "].ContactName");
                    contact.Honorific   = context.StringValue("ListJobsByGroup.Jobs.List[" + i + "].Contacts[" + j + "].Honorific");
                    contact.Role        = context.StringValue("ListJobsByGroup.Jobs.List[" + i + "].Contacts[" + j + "].Role");
                    contact.PhoneNumber = context.StringValue("ListJobsByGroup.Jobs.List[" + i + "].Contacts[" + j + "].PhoneNumber");
                    contact.State       = context.StringValue("ListJobsByGroup.Jobs.List[" + i + "].Contacts[" + j + "].State");
                    contact.ReferenceId = context.StringValue("ListJobsByGroup.Jobs.List[" + i + "].Contacts[" + j + "].ReferenceId");
                    contact.JobId       = context.StringValue("ListJobsByGroup.Jobs.List[" + i + "].Contacts[" + j + "].JobId");

                    job_contacts.Add(contact);
                }
                job.Contacts = job_contacts;

                List <ListJobsByGroupResponse.ListJobsByGroup_Jobs.ListJobsByGroup_Job.ListJobsByGroup_KeyValuePair> job_extras = new List <ListJobsByGroupResponse.ListJobsByGroup_Jobs.ListJobsByGroup_Job.ListJobsByGroup_KeyValuePair>();
                for (int j = 0; j < context.Length("ListJobsByGroup.Jobs.List[" + i + "].Extras.Length"); j++)
                {
                    ListJobsByGroupResponse.ListJobsByGroup_Jobs.ListJobsByGroup_Job.ListJobsByGroup_KeyValuePair keyValuePair = new ListJobsByGroupResponse.ListJobsByGroup_Jobs.ListJobsByGroup_Job.ListJobsByGroup_KeyValuePair();
                    keyValuePair.Key    = context.StringValue("ListJobsByGroup.Jobs.List[" + i + "].Extras[" + j + "].Key");
                    keyValuePair._Value = context.StringValue("ListJobsByGroup.Jobs.List[" + i + "].Extras[" + j + "].Value");

                    job_extras.Add(keyValuePair);
                }
                job.Extras = job_extras;

                List <ListJobsByGroupResponse.ListJobsByGroup_Jobs.ListJobsByGroup_Job.ListJobsByGroup_SummaryItem> job_summary = new List <ListJobsByGroupResponse.ListJobsByGroup_Jobs.ListJobsByGroup_Job.ListJobsByGroup_SummaryItem>();
                for (int j = 0; j < context.Length("ListJobsByGroup.Jobs.List[" + i + "].Summary.Length"); j++)
                {
                    ListJobsByGroupResponse.ListJobsByGroup_Jobs.ListJobsByGroup_Job.ListJobsByGroup_SummaryItem summaryItem = new ListJobsByGroupResponse.ListJobsByGroup_Jobs.ListJobsByGroup_Job.ListJobsByGroup_SummaryItem();
                    summaryItem.SummaryId            = context.StringValue("ListJobsByGroup.Jobs.List[" + i + "].Summary[" + j + "].SummaryId");
                    summaryItem.GroupId              = context.StringValue("ListJobsByGroup.Jobs.List[" + i + "].Summary[" + j + "].GroupId");
                    summaryItem.JobId                = context.StringValue("ListJobsByGroup.Jobs.List[" + i + "].Summary[" + j + "].JobId");
                    summaryItem.TaskId               = context.StringValue("ListJobsByGroup.Jobs.List[" + i + "].Summary[" + j + "].TaskId");
                    summaryItem.ConversationDetailId = context.StringValue("ListJobsByGroup.Jobs.List[" + i + "].Summary[" + j + "].ConversationDetailId");
                    summaryItem.Category             = context.StringValue("ListJobsByGroup.Jobs.List[" + i + "].Summary[" + j + "].Category");
                    summaryItem.SummaryName          = context.StringValue("ListJobsByGroup.Jobs.List[" + i + "].Summary[" + j + "].SummaryName");
                    summaryItem.Content              = context.StringValue("ListJobsByGroup.Jobs.List[" + i + "].Summary[" + j + "].Content");

                    job_summary.Add(summaryItem);
                }
                job.Summary = job_summary;

                jobs_list.Add(job);
            }
            jobs.List = jobs_list;
            listJobsByGroupResponse.Jobs = jobs;

            return(listJobsByGroupResponse);
        }
示例#35
0
        public static DescribeApiHistoryResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeApiHistoryResponse describeApiHistoryResponse = new DescribeApiHistoryResponse();

            describeApiHistoryResponse.HttpResponse     = context.HttpResponse;
            describeApiHistoryResponse.RequestId        = context.StringValue("DescribeApiHistory.RequestId");
            describeApiHistoryResponse.RegionId         = context.StringValue("DescribeApiHistory.RegionId");
            describeApiHistoryResponse.GroupId          = context.StringValue("DescribeApiHistory.GroupId");
            describeApiHistoryResponse.GroupName        = context.StringValue("DescribeApiHistory.GroupName");
            describeApiHistoryResponse.StageName        = context.StringValue("DescribeApiHistory.StageName");
            describeApiHistoryResponse.ApiId            = context.StringValue("DescribeApiHistory.ApiId");
            describeApiHistoryResponse.ApiName          = context.StringValue("DescribeApiHistory.ApiName");
            describeApiHistoryResponse.Description      = context.StringValue("DescribeApiHistory.Description");
            describeApiHistoryResponse.HistoryVersion   = context.StringValue("DescribeApiHistory.HistoryVersion");
            describeApiHistoryResponse.Status           = context.StringValue("DescribeApiHistory.Status");
            describeApiHistoryResponse.Visibility       = context.StringValue("DescribeApiHistory.Visibility");
            describeApiHistoryResponse.AuthType         = context.StringValue("DescribeApiHistory.AuthType");
            describeApiHistoryResponse.ResultType       = context.StringValue("DescribeApiHistory.ResultType");
            describeApiHistoryResponse.ResultSample     = context.StringValue("DescribeApiHistory.ResultSample");
            describeApiHistoryResponse.FailResultSample = context.StringValue("DescribeApiHistory.FailResultSample");
            describeApiHistoryResponse.DeployedTime     = context.StringValue("DescribeApiHistory.DeployedTime");

            DescribeApiHistoryResponse.RequestConfig_ requestConfig = new DescribeApiHistoryResponse.RequestConfig_();
            requestConfig.RequestProtocol            = context.StringValue("DescribeApiHistory.RequestConfig.RequestProtocol");
            requestConfig.RequestHttpMethod          = context.StringValue("DescribeApiHistory.RequestConfig.RequestHttpMethod");
            requestConfig.RequestPath                = context.StringValue("DescribeApiHistory.RequestConfig.RequestPath");
            requestConfig.BodyFormat                 = context.StringValue("DescribeApiHistory.RequestConfig.BodyFormat");
            requestConfig.PostBodyDescription        = context.StringValue("DescribeApiHistory.RequestConfig.PostBodyDescription");
            describeApiHistoryResponse.RequestConfig = requestConfig;

            DescribeApiHistoryResponse.ServiceConfig_ serviceConfig = new DescribeApiHistoryResponse.ServiceConfig_();
            serviceConfig.ServiceProtocol            = context.StringValue("DescribeApiHistory.ServiceConfig.ServiceProtocol");
            serviceConfig.ServiceAddress             = context.StringValue("DescribeApiHistory.ServiceConfig.ServiceAddress");
            serviceConfig.ServiceHttpMethod          = context.StringValue("DescribeApiHistory.ServiceConfig.ServiceHttpMethod");
            serviceConfig.ServicePath                = context.StringValue("DescribeApiHistory.ServiceConfig.ServicePath");
            serviceConfig.ServiceTimeout             = context.IntegerValue("DescribeApiHistory.ServiceConfig.ServiceTimeout");
            describeApiHistoryResponse.ServiceConfig = serviceConfig;

            List <DescribeApiHistoryResponse.ErrorCodeSample> errorCodeSamples = new List <DescribeApiHistoryResponse.ErrorCodeSample>();

            for (int i = 0; i < context.Length("DescribeApiHistory.ErrorCodeSamples.Length"); i++)
            {
                DescribeApiHistoryResponse.ErrorCodeSample errorCodeSample = new DescribeApiHistoryResponse.ErrorCodeSample();
                errorCodeSample.Code        = context.StringValue("DescribeApiHistory.ErrorCodeSamples[" + i + "].Code");
                errorCodeSample.Message     = context.StringValue("DescribeApiHistory.ErrorCodeSamples[" + i + "].Message");
                errorCodeSample.Description = context.StringValue("DescribeApiHistory.ErrorCodeSamples[" + i + "].Description");

                errorCodeSamples.Add(errorCodeSample);
            }
            describeApiHistoryResponse.ErrorCodeSamples = errorCodeSamples;

            List <DescribeApiHistoryResponse.SystemParameter> systemParameters = new List <DescribeApiHistoryResponse.SystemParameter>();

            for (int i = 0; i < context.Length("DescribeApiHistory.SystemParameters.Length"); i++)
            {
                DescribeApiHistoryResponse.SystemParameter systemParameter = new DescribeApiHistoryResponse.SystemParameter();
                systemParameter.ParameterName        = context.StringValue("DescribeApiHistory.SystemParameters[" + i + "].ParameterName");
                systemParameter.ServiceParameterName = context.StringValue("DescribeApiHistory.SystemParameters[" + i + "].ServiceParameterName");
                systemParameter.Location             = context.StringValue("DescribeApiHistory.SystemParameters[" + i + "].Location");
                systemParameter.DemoValue            = context.StringValue("DescribeApiHistory.SystemParameters[" + i + "].DemoValue");
                systemParameter.Description          = context.StringValue("DescribeApiHistory.SystemParameters[" + i + "].Description");

                systemParameters.Add(systemParameter);
            }
            describeApiHistoryResponse.SystemParameters = systemParameters;

            List <DescribeApiHistoryResponse.ConstantParameter> constantParameters = new List <DescribeApiHistoryResponse.ConstantParameter>();

            for (int i = 0; i < context.Length("DescribeApiHistory.ConstantParameters.Length"); i++)
            {
                DescribeApiHistoryResponse.ConstantParameter constantParameter = new DescribeApiHistoryResponse.ConstantParameter();
                constantParameter.ServiceParameterName = context.StringValue("DescribeApiHistory.ConstantParameters[" + i + "].ServiceParameterName");
                constantParameter.ConstantValue        = context.StringValue("DescribeApiHistory.ConstantParameters[" + i + "].ConstantValue");
                constantParameter.Location             = context.StringValue("DescribeApiHistory.ConstantParameters[" + i + "].Location");
                constantParameter.Description          = context.StringValue("DescribeApiHistory.ConstantParameters[" + i + "].Description");

                constantParameters.Add(constantParameter);
            }
            describeApiHistoryResponse.ConstantParameters = constantParameters;

            List <DescribeApiHistoryResponse.RequestParameter> requestParameters = new List <DescribeApiHistoryResponse.RequestParameter>();

            for (int i = 0; i < context.Length("DescribeApiHistory.RequestParameters.Length"); i++)
            {
                DescribeApiHistoryResponse.RequestParameter requestParameter = new DescribeApiHistoryResponse.RequestParameter();
                requestParameter.ApiParameterName  = context.StringValue("DescribeApiHistory.RequestParameters[" + i + "].ApiParameterName");
                requestParameter.Location          = context.StringValue("DescribeApiHistory.RequestParameters[" + i + "].Location");
                requestParameter.ParameterType     = context.StringValue("DescribeApiHistory.RequestParameters[" + i + "].ParameterType");
                requestParameter.Required          = context.StringValue("DescribeApiHistory.RequestParameters[" + i + "].Required");
                requestParameter.DefaultValue      = context.StringValue("DescribeApiHistory.RequestParameters[" + i + "].DefaultValue");
                requestParameter.DemoValue         = context.StringValue("DescribeApiHistory.RequestParameters[" + i + "].DemoValue");
                requestParameter.MaxValue          = context.LongValue("DescribeApiHistory.RequestParameters[" + i + "].MaxValue");
                requestParameter.MinValue          = context.LongValue("DescribeApiHistory.RequestParameters[" + i + "].MinValue");
                requestParameter.MaxLength         = context.LongValue("DescribeApiHistory.RequestParameters[" + i + "].MaxLength");
                requestParameter.MinLength         = context.LongValue("DescribeApiHistory.RequestParameters[" + i + "].MinLength");
                requestParameter.RegularExpression = context.StringValue("DescribeApiHistory.RequestParameters[" + i + "].RegularExpression");
                requestParameter.JsonScheme        = context.StringValue("DescribeApiHistory.RequestParameters[" + i + "].JsonScheme");
                requestParameter.EnumValue         = context.StringValue("DescribeApiHistory.RequestParameters[" + i + "].EnumValue");
                requestParameter.DocShow           = context.StringValue("DescribeApiHistory.RequestParameters[" + i + "].DocShow");
                requestParameter.DocOrder          = context.IntegerValue("DescribeApiHistory.RequestParameters[" + i + "].DocOrder");
                requestParameter.Description       = context.StringValue("DescribeApiHistory.RequestParameters[" + i + "].Description");

                requestParameters.Add(requestParameter);
            }
            describeApiHistoryResponse.RequestParameters = requestParameters;

            List <DescribeApiHistoryResponse.ServiceParameter> serviceParameters = new List <DescribeApiHistoryResponse.ServiceParameter>();

            for (int i = 0; i < context.Length("DescribeApiHistory.ServiceParameters.Length"); i++)
            {
                DescribeApiHistoryResponse.ServiceParameter serviceParameter = new DescribeApiHistoryResponse.ServiceParameter();
                serviceParameter.ServiceParameterName = context.StringValue("DescribeApiHistory.ServiceParameters[" + i + "].ServiceParameterName");
                serviceParameter.Location             = context.StringValue("DescribeApiHistory.ServiceParameters[" + i + "].Location");
                serviceParameter.ParameterType        = context.StringValue("DescribeApiHistory.ServiceParameters[" + i + "].ParameterType");

                serviceParameters.Add(serviceParameter);
            }
            describeApiHistoryResponse.ServiceParameters = serviceParameters;

            List <DescribeApiHistoryResponse.ServiceParameterMap> serviceParametersMap = new List <DescribeApiHistoryResponse.ServiceParameterMap>();

            for (int i = 0; i < context.Length("DescribeApiHistory.ServiceParametersMap.Length"); i++)
            {
                DescribeApiHistoryResponse.ServiceParameterMap serviceParameterMap = new DescribeApiHistoryResponse.ServiceParameterMap();
                serviceParameterMap.ServiceParameterName = context.StringValue("DescribeApiHistory.ServiceParametersMap[" + i + "].ServiceParameterName");
                serviceParameterMap.RequestParameterName = context.StringValue("DescribeApiHistory.ServiceParametersMap[" + i + "].RequestParameterName");

                serviceParametersMap.Add(serviceParameterMap);
            }
            describeApiHistoryResponse.ServiceParametersMap = serviceParametersMap;

            return(describeApiHistoryResponse);
        }
示例#36
0
        public static GetVideoResponse Unmarshall(UnmarshallerContext context)
        {
            GetVideoResponse getVideoResponse = new GetVideoResponse();

            getVideoResponse.HttpResponse             = context.HttpResponse;
            getVideoResponse.RequestId                = context.StringValue("GetVideo.RequestId");
            getVideoResponse.SetId                    = context.StringValue("GetVideo.SetId");
            getVideoResponse.VideoUri                 = context.StringValue("GetVideo.VideoUri");
            getVideoResponse.RemarksA                 = context.StringValue("GetVideo.RemarksA");
            getVideoResponse.RemarksB                 = context.StringValue("GetVideo.RemarksB");
            getVideoResponse.CreateTime               = context.StringValue("GetVideo.CreateTime");
            getVideoResponse.ModifyTime               = context.StringValue("GetVideo.ModifyTime");
            getVideoResponse.VideoWidth               = context.IntegerValue("GetVideo.VideoWidth");
            getVideoResponse.VideoHeight              = context.IntegerValue("GetVideo.VideoHeight");
            getVideoResponse.VideoFormat              = context.StringValue("GetVideo.VideoFormat");
            getVideoResponse.VideoDuration            = context.FloatValue("GetVideo.VideoDuration");
            getVideoResponse.FileSize                 = context.IntegerValue("GetVideo.FileSize");
            getVideoResponse.VideoFrames              = context.IntegerValue("GetVideo.VideoFrames");
            getVideoResponse.SourceType               = context.StringValue("GetVideo.SourceType");
            getVideoResponse.SourceUri                = context.StringValue("GetVideo.SourceUri");
            getVideoResponse.SourcePosition           = context.StringValue("GetVideo.SourcePosition");
            getVideoResponse.ProcessStatus            = context.StringValue("GetVideo.ProcessStatus");
            getVideoResponse.ProcessModifyTime        = context.StringValue("GetVideo.ProcessModifyTime");
            getVideoResponse.VideoTagsStatus          = context.StringValue("GetVideo.VideoTagsStatus");
            getVideoResponse.VideoTagsModifyTime      = context.StringValue("GetVideo.VideoTagsModifyTime");
            getVideoResponse.CelebrityStatus          = context.StringValue("GetVideo.CelebrityStatus");
            getVideoResponse.CelebrityModifyTime      = context.StringValue("GetVideo.CelebrityModifyTime");
            getVideoResponse.ProcessFailReason        = context.StringValue("GetVideo.ProcessFailReason");
            getVideoResponse.VideoTagsFailReason      = context.StringValue("GetVideo.VideoTagsFailReason");
            getVideoResponse.CelebrityFailReason      = context.StringValue("GetVideo.CelebrityFailReason");
            getVideoResponse.RemarksC                 = context.StringValue("GetVideo.RemarksC");
            getVideoResponse.RemarksD                 = context.StringValue("GetVideo.RemarksD");
            getVideoResponse.ExternalId               = context.StringValue("GetVideo.ExternalId");
            getVideoResponse.VideoFacesStatus         = context.StringValue("GetVideo.VideoFacesStatus");
            getVideoResponse.VideoFacesFailReason     = context.StringValue("GetVideo.VideoFacesFailReason");
            getVideoResponse.VideoFacesModifyTime     = context.StringValue("GetVideo.VideoFacesModifyTime");
            getVideoResponse.VideoFrameTagsStatus     = context.StringValue("GetVideo.VideoFrameTagsStatus");
            getVideoResponse.VideoFrameTagsFailReason = context.StringValue("GetVideo.VideoFrameTagsFailReason");
            getVideoResponse.VideoFrameTagsModifyTime = context.StringValue("GetVideo.VideoFrameTagsModifyTime");
            getVideoResponse.VideoSTTStatus           = context.StringValue("GetVideo.VideoSTTStatus");
            getVideoResponse.VideoSTTFailReason       = context.StringValue("GetVideo.VideoSTTFailReason");
            getVideoResponse.VideoSTTModifyTime       = context.StringValue("GetVideo.VideoSTTModifyTime");
            getVideoResponse.VideoOCRStatus           = context.StringValue("GetVideo.VideoOCRStatus");
            getVideoResponse.VideoOCRFailReason       = context.StringValue("GetVideo.VideoOCRFailReason");
            getVideoResponse.VideoOCRModifyTime       = context.StringValue("GetVideo.VideoOCRModifyTime");
            getVideoResponse.VideoInfo                = context.StringValue("GetVideo.VideoInfo");

            List <GetVideoResponse.GetVideo_CelebrityItem> getVideoResponse_celebrity = new List <GetVideoResponse.GetVideo_CelebrityItem>();

            for (int i = 0; i < context.Length("GetVideo.Celebrity.Length"); i++)
            {
                GetVideoResponse.GetVideo_CelebrityItem celebrityItem = new GetVideoResponse.GetVideo_CelebrityItem();
                celebrityItem.CelebrityName        = context.StringValue("GetVideo.Celebrity[" + i + "].CelebrityName");
                celebrityItem.CelebrityNum         = context.IntegerValue("GetVideo.Celebrity[" + i + "].CelebrityNum");
                celebrityItem.CelebrityLibraryName = context.StringValue("GetVideo.Celebrity[" + i + "].CelebrityLibraryName");

                getVideoResponse_celebrity.Add(celebrityItem);
            }
            getVideoResponse.Celebrity = getVideoResponse_celebrity;

            List <GetVideoResponse.GetVideo_VideoTagsItem> getVideoResponse_videoTags = new List <GetVideoResponse.GetVideo_VideoTagsItem>();

            for (int i = 0; i < context.Length("GetVideo.VideoTags.Length"); i++)
            {
                GetVideoResponse.GetVideo_VideoTagsItem videoTagsItem = new GetVideoResponse.GetVideo_VideoTagsItem();
                videoTagsItem.VideoTagName       = context.StringValue("GetVideo.VideoTags[" + i + "].VideoTagName");
                videoTagsItem.VideoTagEnName     = context.StringValue("GetVideo.VideoTags[" + i + "].VideoTagEnName");
                videoTagsItem.VideoTagConfidence = context.FloatValue("GetVideo.VideoTags[" + i + "].VideoTagConfidence");
                videoTagsItem.VideoTagLevel      = context.IntegerValue("GetVideo.VideoTags[" + i + "].VideoTagLevel");

                getVideoResponse_videoTags.Add(videoTagsItem);
            }
            getVideoResponse.VideoTags = getVideoResponse_videoTags;

            List <GetVideoResponse.GetVideo_PersonsItem> getVideoResponse_persons = new List <GetVideoResponse.GetVideo_PersonsItem>();

            for (int i = 0; i < context.Length("GetVideo.Persons.Length"); i++)
            {
                GetVideoResponse.GetVideo_PersonsItem personsItem = new GetVideoResponse.GetVideo_PersonsItem();
                personsItem.PersonId         = context.StringValue("GetVideo.Persons[" + i + "].PersonId");
                personsItem.Age              = context.IntegerValue("GetVideo.Persons[" + i + "].Age");
                personsItem.AgeConfidence    = context.FloatValue("GetVideo.Persons[" + i + "].AgeConfidence");
                personsItem.Gender           = context.StringValue("GetVideo.Persons[" + i + "].Gender");
                personsItem.GenderConfidence = context.FloatValue("GetVideo.Persons[" + i + "].GenderConfidence");

                getVideoResponse_persons.Add(personsItem);
            }
            getVideoResponse.Persons = getVideoResponse_persons;

            return(getVideoResponse);
        }
        public static ModifyJobGroupResponse Unmarshall(UnmarshallerContext _ctx)
        {
            ModifyJobGroupResponse modifyJobGroupResponse = new ModifyJobGroupResponse();

            modifyJobGroupResponse.HttpResponse   = _ctx.HttpResponse;
            modifyJobGroupResponse.Code           = _ctx.StringValue("ModifyJobGroup.Code");
            modifyJobGroupResponse.HttpStatusCode = _ctx.IntegerValue("ModifyJobGroup.HttpStatusCode");
            modifyJobGroupResponse.Message        = _ctx.StringValue("ModifyJobGroup.Message");
            modifyJobGroupResponse.RequestId      = _ctx.StringValue("ModifyJobGroup.RequestId");
            modifyJobGroupResponse.Success        = _ctx.BooleanValue("ModifyJobGroup.Success");

            ModifyJobGroupResponse.ModifyJobGroup_JobGroup jobGroup = new ModifyJobGroupResponse.ModifyJobGroup_JobGroup();
            jobGroup.CreationTime        = _ctx.LongValue("ModifyJobGroup.JobGroup.CreationTime");
            jobGroup.JobFilePath         = _ctx.StringValue("ModifyJobGroup.JobGroup.JobFilePath");
            jobGroup.JobGroupDescription = _ctx.StringValue("ModifyJobGroup.JobGroup.JobGroupDescription");
            jobGroup.JobGroupId          = _ctx.StringValue("ModifyJobGroup.JobGroup.JobGroupId");
            jobGroup.JobGroupName        = _ctx.StringValue("ModifyJobGroup.JobGroup.JobGroupName");
            jobGroup.ScenarioId          = _ctx.StringValue("ModifyJobGroup.JobGroup.ScenarioId");

            List <string> jobGroup_callingNumbers = new List <string>();

            for (int i = 0; i < _ctx.Length("ModifyJobGroup.JobGroup.CallingNumbers.Length"); i++)
            {
                jobGroup_callingNumbers.Add(_ctx.StringValue("ModifyJobGroup.JobGroup.CallingNumbers[" + i + "]"));
            }
            jobGroup.CallingNumbers = jobGroup_callingNumbers;

            ModifyJobGroupResponse.ModifyJobGroup_JobGroup.ModifyJobGroup_Strategy strategy = new ModifyJobGroupResponse.ModifyJobGroup_JobGroup.ModifyJobGroup_Strategy();
            strategy.Customized          = _ctx.StringValue("ModifyJobGroup.JobGroup.Strategy.Customized");
            strategy.EndTime             = _ctx.LongValue("ModifyJobGroup.JobGroup.Strategy.EndTime");
            strategy.FollowUpStrategy    = _ctx.StringValue("ModifyJobGroup.JobGroup.Strategy.FollowUpStrategy");
            strategy.IsTemplate          = _ctx.BooleanValue("ModifyJobGroup.JobGroup.Strategy.IsTemplate");
            strategy.MaxAttemptsPerDay   = _ctx.IntegerValue("ModifyJobGroup.JobGroup.Strategy.MaxAttemptsPerDay");
            strategy.MinAttemptInterval  = _ctx.IntegerValue("ModifyJobGroup.JobGroup.Strategy.MinAttemptInterval");
            strategy.RepeatBy            = _ctx.StringValue("ModifyJobGroup.JobGroup.Strategy.RepeatBy");
            strategy.RoutingStrategy     = _ctx.StringValue("ModifyJobGroup.JobGroup.Strategy.RoutingStrategy");
            strategy.StartTime           = _ctx.LongValue("ModifyJobGroup.JobGroup.Strategy.StartTime");
            strategy.StrategyDescription = _ctx.StringValue("ModifyJobGroup.JobGroup.Strategy.StrategyDescription");
            strategy.StrategyId          = _ctx.StringValue("ModifyJobGroup.JobGroup.Strategy.StrategyId");
            strategy.StrategyName        = _ctx.StringValue("ModifyJobGroup.JobGroup.Strategy.StrategyName");
            strategy.Type = _ctx.StringValue("ModifyJobGroup.JobGroup.Strategy.Type");

            List <string> strategy_repeatDays = new List <string>();

            for (int i = 0; i < _ctx.Length("ModifyJobGroup.JobGroup.Strategy.RepeatDays.Length"); i++)
            {
                strategy_repeatDays.Add(_ctx.StringValue("ModifyJobGroup.JobGroup.Strategy.RepeatDays[" + i + "]"));
            }
            strategy.RepeatDays = strategy_repeatDays;

            List <ModifyJobGroupResponse.ModifyJobGroup_JobGroup.ModifyJobGroup_Strategy.ModifyJobGroup_TimeFrame> strategy_workingTime = new List <ModifyJobGroupResponse.ModifyJobGroup_JobGroup.ModifyJobGroup_Strategy.ModifyJobGroup_TimeFrame>();

            for (int i = 0; i < _ctx.Length("ModifyJobGroup.JobGroup.Strategy.WorkingTime.Length"); i++)
            {
                ModifyJobGroupResponse.ModifyJobGroup_JobGroup.ModifyJobGroup_Strategy.ModifyJobGroup_TimeFrame timeFrame = new ModifyJobGroupResponse.ModifyJobGroup_JobGroup.ModifyJobGroup_Strategy.ModifyJobGroup_TimeFrame();
                timeFrame.BeginTime = _ctx.StringValue("ModifyJobGroup.JobGroup.Strategy.WorkingTime[" + i + "].BeginTime");
                timeFrame.EndTime   = _ctx.StringValue("ModifyJobGroup.JobGroup.Strategy.WorkingTime[" + i + "].EndTime");

                strategy_workingTime.Add(timeFrame);
            }
            strategy.WorkingTime            = strategy_workingTime;
            jobGroup.Strategy               = strategy;
            modifyJobGroupResponse.JobGroup = jobGroup;

            return(modifyJobGroupResponse);
        }
示例#38
0
        public static QueryVideoPoseJobListResponse Unmarshall(UnmarshallerContext context)
        {
            QueryVideoPoseJobListResponse queryVideoPoseJobListResponse = new QueryVideoPoseJobListResponse();

            queryVideoPoseJobListResponse.HttpResponse = context.HttpResponse;
            queryVideoPoseJobListResponse.RequestId    = context.StringValue("QueryVideoPoseJobList.RequestId");

            List <string> queryVideoPoseJobListResponse_nonExistJobIds = new List <string>();

            for (int i = 0; i < context.Length("QueryVideoPoseJobList.NonExistJobIds.Length"); i++)
            {
                queryVideoPoseJobListResponse_nonExistJobIds.Add(context.StringValue("QueryVideoPoseJobList.NonExistJobIds[" + i + "]"));
            }
            queryVideoPoseJobListResponse.NonExistJobIds = queryVideoPoseJobListResponse_nonExistJobIds;

            List <QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job> queryVideoPoseJobListResponse_jobList = new List <QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job>();

            for (int i = 0; i < context.Length("QueryVideoPoseJobList.JobList.Length"); i++)
            {
                QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job job = new QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job();
                job.JobId      = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].JobId");
                job.PipelineId = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].PipelineId");
                job.UserData   = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].UserData");
                job.State      = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].State");

                QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_Input input = new QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_Input();
                input.Bucket   = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Input.Bucket");
                input.Location = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Input.Location");
                input._Object  = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Input.Object");
                input.RoleArn  = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Input.RoleArn");
                job.Input      = input;

                QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_OutputConfig outputConfig = new QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_OutputConfig();

                QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_OutputConfig.QueryVideoPoseJobList_VideoFile videoFile = new QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_OutputConfig.QueryVideoPoseJobList_VideoFile();
                videoFile.Bucket       = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].OutputConfig.VideoFile.Bucket");
                videoFile.Location     = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].OutputConfig.VideoFile.Location");
                videoFile._Object      = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].OutputConfig.VideoFile.Object");
                videoFile.RoleArn      = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].OutputConfig.VideoFile.RoleArn");
                outputConfig.VideoFile = videoFile;

                QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_OutputConfig.QueryVideoPoseJobList_DataFile dataFile = new QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_OutputConfig.QueryVideoPoseJobList_DataFile();
                dataFile.Bucket       = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].OutputConfig.DataFile.Bucket");
                dataFile.Location     = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].OutputConfig.DataFile.Location");
                dataFile._Object      = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].OutputConfig.DataFile.Object");
                dataFile.RoleArn      = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].OutputConfig.DataFile.RoleArn");
                outputConfig.DataFile = dataFile;
                job.OutputConfig      = outputConfig;

                QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_Properties properties = new QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_Properties();
                properties.Width      = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Width");
                properties.Height     = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Height");
                properties.Bitrate    = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Bitrate");
                properties.Duration   = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Duration");
                properties.Fps        = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Fps");
                properties.FileSize   = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.FileSize");
                properties.FileFormat = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.FileFormat");

                QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_Properties.QueryVideoPoseJobList_Streams streams = new QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_Properties.QueryVideoPoseJobList_Streams();

                List <QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_Properties.QueryVideoPoseJobList_Streams.QueryVideoPoseJobList_VideoStream> streams_videoStreamList = new List <QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_Properties.QueryVideoPoseJobList_Streams.QueryVideoPoseJobList_VideoStream>();
                for (int j = 0; j < context.Length("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.VideoStreamList.Length"); j++)
                {
                    QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_Properties.QueryVideoPoseJobList_Streams.QueryVideoPoseJobList_VideoStream videoStream = new QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_Properties.QueryVideoPoseJobList_Streams.QueryVideoPoseJobList_VideoStream();
                    videoStream.Index          = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.VideoStreamList[" + j + "].Index");
                    videoStream.CodecName      = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.VideoStreamList[" + j + "].CodecName");
                    videoStream.CodecLongName  = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.VideoStreamList[" + j + "].CodecLongName");
                    videoStream.Profile        = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.VideoStreamList[" + j + "].Profile");
                    videoStream.CodecTimeBase  = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.VideoStreamList[" + j + "].CodecTimeBase");
                    videoStream.CodecTagString = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.VideoStreamList[" + j + "].CodecTagString");
                    videoStream.CodecTag       = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.VideoStreamList[" + j + "].CodecTag");
                    videoStream.Width          = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.VideoStreamList[" + j + "].Width");
                    videoStream.Height         = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.VideoStreamList[" + j + "].Height");
                    videoStream.HasBFrames     = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.VideoStreamList[" + j + "].HasBFrames");
                    videoStream.Sar            = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.VideoStreamList[" + j + "].Sar");
                    videoStream.Dar            = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.VideoStreamList[" + j + "].Dar");
                    videoStream.PixFmt         = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.VideoStreamList[" + j + "].PixFmt");
                    videoStream.Level          = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.VideoStreamList[" + j + "].Level");
                    videoStream.Fps            = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.VideoStreamList[" + j + "].Fps");
                    videoStream.AvgFPS         = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.VideoStreamList[" + j + "].AvgFPS");
                    videoStream.Timebase       = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.VideoStreamList[" + j + "].Timebase");
                    videoStream.StartTime      = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.VideoStreamList[" + j + "].StartTime");
                    videoStream.Duration       = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.VideoStreamList[" + j + "].Duration");
                    videoStream.Bitrate        = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.VideoStreamList[" + j + "].Bitrate");
                    videoStream.NumFrames      = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.VideoStreamList[" + j + "].NumFrames");
                    videoStream.Lang           = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.VideoStreamList[" + j + "].Lang");
                    videoStream.Rotate         = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.VideoStreamList[" + j + "].Rotate");

                    QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_Properties.QueryVideoPoseJobList_Streams.QueryVideoPoseJobList_VideoStream.QueryVideoPoseJobList_NetworkCost networkCost = new QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_Properties.QueryVideoPoseJobList_Streams.QueryVideoPoseJobList_VideoStream.QueryVideoPoseJobList_NetworkCost();
                    networkCost.PreloadTime   = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.VideoStreamList[" + j + "].NetworkCost.PreloadTime");
                    networkCost.CostBandwidth = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.VideoStreamList[" + j + "].NetworkCost.CostBandwidth");
                    networkCost.AvgBitrate    = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.VideoStreamList[" + j + "].NetworkCost.AvgBitrate");
                    videoStream.NetworkCost   = networkCost;

                    streams_videoStreamList.Add(videoStream);
                }
                streams.VideoStreamList = streams_videoStreamList;

                List <QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_Properties.QueryVideoPoseJobList_Streams.QueryVideoPoseJobList_AudioStream> streams_audioStreamList = new List <QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_Properties.QueryVideoPoseJobList_Streams.QueryVideoPoseJobList_AudioStream>();
                for (int j = 0; j < context.Length("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.AudioStreamList.Length"); j++)
                {
                    QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_Properties.QueryVideoPoseJobList_Streams.QueryVideoPoseJobList_AudioStream audioStream = new QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_Properties.QueryVideoPoseJobList_Streams.QueryVideoPoseJobList_AudioStream();
                    audioStream.Index          = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.AudioStreamList[" + j + "].Index");
                    audioStream.CodecName      = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.AudioStreamList[" + j + "].CodecName");
                    audioStream.CodecTimeBase  = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.AudioStreamList[" + j + "].CodecTimeBase");
                    audioStream.CodecLongName  = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.AudioStreamList[" + j + "].CodecLongName");
                    audioStream.CodecTagString = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.AudioStreamList[" + j + "].CodecTagString");
                    audioStream.CodecTag       = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.AudioStreamList[" + j + "].CodecTag");
                    audioStream.SampleFmt      = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.AudioStreamList[" + j + "].SampleFmt");
                    audioStream.Samplerate     = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.AudioStreamList[" + j + "].Samplerate");
                    audioStream.Channels       = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.AudioStreamList[" + j + "].Channels");
                    audioStream.ChannelLayout  = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.AudioStreamList[" + j + "].ChannelLayout");
                    audioStream.Timebase       = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.AudioStreamList[" + j + "].Timebase");
                    audioStream.StartTime      = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.AudioStreamList[" + j + "].StartTime");
                    audioStream.Duration       = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.AudioStreamList[" + j + "].Duration");
                    audioStream.Bitrate        = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.AudioStreamList[" + j + "].Bitrate");
                    audioStream.NumFrames      = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.AudioStreamList[" + j + "].NumFrames");
                    audioStream.Lang           = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.AudioStreamList[" + j + "].Lang");

                    streams_audioStreamList.Add(audioStream);
                }
                streams.AudioStreamList = streams_audioStreamList;

                List <QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_Properties.QueryVideoPoseJobList_Streams.QueryVideoPoseJobList_SubtitleStream> streams_subtitleStreamList = new List <QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_Properties.QueryVideoPoseJobList_Streams.QueryVideoPoseJobList_SubtitleStream>();
                for (int j = 0; j < context.Length("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.SubtitleStreamList.Length"); j++)
                {
                    QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_Properties.QueryVideoPoseJobList_Streams.QueryVideoPoseJobList_SubtitleStream subtitleStream = new QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_Properties.QueryVideoPoseJobList_Streams.QueryVideoPoseJobList_SubtitleStream();
                    subtitleStream.Index          = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.SubtitleStreamList[" + j + "].Index");
                    subtitleStream.CodecName      = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.SubtitleStreamList[" + j + "].CodecName");
                    subtitleStream.CodecTimeBase  = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.SubtitleStreamList[" + j + "].CodecTimeBase");
                    subtitleStream.CodecLongName  = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.SubtitleStreamList[" + j + "].CodecLongName");
                    subtitleStream.CodecTagString = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.SubtitleStreamList[" + j + "].CodecTagString");
                    subtitleStream.CodecTag       = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.SubtitleStreamList[" + j + "].CodecTag");
                    subtitleStream.Timebase       = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.SubtitleStreamList[" + j + "].Timebase");
                    subtitleStream.StartTime      = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.SubtitleStreamList[" + j + "].StartTime");
                    subtitleStream.Duration       = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.SubtitleStreamList[" + j + "].Duration");
                    subtitleStream.Lang           = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Streams.SubtitleStreamList[" + j + "].Lang");

                    streams_subtitleStreamList.Add(subtitleStream);
                }
                streams.SubtitleStreamList = streams_subtitleStreamList;
                properties.Streams         = streams;

                QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_Properties.QueryVideoPoseJobList_Format format = new QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_Properties.QueryVideoPoseJobList_Format();
                format.NumStreams     = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Format.NumStreams");
                format.NumPrograms    = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Format.NumPrograms");
                format.FormatName     = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Format.FormatName");
                format.FormatLongName = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Format.FormatLongName");
                format.StartTime      = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Format.StartTime");
                format.Duration       = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Format.Duration");
                format.Size           = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Format.Size");
                format.Bitrate        = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].Properties.Format.Bitrate");
                properties.Format     = format;
                job.Properties        = properties;

                QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_MNSMessageResult mNSMessageResult = new QueryVideoPoseJobListResponse.QueryVideoPoseJobList_Job.QueryVideoPoseJobList_MNSMessageResult();
                mNSMessageResult.MessageId    = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].MNSMessageResult.MessageId");
                mNSMessageResult.ErrorMessage = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].MNSMessageResult.ErrorMessage");
                mNSMessageResult.ErrorCode    = context.StringValue("QueryVideoPoseJobList.JobList[" + i + "].MNSMessageResult.ErrorCode");
                job.MNSMessageResult          = mNSMessageResult;

                queryVideoPoseJobListResponse_jobList.Add(job);
            }
            queryVideoPoseJobListResponse.JobList = queryVideoPoseJobListResponse_jobList;

            return(queryVideoPoseJobListResponse);
        }
示例#39
0
        public static HandPostureResponse Unmarshall(UnmarshallerContext _ctx)
        {
            HandPostureResponse handPostureResponse = new HandPostureResponse();

            handPostureResponse.HttpResponse = _ctx.HttpResponse;
            handPostureResponse.RequestId    = _ctx.StringValue("HandPosture.RequestId");

            HandPostureResponse.HandPosture_Data data = new HandPostureResponse.HandPosture_Data();

            HandPostureResponse.HandPosture_Data.HandPosture_MetaObject metaObject = new HandPostureResponse.HandPosture_Data.HandPosture_MetaObject();
            metaObject.Height = _ctx.IntegerValue("HandPosture.Data.MetaObject.Height");
            metaObject.Width  = _ctx.IntegerValue("HandPosture.Data.MetaObject.Width");
            data.MetaObject   = metaObject;

            List <HandPostureResponse.HandPosture_Data.HandPosture_Output> data_outputs = new List <HandPostureResponse.HandPosture_Data.HandPosture_Output>();

            for (int i = 0; i < _ctx.Length("HandPosture.Data.Outputs.Length"); i++)
            {
                HandPostureResponse.HandPosture_Data.HandPosture_Output output = new HandPostureResponse.HandPosture_Data.HandPosture_Output();
                output.HandCount = _ctx.IntegerValue("HandPosture.Data.Outputs[" + i + "].HandCount");

                List <HandPostureResponse.HandPosture_Data.HandPosture_Output.HandPosture_Result> output_results = new List <HandPostureResponse.HandPosture_Data.HandPosture_Output.HandPosture_Result>();
                for (int j = 0; j < _ctx.Length("HandPosture.Data.Outputs[" + i + "].Results.Length"); j++)
                {
                    HandPostureResponse.HandPosture_Data.HandPosture_Output.HandPosture_Result result = new HandPostureResponse.HandPosture_Data.HandPosture_Output.HandPosture_Result();

                    HandPostureResponse.HandPosture_Data.HandPosture_Output.HandPosture_Result.HandPosture_Box box = new HandPostureResponse.HandPosture_Data.HandPosture_Output.HandPosture_Result.HandPosture_Box();
                    box.Confident = _ctx.FloatValue("HandPosture.Data.Outputs[" + i + "].Results[" + j + "].Box.Confident");

                    List <HandPostureResponse.HandPosture_Data.HandPosture_Output.HandPosture_Result.HandPosture_Box.HandPosture_Position> box_positions = new List <HandPostureResponse.HandPosture_Data.HandPosture_Output.HandPosture_Result.HandPosture_Box.HandPosture_Position>();
                    for (int k = 0; k < _ctx.Length("HandPosture.Data.Outputs[" + i + "].Results[" + j + "].Box.Positions.Length"); k++)
                    {
                        HandPostureResponse.HandPosture_Data.HandPosture_Output.HandPosture_Result.HandPosture_Box.HandPosture_Position position = new HandPostureResponse.HandPosture_Data.HandPosture_Output.HandPosture_Result.HandPosture_Box.HandPosture_Position();

                        List <string> position_points = new List <string>();
                        for (int l = 0; l < _ctx.Length("HandPosture.Data.Outputs[" + i + "].Results[" + j + "].Box.Positions[" + k + "].Points.Length"); l++)
                        {
                            position_points.Add(_ctx.StringValue("HandPosture.Data.Outputs[" + i + "].Results[" + j + "].Box.Positions[" + k + "].Points[" + l + "]"));
                        }
                        position.Points = position_points;

                        box_positions.Add(position);
                    }
                    box.Positions = box_positions;
                    result.Box    = box;

                    HandPostureResponse.HandPosture_Data.HandPosture_Output.HandPosture_Result.HandPosture_Hands hands = new HandPostureResponse.HandPosture_Data.HandPosture_Output.HandPosture_Result.HandPosture_Hands();
                    hands.Confident = _ctx.FloatValue("HandPosture.Data.Outputs[" + i + "].Results[" + j + "].Hands.Confident");

                    List <HandPostureResponse.HandPosture_Data.HandPosture_Output.HandPosture_Result.HandPosture_Hands.HandPosture_KeyPoint> hands_keyPoints = new List <HandPostureResponse.HandPosture_Data.HandPosture_Output.HandPosture_Result.HandPosture_Hands.HandPosture_KeyPoint>();
                    for (int k = 0; k < _ctx.Length("HandPosture.Data.Outputs[" + i + "].Results[" + j + "].Hands.KeyPoints.Length"); k++)
                    {
                        HandPostureResponse.HandPosture_Data.HandPosture_Output.HandPosture_Result.HandPosture_Hands.HandPosture_KeyPoint keyPoint = new HandPostureResponse.HandPosture_Data.HandPosture_Output.HandPosture_Result.HandPosture_Hands.HandPosture_KeyPoint();
                        keyPoint.Label = _ctx.StringValue("HandPosture.Data.Outputs[" + i + "].Results[" + j + "].Hands.KeyPoints[" + k + "].Label");

                        List <HandPostureResponse.HandPosture_Data.HandPosture_Output.HandPosture_Result.HandPosture_Hands.HandPosture_KeyPoint.HandPosture_Position2> keyPoint_positions1 = new List <HandPostureResponse.HandPosture_Data.HandPosture_Output.HandPosture_Result.HandPosture_Hands.HandPosture_KeyPoint.HandPosture_Position2>();
                        for (int l = 0; l < _ctx.Length("HandPosture.Data.Outputs[" + i + "].Results[" + j + "].Hands.KeyPoints[" + k + "].Positions.Length"); l++)
                        {
                            HandPostureResponse.HandPosture_Data.HandPosture_Output.HandPosture_Result.HandPosture_Hands.HandPosture_KeyPoint.HandPosture_Position2 position2 = new HandPostureResponse.HandPosture_Data.HandPosture_Output.HandPosture_Result.HandPosture_Hands.HandPosture_KeyPoint.HandPosture_Position2();

                            List <string> position2_points3 = new List <string>();
                            for (int m = 0; m < _ctx.Length("HandPosture.Data.Outputs[" + i + "].Results[" + j + "].Hands.KeyPoints[" + k + "].Positions[" + l + "].Points.Length"); m++)
                            {
                                position2_points3.Add(_ctx.StringValue("HandPosture.Data.Outputs[" + i + "].Results[" + j + "].Hands.KeyPoints[" + k + "].Positions[" + l + "].Points[" + m + "]"));
                            }
                            position2.Points3 = position2_points3;

                            keyPoint_positions1.Add(position2);
                        }
                        keyPoint.Positions1 = keyPoint_positions1;

                        hands_keyPoints.Add(keyPoint);
                    }
                    hands.KeyPoints = hands_keyPoints;
                    result.Hands    = hands;

                    output_results.Add(result);
                }
                output.Results = output_results;

                data_outputs.Add(output);
            }
            data.Outputs             = data_outputs;
            handPostureResponse.Data = data;

            return(handPostureResponse);
        }
        public static SearchTemplateResponse Unmarshall(UnmarshallerContext context)
        {
            SearchTemplateResponse searchTemplateResponse = new SearchTemplateResponse();

            searchTemplateResponse.HttpResponse = context.HttpResponse;
            searchTemplateResponse.RequestId    = context.StringValue("SearchTemplate.RequestId");
            searchTemplateResponse.TotalCount   = context.LongValue("SearchTemplate.TotalCount");
            searchTemplateResponse.PageNumber   = context.LongValue("SearchTemplate.PageNumber");
            searchTemplateResponse.PageSize     = context.LongValue("SearchTemplate.PageSize");

            List <SearchTemplateResponse.Template> templateList = new List <SearchTemplateResponse.Template>();

            for (int i = 0; i < context.Length("SearchTemplate.TemplateList.Length"); i++)
            {
                SearchTemplateResponse.Template template = new SearchTemplateResponse.Template();
                template.Id    = context.StringValue("SearchTemplate.TemplateList[" + i + "].Id");
                template.Name  = context.StringValue("SearchTemplate.TemplateList[" + i + "].Name");
                template.State = context.StringValue("SearchTemplate.TemplateList[" + i + "].State");

                SearchTemplateResponse.Template.Container_ container = new SearchTemplateResponse.Template.Container_();
                container.Format   = context.StringValue("SearchTemplate.TemplateList[" + i + "].Container.Format");
                template.Container = container;

                SearchTemplateResponse.Template.Video_ video = new SearchTemplateResponse.Template.Video_();
                video.Codec    = context.StringValue("SearchTemplate.TemplateList[" + i + "].Video.Codec");
                video.Profile  = context.StringValue("SearchTemplate.TemplateList[" + i + "].Video.Profile");
                video.Bitrate  = context.StringValue("SearchTemplate.TemplateList[" + i + "].Video.Bitrate");
                video.Crf      = context.StringValue("SearchTemplate.TemplateList[" + i + "].Video.Crf");
                video.Width    = context.StringValue("SearchTemplate.TemplateList[" + i + "].Video.Width");
                video.Height   = context.StringValue("SearchTemplate.TemplateList[" + i + "].Video.Height");
                video.Fps      = context.StringValue("SearchTemplate.TemplateList[" + i + "].Video.Fps");
                video.Gop      = context.StringValue("SearchTemplate.TemplateList[" + i + "].Video.Gop");
                video.Preset   = context.StringValue("SearchTemplate.TemplateList[" + i + "].Video.Preset");
                video.ScanMode = context.StringValue("SearchTemplate.TemplateList[" + i + "].Video.ScanMode");
                video.Bufsize  = context.StringValue("SearchTemplate.TemplateList[" + i + "].Video.Bufsize");
                video.Maxrate  = context.StringValue("SearchTemplate.TemplateList[" + i + "].Video.Maxrate");
                video.PixFmt   = context.StringValue("SearchTemplate.TemplateList[" + i + "].Video.PixFmt");
                video.Degrain  = context.StringValue("SearchTemplate.TemplateList[" + i + "].Video.Degrain");
                video.Qscale   = context.StringValue("SearchTemplate.TemplateList[" + i + "].Video.Qscale");
                video.Remove   = context.StringValue("SearchTemplate.TemplateList[" + i + "].Video.Remove");
                video.Crop     = context.StringValue("SearchTemplate.TemplateList[" + i + "].Video.Crop");
                video.Pad      = context.StringValue("SearchTemplate.TemplateList[" + i + "].Video.Pad");

                SearchTemplateResponse.Template.Video_.BitrateBnd_ bitrateBnd = new SearchTemplateResponse.Template.Video_.BitrateBnd_();
                bitrateBnd.Max   = context.StringValue("SearchTemplate.TemplateList[" + i + "].Video.BitrateBnd.Max");
                bitrateBnd.Min   = context.StringValue("SearchTemplate.TemplateList[" + i + "].Video.BitrateBnd.Min");
                video.BitrateBnd = bitrateBnd;
                template.Video   = video;

                SearchTemplateResponse.Template.Audio_ audio = new SearchTemplateResponse.Template.Audio_();
                audio.Codec      = context.StringValue("SearchTemplate.TemplateList[" + i + "].Audio.Codec");
                audio.Profile    = context.StringValue("SearchTemplate.TemplateList[" + i + "].Audio.Profile");
                audio.Samplerate = context.StringValue("SearchTemplate.TemplateList[" + i + "].Audio.Samplerate");
                audio.Bitrate    = context.StringValue("SearchTemplate.TemplateList[" + i + "].Audio.Bitrate");
                audio.Channels   = context.StringValue("SearchTemplate.TemplateList[" + i + "].Audio.Channels");
                audio.Qscale     = context.StringValue("SearchTemplate.TemplateList[" + i + "].Audio.Qscale");
                audio.Remove     = context.StringValue("SearchTemplate.TemplateList[" + i + "].Audio.Remove");
                template.Audio   = audio;

                SearchTemplateResponse.Template.TransConfig_ transConfig = new SearchTemplateResponse.Template.TransConfig_();
                transConfig.TransMode           = context.StringValue("SearchTemplate.TemplateList[" + i + "].TransConfig.TransMode");
                transConfig.IsCheckReso         = context.StringValue("SearchTemplate.TemplateList[" + i + "].TransConfig.IsCheckReso");
                transConfig.IsCheckResoFail     = context.StringValue("SearchTemplate.TemplateList[" + i + "].TransConfig.IsCheckResoFail");
                transConfig.IsCheckVideoBitrate = context.StringValue("SearchTemplate.TemplateList[" + i + "].TransConfig.IsCheckVideoBitrate");
                transConfig.IsCheckAudioBitrate = context.StringValue("SearchTemplate.TemplateList[" + i + "].TransConfig.IsCheckAudioBitrate");
                transConfig.AdjDarMethod        = context.StringValue("SearchTemplate.TemplateList[" + i + "].TransConfig.AdjDarMethod");
                template.TransConfig            = transConfig;

                SearchTemplateResponse.Template.MuxConfig_ muxConfig = new SearchTemplateResponse.Template.MuxConfig_();

                SearchTemplateResponse.Template.MuxConfig_.Segment_ segment = new SearchTemplateResponse.Template.MuxConfig_.Segment_();
                segment.Duration  = context.StringValue("SearchTemplate.TemplateList[" + i + "].MuxConfig.Segment.Duration");
                muxConfig.Segment = segment;

                SearchTemplateResponse.Template.MuxConfig_.Gif_ gif = new SearchTemplateResponse.Template.MuxConfig_.Gif_();
                gif.Loop           = context.StringValue("SearchTemplate.TemplateList[" + i + "].MuxConfig.Gif.Loop");
                gif.FinalDelay     = context.StringValue("SearchTemplate.TemplateList[" + i + "].MuxConfig.Gif.FinalDelay");
                muxConfig.Gif      = gif;
                template.MuxConfig = muxConfig;

                templateList.Add(template);
            }
            searchTemplateResponse.TemplateList = templateList;

            return(searchTemplateResponse);
        }
        public static DescribeLoadBalancerUDPListenerAttributeResponse Unmarshall(UnmarshallerContext _ctx)
        {
            DescribeLoadBalancerUDPListenerAttributeResponse describeLoadBalancerUDPListenerAttributeResponse = new DescribeLoadBalancerUDPListenerAttributeResponse();

            describeLoadBalancerUDPListenerAttributeResponse.HttpResponse              = _ctx.HttpResponse;
            describeLoadBalancerUDPListenerAttributeResponse.AclId                     = _ctx.StringValue("DescribeLoadBalancerUDPListenerAttribute.AclId");
            describeLoadBalancerUDPListenerAttributeResponse.AclStatus                 = _ctx.StringValue("DescribeLoadBalancerUDPListenerAttribute.AclStatus");
            describeLoadBalancerUDPListenerAttributeResponse.AclType                   = _ctx.StringValue("DescribeLoadBalancerUDPListenerAttribute.AclType");
            describeLoadBalancerUDPListenerAttributeResponse.BackendServerPort         = _ctx.IntegerValue("DescribeLoadBalancerUDPListenerAttribute.BackendServerPort");
            describeLoadBalancerUDPListenerAttributeResponse.Bandwidth                 = _ctx.IntegerValue("DescribeLoadBalancerUDPListenerAttribute.Bandwidth");
            describeLoadBalancerUDPListenerAttributeResponse.ConnectionDrain           = _ctx.StringValue("DescribeLoadBalancerUDPListenerAttribute.ConnectionDrain");
            describeLoadBalancerUDPListenerAttributeResponse.ConnectionDrainTimeout    = _ctx.IntegerValue("DescribeLoadBalancerUDPListenerAttribute.ConnectionDrainTimeout");
            describeLoadBalancerUDPListenerAttributeResponse.Description               = _ctx.StringValue("DescribeLoadBalancerUDPListenerAttribute.Description");
            describeLoadBalancerUDPListenerAttributeResponse.FailoverStrategy          = _ctx.StringValue("DescribeLoadBalancerUDPListenerAttribute.FailoverStrategy");
            describeLoadBalancerUDPListenerAttributeResponse.FailoverThreshold         = _ctx.IntegerValue("DescribeLoadBalancerUDPListenerAttribute.FailoverThreshold");
            describeLoadBalancerUDPListenerAttributeResponse.HealthCheck               = _ctx.StringValue("DescribeLoadBalancerUDPListenerAttribute.HealthCheck");
            describeLoadBalancerUDPListenerAttributeResponse.HealthCheckConnectPort    = _ctx.IntegerValue("DescribeLoadBalancerUDPListenerAttribute.HealthCheckConnectPort");
            describeLoadBalancerUDPListenerAttributeResponse.HealthCheckConnectTimeout = _ctx.IntegerValue("DescribeLoadBalancerUDPListenerAttribute.HealthCheckConnectTimeout");
            describeLoadBalancerUDPListenerAttributeResponse.HealthCheckDomain         = _ctx.StringValue("DescribeLoadBalancerUDPListenerAttribute.HealthCheckDomain");
            describeLoadBalancerUDPListenerAttributeResponse.HealthCheckExp            = _ctx.StringValue("DescribeLoadBalancerUDPListenerAttribute.HealthCheckExp");
            describeLoadBalancerUDPListenerAttributeResponse.HealthCheckHttpCode       = _ctx.StringValue("DescribeLoadBalancerUDPListenerAttribute.HealthCheckHttpCode");
            describeLoadBalancerUDPListenerAttributeResponse.HealthCheckInterval       = _ctx.IntegerValue("DescribeLoadBalancerUDPListenerAttribute.HealthCheckInterval");
            describeLoadBalancerUDPListenerAttributeResponse.HealthCheckMethod         = _ctx.StringValue("DescribeLoadBalancerUDPListenerAttribute.HealthCheckMethod");
            describeLoadBalancerUDPListenerAttributeResponse.HealthCheckReq            = _ctx.StringValue("DescribeLoadBalancerUDPListenerAttribute.HealthCheckReq");
            describeLoadBalancerUDPListenerAttributeResponse.HealthCheckType           = _ctx.StringValue("DescribeLoadBalancerUDPListenerAttribute.HealthCheckType");
            describeLoadBalancerUDPListenerAttributeResponse.HealthCheckURI            = _ctx.StringValue("DescribeLoadBalancerUDPListenerAttribute.HealthCheckURI");
            describeLoadBalancerUDPListenerAttributeResponse.HealthyThreshold          = _ctx.IntegerValue("DescribeLoadBalancerUDPListenerAttribute.HealthyThreshold");
            describeLoadBalancerUDPListenerAttributeResponse.ListenerPort              = _ctx.IntegerValue("DescribeLoadBalancerUDPListenerAttribute.ListenerPort");
            describeLoadBalancerUDPListenerAttributeResponse.MasterServerGroupId       = _ctx.StringValue("DescribeLoadBalancerUDPListenerAttribute.MasterServerGroupId");
            describeLoadBalancerUDPListenerAttributeResponse.MasterSlaveModeEnabled    = _ctx.BooleanValue("DescribeLoadBalancerUDPListenerAttribute.MasterSlaveModeEnabled");
            describeLoadBalancerUDPListenerAttributeResponse.MasterSlaveServerGroupId  = _ctx.StringValue("DescribeLoadBalancerUDPListenerAttribute.MasterSlaveServerGroupId");
            describeLoadBalancerUDPListenerAttributeResponse.MaxConnection             = _ctx.IntegerValue("DescribeLoadBalancerUDPListenerAttribute.MaxConnection");
            describeLoadBalancerUDPListenerAttributeResponse.PersistenceTimeout        = _ctx.IntegerValue("DescribeLoadBalancerUDPListenerAttribute.PersistenceTimeout");
            describeLoadBalancerUDPListenerAttributeResponse.ProxyProtocolV2Enabled    = _ctx.BooleanValue("DescribeLoadBalancerUDPListenerAttribute.ProxyProtocolV2Enabled");
            describeLoadBalancerUDPListenerAttributeResponse.QuicVersion               = _ctx.StringValue("DescribeLoadBalancerUDPListenerAttribute.QuicVersion");
            describeLoadBalancerUDPListenerAttributeResponse.RequestId                 = _ctx.StringValue("DescribeLoadBalancerUDPListenerAttribute.RequestId");
            describeLoadBalancerUDPListenerAttributeResponse.Scheduler                 = _ctx.StringValue("DescribeLoadBalancerUDPListenerAttribute.Scheduler");
            describeLoadBalancerUDPListenerAttributeResponse.SlaveServerGroupId        = _ctx.StringValue("DescribeLoadBalancerUDPListenerAttribute.SlaveServerGroupId");
            describeLoadBalancerUDPListenerAttributeResponse.Status                    = _ctx.StringValue("DescribeLoadBalancerUDPListenerAttribute.Status");
            describeLoadBalancerUDPListenerAttributeResponse.UnhealthyThreshold        = _ctx.IntegerValue("DescribeLoadBalancerUDPListenerAttribute.UnhealthyThreshold");
            describeLoadBalancerUDPListenerAttributeResponse.VServerGroupId            = _ctx.StringValue("DescribeLoadBalancerUDPListenerAttribute.VServerGroupId");
            describeLoadBalancerUDPListenerAttributeResponse.VpcIds                    = _ctx.StringValue("DescribeLoadBalancerUDPListenerAttribute.VpcIds");
            describeLoadBalancerUDPListenerAttributeResponse.WorkingServerGroupId      = _ctx.StringValue("DescribeLoadBalancerUDPListenerAttribute.WorkingServerGroupId");
            describeLoadBalancerUDPListenerAttributeResponse.HealthCheckSwitch         = _ctx.StringValue("DescribeLoadBalancerUDPListenerAttribute.HealthCheckSwitch");

            List <string> describeLoadBalancerUDPListenerAttributeResponse_aclIds = new List <string>();

            for (int i = 0; i < _ctx.Length("DescribeLoadBalancerUDPListenerAttribute.AclIds.Length"); i++)
            {
                describeLoadBalancerUDPListenerAttributeResponse_aclIds.Add(_ctx.StringValue("DescribeLoadBalancerUDPListenerAttribute.AclIds[" + i + "]"));
            }
            describeLoadBalancerUDPListenerAttributeResponse.AclIds = describeLoadBalancerUDPListenerAttributeResponse_aclIds;

            List <DescribeLoadBalancerUDPListenerAttributeResponse.DescribeLoadBalancerUDPListenerAttribute_PortRange> describeLoadBalancerUDPListenerAttributeResponse_portRanges = new List <DescribeLoadBalancerUDPListenerAttributeResponse.DescribeLoadBalancerUDPListenerAttribute_PortRange>();

            for (int i = 0; i < _ctx.Length("DescribeLoadBalancerUDPListenerAttribute.PortRanges.Length"); i++)
            {
                DescribeLoadBalancerUDPListenerAttributeResponse.DescribeLoadBalancerUDPListenerAttribute_PortRange portRange = new DescribeLoadBalancerUDPListenerAttributeResponse.DescribeLoadBalancerUDPListenerAttribute_PortRange();
                portRange.EndPort   = _ctx.IntegerValue("DescribeLoadBalancerUDPListenerAttribute.PortRanges[" + i + "].EndPort");
                portRange.StartPort = _ctx.IntegerValue("DescribeLoadBalancerUDPListenerAttribute.PortRanges[" + i + "].StartPort");

                describeLoadBalancerUDPListenerAttributeResponse_portRanges.Add(portRange);
            }
            describeLoadBalancerUDPListenerAttributeResponse.PortRanges = describeLoadBalancerUDPListenerAttributeResponse_portRanges;

            return(describeLoadBalancerUDPListenerAttributeResponse);
        }
        public static DescribeSplitItemBillResponse Unmarshall(UnmarshallerContext _ctx)
        {
            DescribeSplitItemBillResponse describeSplitItemBillResponse = new DescribeSplitItemBillResponse();

            describeSplitItemBillResponse.HttpResponse = _ctx.HttpResponse;
            describeSplitItemBillResponse.RequestId    = _ctx.StringValue("DescribeSplitItemBill.RequestId");
            describeSplitItemBillResponse.Success      = _ctx.BooleanValue("DescribeSplitItemBill.Success");
            describeSplitItemBillResponse.Code         = _ctx.StringValue("DescribeSplitItemBill.Code");
            describeSplitItemBillResponse.Message      = _ctx.StringValue("DescribeSplitItemBill.Message");

            DescribeSplitItemBillResponse.DescribeSplitItemBill_Data data = new DescribeSplitItemBillResponse.DescribeSplitItemBill_Data();
            data.BillingCycle = _ctx.StringValue("DescribeSplitItemBill.Data.BillingCycle");
            data.AccountID    = _ctx.StringValue("DescribeSplitItemBill.Data.AccountID");
            data.AccountName  = _ctx.StringValue("DescribeSplitItemBill.Data.AccountName");
            data.TotalCount   = _ctx.IntegerValue("DescribeSplitItemBill.Data.TotalCount");
            data.NextToken    = _ctx.StringValue("DescribeSplitItemBill.Data.NextToken");
            data.MaxResults   = _ctx.IntegerValue("DescribeSplitItemBill.Data.MaxResults");

            List <DescribeSplitItemBillResponse.DescribeSplitItemBill_Data.DescribeSplitItemBill_Item> data_items = new List <DescribeSplitItemBillResponse.DescribeSplitItemBill_Data.DescribeSplitItemBill_Item>();

            for (int i = 0; i < _ctx.Length("DescribeSplitItemBill.Data.Items.Length"); i++)
            {
                DescribeSplitItemBillResponse.DescribeSplitItemBill_Data.DescribeSplitItemBill_Item item = new DescribeSplitItemBillResponse.DescribeSplitItemBill_Data.DescribeSplitItemBill_Item();
                item.InstanceID                = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].InstanceID");
                item.BillingType               = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].BillingType");
                item.CostUnit                  = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].CostUnit");
                item.ProductCode               = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].ProductCode");
                item.ProductType               = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].ProductType");
                item.SubscriptionType          = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].SubscriptionType");
                item.ProductName               = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].ProductName");
                item.ProductDetail             = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].ProductDetail");
                item.OwnerID                   = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].OwnerID");
                item.BillingItem               = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].BillingItem");
                item.ListPrice                 = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].ListPrice");
                item.ListPriceUnit             = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].ListPriceUnit");
                item.Usage                     = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].Usage");
                item.UsageUnit                 = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].UsageUnit");
                item.DeductedByResourcePackage = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].DeductedByResourcePackage");
                item.PretaxGrossAmount         = _ctx.FloatValue("DescribeSplitItemBill.Data.Items[" + i + "].PretaxGrossAmount");
                item.InvoiceDiscount           = _ctx.FloatValue("DescribeSplitItemBill.Data.Items[" + i + "].InvoiceDiscount");
                item.DeductedByCoupons         = _ctx.FloatValue("DescribeSplitItemBill.Data.Items[" + i + "].DeductedByCoupons");
                item.PretaxAmount              = _ctx.FloatValue("DescribeSplitItemBill.Data.Items[" + i + "].PretaxAmount");
                item.DeductedByCashCoupons     = _ctx.FloatValue("DescribeSplitItemBill.Data.Items[" + i + "].DeductedByCashCoupons");
                item.DeductedByPrepaidCard     = _ctx.FloatValue("DescribeSplitItemBill.Data.Items[" + i + "].DeductedByPrepaidCard");
                item.PaymentAmount             = _ctx.FloatValue("DescribeSplitItemBill.Data.Items[" + i + "].PaymentAmount");
                item.OutstandingAmount         = _ctx.FloatValue("DescribeSplitItemBill.Data.Items[" + i + "].OutstandingAmount");
                item.Currency                  = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].Currency");
                item.NickName                  = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].NickName");
                item.ResourceGroup             = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].ResourceGroup");
                item.Tag                = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].Tag");
                item.InstanceConfig     = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].InstanceConfig");
                item.InstanceSpec       = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].InstanceSpec");
                item.InternetIP         = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].InternetIP");
                item.IntranetIP         = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].IntranetIP");
                item.Region             = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].Region");
                item.Zone               = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].Zone");
                item.Item               = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].Item");
                item.ServicePeriod      = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].ServicePeriod");
                item.BillingDate        = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].BillingDate");
                item.SplitItemID        = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].SplitItemID");
                item.SplitItemName      = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].SplitItemName");
                item.PipCode            = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].PipCode");
                item.CommodityCode      = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].CommodityCode");
                item.ServicePeriodUnit  = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].ServicePeriodUnit");
                item.SplitCommodityCode = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].SplitCommodityCode");
                item.SplitProductDetail = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].SplitProductDetail");
                item.SplitAccountID     = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].SplitAccountID");
                item.SplitAccountName   = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].SplitAccountName");
                item.SplitBillingCycle  = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].SplitBillingCycle");
                item.SplitBillingDate   = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].SplitBillingDate");
                item.BizType            = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].BizType");
                item.BillAccountID      = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].BillAccountID");
                item.BillAccountName    = _ctx.StringValue("DescribeSplitItemBill.Data.Items[" + i + "].BillAccountName");

                data_items.Add(item);
            }
            data.Items = data_items;
            describeSplitItemBillResponse.Data = data;

            return(describeSplitItemBillResponse);
        }
示例#43
0
        public static DescribeRenewalPriceResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeRenewalPriceResponse describeRenewalPriceResponse = new DescribeRenewalPriceResponse();

            describeRenewalPriceResponse.HttpResponse = context.HttpResponse;
            describeRenewalPriceResponse.RequestId    = context.StringValue("DescribeRenewalPrice.RequestId");

            DescribeRenewalPriceResponse.DescribeRenewalPrice_Order order = new DescribeRenewalPriceResponse.DescribeRenewalPrice_Order();
            order.OriginalAmount = context.FloatValue("DescribeRenewalPrice.Order.OriginalAmount");
            order.TradeAmount    = context.FloatValue("DescribeRenewalPrice.Order.TradeAmount");
            order.DiscountAmount = context.FloatValue("DescribeRenewalPrice.Order.DiscountAmount");
            order.Currency       = context.StringValue("DescribeRenewalPrice.Order.Currency");

            List <string> order_ruleIds1 = new List <string>();

            for (int i = 0; i < context.Length("DescribeRenewalPrice.Order.RuleIds.Length"); i++)
            {
                order_ruleIds1.Add(context.StringValue("DescribeRenewalPrice.Order.RuleIds[" + i + "]"));
            }
            order.RuleIds1 = order_ruleIds1;

            List <DescribeRenewalPriceResponse.DescribeRenewalPrice_Order.DescribeRenewalPrice_Coupon> order_coupons = new List <DescribeRenewalPriceResponse.DescribeRenewalPrice_Order.DescribeRenewalPrice_Coupon>();

            for (int i = 0; i < context.Length("DescribeRenewalPrice.Order.Coupons.Length"); i++)
            {
                DescribeRenewalPriceResponse.DescribeRenewalPrice_Order.DescribeRenewalPrice_Coupon coupon = new DescribeRenewalPriceResponse.DescribeRenewalPrice_Order.DescribeRenewalPrice_Coupon();
                coupon.CouponNo    = context.StringValue("DescribeRenewalPrice.Order.Coupons[" + i + "].CouponNo");
                coupon.Name        = context.StringValue("DescribeRenewalPrice.Order.Coupons[" + i + "].Name");
                coupon.Description = context.StringValue("DescribeRenewalPrice.Order.Coupons[" + i + "].Description");
                coupon.IsSelected  = context.StringValue("DescribeRenewalPrice.Order.Coupons[" + i + "].IsSelected");

                order_coupons.Add(coupon);
            }
            order.Coupons = order_coupons;
            describeRenewalPriceResponse.Order = order;

            List <DescribeRenewalPriceResponse.DescribeRenewalPrice_Rule> describeRenewalPriceResponse_rules = new List <DescribeRenewalPriceResponse.DescribeRenewalPrice_Rule>();

            for (int i = 0; i < context.Length("DescribeRenewalPrice.Rules.Length"); i++)
            {
                DescribeRenewalPriceResponse.DescribeRenewalPrice_Rule rule = new DescribeRenewalPriceResponse.DescribeRenewalPrice_Rule();
                rule.RuleDescId = context.LongValue("DescribeRenewalPrice.Rules[" + i + "].RuleDescId");
                rule.Name       = context.StringValue("DescribeRenewalPrice.Rules[" + i + "].Name");
                rule.Title      = context.StringValue("DescribeRenewalPrice.Rules[" + i + "].Title");

                describeRenewalPriceResponse_rules.Add(rule);
            }
            describeRenewalPriceResponse.Rules = describeRenewalPriceResponse_rules;

            List <DescribeRenewalPriceResponse.DescribeRenewalPrice_SubOrder> describeRenewalPriceResponse_subOrders = new List <DescribeRenewalPriceResponse.DescribeRenewalPrice_SubOrder>();

            for (int i = 0; i < context.Length("DescribeRenewalPrice.SubOrders.Length"); i++)
            {
                DescribeRenewalPriceResponse.DescribeRenewalPrice_SubOrder subOrder = new DescribeRenewalPriceResponse.DescribeRenewalPrice_SubOrder();
                subOrder.OriginalAmount = context.FloatValue("DescribeRenewalPrice.SubOrders[" + i + "].OriginalAmount");
                subOrder.TradeAmount    = context.FloatValue("DescribeRenewalPrice.SubOrders[" + i + "].TradeAmount");
                subOrder.DiscountAmount = context.FloatValue("DescribeRenewalPrice.SubOrders[" + i + "].DiscountAmount");
                subOrder.InstanceId     = context.StringValue("DescribeRenewalPrice.SubOrders[" + i + "].InstanceId");

                List <string> subOrder_ruleIds = new List <string>();
                for (int j = 0; j < context.Length("DescribeRenewalPrice.SubOrders[" + i + "].RuleIds.Length"); j++)
                {
                    subOrder_ruleIds.Add(context.StringValue("DescribeRenewalPrice.SubOrders[" + i + "].RuleIds[" + j + "]"));
                }
                subOrder.RuleIds = subOrder_ruleIds;

                describeRenewalPriceResponse_subOrders.Add(subOrder);
            }
            describeRenewalPriceResponse.SubOrders = describeRenewalPriceResponse_subOrders;

            return(describeRenewalPriceResponse);
        }
        public static DescribeScalingConfigurationsResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeScalingConfigurationsResponse describeScalingConfigurationsResponse = new DescribeScalingConfigurationsResponse();

            describeScalingConfigurationsResponse.HttpResponse = context.HttpResponse;
            describeScalingConfigurationsResponse.TotalCount   = context.IntegerValue("DescribeScalingConfigurations.TotalCount");
            describeScalingConfigurationsResponse.PageNumber   = context.IntegerValue("DescribeScalingConfigurations.PageNumber");
            describeScalingConfigurationsResponse.PageSize     = context.IntegerValue("DescribeScalingConfigurations.PageSize");
            describeScalingConfigurationsResponse.RequestId    = context.StringValue("DescribeScalingConfigurations.RequestId");

            List <DescribeScalingConfigurationsResponse.DescribeScalingConfigurations_ScalingConfiguration> describeScalingConfigurationsResponse_scalingConfigurations = new List <DescribeScalingConfigurationsResponse.DescribeScalingConfigurations_ScalingConfiguration>();

            for (int i = 0; i < context.Length("DescribeScalingConfigurations.ScalingConfigurations.Length"); i++)
            {
                DescribeScalingConfigurationsResponse.DescribeScalingConfigurations_ScalingConfiguration scalingConfiguration = new DescribeScalingConfigurationsResponse.DescribeScalingConfigurations_ScalingConfiguration();
                scalingConfiguration.ScalingConfigurationId   = context.StringValue("DescribeScalingConfigurations.ScalingConfigurations[" + i + "].ScalingConfigurationId");
                scalingConfiguration.ScalingConfigurationName = context.StringValue("DescribeScalingConfigurations.ScalingConfigurations[" + i + "].ScalingConfigurationName");
                scalingConfiguration.ScalingGroupId           = context.StringValue("DescribeScalingConfigurations.ScalingConfigurations[" + i + "].ScalingGroupId");
                scalingConfiguration.ImageId                     = context.StringValue("DescribeScalingConfigurations.ScalingConfigurations[" + i + "].ImageId");
                scalingConfiguration.InstanceType                = context.StringValue("DescribeScalingConfigurations.ScalingConfigurations[" + i + "].InstanceType");
                scalingConfiguration.InstanceGeneration          = context.StringValue("DescribeScalingConfigurations.ScalingConfigurations[" + i + "].InstanceGeneration");
                scalingConfiguration.SecurityGroupId             = context.StringValue("DescribeScalingConfigurations.ScalingConfigurations[" + i + "].SecurityGroupId");
                scalingConfiguration.IoOptimized                 = context.StringValue("DescribeScalingConfigurations.ScalingConfigurations[" + i + "].IoOptimized");
                scalingConfiguration.InternetChargeType          = context.StringValue("DescribeScalingConfigurations.ScalingConfigurations[" + i + "].InternetChargeType");
                scalingConfiguration.InternetMaxBandwidthIn      = context.IntegerValue("DescribeScalingConfigurations.ScalingConfigurations[" + i + "].InternetMaxBandwidthIn");
                scalingConfiguration.InternetMaxBandwidthOut     = context.IntegerValue("DescribeScalingConfigurations.ScalingConfigurations[" + i + "].InternetMaxBandwidthOut");
                scalingConfiguration.SystemDiskCategory          = context.StringValue("DescribeScalingConfigurations.ScalingConfigurations[" + i + "].SystemDiskCategory");
                scalingConfiguration.SystemDiskSize              = context.IntegerValue("DescribeScalingConfigurations.ScalingConfigurations[" + i + "].SystemDiskSize");
                scalingConfiguration.LifecycleState              = context.StringValue("DescribeScalingConfigurations.ScalingConfigurations[" + i + "].LifecycleState");
                scalingConfiguration.CreationTime                = context.StringValue("DescribeScalingConfigurations.ScalingConfigurations[" + i + "].CreationTime");
                scalingConfiguration.LoadBalancerWeight          = context.IntegerValue("DescribeScalingConfigurations.ScalingConfigurations[" + i + "].LoadBalancerWeight");
                scalingConfiguration.UserData                    = context.StringValue("DescribeScalingConfigurations.ScalingConfigurations[" + i + "].UserData");
                scalingConfiguration.KeyPairName                 = context.StringValue("DescribeScalingConfigurations.ScalingConfigurations[" + i + "].KeyPairName");
                scalingConfiguration.RamRoleName                 = context.StringValue("DescribeScalingConfigurations.ScalingConfigurations[" + i + "].RamRoleName");
                scalingConfiguration.DeploymentSetId             = context.StringValue("DescribeScalingConfigurations.ScalingConfigurations[" + i + "].DeploymentSetId");
                scalingConfiguration.SecurityEnhancementStrategy = context.StringValue("DescribeScalingConfigurations.ScalingConfigurations[" + i + "].SecurityEnhancementStrategy");

                List <DescribeScalingConfigurationsResponse.DescribeScalingConfigurations_ScalingConfiguration.DescribeScalingConfigurations_DataDisk> scalingConfiguration_dataDisks = new List <DescribeScalingConfigurationsResponse.DescribeScalingConfigurations_ScalingConfiguration.DescribeScalingConfigurations_DataDisk>();
                for (int j = 0; j < context.Length("DescribeScalingConfigurations.ScalingConfigurations[" + i + "].DataDisks.Length"); j++)
                {
                    DescribeScalingConfigurationsResponse.DescribeScalingConfigurations_ScalingConfiguration.DescribeScalingConfigurations_DataDisk dataDisk = new DescribeScalingConfigurationsResponse.DescribeScalingConfigurations_ScalingConfiguration.DescribeScalingConfigurations_DataDisk();
                    dataDisk.Size       = context.IntegerValue("DescribeScalingConfigurations.ScalingConfigurations[" + i + "].DataDisks[" + j + "].Size");
                    dataDisk.Category   = context.StringValue("DescribeScalingConfigurations.ScalingConfigurations[" + i + "].DataDisks[" + j + "].Category");
                    dataDisk.SnapshotId = context.StringValue("DescribeScalingConfigurations.ScalingConfigurations[" + i + "].DataDisks[" + j + "].SnapshotId");
                    dataDisk.Device     = context.StringValue("DescribeScalingConfigurations.ScalingConfigurations[" + i + "].DataDisks[" + j + "].Device");

                    scalingConfiguration_dataDisks.Add(dataDisk);
                }
                scalingConfiguration.DataDisks = scalingConfiguration_dataDisks;

                List <DescribeScalingConfigurationsResponse.DescribeScalingConfigurations_ScalingConfiguration.DescribeScalingConfigurations_Tag> scalingConfiguration_tags = new List <DescribeScalingConfigurationsResponse.DescribeScalingConfigurations_ScalingConfiguration.DescribeScalingConfigurations_Tag>();
                for (int j = 0; j < context.Length("DescribeScalingConfigurations.ScalingConfigurations[" + i + "].Tags.Length"); j++)
                {
                    DescribeScalingConfigurationsResponse.DescribeScalingConfigurations_ScalingConfiguration.DescribeScalingConfigurations_Tag tag = new DescribeScalingConfigurationsResponse.DescribeScalingConfigurations_ScalingConfiguration.DescribeScalingConfigurations_Tag();
                    tag.Key    = context.StringValue("DescribeScalingConfigurations.ScalingConfigurations[" + i + "].Tags[" + j + "].Key");
                    tag._Value = context.StringValue("DescribeScalingConfigurations.ScalingConfigurations[" + i + "].Tags[" + j + "].Value");

                    scalingConfiguration_tags.Add(tag);
                }
                scalingConfiguration.Tags = scalingConfiguration_tags;

                describeScalingConfigurationsResponse_scalingConfigurations.Add(scalingConfiguration);
            }
            describeScalingConfigurationsResponse.ScalingConfigurations = describeScalingConfigurationsResponse_scalingConfigurations;

            return(describeScalingConfigurationsResponse);
        }
        public static ListEmrMainVersionResponse Unmarshall(UnmarshallerContext _ctx)
        {
            ListEmrMainVersionResponse listEmrMainVersionResponse = new ListEmrMainVersionResponse();

            listEmrMainVersionResponse.HttpResponse = _ctx.HttpResponse;
            listEmrMainVersionResponse.RequestId    = _ctx.StringValue("ListEmrMainVersion.RequestId");
            listEmrMainVersionResponse.TotalCount   = _ctx.IntegerValue("ListEmrMainVersion.TotalCount");
            listEmrMainVersionResponse.PageNumber   = _ctx.IntegerValue("ListEmrMainVersion.PageNumber");
            listEmrMainVersionResponse.PageSize     = _ctx.IntegerValue("ListEmrMainVersion.PageSize");

            List <ListEmrMainVersionResponse.ListEmrMainVersion_EmrMainVersion> listEmrMainVersionResponse_emrMainVersionList = new List <ListEmrMainVersionResponse.ListEmrMainVersion_EmrMainVersion>();

            for (int i = 0; i < _ctx.Length("ListEmrMainVersion.EmrMainVersionList.Length"); i++)
            {
                ListEmrMainVersionResponse.ListEmrMainVersion_EmrMainVersion emrMainVersion = new ListEmrMainVersionResponse.ListEmrMainVersion_EmrMainVersion();
                emrMainVersion.RegionId     = _ctx.StringValue("ListEmrMainVersion.EmrMainVersionList[" + i + "].RegionId");
                emrMainVersion.EmrVersion   = _ctx.StringValue("ListEmrMainVersion.EmrMainVersionList[" + i + "].EmrVersion");
                emrMainVersion.EcmVersion   = _ctx.BooleanValue("ListEmrMainVersion.EmrMainVersionList[" + i + "].EcmVersion");
                emrMainVersion.ImageId      = _ctx.StringValue("ListEmrMainVersion.EmrMainVersionList[" + i + "].ImageId");
                emrMainVersion.Display      = _ctx.BooleanValue("ListEmrMainVersion.EmrMainVersionList[" + i + "].Display");
                emrMainVersion.StackName    = _ctx.StringValue("ListEmrMainVersion.EmrMainVersionList[" + i + "].StackName");
                emrMainVersion.StackVersion = _ctx.StringValue("ListEmrMainVersion.EmrMainVersionList[" + i + "].StackVersion");
                emrMainVersion.PublishType  = _ctx.StringValue("ListEmrMainVersion.EmrMainVersionList[" + i + "].PublishType");

                List <string> emrMainVersion_whiteUserList = new List <string>();
                for (int j = 0; j < _ctx.Length("ListEmrMainVersion.EmrMainVersionList[" + i + "].WhiteUserList.Length"); j++)
                {
                    emrMainVersion_whiteUserList.Add(_ctx.StringValue("ListEmrMainVersion.EmrMainVersionList[" + i + "].WhiteUserList[" + j + "]"));
                }
                emrMainVersion.WhiteUserList = emrMainVersion_whiteUserList;

                List <ListEmrMainVersionResponse.ListEmrMainVersion_EmrMainVersion.ListEmrMainVersion_ClusterTypeInfo> emrMainVersion_clusterTypeInfoList = new List <ListEmrMainVersionResponse.ListEmrMainVersion_EmrMainVersion.ListEmrMainVersion_ClusterTypeInfo>();
                for (int j = 0; j < _ctx.Length("ListEmrMainVersion.EmrMainVersionList[" + i + "].ClusterTypeInfoList.Length"); j++)
                {
                    ListEmrMainVersionResponse.ListEmrMainVersion_EmrMainVersion.ListEmrMainVersion_ClusterTypeInfo clusterTypeInfo = new ListEmrMainVersionResponse.ListEmrMainVersion_EmrMainVersion.ListEmrMainVersion_ClusterTypeInfo();
                    clusterTypeInfo.ClusterType = _ctx.StringValue("ListEmrMainVersion.EmrMainVersionList[" + i + "].ClusterTypeInfoList[" + j + "].ClusterType");

                    List <ListEmrMainVersionResponse.ListEmrMainVersion_EmrMainVersion.ListEmrMainVersion_ClusterTypeInfo.ListEmrMainVersion_ServiceInfo> clusterTypeInfo_serviceInfoList = new List <ListEmrMainVersionResponse.ListEmrMainVersion_EmrMainVersion.ListEmrMainVersion_ClusterTypeInfo.ListEmrMainVersion_ServiceInfo>();
                    for (int k = 0; k < _ctx.Length("ListEmrMainVersion.EmrMainVersionList[" + i + "].ClusterTypeInfoList[" + j + "].ServiceInfoList.Length"); k++)
                    {
                        ListEmrMainVersionResponse.ListEmrMainVersion_EmrMainVersion.ListEmrMainVersion_ClusterTypeInfo.ListEmrMainVersion_ServiceInfo serviceInfo = new ListEmrMainVersionResponse.ListEmrMainVersion_EmrMainVersion.ListEmrMainVersion_ClusterTypeInfo.ListEmrMainVersion_ServiceInfo();
                        serviceInfo.ServiceName           = _ctx.StringValue("ListEmrMainVersion.EmrMainVersionList[" + i + "].ClusterTypeInfoList[" + j + "].ServiceInfoList[" + k + "].ServiceName");
                        serviceInfo.ServiceDisplayName    = _ctx.StringValue("ListEmrMainVersion.EmrMainVersionList[" + i + "].ClusterTypeInfoList[" + j + "].ServiceInfoList[" + k + "].ServiceDisplayName");
                        serviceInfo.ServiceVersion        = _ctx.StringValue("ListEmrMainVersion.EmrMainVersionList[" + i + "].ClusterTypeInfoList[" + j + "].ServiceInfoList[" + k + "].ServiceVersion");
                        serviceInfo.ServiceDisplayVersion = _ctx.StringValue("ListEmrMainVersion.EmrMainVersionList[" + i + "].ClusterTypeInfoList[" + j + "].ServiceInfoList[" + k + "].ServiceDisplayVersion");
                        serviceInfo.Mandatory             = _ctx.BooleanValue("ListEmrMainVersion.EmrMainVersionList[" + i + "].ClusterTypeInfoList[" + j + "].ServiceInfoList[" + k + "].Mandatory");
                        serviceInfo.Display = _ctx.BooleanValue("ListEmrMainVersion.EmrMainVersionList[" + i + "].ClusterTypeInfoList[" + j + "].ServiceInfoList[" + k + "].Display");

                        clusterTypeInfo_serviceInfoList.Add(serviceInfo);
                    }
                    clusterTypeInfo.ServiceInfoList = clusterTypeInfo_serviceInfoList;

                    emrMainVersion_clusterTypeInfoList.Add(clusterTypeInfo);
                }
                emrMainVersion.ClusterTypeInfoList = emrMainVersion_clusterTypeInfoList;

                List <ListEmrMainVersionResponse.ListEmrMainVersion_EmrMainVersion.ListEmrMainVersion_ClusterTypeWhiteUser> emrMainVersion_clusterTypeWhiteUserList = new List <ListEmrMainVersionResponse.ListEmrMainVersion_EmrMainVersion.ListEmrMainVersion_ClusterTypeWhiteUser>();
                for (int j = 0; j < _ctx.Length("ListEmrMainVersion.EmrMainVersionList[" + i + "].ClusterTypeWhiteUserList.Length"); j++)
                {
                    ListEmrMainVersionResponse.ListEmrMainVersion_EmrMainVersion.ListEmrMainVersion_ClusterTypeWhiteUser clusterTypeWhiteUser = new ListEmrMainVersionResponse.ListEmrMainVersion_EmrMainVersion.ListEmrMainVersion_ClusterTypeWhiteUser();
                    clusterTypeWhiteUser.ClusterType = _ctx.StringValue("ListEmrMainVersion.EmrMainVersionList[" + i + "].ClusterTypeWhiteUserList[" + j + "].ClusterType");
                    clusterTypeWhiteUser.UserId      = _ctx.StringValue("ListEmrMainVersion.EmrMainVersionList[" + i + "].ClusterTypeWhiteUserList[" + j + "].UserId");

                    emrMainVersion_clusterTypeWhiteUserList.Add(clusterTypeWhiteUser);
                }
                emrMainVersion.ClusterTypeWhiteUserList = emrMainVersion_clusterTypeWhiteUserList;

                listEmrMainVersionResponse_emrMainVersionList.Add(emrMainVersion);
            }
            listEmrMainVersionResponse.EmrMainVersionList = listEmrMainVersionResponse_emrMainVersionList;

            return(listEmrMainVersionResponse);
        }
        public static DescribeDomainConfigsResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeDomainConfigsResponse describeDomainConfigsResponse = new DescribeDomainConfigsResponse();

            describeDomainConfigsResponse.HttpResponse = context.HttpResponse;
            describeDomainConfigsResponse.RequestId    = context.StringValue("DescribeDomainConfigs.RequestId");

            DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs domainConfigs = new DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs();

            DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_CcConfig ccConfig = new DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_CcConfig();
            ccConfig.ConfigId      = context.StringValue("DescribeDomainConfigs.DomainConfigs.CcConfig.ConfigId");
            ccConfig.Enable        = context.StringValue("DescribeDomainConfigs.DomainConfigs.CcConfig.Enable");
            ccConfig.AllowIps      = context.StringValue("DescribeDomainConfigs.DomainConfigs.CcConfig.AllowIps");
            ccConfig.BlockIps      = context.StringValue("DescribeDomainConfigs.DomainConfigs.CcConfig.BlockIps");
            ccConfig.Status        = context.StringValue("DescribeDomainConfigs.DomainConfigs.CcConfig.Status");
            domainConfigs.CcConfig = ccConfig;

            DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_ErrorPageConfig errorPageConfig = new DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_ErrorPageConfig();
            errorPageConfig.ConfigId      = context.StringValue("DescribeDomainConfigs.DomainConfigs.ErrorPageConfig.ConfigId");
            errorPageConfig.ErrorCode     = context.StringValue("DescribeDomainConfigs.DomainConfigs.ErrorPageConfig.ErrorCode");
            errorPageConfig.PageType      = context.StringValue("DescribeDomainConfigs.DomainConfigs.ErrorPageConfig.PageType");
            errorPageConfig.CustomPageUrl = context.StringValue("DescribeDomainConfigs.DomainConfigs.ErrorPageConfig.CustomPageUrl");
            errorPageConfig.Status        = context.StringValue("DescribeDomainConfigs.DomainConfigs.ErrorPageConfig.Status");
            domainConfigs.ErrorPageConfig = errorPageConfig;

            DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_OptimizeConfig optimizeConfig = new DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_OptimizeConfig();
            optimizeConfig.ConfigId      = context.StringValue("DescribeDomainConfigs.DomainConfigs.OptimizeConfig.ConfigId");
            optimizeConfig.Enable        = context.StringValue("DescribeDomainConfigs.DomainConfigs.OptimizeConfig.Enable");
            optimizeConfig.Status        = context.StringValue("DescribeDomainConfigs.DomainConfigs.OptimizeConfig.Status");
            domainConfigs.OptimizeConfig = optimizeConfig;

            DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_PageCompressConfig pageCompressConfig = new DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_PageCompressConfig();
            pageCompressConfig.ConfigId      = context.StringValue("DescribeDomainConfigs.DomainConfigs.PageCompressConfig.ConfigId");
            pageCompressConfig.Enable        = context.StringValue("DescribeDomainConfigs.DomainConfigs.PageCompressConfig.Enable");
            pageCompressConfig.Status        = context.StringValue("DescribeDomainConfigs.DomainConfigs.PageCompressConfig.Status");
            domainConfigs.PageCompressConfig = pageCompressConfig;

            DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_IgnoreQueryStringConfig ignoreQueryStringConfig = new DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_IgnoreQueryStringConfig();
            ignoreQueryStringConfig.ConfigId      = context.StringValue("DescribeDomainConfigs.DomainConfigs.IgnoreQueryStringConfig.ConfigId");
            ignoreQueryStringConfig.HashKeyArgs   = context.StringValue("DescribeDomainConfigs.DomainConfigs.IgnoreQueryStringConfig.HashKeyArgs");
            ignoreQueryStringConfig.Enable        = context.StringValue("DescribeDomainConfigs.DomainConfigs.IgnoreQueryStringConfig.Enable");
            ignoreQueryStringConfig.Status        = context.StringValue("DescribeDomainConfigs.DomainConfigs.IgnoreQueryStringConfig.Status");
            domainConfigs.IgnoreQueryStringConfig = ignoreQueryStringConfig;

            DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_RangeConfig rangeConfig = new DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_RangeConfig();
            rangeConfig.ConfigId      = context.StringValue("DescribeDomainConfigs.DomainConfigs.RangeConfig.ConfigId");
            rangeConfig.Enable        = context.StringValue("DescribeDomainConfigs.DomainConfigs.RangeConfig.Enable");
            rangeConfig.Status        = context.StringValue("DescribeDomainConfigs.DomainConfigs.RangeConfig.Status");
            domainConfigs.RangeConfig = rangeConfig;

            DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_RefererConfig refererConfig = new DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_RefererConfig();
            refererConfig.ConfigId      = context.StringValue("DescribeDomainConfigs.DomainConfigs.RefererConfig.ConfigId");
            refererConfig.ReferType     = context.StringValue("DescribeDomainConfigs.DomainConfigs.RefererConfig.ReferType");
            refererConfig.ReferList     = context.StringValue("DescribeDomainConfigs.DomainConfigs.RefererConfig.ReferList");
            refererConfig.AllowEmpty    = context.StringValue("DescribeDomainConfigs.DomainConfigs.RefererConfig.AllowEmpty");
            refererConfig.DisableAst    = context.StringValue("DescribeDomainConfigs.DomainConfigs.RefererConfig.DisableAst");
            refererConfig.Status        = context.StringValue("DescribeDomainConfigs.DomainConfigs.RefererConfig.Status");
            domainConfigs.RefererConfig = refererConfig;

            DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_ReqAuthConfig reqAuthConfig = new DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_ReqAuthConfig();
            reqAuthConfig.ConfigId         = context.StringValue("DescribeDomainConfigs.DomainConfigs.ReqAuthConfig.ConfigId");
            reqAuthConfig.AuthType         = context.StringValue("DescribeDomainConfigs.DomainConfigs.ReqAuthConfig.AuthType");
            reqAuthConfig.Key1             = context.StringValue("DescribeDomainConfigs.DomainConfigs.ReqAuthConfig.Key1");
            reqAuthConfig.Key2             = context.StringValue("DescribeDomainConfigs.DomainConfigs.ReqAuthConfig.Key2");
            reqAuthConfig.Status           = context.StringValue("DescribeDomainConfigs.DomainConfigs.ReqAuthConfig.Status");
            reqAuthConfig.AliAuthWhiteList = context.StringValue("DescribeDomainConfigs.DomainConfigs.ReqAuthConfig.AliAuthWhiteList");
            reqAuthConfig.AuthM3u8         = context.StringValue("DescribeDomainConfigs.DomainConfigs.ReqAuthConfig.AuthM3u8");
            reqAuthConfig.AuthAddr         = context.StringValue("DescribeDomainConfigs.DomainConfigs.ReqAuthConfig.AuthAddr");
            reqAuthConfig.AuthRemoteDesc   = context.StringValue("DescribeDomainConfigs.DomainConfigs.ReqAuthConfig.AuthRemoteDesc");
            reqAuthConfig.TimeOut          = context.StringValue("DescribeDomainConfigs.DomainConfigs.ReqAuthConfig.TimeOut");
            domainConfigs.ReqAuthConfig    = reqAuthConfig;

            DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_SrcHostConfig srcHostConfig = new DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_SrcHostConfig();
            srcHostConfig.ConfigId      = context.StringValue("DescribeDomainConfigs.DomainConfigs.SrcHostConfig.ConfigId");
            srcHostConfig.DomainName    = context.StringValue("DescribeDomainConfigs.DomainConfigs.SrcHostConfig.DomainName");
            srcHostConfig.Status        = context.StringValue("DescribeDomainConfigs.DomainConfigs.SrcHostConfig.Status");
            domainConfigs.SrcHostConfig = srcHostConfig;

            DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_VideoSeekConfig videoSeekConfig = new DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_VideoSeekConfig();
            videoSeekConfig.ConfigId      = context.StringValue("DescribeDomainConfigs.DomainConfigs.VideoSeekConfig.ConfigId");
            videoSeekConfig.Enable        = context.StringValue("DescribeDomainConfigs.DomainConfigs.VideoSeekConfig.Enable");
            videoSeekConfig.Status        = context.StringValue("DescribeDomainConfigs.DomainConfigs.VideoSeekConfig.Status");
            domainConfigs.VideoSeekConfig = videoSeekConfig;

            DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_WafConfig wafConfig = new DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_WafConfig();
            wafConfig.ConfigId      = context.StringValue("DescribeDomainConfigs.DomainConfigs.WafConfig.ConfigId");
            wafConfig.Enable        = context.StringValue("DescribeDomainConfigs.DomainConfigs.WafConfig.Enable");
            wafConfig.Status        = context.StringValue("DescribeDomainConfigs.DomainConfigs.WafConfig.Status");
            domainConfigs.WafConfig = wafConfig;

            DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_NotifyUrlConfig notifyUrlConfig = new DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_NotifyUrlConfig();
            notifyUrlConfig.Enable        = context.StringValue("DescribeDomainConfigs.DomainConfigs.NotifyUrlConfig.Enable");
            notifyUrlConfig.NotifyUrl     = context.StringValue("DescribeDomainConfigs.DomainConfigs.NotifyUrlConfig.NotifyUrl");
            domainConfigs.NotifyUrlConfig = notifyUrlConfig;

            DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_RedirectTypeConfig redirectTypeConfig = new DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_RedirectTypeConfig();
            redirectTypeConfig.RedirectType  = context.StringValue("DescribeDomainConfigs.DomainConfigs.RedirectTypeConfig.RedirectType");
            domainConfigs.RedirectTypeConfig = redirectTypeConfig;

            DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_ForwardSchemeConfig forwardSchemeConfig = new DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_ForwardSchemeConfig();
            forwardSchemeConfig.ConfigId         = context.StringValue("DescribeDomainConfigs.DomainConfigs.ForwardSchemeConfig.ConfigId");
            forwardSchemeConfig.Enable           = context.StringValue("DescribeDomainConfigs.DomainConfigs.ForwardSchemeConfig.Enable");
            forwardSchemeConfig.SchemeOrigin     = context.StringValue("DescribeDomainConfigs.DomainConfigs.ForwardSchemeConfig.SchemeOrigin");
            forwardSchemeConfig.SchemeOriginPort = context.StringValue("DescribeDomainConfigs.DomainConfigs.ForwardSchemeConfig.SchemeOriginPort");
            forwardSchemeConfig.Status           = context.StringValue("DescribeDomainConfigs.DomainConfigs.ForwardSchemeConfig.Status");
            domainConfigs.ForwardSchemeConfig    = forwardSchemeConfig;

            DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_RemoveQueryStringConfig removeQueryStringConfig = new DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_RemoveQueryStringConfig();
            removeQueryStringConfig.AliRemoveArgs = context.StringValue("DescribeDomainConfigs.DomainConfigs.RemoveQueryStringConfig.AliRemoveArgs");
            removeQueryStringConfig.ConfigId      = context.StringValue("DescribeDomainConfigs.DomainConfigs.RemoveQueryStringConfig.ConfigId");
            removeQueryStringConfig.Status        = context.StringValue("DescribeDomainConfigs.DomainConfigs.RemoveQueryStringConfig.Status");
            domainConfigs.RemoveQueryStringConfig = removeQueryStringConfig;

            DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_L2OssKeyConfig l2OssKeyConfig = new DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_L2OssKeyConfig();
            l2OssKeyConfig.PrivateOssAuth = context.StringValue("DescribeDomainConfigs.DomainConfigs.L2OssKeyConfig.PrivateOssAuth");
            l2OssKeyConfig.ConfigId       = context.StringValue("DescribeDomainConfigs.DomainConfigs.L2OssKeyConfig.ConfigId");
            l2OssKeyConfig.Status         = context.StringValue("DescribeDomainConfigs.DomainConfigs.L2OssKeyConfig.Status");
            domainConfigs.L2OssKeyConfig  = l2OssKeyConfig;

            DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_MacServiceConfig macServiceConfig = new DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_MacServiceConfig();
            macServiceConfig.AppList       = context.StringValue("DescribeDomainConfigs.DomainConfigs.MacServiceConfig.AppList");
            macServiceConfig.Enabled       = context.StringValue("DescribeDomainConfigs.DomainConfigs.MacServiceConfig.Enabled");
            macServiceConfig.ProcessResult = context.StringValue("DescribeDomainConfigs.DomainConfigs.MacServiceConfig.ProcessResult");
            macServiceConfig.ConfigId      = context.StringValue("DescribeDomainConfigs.DomainConfigs.MacServiceConfig.ConfigId");
            macServiceConfig.Status        = context.StringValue("DescribeDomainConfigs.DomainConfigs.MacServiceConfig.Status");
            domainConfigs.MacServiceConfig = macServiceConfig;

            DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_GreenManagerConfig greenManagerConfig = new DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_GreenManagerConfig();
            greenManagerConfig.Enabled       = context.StringValue("DescribeDomainConfigs.DomainConfigs.GreenManagerConfig.Enabled");
            greenManagerConfig.ConfigId      = context.StringValue("DescribeDomainConfigs.DomainConfigs.GreenManagerConfig.ConfigId");
            greenManagerConfig.Status        = context.StringValue("DescribeDomainConfigs.DomainConfigs.GreenManagerConfig.Status");
            domainConfigs.GreenManagerConfig = greenManagerConfig;

            DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_HttpsOptionConfig httpsOptionConfig = new DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_HttpsOptionConfig();
            httpsOptionConfig.Http2         = context.StringValue("DescribeDomainConfigs.DomainConfigs.HttpsOptionConfig.Http2");
            httpsOptionConfig.ConfigId      = context.StringValue("DescribeDomainConfigs.DomainConfigs.HttpsOptionConfig.ConfigId");
            httpsOptionConfig.Status        = context.StringValue("DescribeDomainConfigs.DomainConfigs.HttpsOptionConfig.Status");
            domainConfigs.HttpsOptionConfig = httpsOptionConfig;

            DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_AliBusinessConfig aliBusinessConfig = new DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_AliBusinessConfig();
            aliBusinessConfig.AliBusinessTable = context.StringValue("DescribeDomainConfigs.DomainConfigs.AliBusinessConfig.AliBusinessTable");
            aliBusinessConfig.AliBusinessType  = context.StringValue("DescribeDomainConfigs.DomainConfigs.AliBusinessConfig.AliBusinessType");
            aliBusinessConfig.ConfigId         = context.StringValue("DescribeDomainConfigs.DomainConfigs.AliBusinessConfig.ConfigId");
            aliBusinessConfig.Status           = context.StringValue("DescribeDomainConfigs.DomainConfigs.AliBusinessConfig.Status");
            domainConfigs.AliBusinessConfig    = aliBusinessConfig;

            DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_IpAllowListConfig ipAllowListConfig = new DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_IpAllowListConfig();
            ipAllowListConfig.ConfigId      = context.StringValue("DescribeDomainConfigs.DomainConfigs.IpAllowListConfig.ConfigId");
            ipAllowListConfig.IpList        = context.StringValue("DescribeDomainConfigs.DomainConfigs.IpAllowListConfig.IpList");
            ipAllowListConfig.IpAclXfwd     = context.StringValue("DescribeDomainConfigs.DomainConfigs.IpAllowListConfig.IpAclXfwd");
            ipAllowListConfig.Status        = context.StringValue("DescribeDomainConfigs.DomainConfigs.IpAllowListConfig.Status");
            domainConfigs.IpAllowListConfig = ipAllowListConfig;

            List <DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_CacheExpiredConfig> domainConfigs_cacheExpiredConfigs = new List <DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_CacheExpiredConfig>();

            for (int i = 0; i < context.Length("DescribeDomainConfigs.DomainConfigs.CacheExpiredConfigs.Length"); i++)
            {
                DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_CacheExpiredConfig cacheExpiredConfig = new DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_CacheExpiredConfig();
                cacheExpiredConfig.ConfigId     = context.StringValue("DescribeDomainConfigs.DomainConfigs.CacheExpiredConfigs[" + i + "].ConfigId");
                cacheExpiredConfig.CacheType    = context.StringValue("DescribeDomainConfigs.DomainConfigs.CacheExpiredConfigs[" + i + "].CacheType");
                cacheExpiredConfig.CacheContent = context.StringValue("DescribeDomainConfigs.DomainConfigs.CacheExpiredConfigs[" + i + "].CacheContent");
                cacheExpiredConfig.TTL          = context.StringValue("DescribeDomainConfigs.DomainConfigs.CacheExpiredConfigs[" + i + "].TTL");
                cacheExpiredConfig.Weight       = context.StringValue("DescribeDomainConfigs.DomainConfigs.CacheExpiredConfigs[" + i + "].Weight");
                cacheExpiredConfig.Status       = context.StringValue("DescribeDomainConfigs.DomainConfigs.CacheExpiredConfigs[" + i + "].Status");

                domainConfigs_cacheExpiredConfigs.Add(cacheExpiredConfig);
            }
            domainConfigs.CacheExpiredConfigs = domainConfigs_cacheExpiredConfigs;

            List <DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_HttpErrorPageConfig> domainConfigs_httpErrorPageConfigs = new List <DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_HttpErrorPageConfig>();

            for (int i = 0; i < context.Length("DescribeDomainConfigs.DomainConfigs.HttpErrorPageConfigs.Length"); i++)
            {
                DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_HttpErrorPageConfig httpErrorPageConfig = new DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_HttpErrorPageConfig();
                httpErrorPageConfig.ConfigId  = context.StringValue("DescribeDomainConfigs.DomainConfigs.HttpErrorPageConfigs[" + i + "].ConfigId");
                httpErrorPageConfig.ErrorCode = context.StringValue("DescribeDomainConfigs.DomainConfigs.HttpErrorPageConfigs[" + i + "].ErrorCode");
                httpErrorPageConfig.PageUrl   = context.StringValue("DescribeDomainConfigs.DomainConfigs.HttpErrorPageConfigs[" + i + "].PageUrl");
                httpErrorPageConfig.Status    = context.StringValue("DescribeDomainConfigs.DomainConfigs.HttpErrorPageConfigs[" + i + "].Status");

                domainConfigs_httpErrorPageConfigs.Add(httpErrorPageConfig);
            }
            domainConfigs.HttpErrorPageConfigs = domainConfigs_httpErrorPageConfigs;

            List <DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_HttpHeaderConfig> domainConfigs_httpHeaderConfigs = new List <DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_HttpHeaderConfig>();

            for (int i = 0; i < context.Length("DescribeDomainConfigs.DomainConfigs.HttpHeaderConfigs.Length"); i++)
            {
                DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_HttpHeaderConfig httpHeaderConfig = new DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_HttpHeaderConfig();
                httpHeaderConfig.ConfigId    = context.StringValue("DescribeDomainConfigs.DomainConfigs.HttpHeaderConfigs[" + i + "].ConfigId");
                httpHeaderConfig.HeaderKey   = context.StringValue("DescribeDomainConfigs.DomainConfigs.HttpHeaderConfigs[" + i + "].HeaderKey");
                httpHeaderConfig.HeaderValue = context.StringValue("DescribeDomainConfigs.DomainConfigs.HttpHeaderConfigs[" + i + "].HeaderValue");
                httpHeaderConfig.Status      = context.StringValue("DescribeDomainConfigs.DomainConfigs.HttpHeaderConfigs[" + i + "].Status");

                domainConfigs_httpHeaderConfigs.Add(httpHeaderConfig);
            }
            domainConfigs.HttpHeaderConfigs = domainConfigs_httpHeaderConfigs;

            List <DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_DynamicConfig> domainConfigs_dynamicConfigs = new List <DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_DynamicConfig>();

            for (int i = 0; i < context.Length("DescribeDomainConfigs.DomainConfigs.DynamicConfigs.Length"); i++)
            {
                DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_DynamicConfig dynamicConfig = new DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_DynamicConfig();
                dynamicConfig.ConfigId            = context.StringValue("DescribeDomainConfigs.DomainConfigs.DynamicConfigs[" + i + "].ConfigId");
                dynamicConfig.Enable              = context.StringValue("DescribeDomainConfigs.DomainConfigs.DynamicConfigs[" + i + "].Enable");
                dynamicConfig.DynamicOrigin       = context.StringValue("DescribeDomainConfigs.DomainConfigs.DynamicConfigs[" + i + "].DynamicOrigin");
                dynamicConfig.StaticType          = context.StringValue("DescribeDomainConfigs.DomainConfigs.DynamicConfigs[" + i + "].StaticType");
                dynamicConfig.StaticUri           = context.StringValue("DescribeDomainConfigs.DomainConfigs.DynamicConfigs[" + i + "].StaticUri");
                dynamicConfig.StaticPath          = context.StringValue("DescribeDomainConfigs.DomainConfigs.DynamicConfigs[" + i + "].StaticPath");
                dynamicConfig.DynamicCacheControl = context.StringValue("DescribeDomainConfigs.DomainConfigs.DynamicConfigs[" + i + "].DynamicCacheControl");
                dynamicConfig.Status              = context.StringValue("DescribeDomainConfigs.DomainConfigs.DynamicConfigs[" + i + "].Status");

                domainConfigs_dynamicConfigs.Add(dynamicConfig);
            }
            domainConfigs.DynamicConfigs = domainConfigs_dynamicConfigs;

            List <DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_ReqHeaderConfig> domainConfigs_reqHeaderConfigs = new List <DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_ReqHeaderConfig>();

            for (int i = 0; i < context.Length("DescribeDomainConfigs.DomainConfigs.ReqHeaderConfigs.Length"); i++)
            {
                DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_ReqHeaderConfig reqHeaderConfig = new DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_ReqHeaderConfig();
                reqHeaderConfig.ConfigId = context.StringValue("DescribeDomainConfigs.DomainConfigs.ReqHeaderConfigs[" + i + "].ConfigId");
                reqHeaderConfig.Key      = context.StringValue("DescribeDomainConfigs.DomainConfigs.ReqHeaderConfigs[" + i + "].Key");
                reqHeaderConfig._Value   = context.StringValue("DescribeDomainConfigs.DomainConfigs.ReqHeaderConfigs[" + i + "].Value");
                reqHeaderConfig.Status   = context.StringValue("DescribeDomainConfigs.DomainConfigs.ReqHeaderConfigs[" + i + "].Status");

                domainConfigs_reqHeaderConfigs.Add(reqHeaderConfig);
            }
            domainConfigs.ReqHeaderConfigs = domainConfigs_reqHeaderConfigs;

            List <DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_SetVarsConfig> domainConfigs_setVarsConfigs = new List <DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_SetVarsConfig>();

            for (int i = 0; i < context.Length("DescribeDomainConfigs.DomainConfigs.SetVarsConfigs.Length"); i++)
            {
                DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_SetVarsConfig setVarsConfig = new DescribeDomainConfigsResponse.DescribeDomainConfigs_DomainConfigs.DescribeDomainConfigs_SetVarsConfig();
                setVarsConfig.ConfigId = context.StringValue("DescribeDomainConfigs.DomainConfigs.SetVarsConfigs[" + i + "].ConfigId");
                setVarsConfig.VarName  = context.StringValue("DescribeDomainConfigs.DomainConfigs.SetVarsConfigs[" + i + "].VarName");
                setVarsConfig.VarValue = context.StringValue("DescribeDomainConfigs.DomainConfigs.SetVarsConfigs[" + i + "].VarValue");
                setVarsConfig.Status   = context.StringValue("DescribeDomainConfigs.DomainConfigs.SetVarsConfigs[" + i + "].Status");

                domainConfigs_setVarsConfigs.Add(setVarsConfig);
            }
            domainConfigs.SetVarsConfigs = domainConfigs_setVarsConfigs;
            describeDomainConfigsResponse.DomainConfigs = domainConfigs;

            return(describeDomainConfigsResponse);
        }
示例#47
0
        public static ListSkillGroupSummaryReportsSinceMidnightResponse Unmarshall(UnmarshallerContext _ctx)
        {
            ListSkillGroupSummaryReportsSinceMidnightResponse listSkillGroupSummaryReportsSinceMidnightResponse = new ListSkillGroupSummaryReportsSinceMidnightResponse();

            listSkillGroupSummaryReportsSinceMidnightResponse.HttpResponse   = _ctx.HttpResponse;
            listSkillGroupSummaryReportsSinceMidnightResponse.RequestId      = _ctx.StringValue("ListSkillGroupSummaryReportsSinceMidnight.RequestId");
            listSkillGroupSummaryReportsSinceMidnightResponse.Success        = _ctx.BooleanValue("ListSkillGroupSummaryReportsSinceMidnight.Success");
            listSkillGroupSummaryReportsSinceMidnightResponse.Code           = _ctx.StringValue("ListSkillGroupSummaryReportsSinceMidnight.Code");
            listSkillGroupSummaryReportsSinceMidnightResponse.Message        = _ctx.StringValue("ListSkillGroupSummaryReportsSinceMidnight.Message");
            listSkillGroupSummaryReportsSinceMidnightResponse.HttpStatusCode = _ctx.IntegerValue("ListSkillGroupSummaryReportsSinceMidnight.HttpStatusCode");

            ListSkillGroupSummaryReportsSinceMidnightResponse.ListSkillGroupSummaryReportsSinceMidnight_PagedSkillGroupSummaryReport pagedSkillGroupSummaryReport = new ListSkillGroupSummaryReportsSinceMidnightResponse.ListSkillGroupSummaryReportsSinceMidnight_PagedSkillGroupSummaryReport();
            pagedSkillGroupSummaryReport.TotalCount = _ctx.IntegerValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.TotalCount");
            pagedSkillGroupSummaryReport.PageNumber = _ctx.IntegerValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.PageNumber");
            pagedSkillGroupSummaryReport.PageSize   = _ctx.IntegerValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.PageSize");

            List <ListSkillGroupSummaryReportsSinceMidnightResponse.ListSkillGroupSummaryReportsSinceMidnight_PagedSkillGroupSummaryReport.ListSkillGroupSummaryReportsSinceMidnight_SkillGroupSummaryReport> pagedSkillGroupSummaryReport_list = new List <ListSkillGroupSummaryReportsSinceMidnightResponse.ListSkillGroupSummaryReportsSinceMidnight_PagedSkillGroupSummaryReport.ListSkillGroupSummaryReportsSinceMidnight_SkillGroupSummaryReport>();

            for (int i = 0; i < _ctx.Length("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List.Length"); i++)
            {
                ListSkillGroupSummaryReportsSinceMidnightResponse.ListSkillGroupSummaryReportsSinceMidnight_PagedSkillGroupSummaryReport.ListSkillGroupSummaryReportsSinceMidnight_SkillGroupSummaryReport skillGroupSummaryReport = new ListSkillGroupSummaryReportsSinceMidnightResponse.ListSkillGroupSummaryReportsSinceMidnight_PagedSkillGroupSummaryReport.ListSkillGroupSummaryReportsSinceMidnight_SkillGroupSummaryReport();
                skillGroupSummaryReport.Timestamp      = _ctx.StringValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Timestamp");
                skillGroupSummaryReport.InstanceId     = _ctx.StringValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].InstanceId");
                skillGroupSummaryReport.SkillGroupId   = _ctx.StringValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].SkillGroupId");
                skillGroupSummaryReport.SkillGroupName = _ctx.StringValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].SkillGroupName");

                ListSkillGroupSummaryReportsSinceMidnightResponse.ListSkillGroupSummaryReportsSinceMidnight_PagedSkillGroupSummaryReport.ListSkillGroupSummaryReportsSinceMidnight_SkillGroupSummaryReport.ListSkillGroupSummaryReportsSinceMidnight_Overall overall = new ListSkillGroupSummaryReportsSinceMidnightResponse.ListSkillGroupSummaryReportsSinceMidnight_PagedSkillGroupSummaryReport.ListSkillGroupSummaryReportsSinceMidnight_SkillGroupSummaryReport.ListSkillGroupSummaryReportsSinceMidnight_Overall();
                overall.TotalCalls                   = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Overall.TotalCalls");
                overall.TotalLoggedInTime            = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Overall.TotalLoggedInTime");
                overall.TotalBreakTime               = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Overall.TotalBreakTime");
                overall.OccupancyRate                = _ctx.FloatValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Overall.OccupancyRate");
                overall.TotalReadyTime               = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Overall.TotalReadyTime");
                overall.MaxReadyTime                 = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Overall.MaxReadyTime");
                overall.AverageReadyTime             = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Overall.AverageReadyTime");
                overall.TotalTalkTime                = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Overall.TotalTalkTime");
                overall.MaxTalkTime                  = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Overall.MaxTalkTime");
                overall.AverageTalkTime              = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Overall.AverageTalkTime");
                overall.TotalWorkTime                = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Overall.TotalWorkTime");
                overall.MaxWorkTime                  = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Overall.MaxWorkTime");
                overall.AverageWorkTime              = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Overall.AverageWorkTime");
                overall.SatisfactionIndex            = _ctx.FloatValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Overall.SatisfactionIndex");
                overall.SatisfactionSurveysOffered   = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Overall.SatisfactionSurveysOffered");
                overall.SatisfactionSurveysResponded = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Overall.SatisfactionSurveysResponded");
                skillGroupSummaryReport.Overall      = overall;

                ListSkillGroupSummaryReportsSinceMidnightResponse.ListSkillGroupSummaryReportsSinceMidnight_PagedSkillGroupSummaryReport.ListSkillGroupSummaryReportsSinceMidnight_SkillGroupSummaryReport.ListSkillGroupSummaryReportsSinceMidnight_Inbound inbound = new ListSkillGroupSummaryReportsSinceMidnightResponse.ListSkillGroupSummaryReportsSinceMidnight_PagedSkillGroupSummaryReport.ListSkillGroupSummaryReportsSinceMidnight_SkillGroupSummaryReport.ListSkillGroupSummaryReportsSinceMidnight_Inbound();
                inbound.CallsOffered                              = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Inbound.CallsOffered");
                inbound.CallsHandled                              = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Inbound.CallsHandled");
                inbound.HandleRate                                = _ctx.FloatValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Inbound.HandleRate");
                inbound.TotalRingTime                             = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Inbound.TotalRingTime");
                inbound.MaxRingTime                               = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Inbound.MaxRingTime");
                inbound.AverageRingTime                           = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Inbound.AverageRingTime");
                inbound.ServiceLevel20                            = _ctx.FloatValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Inbound.ServiceLevel20");
                inbound.TotalTalkTime                             = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Inbound.TotalTalkTime");
                inbound.MaxTalkTime                               = _ctx.StringValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Inbound.MaxTalkTime");
                inbound.AverageTalkTime                           = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Inbound.AverageTalkTime");
                inbound.TotalWorkTime                             = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Inbound.TotalWorkTime");
                inbound.MaxWorkTime                               = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Inbound.MaxWorkTime");
                inbound.AverageWorkTime                           = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Inbound.AverageWorkTime");
                inbound.SatisfactionIndex                         = _ctx.FloatValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Inbound.SatisfactionIndex");
                inbound.SatisfactionSurveysOffered                = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Inbound.SatisfactionSurveysOffered");
                inbound.SatisfactionSurveysResponded              = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Inbound.SatisfactionSurveysResponded");
                inbound.InComingQueueOfQueueCount                 = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Inbound.InComingQueueOfQueueCount");
                inbound.AnsweredByAgentOfQueueCount               = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Inbound.AnsweredByAgentOfQueueCount");
                inbound.GiveUpByAgentOfQueueCount                 = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Inbound.GiveUpByAgentOfQueueCount");
                inbound.AbandonedInQueueOfQueueCount              = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Inbound.AbandonedInQueueOfQueueCount");
                inbound.OverFlowInQueueOfQueueCount               = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Inbound.OverFlowInQueueOfQueueCount");
                inbound.QueueWaitTimeDuration                     = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Inbound.QueueWaitTimeDuration");
                inbound.AnsweredByAgentOfQueueWaitTimeDuration    = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Inbound.AnsweredByAgentOfQueueWaitTimeDuration");
                inbound.QueueMaxWaitTimeDuration                  = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Inbound.QueueMaxWaitTimeDuration");
                inbound.AnsweredByAgentOfQueueMaxWaitTimeDuration = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Inbound.AnsweredByAgentOfQueueMaxWaitTimeDuration");
                skillGroupSummaryReport.Inbound                   = inbound;

                ListSkillGroupSummaryReportsSinceMidnightResponse.ListSkillGroupSummaryReportsSinceMidnight_PagedSkillGroupSummaryReport.ListSkillGroupSummaryReportsSinceMidnight_SkillGroupSummaryReport.ListSkillGroupSummaryReportsSinceMidnight_Outbound outbound = new ListSkillGroupSummaryReportsSinceMidnightResponse.ListSkillGroupSummaryReportsSinceMidnight_PagedSkillGroupSummaryReport.ListSkillGroupSummaryReportsSinceMidnight_SkillGroupSummaryReport.ListSkillGroupSummaryReportsSinceMidnight_Outbound();
                outbound.CallsDialed                  = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Outbound.CallsDialed");
                outbound.CallsAnswered                = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Outbound.CallsAnswered");
                outbound.AnswerRate                   = _ctx.FloatValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Outbound.AnswerRate");
                outbound.TotalDialingTime             = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Outbound.TotalDialingTime");
                outbound.MaxDialingTime               = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Outbound.MaxDialingTime");
                outbound.AverageDialingTime           = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Outbound.AverageDialingTime");
                outbound.TotalTalkTime                = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Outbound.TotalTalkTime");
                outbound.MaxTalkTime                  = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Outbound.MaxTalkTime");
                outbound.AverageTalkTime              = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Outbound.AverageTalkTime");
                outbound.TotalWorkTime                = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Outbound.TotalWorkTime");
                outbound.MaxWorkTime                  = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Outbound.MaxWorkTime");
                outbound.AverageWorkTime              = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Outbound.AverageWorkTime");
                outbound.SatisfactionIndex            = _ctx.FloatValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Outbound.SatisfactionIndex");
                outbound.SatisfactionSurveysOffered   = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Outbound.SatisfactionSurveysOffered");
                outbound.SatisfactionSurveysResponded = _ctx.LongValue("ListSkillGroupSummaryReportsSinceMidnight.PagedSkillGroupSummaryReport.List[" + i + "].Outbound.SatisfactionSurveysResponded");
                skillGroupSummaryReport.Outbound      = outbound;

                pagedSkillGroupSummaryReport_list.Add(skillGroupSummaryReport);
            }
            pagedSkillGroupSummaryReport.List = pagedSkillGroupSummaryReport_list;
            listSkillGroupSummaryReportsSinceMidnightResponse.PagedSkillGroupSummaryReport = pagedSkillGroupSummaryReport;

            return(listSkillGroupSummaryReportsSinceMidnightResponse);
        }
示例#48
0
        public static GenerateAgentStatisticReportResponse Unmarshall(UnmarshallerContext _ctx)
        {
            GenerateAgentStatisticReportResponse generateAgentStatisticReportResponse = new GenerateAgentStatisticReportResponse();

            generateAgentStatisticReportResponse.HttpResponse   = _ctx.HttpResponse;
            generateAgentStatisticReportResponse.RequestId      = _ctx.StringValue("GenerateAgentStatisticReport.RequestId");
            generateAgentStatisticReportResponse.Success        = _ctx.BooleanValue("GenerateAgentStatisticReport.Success");
            generateAgentStatisticReportResponse.Code           = _ctx.StringValue("GenerateAgentStatisticReport.Code");
            generateAgentStatisticReportResponse.Message        = _ctx.StringValue("GenerateAgentStatisticReport.Message");
            generateAgentStatisticReportResponse.HttpStatusCode = _ctx.IntegerValue("GenerateAgentStatisticReport.HttpStatusCode");

            GenerateAgentStatisticReportResponse.GenerateAgentStatisticReport_DataList dataList = new GenerateAgentStatisticReportResponse.GenerateAgentStatisticReport_DataList();
            dataList.TotalCount = _ctx.IntegerValue("GenerateAgentStatisticReport.DataList.TotalCount");
            dataList.PageNumber = _ctx.IntegerValue("GenerateAgentStatisticReport.DataList.PageNumber");
            dataList.PageSize   = _ctx.IntegerValue("GenerateAgentStatisticReport.DataList.PageSize");

            List <GenerateAgentStatisticReportResponse.GenerateAgentStatisticReport_DataList.GenerateAgentStatisticReport_GenerateAgentStatistic> dataList_list = new List <GenerateAgentStatisticReportResponse.GenerateAgentStatisticReport_DataList.GenerateAgentStatisticReport_GenerateAgentStatistic>();

            for (int i = 0; i < _ctx.Length("GenerateAgentStatisticReport.DataList.List.Length"); i++)
            {
                GenerateAgentStatisticReportResponse.GenerateAgentStatisticReport_DataList.GenerateAgentStatisticReport_GenerateAgentStatistic generateAgentStatistic = new GenerateAgentStatisticReportResponse.GenerateAgentStatisticReport_DataList.GenerateAgentStatisticReport_GenerateAgentStatistic();
                generateAgentStatistic.AgentId           = _ctx.StringValue("GenerateAgentStatisticReport.DataList.List[" + i + "].AgentId");
                generateAgentStatistic.LoginName         = _ctx.StringValue("GenerateAgentStatisticReport.DataList.List[" + i + "].LoginName");
                generateAgentStatistic.AgentName         = _ctx.StringValue("GenerateAgentStatisticReport.DataList.List[" + i + "].AgentName");
                generateAgentStatistic.SkillGroupIds     = _ctx.StringValue("GenerateAgentStatisticReport.DataList.List[" + i + "].SkillGroupIds");
                generateAgentStatistic.SkillGroupNames   = _ctx.StringValue("GenerateAgentStatisticReport.DataList.List[" + i + "].SkillGroupNames");
                generateAgentStatistic.InstanceId        = _ctx.StringValue("GenerateAgentStatisticReport.DataList.List[" + i + "].InstanceId");
                generateAgentStatistic.RecordDate        = _ctx.StringValue("GenerateAgentStatisticReport.DataList.List[" + i + "].RecordDate");
                generateAgentStatistic.TotalLoggedInTime = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].TotalLoggedInTime");
                generateAgentStatistic.TotalBreakTime    = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].TotalBreakTime");
                generateAgentStatistic.OccupancyRate     = _ctx.FloatValue("GenerateAgentStatisticReport.DataList.List[" + i + "].OccupancyRate");
                generateAgentStatistic.TotalReadyTime    = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].TotalReadyTime");
                generateAgentStatistic.MaxReadyTime      = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].MaxReadyTime");
                generateAgentStatistic.AverageReadyTime  = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].AverageReadyTime");

                GenerateAgentStatisticReportResponse.GenerateAgentStatisticReport_DataList.GenerateAgentStatisticReport_GenerateAgentStatistic.GenerateAgentStatisticReport_Inbound inbound = new GenerateAgentStatisticReportResponse.GenerateAgentStatisticReport_DataList.GenerateAgentStatisticReport_GenerateAgentStatistic.GenerateAgentStatisticReport_Inbound();
                inbound.TotalTalkTime                = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Inbound.TotalTalkTime");
                inbound.MaxTalkTime                  = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Inbound.MaxTalkTime");
                inbound.AverageTalkTime              = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Inbound.AverageTalkTime");
                inbound.TotalHoldTime                = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Inbound.TotalHoldTime");
                inbound.MaxHoldTime                  = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Inbound.MaxHoldTime");
                inbound.AverageHoldTime              = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Inbound.AverageHoldTime");
                inbound.TotalWorkTime                = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Inbound.TotalWorkTime");
                inbound.MaxWorkTime                  = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Inbound.MaxWorkTime");
                inbound.AverageWorkTime              = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Inbound.AverageWorkTime");
                inbound.SatisfactionSurveysOffered   = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Inbound.SatisfactionSurveysOffered");
                inbound.SatisfactionSurveysResponded = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Inbound.SatisfactionSurveysResponded");
                inbound.SatisfactionIndex            = _ctx.FloatValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Inbound.SatisfactionIndex");
                inbound.CallsOffered                 = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Inbound.CallsOffered");
                inbound.CallsHandled                 = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Inbound.CallsHandled");
                inbound.HandleRate             = _ctx.FloatValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Inbound.HandleRate");
                inbound.TotalRingTime          = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Inbound.TotalRingTime");
                inbound.MaxRingTime            = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Inbound.MaxRingTime");
                inbound.AverageRingTime        = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Inbound.AverageRingTime");
                generateAgentStatistic.Inbound = inbound;

                GenerateAgentStatisticReportResponse.GenerateAgentStatisticReport_DataList.GenerateAgentStatisticReport_GenerateAgentStatistic.GenerateAgentStatisticReport_Outbound outbound = new GenerateAgentStatisticReportResponse.GenerateAgentStatisticReport_DataList.GenerateAgentStatisticReport_GenerateAgentStatistic.GenerateAgentStatisticReport_Outbound();
                outbound.TotalTalkTime                = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Outbound.TotalTalkTime");
                outbound.MaxTalkTime                  = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Outbound.MaxTalkTime");
                outbound.AverageTalkTime              = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Outbound.AverageTalkTime");
                outbound.TotalHoldTime                = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Outbound.TotalHoldTime");
                outbound.MaxHoldTime                  = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Outbound.MaxHoldTime");
                outbound.AverageHoldTime              = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Outbound.AverageHoldTime");
                outbound.TotalWorkTime                = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Outbound.TotalWorkTime");
                outbound.MaxWorkTime                  = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Outbound.MaxWorkTime");
                outbound.AverageWorkTime              = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Outbound.AverageWorkTime");
                outbound.SatisfactionSurveysOffered   = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Outbound.SatisfactionSurveysOffered");
                outbound.SatisfactionSurveysResponded = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Outbound.SatisfactionSurveysResponded");
                outbound.SatisfactionIndex            = _ctx.FloatValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Outbound.SatisfactionIndex");
                outbound.CallsDialed                  = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Outbound.CallsDialed");
                outbound.CallsAnswered                = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Outbound.CallsAnswered");
                outbound.AnswerRate             = _ctx.FloatValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Outbound.AnswerRate");
                outbound.TotalDialingTime       = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Outbound.TotalDialingTime");
                outbound.TotalDialingTime1      = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Outbound.TotalDialingTime");
                outbound.MaxDialingTime         = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Outbound.MaxDialingTime");
                outbound.AverageDialingTime     = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Outbound.AverageDialingTime");
                generateAgentStatistic.Outbound = outbound;

                GenerateAgentStatisticReportResponse.GenerateAgentStatisticReport_DataList.GenerateAgentStatisticReport_GenerateAgentStatistic.GenerateAgentStatisticReport_Overall overall = new GenerateAgentStatisticReportResponse.GenerateAgentStatisticReport_DataList.GenerateAgentStatisticReport_GenerateAgentStatistic.GenerateAgentStatisticReport_Overall();
                overall.TotalTalkTime                = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Overall.TotalTalkTime");
                overall.MaxTalkTime                  = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Overall.MaxTalkTime");
                overall.AverageTalkTime              = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Overall.AverageTalkTime");
                overall.TotalHoldTime                = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Overall.TotalHoldTime");
                overall.MaxHoldTime                  = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Overall.MaxHoldTime");
                overall.AverageHoldTime              = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Overall.AverageHoldTime");
                overall.TotalWorkTime                = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Overall.TotalWorkTime");
                overall.MaxWorkTime                  = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Overall.MaxWorkTime");
                overall.AverageWorkTime              = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Overall.AverageWorkTime");
                overall.SatisfactionSurveysOffered   = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Overall.SatisfactionSurveysOffered");
                overall.SatisfactionSurveysResponded = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Overall.SatisfactionSurveysResponded");
                overall.SatisfactionIndex            = _ctx.FloatValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Overall.SatisfactionIndex");
                overall.TotalCalls             = _ctx.LongValue("GenerateAgentStatisticReport.DataList.List[" + i + "].Overall.TotalCalls");
                generateAgentStatistic.Overall = overall;

                dataList_list.Add(generateAgentStatistic);
            }
            dataList.List = dataList_list;
            generateAgentStatisticReportResponse.DataList = dataList;

            return(generateAgentStatisticReportResponse);
        }
示例#49
0
        public static GetJobResponse Unmarshall(UnmarshallerContext context)
        {
            GetJobResponse getJobResponse = new GetJobResponse();

            getJobResponse.HttpResponse   = context.HttpResponse;
            getJobResponse.RequestId      = context.StringValue("GetJob.RequestId");
            getJobResponse.Success        = context.BooleanValue("GetJob.Success");
            getJobResponse.Code           = context.StringValue("GetJob.Code");
            getJobResponse.Message        = context.StringValue("GetJob.Message");
            getJobResponse.HttpStatusCode = context.IntegerValue("GetJob.HttpStatusCode");

            GetJobResponse.GetJob_Job job = new GetJobResponse.GetJob_Job();
            job.JobId          = context.StringValue("GetJob.Job.JobId");
            job.GroupId        = context.StringValue("GetJob.Job.GroupId");
            job.ScenarioId     = context.StringValue("GetJob.Job.ScenarioId");
            job.StrategyId     = context.StringValue("GetJob.Job.StrategyId");
            job.Priority       = context.IntegerValue("GetJob.Job.Priority");
            job.SystemPriority = context.IntegerValue("GetJob.Job.SystemPriority");
            job.Status         = context.StringValue("GetJob.Job.Status");
            job.ReferenceId    = context.StringValue("GetJob.Job.ReferenceId");
            job.FailureReason  = context.StringValue("GetJob.Job.FailureReason");

            List <string> job_callingNumbers = new List <string>();

            for (int i = 0; i < context.Length("GetJob.Job.CallingNumbers.Length"); i++)
            {
                job_callingNumbers.Add(context.StringValue("GetJob.Job.CallingNumbers[" + i + "]"));
            }
            job.CallingNumbers = job_callingNumbers;

            List <GetJobResponse.GetJob_Job.GetJob_Contact> job_contacts = new List <GetJobResponse.GetJob_Job.GetJob_Contact>();

            for (int i = 0; i < context.Length("GetJob.Job.Contacts.Length"); i++)
            {
                GetJobResponse.GetJob_Job.GetJob_Contact contact = new GetJobResponse.GetJob_Job.GetJob_Contact();
                contact.ContactId   = context.StringValue("GetJob.Job.Contacts[" + i + "].ContactId");
                contact.ContactName = context.StringValue("GetJob.Job.Contacts[" + i + "].ContactName");
                contact.Honorific   = context.StringValue("GetJob.Job.Contacts[" + i + "].Honorific");
                contact.Role        = context.StringValue("GetJob.Job.Contacts[" + i + "].Role");
                contact.PhoneNumber = context.StringValue("GetJob.Job.Contacts[" + i + "].PhoneNumber");
                contact.State       = context.StringValue("GetJob.Job.Contacts[" + i + "].State");
                contact.ReferenceId = context.StringValue("GetJob.Job.Contacts[" + i + "].ReferenceId");

                job_contacts.Add(contact);
            }
            job.Contacts = job_contacts;

            List <GetJobResponse.GetJob_Job.GetJob_KeyValuePair> job_extras = new List <GetJobResponse.GetJob_Job.GetJob_KeyValuePair>();

            for (int i = 0; i < context.Length("GetJob.Job.Extras.Length"); i++)
            {
                GetJobResponse.GetJob_Job.GetJob_KeyValuePair keyValuePair = new GetJobResponse.GetJob_Job.GetJob_KeyValuePair();
                keyValuePair.Key    = context.StringValue("GetJob.Job.Extras[" + i + "].Key");
                keyValuePair._Value = context.StringValue("GetJob.Job.Extras[" + i + "].Value");

                job_extras.Add(keyValuePair);
            }
            job.Extras = job_extras;

            List <GetJobResponse.GetJob_Job.GetJob_Task> job_tasks = new List <GetJobResponse.GetJob_Job.GetJob_Task>();

            for (int i = 0; i < context.Length("GetJob.Job.Tasks.Length"); i++)
            {
                GetJobResponse.GetJob_Job.GetJob_Task task = new GetJobResponse.GetJob_Job.GetJob_Task();
                task.TaskId        = context.StringValue("GetJob.Job.Tasks[" + i + "].TaskId");
                task.JobId         = context.StringValue("GetJob.Job.Tasks[" + i + "].JobId");
                task.ScenarioId    = context.StringValue("GetJob.Job.Tasks[" + i + "].ScenarioId");
                task.ChatbotId     = context.StringValue("GetJob.Job.Tasks[" + i + "].ChatbotId");
                task.PlanedTime    = context.LongValue("GetJob.Job.Tasks[" + i + "].PlanedTime");
                task.ActualTime    = context.LongValue("GetJob.Job.Tasks[" + i + "].ActualTime");
                task.CallingNumber = context.StringValue("GetJob.Job.Tasks[" + i + "].CallingNumber");
                task.CalledNumber  = context.StringValue("GetJob.Job.Tasks[" + i + "].CalledNumber");
                task.CallId        = context.StringValue("GetJob.Job.Tasks[" + i + "].CallId");
                task.Status        = context.StringValue("GetJob.Job.Tasks[" + i + "].Status");
                task.Brief         = context.StringValue("GetJob.Job.Tasks[" + i + "].Brief");
                task.Duration      = context.IntegerValue("GetJob.Job.Tasks[" + i + "].Duration");

                GetJobResponse.GetJob_Job.GetJob_Task.GetJob_Contact2 contact2 = new GetJobResponse.GetJob_Job.GetJob_Task.GetJob_Contact2();
                contact2.ContactId   = context.StringValue("GetJob.Job.Tasks[" + i + "].Contact.ContactId");
                contact2.ContactName = context.StringValue("GetJob.Job.Tasks[" + i + "].Contact.ContactName");
                contact2.Honorific   = context.StringValue("GetJob.Job.Tasks[" + i + "].Contact.Honorific");
                contact2.Role        = context.StringValue("GetJob.Job.Tasks[" + i + "].Contact.Role");
                contact2.PhoneNumber = context.StringValue("GetJob.Job.Tasks[" + i + "].Contact.PhoneNumber");
                contact2.State       = context.StringValue("GetJob.Job.Tasks[" + i + "].Contact.State");
                contact2.ReferenceId = context.StringValue("GetJob.Job.Tasks[" + i + "].Contact.ReferenceId");
                task.Contact2        = contact2;

                List <GetJobResponse.GetJob_Job.GetJob_Task.GetJob_ConversationDetail> task_conversation = new List <GetJobResponse.GetJob_Job.GetJob_Task.GetJob_ConversationDetail>();
                for (int j = 0; j < context.Length("GetJob.Job.Tasks[" + i + "].Conversation.Length"); j++)
                {
                    GetJobResponse.GetJob_Job.GetJob_Task.GetJob_ConversationDetail conversationDetail = new GetJobResponse.GetJob_Job.GetJob_Task.GetJob_ConversationDetail();
                    conversationDetail.Timestamp = context.LongValue("GetJob.Job.Tasks[" + i + "].Conversation[" + j + "].Timestamp");
                    conversationDetail.Speaker   = context.StringValue("GetJob.Job.Tasks[" + i + "].Conversation[" + j + "].Speaker");
                    conversationDetail.Script    = context.StringValue("GetJob.Job.Tasks[" + i + "].Conversation[" + j + "].Script");

                    List <GetJobResponse.GetJob_Job.GetJob_Task.GetJob_ConversationDetail.GetJob_SummaryItem> conversationDetail_summary1 = new List <GetJobResponse.GetJob_Job.GetJob_Task.GetJob_ConversationDetail.GetJob_SummaryItem>();
                    for (int k = 0; k < context.Length("GetJob.Job.Tasks[" + i + "].Conversation[" + j + "].Summary.Length"); k++)
                    {
                        GetJobResponse.GetJob_Job.GetJob_Task.GetJob_ConversationDetail.GetJob_SummaryItem summaryItem = new GetJobResponse.GetJob_Job.GetJob_Task.GetJob_ConversationDetail.GetJob_SummaryItem();
                        summaryItem.Category    = context.StringValue("GetJob.Job.Tasks[" + i + "].Conversation[" + j + "].Summary[" + k + "].Category");
                        summaryItem.SummaryName = context.StringValue("GetJob.Job.Tasks[" + i + "].Conversation[" + j + "].Summary[" + k + "].SummaryName");
                        summaryItem.Content     = context.StringValue("GetJob.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 <GetJobResponse.GetJob_Job.GetJob_SummaryItem3> job_summary = new List <GetJobResponse.GetJob_Job.GetJob_SummaryItem3>();

            for (int i = 0; i < context.Length("GetJob.Job.Summary.Length"); i++)
            {
                GetJobResponse.GetJob_Job.GetJob_SummaryItem3 summaryItem3 = new GetJobResponse.GetJob_Job.GetJob_SummaryItem3();
                summaryItem3.Category    = context.StringValue("GetJob.Job.Summary[" + i + "].Category");
                summaryItem3.SummaryName = context.StringValue("GetJob.Job.Summary[" + i + "].SummaryName");
                summaryItem3.Content     = context.StringValue("GetJob.Job.Summary[" + i + "].Content");

                job_summary.Add(summaryItem3);
            }
            job.Summary        = job_summary;
            getJobResponse.Job = job;

            return(getJobResponse);
        }
        public static DescribeCasterLayoutsResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeCasterLayoutsResponse describeCasterLayoutsResponse = new DescribeCasterLayoutsResponse();

            describeCasterLayoutsResponse.HttpResponse = context.HttpResponse;
            describeCasterLayoutsResponse.RequestId    = context.StringValue("DescribeCasterLayouts.RequestId");
            describeCasterLayoutsResponse.Total        = context.IntegerValue("DescribeCasterLayouts.Total");

            List <DescribeCasterLayoutsResponse.DescribeCasterLayouts_Layout> describeCasterLayoutsResponse_layouts = new List <DescribeCasterLayoutsResponse.DescribeCasterLayouts_Layout>();

            for (int i = 0; i < context.Length("DescribeCasterLayouts.Layouts.Length"); i++)
            {
                DescribeCasterLayoutsResponse.DescribeCasterLayouts_Layout layout = new DescribeCasterLayoutsResponse.DescribeCasterLayouts_Layout();
                layout.LayoutId = context.StringValue("DescribeCasterLayouts.Layouts[" + i + "].LayoutId");

                List <string> layout_blendList = new List <string>();
                for (int j = 0; j < context.Length("DescribeCasterLayouts.Layouts[" + i + "].BlendList.Length"); j++)
                {
                    layout_blendList.Add(context.StringValue("DescribeCasterLayouts.Layouts[" + i + "].BlendList[" + j + "]"));
                }
                layout.BlendList = layout_blendList;

                List <string> layout_mixList = new List <string>();
                for (int j = 0; j < context.Length("DescribeCasterLayouts.Layouts[" + i + "].MixList.Length"); j++)
                {
                    layout_mixList.Add(context.StringValue("DescribeCasterLayouts.Layouts[" + i + "].MixList[" + j + "]"));
                }
                layout.MixList = layout_mixList;

                List <DescribeCasterLayoutsResponse.DescribeCasterLayouts_Layout.DescribeCasterLayouts_VideoLayer> layout_videoLayers = new List <DescribeCasterLayoutsResponse.DescribeCasterLayouts_Layout.DescribeCasterLayouts_VideoLayer>();
                for (int j = 0; j < context.Length("DescribeCasterLayouts.Layouts[" + i + "].VideoLayers.Length"); j++)
                {
                    DescribeCasterLayoutsResponse.DescribeCasterLayouts_Layout.DescribeCasterLayouts_VideoLayer videoLayer = new DescribeCasterLayoutsResponse.DescribeCasterLayouts_Layout.DescribeCasterLayouts_VideoLayer();
                    videoLayer.FillMode           = context.StringValue("DescribeCasterLayouts.Layouts[" + i + "].VideoLayers[" + j + "].FillMode");
                    videoLayer.HeightNormalized   = context.FloatValue("DescribeCasterLayouts.Layouts[" + i + "].VideoLayers[" + j + "].HeightNormalized");
                    videoLayer.WidthNormalized    = context.FloatValue("DescribeCasterLayouts.Layouts[" + i + "].VideoLayers[" + j + "].WidthNormalized");
                    videoLayer.PositionRefer      = context.StringValue("DescribeCasterLayouts.Layouts[" + i + "].VideoLayers[" + j + "].PositionRefer");
                    videoLayer.FixedDelayDuration = context.IntegerValue("DescribeCasterLayouts.Layouts[" + i + "].VideoLayers[" + j + "].FixedDelayDuration");

                    List <string> videoLayer_positionNormalizeds = new List <string>();
                    for (int k = 0; k < context.Length("DescribeCasterLayouts.Layouts[" + i + "].VideoLayers[" + j + "].PositionNormalizeds.Length"); k++)
                    {
                        videoLayer_positionNormalizeds.Add(context.StringValue("DescribeCasterLayouts.Layouts[" + i + "].VideoLayers[" + j + "].PositionNormalizeds[" + k + "]"));
                    }
                    videoLayer.PositionNormalizeds = videoLayer_positionNormalizeds;

                    layout_videoLayers.Add(videoLayer);
                }
                layout.VideoLayers = layout_videoLayers;

                List <DescribeCasterLayoutsResponse.DescribeCasterLayouts_Layout.DescribeCasterLayouts_AudioLayer> layout_audioLayers = new List <DescribeCasterLayoutsResponse.DescribeCasterLayouts_Layout.DescribeCasterLayouts_AudioLayer>();
                for (int j = 0; j < context.Length("DescribeCasterLayouts.Layouts[" + i + "].AudioLayers.Length"); j++)
                {
                    DescribeCasterLayoutsResponse.DescribeCasterLayouts_Layout.DescribeCasterLayouts_AudioLayer audioLayer = new DescribeCasterLayoutsResponse.DescribeCasterLayouts_Layout.DescribeCasterLayouts_AudioLayer();
                    audioLayer.VolumeRate         = context.FloatValue("DescribeCasterLayouts.Layouts[" + i + "].AudioLayers[" + j + "].VolumeRate");
                    audioLayer.ValidChannel       = context.StringValue("DescribeCasterLayouts.Layouts[" + i + "].AudioLayers[" + j + "].ValidChannel");
                    audioLayer.FixedDelayDuration = context.IntegerValue("DescribeCasterLayouts.Layouts[" + i + "].AudioLayers[" + j + "].FixedDelayDuration");

                    layout_audioLayers.Add(audioLayer);
                }
                layout.AudioLayers = layout_audioLayers;

                describeCasterLayoutsResponse_layouts.Add(layout);
            }
            describeCasterLayoutsResponse.Layouts = describeCasterLayoutsResponse_layouts;

            return(describeCasterLayoutsResponse);
        }
        public static DescribeCenRouteMapsResponse Unmarshall(UnmarshallerContext _ctx)
        {
            DescribeCenRouteMapsResponse describeCenRouteMapsResponse = new DescribeCenRouteMapsResponse();

            describeCenRouteMapsResponse.HttpResponse = _ctx.HttpResponse;
            describeCenRouteMapsResponse.RequestId    = _ctx.StringValue("DescribeCenRouteMaps.RequestId");
            describeCenRouteMapsResponse.TotalCount   = _ctx.IntegerValue("DescribeCenRouteMaps.TotalCount");
            describeCenRouteMapsResponse.PageNumber   = _ctx.IntegerValue("DescribeCenRouteMaps.PageNumber");
            describeCenRouteMapsResponse.PageSize     = _ctx.IntegerValue("DescribeCenRouteMaps.PageSize");

            List <DescribeCenRouteMapsResponse.DescribeCenRouteMaps_RouteMap> describeCenRouteMapsResponse_routeMaps = new List <DescribeCenRouteMapsResponse.DescribeCenRouteMaps_RouteMap>();

            for (int i = 0; i < _ctx.Length("DescribeCenRouteMaps.RouteMaps.Length"); i++)
            {
                DescribeCenRouteMapsResponse.DescribeCenRouteMaps_RouteMap routeMap = new DescribeCenRouteMapsResponse.DescribeCenRouteMaps_RouteMap();
                routeMap.Status                             = _ctx.StringValue("DescribeCenRouteMaps.RouteMaps[" + i + "].Status");
                routeMap.RouteMapId                         = _ctx.StringValue("DescribeCenRouteMaps.RouteMaps[" + i + "].RouteMapId");
                routeMap.CenId                              = _ctx.StringValue("DescribeCenRouteMaps.RouteMaps[" + i + "].CenId");
                routeMap.CenRegionId                        = _ctx.StringValue("DescribeCenRouteMaps.RouteMaps[" + i + "].CenRegionId");
                routeMap.Description                        = _ctx.StringValue("DescribeCenRouteMaps.RouteMaps[" + i + "].Description");
                routeMap.MapResult                          = _ctx.StringValue("DescribeCenRouteMaps.RouteMaps[" + i + "].MapResult");
                routeMap.Priority                           = _ctx.IntegerValue("DescribeCenRouteMaps.RouteMaps[" + i + "].Priority");
                routeMap.NextPriority                       = _ctx.IntegerValue("DescribeCenRouteMaps.RouteMaps[" + i + "].NextPriority");
                routeMap.CidrMatchMode                      = _ctx.StringValue("DescribeCenRouteMaps.RouteMaps[" + i + "].CidrMatchMode");
                routeMap.AsPathMatchMode                    = _ctx.StringValue("DescribeCenRouteMaps.RouteMaps[" + i + "].AsPathMatchMode");
                routeMap.CommunityMatchMode                 = _ctx.StringValue("DescribeCenRouteMaps.RouteMaps[" + i + "].CommunityMatchMode");
                routeMap.CommunityOperateMode               = _ctx.StringValue("DescribeCenRouteMaps.RouteMaps[" + i + "].CommunityOperateMode");
                routeMap.Preference                         = _ctx.IntegerValue("DescribeCenRouteMaps.RouteMaps[" + i + "].Preference");
                routeMap.TransmitDirection                  = _ctx.StringValue("DescribeCenRouteMaps.RouteMaps[" + i + "].TransmitDirection");
                routeMap.SourceInstanceIdsReverseMatch      = _ctx.BooleanValue("DescribeCenRouteMaps.RouteMaps[" + i + "].SourceInstanceIdsReverseMatch");
                routeMap.DestinationInstanceIdsReverseMatch = _ctx.BooleanValue("DescribeCenRouteMaps.RouteMaps[" + i + "].DestinationInstanceIdsReverseMatch");
                routeMap.GatewayZoneId                      = _ctx.StringValue("DescribeCenRouteMaps.RouteMaps[" + i + "].GatewayZoneId");
                routeMap.MatchAddressType                   = _ctx.StringValue("DescribeCenRouteMaps.RouteMaps[" + i + "].MatchAddressType");

                List <string> routeMap_sourceInstanceIds = new List <string>();
                for (int j = 0; j < _ctx.Length("DescribeCenRouteMaps.RouteMaps[" + i + "].SourceInstanceIds.Length"); j++)
                {
                    routeMap_sourceInstanceIds.Add(_ctx.StringValue("DescribeCenRouteMaps.RouteMaps[" + i + "].SourceInstanceIds[" + j + "]"));
                }
                routeMap.SourceInstanceIds = routeMap_sourceInstanceIds;

                List <string> routeMap_destinationInstanceIds = new List <string>();
                for (int j = 0; j < _ctx.Length("DescribeCenRouteMaps.RouteMaps[" + i + "].DestinationInstanceIds.Length"); j++)
                {
                    routeMap_destinationInstanceIds.Add(_ctx.StringValue("DescribeCenRouteMaps.RouteMaps[" + i + "].DestinationInstanceIds[" + j + "]"));
                }
                routeMap.DestinationInstanceIds = routeMap_destinationInstanceIds;

                List <string> routeMap_sourceRouteTableIds = new List <string>();
                for (int j = 0; j < _ctx.Length("DescribeCenRouteMaps.RouteMaps[" + i + "].SourceRouteTableIds.Length"); j++)
                {
                    routeMap_sourceRouteTableIds.Add(_ctx.StringValue("DescribeCenRouteMaps.RouteMaps[" + i + "].SourceRouteTableIds[" + j + "]"));
                }
                routeMap.SourceRouteTableIds = routeMap_sourceRouteTableIds;

                List <string> routeMap_destinationRouteTableIds = new List <string>();
                for (int j = 0; j < _ctx.Length("DescribeCenRouteMaps.RouteMaps[" + i + "].DestinationRouteTableIds.Length"); j++)
                {
                    routeMap_destinationRouteTableIds.Add(_ctx.StringValue("DescribeCenRouteMaps.RouteMaps[" + i + "].DestinationRouteTableIds[" + j + "]"));
                }
                routeMap.DestinationRouteTableIds = routeMap_destinationRouteTableIds;

                List <string> routeMap_sourceRegionIds = new List <string>();
                for (int j = 0; j < _ctx.Length("DescribeCenRouteMaps.RouteMaps[" + i + "].SourceRegionIds.Length"); j++)
                {
                    routeMap_sourceRegionIds.Add(_ctx.StringValue("DescribeCenRouteMaps.RouteMaps[" + i + "].SourceRegionIds[" + j + "]"));
                }
                routeMap.SourceRegionIds = routeMap_sourceRegionIds;

                List <string> routeMap_sourceChildInstanceTypes = new List <string>();
                for (int j = 0; j < _ctx.Length("DescribeCenRouteMaps.RouteMaps[" + i + "].SourceChildInstanceTypes.Length"); j++)
                {
                    routeMap_sourceChildInstanceTypes.Add(_ctx.StringValue("DescribeCenRouteMaps.RouteMaps[" + i + "].SourceChildInstanceTypes[" + j + "]"));
                }
                routeMap.SourceChildInstanceTypes = routeMap_sourceChildInstanceTypes;

                List <string> routeMap_destinationChildInstanceTypes = new List <string>();
                for (int j = 0; j < _ctx.Length("DescribeCenRouteMaps.RouteMaps[" + i + "].DestinationChildInstanceTypes.Length"); j++)
                {
                    routeMap_destinationChildInstanceTypes.Add(_ctx.StringValue("DescribeCenRouteMaps.RouteMaps[" + i + "].DestinationChildInstanceTypes[" + j + "]"));
                }
                routeMap.DestinationChildInstanceTypes = routeMap_destinationChildInstanceTypes;

                List <string> routeMap_destinationCidrBlocks = new List <string>();
                for (int j = 0; j < _ctx.Length("DescribeCenRouteMaps.RouteMaps[" + i + "].DestinationCidrBlocks.Length"); j++)
                {
                    routeMap_destinationCidrBlocks.Add(_ctx.StringValue("DescribeCenRouteMaps.RouteMaps[" + i + "].DestinationCidrBlocks[" + j + "]"));
                }
                routeMap.DestinationCidrBlocks = routeMap_destinationCidrBlocks;

                List <string> routeMap_routeTypes = new List <string>();
                for (int j = 0; j < _ctx.Length("DescribeCenRouteMaps.RouteMaps[" + i + "].RouteTypes.Length"); j++)
                {
                    routeMap_routeTypes.Add(_ctx.StringValue("DescribeCenRouteMaps.RouteMaps[" + i + "].RouteTypes[" + j + "]"));
                }
                routeMap.RouteTypes = routeMap_routeTypes;

                List <string> routeMap_matchAsns = new List <string>();
                for (int j = 0; j < _ctx.Length("DescribeCenRouteMaps.RouteMaps[" + i + "].MatchAsns.Length"); j++)
                {
                    routeMap_matchAsns.Add(_ctx.StringValue("DescribeCenRouteMaps.RouteMaps[" + i + "].MatchAsns[" + j + "]"));
                }
                routeMap.MatchAsns = routeMap_matchAsns;

                List <string> routeMap_matchCommunitySet = new List <string>();
                for (int j = 0; j < _ctx.Length("DescribeCenRouteMaps.RouteMaps[" + i + "].MatchCommunitySet.Length"); j++)
                {
                    routeMap_matchCommunitySet.Add(_ctx.StringValue("DescribeCenRouteMaps.RouteMaps[" + i + "].MatchCommunitySet[" + j + "]"));
                }
                routeMap.MatchCommunitySet = routeMap_matchCommunitySet;

                List <string> routeMap_operateCommunitySet = new List <string>();
                for (int j = 0; j < _ctx.Length("DescribeCenRouteMaps.RouteMaps[" + i + "].OperateCommunitySet.Length"); j++)
                {
                    routeMap_operateCommunitySet.Add(_ctx.StringValue("DescribeCenRouteMaps.RouteMaps[" + i + "].OperateCommunitySet[" + j + "]"));
                }
                routeMap.OperateCommunitySet = routeMap_operateCommunitySet;

                List <string> routeMap_prependAsPath = new List <string>();
                for (int j = 0; j < _ctx.Length("DescribeCenRouteMaps.RouteMaps[" + i + "].PrependAsPath.Length"); j++)
                {
                    routeMap_prependAsPath.Add(_ctx.StringValue("DescribeCenRouteMaps.RouteMaps[" + i + "].PrependAsPath[" + j + "]"));
                }
                routeMap.PrependAsPath = routeMap_prependAsPath;

                List <string> routeMap_destinationRegionIds = new List <string>();
                for (int j = 0; j < _ctx.Length("DescribeCenRouteMaps.RouteMaps[" + i + "].DestinationRegionIds.Length"); j++)
                {
                    routeMap_destinationRegionIds.Add(_ctx.StringValue("DescribeCenRouteMaps.RouteMaps[" + i + "].DestinationRegionIds[" + j + "]"));
                }
                routeMap.DestinationRegionIds = routeMap_destinationRegionIds;

                List <string> routeMap_originalRouteTableIds = new List <string>();
                for (int j = 0; j < _ctx.Length("DescribeCenRouteMaps.RouteMaps[" + i + "].OriginalRouteTableIds.Length"); j++)
                {
                    routeMap_originalRouteTableIds.Add(_ctx.StringValue("DescribeCenRouteMaps.RouteMaps[" + i + "].OriginalRouteTableIds[" + j + "]"));
                }
                routeMap.OriginalRouteTableIds = routeMap_originalRouteTableIds;

                List <string> routeMap_srcZoneIds = new List <string>();
                for (int j = 0; j < _ctx.Length("DescribeCenRouteMaps.RouteMaps[" + i + "].SrcZoneIds.Length"); j++)
                {
                    routeMap_srcZoneIds.Add(_ctx.StringValue("DescribeCenRouteMaps.RouteMaps[" + i + "].SrcZoneIds[" + j + "]"));
                }
                routeMap.SrcZoneIds = routeMap_srcZoneIds;

                describeCenRouteMapsResponse_routeMaps.Add(routeMap);
            }
            describeCenRouteMapsResponse.RouteMaps = describeCenRouteMapsResponse_routeMaps;

            return(describeCenRouteMapsResponse);
        }
示例#52
0
        public static DescribeInstancesResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeInstancesResponse describeInstancesResponse = new DescribeInstancesResponse();

            describeInstancesResponse.HttpResponse = context.HttpResponse;
            describeInstancesResponse.RequestId    = context.StringValue("DescribeInstances.RequestId");
            describeInstancesResponse.TotalCount   = context.IntegerValue("DescribeInstances.TotalCount");
            describeInstancesResponse.PageNumber   = context.IntegerValue("DescribeInstances.PageNumber");
            describeInstancesResponse.PageSize     = context.IntegerValue("DescribeInstances.PageSize");

            List <DescribeInstancesResponse.DescribeInstances_Instance> describeInstancesResponse_instances = new List <DescribeInstancesResponse.DescribeInstances_Instance>();

            for (int i = 0; i < context.Length("DescribeInstances.Instances.Length"); i++)
            {
                DescribeInstancesResponse.DescribeInstances_Instance instance = new DescribeInstancesResponse.DescribeInstances_Instance();
                instance.InstanceId              = context.StringValue("DescribeInstances.Instances[" + i + "].InstanceId");
                instance.InstanceName            = context.StringValue("DescribeInstances.Instances[" + i + "].InstanceName");
                instance.Description             = context.StringValue("DescribeInstances.Instances[" + i + "].Description");
                instance.ImageId                 = context.StringValue("DescribeInstances.Instances[" + i + "].ImageId");
                instance.OSName                  = context.StringValue("DescribeInstances.Instances[" + i + "].OSName");
                instance.OSNameEn                = context.StringValue("DescribeInstances.Instances[" + i + "].OSNameEn");
                instance.OSType                  = context.StringValue("DescribeInstances.Instances[" + i + "].OSType");
                instance.RegionId                = context.StringValue("DescribeInstances.Instances[" + i + "].RegionId");
                instance.ZoneId                  = context.StringValue("DescribeInstances.Instances[" + i + "].ZoneId");
                instance.ClusterId               = context.StringValue("DescribeInstances.Instances[" + i + "].ClusterId");
                instance.InstanceType            = context.StringValue("DescribeInstances.Instances[" + i + "].InstanceType");
                instance.Cpu                     = context.IntegerValue("DescribeInstances.Instances[" + i + "].Cpu");
                instance.Memory                  = context.IntegerValue("DescribeInstances.Instances[" + i + "].Memory");
                instance.HostName                = context.StringValue("DescribeInstances.Instances[" + i + "].HostName");
                instance.DeploymentSetId         = context.StringValue("DescribeInstances.Instances[" + i + "].DeploymentSetId");
                instance.Status                  = context.StringValue("DescribeInstances.Instances[" + i + "].Status");
                instance.SerialNumber            = context.StringValue("DescribeInstances.Instances[" + i + "].SerialNumber");
                instance.InternetChargeType      = context.StringValue("DescribeInstances.Instances[" + i + "].InternetChargeType");
                instance.InternetMaxBandwidthIn  = context.IntegerValue("DescribeInstances.Instances[" + i + "].InternetMaxBandwidthIn");
                instance.InternetMaxBandwidthOut = context.IntegerValue("DescribeInstances.Instances[" + i + "].InternetMaxBandwidthOut");
                instance.VlanId                  = context.StringValue("DescribeInstances.Instances[" + i + "].VlanId");
                instance.CreationTime            = context.StringValue("DescribeInstances.Instances[" + i + "].CreationTime");
                instance.StartTime               = context.StringValue("DescribeInstances.Instances[" + i + "].StartTime");
                instance.InstanceNetworkType     = context.StringValue("DescribeInstances.Instances[" + i + "].InstanceNetworkType");
                instance.InstanceChargeType      = context.StringValue("DescribeInstances.Instances[" + i + "].InstanceChargeType");
                instance.SaleCycle               = context.StringValue("DescribeInstances.Instances[" + i + "].SaleCycle");
                instance.ExpiredTime             = context.StringValue("DescribeInstances.Instances[" + i + "].ExpiredTime");
                instance.AutoReleaseTime         = context.StringValue("DescribeInstances.Instances[" + i + "].AutoReleaseTime");
                instance.IoOptimized             = context.BooleanValue("DescribeInstances.Instances[" + i + "].IoOptimized");
                instance.DeviceAvailable         = context.BooleanValue("DescribeInstances.Instances[" + i + "].DeviceAvailable");
                instance.InstanceTypeFamily      = context.StringValue("DescribeInstances.Instances[" + i + "].InstanceTypeFamily");
                instance.LocalStorageCapacity    = context.LongValue("DescribeInstances.Instances[" + i + "].LocalStorageCapacity");
                instance.LocalStorageAmount      = context.IntegerValue("DescribeInstances.Instances[" + i + "].LocalStorageAmount");
                instance.GPUAmount               = context.IntegerValue("DescribeInstances.Instances[" + i + "].GPUAmount");
                instance.GPUSpec                 = context.StringValue("DescribeInstances.Instances[" + i + "].GPUSpec");
                instance.SpotStrategy            = context.StringValue("DescribeInstances.Instances[" + i + "].SpotStrategy");
                instance.SpotPriceLimit          = context.FloatValue("DescribeInstances.Instances[" + i + "].SpotPriceLimit");
                instance.ResourceGroupId         = context.StringValue("DescribeInstances.Instances[" + i + "].ResourceGroupId");
                instance.KeyPairName             = context.StringValue("DescribeInstances.Instances[" + i + "].KeyPairName");
                instance.Recyclable              = context.BooleanValue("DescribeInstances.Instances[" + i + "].Recyclable");
                instance.HpcClusterId            = context.StringValue("DescribeInstances.Instances[" + i + "].HpcClusterId");
                instance.StoppedMode             = context.StringValue("DescribeInstances.Instances[" + i + "].StoppedMode");
                instance.CreditSpecification     = context.StringValue("DescribeInstances.Instances[" + i + "].CreditSpecification");
                instance.DeletionProtection      = context.BooleanValue("DescribeInstances.Instances[" + i + "].DeletionProtection");

                List <string> instance_securityGroupIds = new List <string>();
                for (int j = 0; j < context.Length("DescribeInstances.Instances[" + i + "].SecurityGroupIds.Length"); j++)
                {
                    instance_securityGroupIds.Add(context.StringValue("DescribeInstances.Instances[" + i + "].SecurityGroupIds[" + j + "]"));
                }
                instance.SecurityGroupIds = instance_securityGroupIds;

                List <string> instance_publicIpAddress = new List <string>();
                for (int j = 0; j < context.Length("DescribeInstances.Instances[" + i + "].PublicIpAddress.Length"); j++)
                {
                    instance_publicIpAddress.Add(context.StringValue("DescribeInstances.Instances[" + i + "].PublicIpAddress[" + j + "]"));
                }
                instance.PublicIpAddress = instance_publicIpAddress;

                List <string> instance_innerIpAddress = new List <string>();
                for (int j = 0; j < context.Length("DescribeInstances.Instances[" + i + "].InnerIpAddress.Length"); j++)
                {
                    instance_innerIpAddress.Add(context.StringValue("DescribeInstances.Instances[" + i + "].InnerIpAddress[" + j + "]"));
                }
                instance.InnerIpAddress = instance_innerIpAddress;

                List <string> instance_rdmaIpAddress = new List <string>();
                for (int j = 0; j < context.Length("DescribeInstances.Instances[" + i + "].RdmaIpAddress.Length"); j++)
                {
                    instance_rdmaIpAddress.Add(context.StringValue("DescribeInstances.Instances[" + i + "].RdmaIpAddress[" + j + "]"));
                }
                instance.RdmaIpAddress = instance_rdmaIpAddress;

                DescribeInstancesResponse.DescribeInstances_Instance.DescribeInstances_VpcAttributes vpcAttributes = new DescribeInstancesResponse.DescribeInstances_Instance.DescribeInstances_VpcAttributes();
                vpcAttributes.VpcId        = context.StringValue("DescribeInstances.Instances[" + i + "].VpcAttributes.VpcId");
                vpcAttributes.VSwitchId    = context.StringValue("DescribeInstances.Instances[" + i + "].VpcAttributes.VSwitchId");
                vpcAttributes.NatIpAddress = context.StringValue("DescribeInstances.Instances[" + i + "].VpcAttributes.NatIpAddress");

                List <string> vpcAttributes_privateIpAddress = new List <string>();
                for (int j = 0; j < context.Length("DescribeInstances.Instances[" + i + "].VpcAttributes.PrivateIpAddress.Length"); j++)
                {
                    vpcAttributes_privateIpAddress.Add(context.StringValue("DescribeInstances.Instances[" + i + "].VpcAttributes.PrivateIpAddress[" + j + "]"));
                }
                vpcAttributes.PrivateIpAddress = vpcAttributes_privateIpAddress;
                instance.VpcAttributes         = vpcAttributes;

                DescribeInstancesResponse.DescribeInstances_Instance.DescribeInstances_EipAddress eipAddress = new DescribeInstancesResponse.DescribeInstances_Instance.DescribeInstances_EipAddress();
                eipAddress.AllocationId         = context.StringValue("DescribeInstances.Instances[" + i + "].EipAddress.AllocationId");
                eipAddress.IpAddress            = context.StringValue("DescribeInstances.Instances[" + i + "].EipAddress.IpAddress");
                eipAddress.Bandwidth            = context.IntegerValue("DescribeInstances.Instances[" + i + "].EipAddress.Bandwidth");
                eipAddress.InternetChargeType   = context.StringValue("DescribeInstances.Instances[" + i + "].EipAddress.InternetChargeType");
                eipAddress.IsSupportUnassociate = context.BooleanValue("DescribeInstances.Instances[" + i + "].EipAddress.IsSupportUnassociate");
                instance.EipAddress             = eipAddress;

                DescribeInstancesResponse.DescribeInstances_Instance.DescribeInstances_DedicatedHostAttribute dedicatedHostAttribute = new DescribeInstancesResponse.DescribeInstances_Instance.DescribeInstances_DedicatedHostAttribute();
                dedicatedHostAttribute.DedicatedHostId   = context.StringValue("DescribeInstances.Instances[" + i + "].DedicatedHostAttribute.DedicatedHostId");
                dedicatedHostAttribute.DedicatedHostName = context.StringValue("DescribeInstances.Instances[" + i + "].DedicatedHostAttribute.DedicatedHostName");
                instance.DedicatedHostAttribute          = dedicatedHostAttribute;

                DescribeInstancesResponse.DescribeInstances_Instance.DescribeInstances_EcsCapacityReservationAttr ecsCapacityReservationAttr = new DescribeInstancesResponse.DescribeInstances_Instance.DescribeInstances_EcsCapacityReservationAttr();
                ecsCapacityReservationAttr.CapacityReservationId         = context.StringValue("DescribeInstances.Instances[" + i + "].EcsCapacityReservationAttr.CapacityReservationId");
                ecsCapacityReservationAttr.CapacityReservationPreference = context.StringValue("DescribeInstances.Instances[" + i + "].EcsCapacityReservationAttr.CapacityReservationPreference");
                instance.EcsCapacityReservationAttr = ecsCapacityReservationAttr;

                DescribeInstancesResponse.DescribeInstances_Instance.DescribeInstances_DedicatedInstanceAttribute dedicatedInstanceAttribute = new DescribeInstancesResponse.DescribeInstances_Instance.DescribeInstances_DedicatedInstanceAttribute();
                dedicatedInstanceAttribute.Tenancy  = context.StringValue("DescribeInstances.Instances[" + i + "].DedicatedInstanceAttribute.Tenancy");
                dedicatedInstanceAttribute.Affinity = context.StringValue("DescribeInstances.Instances[" + i + "].DedicatedInstanceAttribute.Affinity");
                instance.DedicatedInstanceAttribute = dedicatedInstanceAttribute;

                DescribeInstancesResponse.DescribeInstances_Instance.DescribeInstances_CpuOptions cpuOptions = new DescribeInstancesResponse.DescribeInstances_Instance.DescribeInstances_CpuOptions();
                cpuOptions.CoreCount      = context.IntegerValue("DescribeInstances.Instances[" + i + "].CpuOptions.CoreCount");
                cpuOptions.ThreadsPerCore = context.IntegerValue("DescribeInstances.Instances[" + i + "].CpuOptions.ThreadsPerCore");
                cpuOptions.Numa           = context.StringValue("DescribeInstances.Instances[" + i + "].CpuOptions.Numa");
                instance.CpuOptions       = cpuOptions;

                DescribeInstancesResponse.DescribeInstances_Instance.DescribeInstances_MetadataOptions metadataOptions = new DescribeInstancesResponse.DescribeInstances_Instance.DescribeInstances_MetadataOptions();
                metadataOptions.HttpEndpoint            = context.StringValue("DescribeInstances.Instances[" + i + "].MetadataOptions.HttpEndpoint");
                metadataOptions.HttpTokens              = context.StringValue("DescribeInstances.Instances[" + i + "].MetadataOptions.HttpTokens");
                metadataOptions.HttpPutResponseHopLimit = context.IntegerValue("DescribeInstances.Instances[" + i + "].MetadataOptions.HttpPutResponseHopLimit");
                instance.MetadataOptions = metadataOptions;

                List <DescribeInstancesResponse.DescribeInstances_Instance.DescribeInstances_NetworkInterface> instance_networkInterfaces = new List <DescribeInstancesResponse.DescribeInstances_Instance.DescribeInstances_NetworkInterface>();
                for (int j = 0; j < context.Length("DescribeInstances.Instances[" + i + "].NetworkInterfaces.Length"); j++)
                {
                    DescribeInstancesResponse.DescribeInstances_Instance.DescribeInstances_NetworkInterface networkInterface = new DescribeInstancesResponse.DescribeInstances_Instance.DescribeInstances_NetworkInterface();
                    networkInterface.NetworkInterfaceId = context.StringValue("DescribeInstances.Instances[" + i + "].NetworkInterfaces[" + j + "].NetworkInterfaceId");
                    networkInterface.MacAddress         = context.StringValue("DescribeInstances.Instances[" + i + "].NetworkInterfaces[" + j + "].MacAddress");
                    networkInterface.PrimaryIpAddress   = context.StringValue("DescribeInstances.Instances[" + i + "].NetworkInterfaces[" + j + "].PrimaryIpAddress");

                    instance_networkInterfaces.Add(networkInterface);
                }
                instance.NetworkInterfaces = instance_networkInterfaces;

                List <DescribeInstancesResponse.DescribeInstances_Instance.DescribeInstances_LockReason> instance_operationLocks = new List <DescribeInstancesResponse.DescribeInstances_Instance.DescribeInstances_LockReason>();
                for (int j = 0; j < context.Length("DescribeInstances.Instances[" + i + "].OperationLocks.Length"); j++)
                {
                    DescribeInstancesResponse.DescribeInstances_Instance.DescribeInstances_LockReason lockReason = new DescribeInstancesResponse.DescribeInstances_Instance.DescribeInstances_LockReason();
                    lockReason.LockReason = context.StringValue("DescribeInstances.Instances[" + i + "].OperationLocks[" + j + "].LockReason");
                    lockReason.LockMsg    = context.StringValue("DescribeInstances.Instances[" + i + "].OperationLocks[" + j + "].LockMsg");

                    instance_operationLocks.Add(lockReason);
                }
                instance.OperationLocks = instance_operationLocks;

                List <DescribeInstancesResponse.DescribeInstances_Instance.DescribeInstances_Tag> instance_tags = new List <DescribeInstancesResponse.DescribeInstances_Instance.DescribeInstances_Tag>();
                for (int j = 0; j < context.Length("DescribeInstances.Instances[" + i + "].Tags.Length"); j++)
                {
                    DescribeInstancesResponse.DescribeInstances_Instance.DescribeInstances_Tag tag = new DescribeInstancesResponse.DescribeInstances_Instance.DescribeInstances_Tag();
                    tag.TagKey   = context.StringValue("DescribeInstances.Instances[" + i + "].Tags[" + j + "].TagKey");
                    tag.TagValue = context.StringValue("DescribeInstances.Instances[" + i + "].Tags[" + j + "].TagValue");

                    instance_tags.Add(tag);
                }
                instance.Tags = instance_tags;

                describeInstancesResponse_instances.Add(instance);
            }
            describeInstancesResponse.Instances = describeInstancesResponse_instances;

            return(describeInstancesResponse);
        }
        public static GetCallDetailRecordResponse Unmarshall(UnmarshallerContext _ctx)
        {
            GetCallDetailRecordResponse getCallDetailRecordResponse = new GetCallDetailRecordResponse();

            getCallDetailRecordResponse.HttpResponse   = _ctx.HttpResponse;
            getCallDetailRecordResponse.Code           = _ctx.StringValue("GetCallDetailRecord.Code");
            getCallDetailRecordResponse.HttpStatusCode = _ctx.IntegerValue("GetCallDetailRecord.HttpStatusCode");
            getCallDetailRecordResponse.Message        = _ctx.StringValue("GetCallDetailRecord.Message");
            getCallDetailRecordResponse.RequestId      = _ctx.StringValue("GetCallDetailRecord.RequestId");

            GetCallDetailRecordResponse.GetCallDetailRecord_Data data = new GetCallDetailRecordResponse.GetCallDetailRecord_Data();
            data.AgentIds                  = _ctx.StringValue("GetCallDetailRecord.Data.AgentIds");
            data.AgentNames                = _ctx.StringValue("GetCallDetailRecord.Data.AgentNames");
            data.CalledNumber              = _ctx.StringValue("GetCallDetailRecord.Data.CalledNumber");
            data.CallingNumber             = _ctx.StringValue("GetCallDetailRecord.Data.CallingNumber");
            data.ContactDisposition        = _ctx.StringValue("GetCallDetailRecord.Data.ContactDisposition");
            data.ContactId                 = _ctx.StringValue("GetCallDetailRecord.Data.ContactId");
            data.ContactType               = _ctx.StringValue("GetCallDetailRecord.Data.ContactType");
            data.CallDuration              = _ctx.LongValue("GetCallDetailRecord.Data.CallDuration");
            data.EstablishedTime           = _ctx.LongValue("GetCallDetailRecord.Data.EstablishedTime");
            data.InstanceId                = _ctx.StringValue("GetCallDetailRecord.Data.InstanceId");
            data.StartTime                 = _ctx.LongValue("GetCallDetailRecord.Data.StartTime");
            data.ReleaseTime               = _ctx.LongValue("GetCallDetailRecord.Data.ReleaseTime");
            data.SkillGroupIds             = _ctx.StringValue("GetCallDetailRecord.Data.SkillGroupIds");
            data.SkillGroupNames           = _ctx.StringValue("GetCallDetailRecord.Data.SkillGroupNames");
            data.SatisfactionSurveyOffered = _ctx.BooleanValue("GetCallDetailRecord.Data.SatisfactionSurveyOffered");
            data.Satisfaction              = _ctx.IntegerValue("GetCallDetailRecord.Data.Satisfaction");
            data.SatisfactionSurveyChannel = _ctx.StringValue("GetCallDetailRecord.Data.SatisfactionSurveyChannel");
            data.ReleaseInitiator          = _ctx.StringValue("GetCallDetailRecord.Data.ReleaseInitiator");
            data.RecordingReady            = _ctx.BooleanValue("GetCallDetailRecord.Data.RecordingReady");

            List <GetCallDetailRecordResponse.GetCallDetailRecord_Data.GetCallDetailRecord_AgentEventsItem> data_agentEvents = new List <GetCallDetailRecordResponse.GetCallDetailRecord_Data.GetCallDetailRecord_AgentEventsItem>();

            for (int i = 0; i < _ctx.Length("GetCallDetailRecord.Data.AgentEvents.Length"); i++)
            {
                GetCallDetailRecordResponse.GetCallDetailRecord_Data.GetCallDetailRecord_AgentEventsItem agentEventsItem = new GetCallDetailRecordResponse.GetCallDetailRecord_Data.GetCallDetailRecord_AgentEventsItem();
                agentEventsItem.AgentId      = _ctx.StringValue("GetCallDetailRecord.Data.AgentEvents[" + i + "].AgentId");
                agentEventsItem.AgentName    = _ctx.StringValue("GetCallDetailRecord.Data.AgentEvents[" + i + "].AgentName");
                agentEventsItem.SkillGroupId = _ctx.StringValue("GetCallDetailRecord.Data.AgentEvents[" + i + "].SkillGroupId");

                List <GetCallDetailRecordResponse.GetCallDetailRecord_Data.GetCallDetailRecord_AgentEventsItem.GetCallDetailRecord_EventSequenceItem> agentEventsItem_eventSequence = new List <GetCallDetailRecordResponse.GetCallDetailRecord_Data.GetCallDetailRecord_AgentEventsItem.GetCallDetailRecord_EventSequenceItem>();
                for (int j = 0; j < _ctx.Length("GetCallDetailRecord.Data.AgentEvents[" + i + "].EventSequence.Length"); j++)
                {
                    GetCallDetailRecordResponse.GetCallDetailRecord_Data.GetCallDetailRecord_AgentEventsItem.GetCallDetailRecord_EventSequenceItem eventSequenceItem = new GetCallDetailRecordResponse.GetCallDetailRecord_Data.GetCallDetailRecord_AgentEventsItem.GetCallDetailRecord_EventSequenceItem();
                    eventSequenceItem._Event    = _ctx.StringValue("GetCallDetailRecord.Data.AgentEvents[" + i + "].EventSequence[" + j + "].Event");
                    eventSequenceItem.EventTime = _ctx.LongValue("GetCallDetailRecord.Data.AgentEvents[" + i + "].EventSequence[" + j + "].EventTime");

                    agentEventsItem_eventSequence.Add(eventSequenceItem);
                }
                agentEventsItem.EventSequence = agentEventsItem_eventSequence;

                data_agentEvents.Add(agentEventsItem);
            }
            data.AgentEvents = data_agentEvents;

            List <GetCallDetailRecordResponse.GetCallDetailRecord_Data.GetCallDetailRecord_IvrEventsItem> data_ivrEvents = new List <GetCallDetailRecordResponse.GetCallDetailRecord_Data.GetCallDetailRecord_IvrEventsItem>();

            for (int i = 0; i < _ctx.Length("GetCallDetailRecord.Data.IvrEvents.Length"); i++)
            {
                GetCallDetailRecordResponse.GetCallDetailRecord_Data.GetCallDetailRecord_IvrEventsItem ivrEventsItem = new GetCallDetailRecordResponse.GetCallDetailRecord_Data.GetCallDetailRecord_IvrEventsItem();
                ivrEventsItem.FlowId = _ctx.StringValue("GetCallDetailRecord.Data.IvrEvents[" + i + "].FlowId");

                List <GetCallDetailRecordResponse.GetCallDetailRecord_Data.GetCallDetailRecord_IvrEventsItem.GetCallDetailRecord_EventSequenceItem2> ivrEventsItem_eventSequence1 = new List <GetCallDetailRecordResponse.GetCallDetailRecord_Data.GetCallDetailRecord_IvrEventsItem.GetCallDetailRecord_EventSequenceItem2>();
                for (int j = 0; j < _ctx.Length("GetCallDetailRecord.Data.IvrEvents[" + i + "].EventSequence.Length"); j++)
                {
                    GetCallDetailRecordResponse.GetCallDetailRecord_Data.GetCallDetailRecord_IvrEventsItem.GetCallDetailRecord_EventSequenceItem2 eventSequenceItem2 = new GetCallDetailRecordResponse.GetCallDetailRecord_Data.GetCallDetailRecord_IvrEventsItem.GetCallDetailRecord_EventSequenceItem2();
                    eventSequenceItem2._Event    = _ctx.StringValue("GetCallDetailRecord.Data.IvrEvents[" + i + "].EventSequence[" + j + "].Event");
                    eventSequenceItem2.EventTime = _ctx.LongValue("GetCallDetailRecord.Data.IvrEvents[" + i + "].EventSequence[" + j + "].EventTime");

                    ivrEventsItem_eventSequence1.Add(eventSequenceItem2);
                }
                ivrEventsItem.EventSequence1 = ivrEventsItem_eventSequence1;

                data_ivrEvents.Add(ivrEventsItem);
            }
            data.IvrEvents = data_ivrEvents;

            List <GetCallDetailRecordResponse.GetCallDetailRecord_Data.GetCallDetailRecord_QueueEventsItem> data_queueEvents = new List <GetCallDetailRecordResponse.GetCallDetailRecord_Data.GetCallDetailRecord_QueueEventsItem>();

            for (int i = 0; i < _ctx.Length("GetCallDetailRecord.Data.QueueEvents.Length"); i++)
            {
                GetCallDetailRecordResponse.GetCallDetailRecord_Data.GetCallDetailRecord_QueueEventsItem queueEventsItem = new GetCallDetailRecordResponse.GetCallDetailRecord_Data.GetCallDetailRecord_QueueEventsItem();
                queueEventsItem.FlowId    = _ctx.StringValue("GetCallDetailRecord.Data.QueueEvents[" + i + "].FlowId");
                queueEventsItem.QueueId   = _ctx.StringValue("GetCallDetailRecord.Data.QueueEvents[" + i + "].QueueId");
                queueEventsItem.QueueName = _ctx.StringValue("GetCallDetailRecord.Data.QueueEvents[" + i + "].QueueName");
                queueEventsItem.QueueType = _ctx.IntegerValue("GetCallDetailRecord.Data.QueueEvents[" + i + "].QueueType");

                List <GetCallDetailRecordResponse.GetCallDetailRecord_Data.GetCallDetailRecord_QueueEventsItem.GetCallDetailRecord_EventSequenceItem4> queueEventsItem_eventSequence3 = new List <GetCallDetailRecordResponse.GetCallDetailRecord_Data.GetCallDetailRecord_QueueEventsItem.GetCallDetailRecord_EventSequenceItem4>();
                for (int j = 0; j < _ctx.Length("GetCallDetailRecord.Data.QueueEvents[" + i + "].EventSequence.Length"); j++)
                {
                    GetCallDetailRecordResponse.GetCallDetailRecord_Data.GetCallDetailRecord_QueueEventsItem.GetCallDetailRecord_EventSequenceItem4 eventSequenceItem4 = new GetCallDetailRecordResponse.GetCallDetailRecord_Data.GetCallDetailRecord_QueueEventsItem.GetCallDetailRecord_EventSequenceItem4();
                    eventSequenceItem4._Event    = _ctx.StringValue("GetCallDetailRecord.Data.QueueEvents[" + i + "].EventSequence[" + j + "].Event");
                    eventSequenceItem4.EventTime = _ctx.LongValue("GetCallDetailRecord.Data.QueueEvents[" + i + "].EventSequence[" + j + "].EventTime");

                    queueEventsItem_eventSequence3.Add(eventSequenceItem4);
                }
                queueEventsItem.EventSequence3 = queueEventsItem_eventSequence3;

                data_queueEvents.Add(queueEventsItem);
            }
            data.QueueEvents = data_queueEvents;
            getCallDetailRecordResponse.Data = data;

            return(getCallDetailRecordResponse);
        }
示例#54
0
        public static ScreenChestCTResponse Unmarshall(UnmarshallerContext _ctx)
        {
            ScreenChestCTResponse screenChestCTResponse = new ScreenChestCTResponse();

            screenChestCTResponse.HttpResponse = _ctx.HttpResponse;
            screenChestCTResponse.RequestId    = _ctx.StringValue("ScreenChestCT.RequestId");

            ScreenChestCTResponse.ScreenChestCT_Data data = new ScreenChestCTResponse.ScreenChestCT_Data();

            ScreenChestCTResponse.ScreenChestCT_Data.ScreenChestCT_LungNodule lungNodule = new ScreenChestCTResponse.ScreenChestCT_Data.ScreenChestCT_LungNodule();

            List <ScreenChestCTResponse.ScreenChestCT_Data.ScreenChestCT_LungNodule.ScreenChestCT_Serie> lungNodule_series = new List <ScreenChestCTResponse.ScreenChestCT_Data.ScreenChestCT_LungNodule.ScreenChestCT_Serie>();

            for (int i = 0; i < _ctx.Length("ScreenChestCT.Data.LungNodule.Series.Length"); i++)
            {
                ScreenChestCTResponse.ScreenChestCT_Data.ScreenChestCT_LungNodule.ScreenChestCT_Serie serie = new ScreenChestCTResponse.ScreenChestCT_Data.ScreenChestCT_LungNodule.ScreenChestCT_Serie();
                serie.SeriesInstanceUid = _ctx.StringValue("ScreenChestCT.Data.LungNodule.Series[" + i + "].SeriesInstanceUid");
                serie.Report            = _ctx.StringValue("ScreenChestCT.Data.LungNodule.Series[" + i + "].Report");

                List <string> serie_origin = new List <string>();
                for (int j = 0; j < _ctx.Length("ScreenChestCT.Data.LungNodule.Series[" + i + "].Origin.Length"); j++)
                {
                    serie_origin.Add(_ctx.StringValue("ScreenChestCT.Data.LungNodule.Series[" + i + "].Origin[" + j + "]"));
                }
                serie.Origin = serie_origin;

                List <string> serie_spacing = new List <string>();
                for (int j = 0; j < _ctx.Length("ScreenChestCT.Data.LungNodule.Series[" + i + "].Spacing.Length"); j++)
                {
                    serie_spacing.Add(_ctx.StringValue("ScreenChestCT.Data.LungNodule.Series[" + i + "].Spacing[" + j + "]"));
                }
                serie.Spacing = serie_spacing;

                List <ScreenChestCTResponse.ScreenChestCT_Data.ScreenChestCT_LungNodule.ScreenChestCT_Serie.ScreenChestCT_Element> serie_elements = new List <ScreenChestCTResponse.ScreenChestCT_Data.ScreenChestCT_LungNodule.ScreenChestCT_Serie.ScreenChestCT_Element>();
                for (int j = 0; j < _ctx.Length("ScreenChestCT.Data.LungNodule.Series[" + i + "].Elements.Length"); j++)
                {
                    ScreenChestCTResponse.ScreenChestCT_Data.ScreenChestCT_LungNodule.ScreenChestCT_Serie.ScreenChestCT_Element element = new ScreenChestCTResponse.ScreenChestCT_Data.ScreenChestCT_LungNodule.ScreenChestCT_Serie.ScreenChestCT_Element();
                    element.Category       = _ctx.StringValue("ScreenChestCT.Data.LungNodule.Series[" + i + "].Elements[" + j + "].Category");
                    element.Confidence     = _ctx.FloatValue("ScreenChestCT.Data.LungNodule.Series[" + i + "].Elements[" + j + "].Confidence");
                    element.Diameter       = _ctx.FloatValue("ScreenChestCT.Data.LungNodule.Series[" + i + "].Elements[" + j + "].Diameter");
                    element.Lobe           = _ctx.StringValue("ScreenChestCT.Data.LungNodule.Series[" + i + "].Elements[" + j + "].Lobe");
                    element.Lung           = _ctx.StringValue("ScreenChestCT.Data.LungNodule.Series[" + i + "].Elements[" + j + "].Lung");
                    element.X              = _ctx.FloatValue("ScreenChestCT.Data.LungNodule.Series[" + i + "].Elements[" + j + "].X");
                    element.Z              = _ctx.FloatValue("ScreenChestCT.Data.LungNodule.Series[" + i + "].Elements[" + j + "].Z");
                    element.Y              = _ctx.FloatValue("ScreenChestCT.Data.LungNodule.Series[" + i + "].Elements[" + j + "].Y");
                    element.ImageX         = _ctx.FloatValue("ScreenChestCT.Data.LungNodule.Series[" + i + "].Elements[" + j + "].ImageX");
                    element.ImageY         = _ctx.FloatValue("ScreenChestCT.Data.LungNodule.Series[" + i + "].Elements[" + j + "].ImageY");
                    element.ImageZ         = _ctx.FloatValue("ScreenChestCT.Data.LungNodule.Series[" + i + "].Elements[" + j + "].ImageZ");
                    element.SOPInstanceUID = _ctx.StringValue("ScreenChestCT.Data.LungNodule.Series[" + i + "].Elements[" + j + "].SOPInstanceUID");
                    element.Volume         = _ctx.FloatValue("ScreenChestCT.Data.LungNodule.Series[" + i + "].Elements[" + j + "].Volume");
                    element.MeanValue      = _ctx.FloatValue("ScreenChestCT.Data.LungNodule.Series[" + i + "].Elements[" + j + "].MeanValue");

                    serie_elements.Add(element);
                }
                serie.Elements = serie_elements;

                lungNodule_series.Add(serie);
            }
            lungNodule.Series = lungNodule_series;
            data.LungNodule   = lungNodule;

            ScreenChestCTResponse.ScreenChestCT_Data.ScreenChestCT_CACS cACS = new ScreenChestCTResponse.ScreenChestCT_Data.ScreenChestCT_CACS();
            cACS.Score     = _ctx.StringValue("ScreenChestCT.Data.CACS.Score");
            cACS.ResultUrl = _ctx.StringValue("ScreenChestCT.Data.CACS.ResultUrl");
            data.CACS      = cACS;

            ScreenChestCTResponse.ScreenChestCT_Data.ScreenChestCT_Covid covid = new ScreenChestCTResponse.ScreenChestCT_Data.ScreenChestCT_Covid();
            covid.NewProbability    = _ctx.StringValue("ScreenChestCT.Data.Covid.NewProbability");
            covid.NormalProbability = _ctx.StringValue("ScreenChestCT.Data.Covid.NormalProbability");
            covid.OtherProbability  = _ctx.StringValue("ScreenChestCT.Data.Covid.OtherProbability");
            covid.LesionRatio       = _ctx.StringValue("ScreenChestCT.Data.Covid.LesionRatio");
            covid.Mask = _ctx.StringValue("ScreenChestCT.Data.Covid.Mask");
            data.Covid = covid;
            screenChestCTResponse.Data = data;

            return(screenChestCTResponse);
        }
        public static DescribeDomainTopUrlVisitResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeDomainTopUrlVisitResponse describeDomainTopUrlVisitResponse = new DescribeDomainTopUrlVisitResponse();

            describeDomainTopUrlVisitResponse.HttpResponse = context.HttpResponse;
            describeDomainTopUrlVisitResponse.RequestId    = context.StringValue("DescribeDomainTopUrlVisit.RequestId");
            describeDomainTopUrlVisitResponse.DomainName   = context.StringValue("DescribeDomainTopUrlVisit.DomainName");
            describeDomainTopUrlVisitResponse.StartTime    = context.StringValue("DescribeDomainTopUrlVisit.StartTime");

            List <DescribeDomainTopUrlVisitResponse.DescribeDomainTopUrlVisit_UrlList> describeDomainTopUrlVisitResponse_allUrlList = new List <DescribeDomainTopUrlVisitResponse.DescribeDomainTopUrlVisit_UrlList>();

            for (int i = 0; i < context.Length("DescribeDomainTopUrlVisit.AllUrlList.Length"); i++)
            {
                DescribeDomainTopUrlVisitResponse.DescribeDomainTopUrlVisit_UrlList urlList = new DescribeDomainTopUrlVisitResponse.DescribeDomainTopUrlVisit_UrlList();
                urlList.UrlDetail       = context.StringValue("DescribeDomainTopUrlVisit.AllUrlList[" + i + "].UrlDetail");
                urlList.VisitData       = context.StringValue("DescribeDomainTopUrlVisit.AllUrlList[" + i + "].VisitData");
                urlList.VisitProportion = context.FloatValue("DescribeDomainTopUrlVisit.AllUrlList[" + i + "].VisitProportion");
                urlList.Flow            = context.StringValue("DescribeDomainTopUrlVisit.AllUrlList[" + i + "].Flow");
                urlList.FlowProportion  = context.FloatValue("DescribeDomainTopUrlVisit.AllUrlList[" + i + "].FlowProportion");

                describeDomainTopUrlVisitResponse_allUrlList.Add(urlList);
            }
            describeDomainTopUrlVisitResponse.AllUrlList = describeDomainTopUrlVisitResponse_allUrlList;

            List <DescribeDomainTopUrlVisitResponse.DescribeDomainTopUrlVisit_UrlList> describeDomainTopUrlVisitResponse_url200List = new List <DescribeDomainTopUrlVisitResponse.DescribeDomainTopUrlVisit_UrlList>();

            for (int i = 0; i < context.Length("DescribeDomainTopUrlVisit.Url200List.Length"); i++)
            {
                DescribeDomainTopUrlVisitResponse.DescribeDomainTopUrlVisit_UrlList urlList = new DescribeDomainTopUrlVisitResponse.DescribeDomainTopUrlVisit_UrlList();
                urlList.UrlDetail       = context.StringValue("DescribeDomainTopUrlVisit.Url200List[" + i + "].UrlDetail");
                urlList.VisitData       = context.StringValue("DescribeDomainTopUrlVisit.Url200List[" + i + "].VisitData");
                urlList.VisitProportion = context.FloatValue("DescribeDomainTopUrlVisit.Url200List[" + i + "].VisitProportion");
                urlList.Flow            = context.StringValue("DescribeDomainTopUrlVisit.Url200List[" + i + "].Flow");
                urlList.FlowProportion  = context.FloatValue("DescribeDomainTopUrlVisit.Url200List[" + i + "].FlowProportion");

                describeDomainTopUrlVisitResponse_url200List.Add(urlList);
            }
            describeDomainTopUrlVisitResponse.Url200List = describeDomainTopUrlVisitResponse_url200List;

            List <DescribeDomainTopUrlVisitResponse.DescribeDomainTopUrlVisit_UrlList> describeDomainTopUrlVisitResponse_url300List = new List <DescribeDomainTopUrlVisitResponse.DescribeDomainTopUrlVisit_UrlList>();

            for (int i = 0; i < context.Length("DescribeDomainTopUrlVisit.Url300List.Length"); i++)
            {
                DescribeDomainTopUrlVisitResponse.DescribeDomainTopUrlVisit_UrlList urlList = new DescribeDomainTopUrlVisitResponse.DescribeDomainTopUrlVisit_UrlList();
                urlList.UrlDetail       = context.StringValue("DescribeDomainTopUrlVisit.Url300List[" + i + "].UrlDetail");
                urlList.VisitData       = context.StringValue("DescribeDomainTopUrlVisit.Url300List[" + i + "].VisitData");
                urlList.VisitProportion = context.FloatValue("DescribeDomainTopUrlVisit.Url300List[" + i + "].VisitProportion");
                urlList.Flow            = context.StringValue("DescribeDomainTopUrlVisit.Url300List[" + i + "].Flow");
                urlList.FlowProportion  = context.FloatValue("DescribeDomainTopUrlVisit.Url300List[" + i + "].FlowProportion");

                describeDomainTopUrlVisitResponse_url300List.Add(urlList);
            }
            describeDomainTopUrlVisitResponse.Url300List = describeDomainTopUrlVisitResponse_url300List;

            List <DescribeDomainTopUrlVisitResponse.DescribeDomainTopUrlVisit_UrlList> describeDomainTopUrlVisitResponse_url400List = new List <DescribeDomainTopUrlVisitResponse.DescribeDomainTopUrlVisit_UrlList>();

            for (int i = 0; i < context.Length("DescribeDomainTopUrlVisit.Url400List.Length"); i++)
            {
                DescribeDomainTopUrlVisitResponse.DescribeDomainTopUrlVisit_UrlList urlList = new DescribeDomainTopUrlVisitResponse.DescribeDomainTopUrlVisit_UrlList();
                urlList.UrlDetail       = context.StringValue("DescribeDomainTopUrlVisit.Url400List[" + i + "].UrlDetail");
                urlList.VisitData       = context.StringValue("DescribeDomainTopUrlVisit.Url400List[" + i + "].VisitData");
                urlList.VisitProportion = context.FloatValue("DescribeDomainTopUrlVisit.Url400List[" + i + "].VisitProportion");
                urlList.Flow            = context.StringValue("DescribeDomainTopUrlVisit.Url400List[" + i + "].Flow");
                urlList.FlowProportion  = context.FloatValue("DescribeDomainTopUrlVisit.Url400List[" + i + "].FlowProportion");

                describeDomainTopUrlVisitResponse_url400List.Add(urlList);
            }
            describeDomainTopUrlVisitResponse.Url400List = describeDomainTopUrlVisitResponse_url400List;

            List <DescribeDomainTopUrlVisitResponse.DescribeDomainTopUrlVisit_UrlList> describeDomainTopUrlVisitResponse_url500List = new List <DescribeDomainTopUrlVisitResponse.DescribeDomainTopUrlVisit_UrlList>();

            for (int i = 0; i < context.Length("DescribeDomainTopUrlVisit.Url500List.Length"); i++)
            {
                DescribeDomainTopUrlVisitResponse.DescribeDomainTopUrlVisit_UrlList urlList = new DescribeDomainTopUrlVisitResponse.DescribeDomainTopUrlVisit_UrlList();
                urlList.UrlDetail       = context.StringValue("DescribeDomainTopUrlVisit.Url500List[" + i + "].UrlDetail");
                urlList.VisitData       = context.StringValue("DescribeDomainTopUrlVisit.Url500List[" + i + "].VisitData");
                urlList.VisitProportion = context.FloatValue("DescribeDomainTopUrlVisit.Url500List[" + i + "].VisitProportion");
                urlList.Flow            = context.StringValue("DescribeDomainTopUrlVisit.Url500List[" + i + "].Flow");
                urlList.FlowProportion  = context.FloatValue("DescribeDomainTopUrlVisit.Url500List[" + i + "].FlowProportion");

                describeDomainTopUrlVisitResponse_url500List.Add(urlList);
            }
            describeDomainTopUrlVisitResponse.Url500List = describeDomainTopUrlVisitResponse_url500List;

            return(describeDomainTopUrlVisitResponse);
        }
        public static ListVideoFramesResponse Unmarshall(UnmarshallerContext context)
        {
            ListVideoFramesResponse listVideoFramesResponse = new ListVideoFramesResponse();

            listVideoFramesResponse.HttpResponse = context.HttpResponse;
            listVideoFramesResponse.SetId        = context.StringValue("ListVideoFrames.SetId");
            listVideoFramesResponse.VideoUri     = context.StringValue("ListVideoFrames.VideoUri");
            listVideoFramesResponse.NextMarker   = context.StringValue("ListVideoFrames.NextMarker");
            listVideoFramesResponse.RequestId    = context.StringValue("ListVideoFrames.RequestId");

            List <ListVideoFramesResponse.ListVideoFrames_FramesItem> listVideoFramesResponse_frames = new List <ListVideoFramesResponse.ListVideoFrames_FramesItem>();

            for (int i = 0; i < context.Length("ListVideoFrames.Frames.Length"); i++)
            {
                ListVideoFramesResponse.ListVideoFrames_FramesItem framesItem = new ListVideoFramesResponse.ListVideoFrames_FramesItem();
                framesItem.FacesModifyTime     = context.StringValue("ListVideoFrames.Frames[" + i + "].FacesModifyTime");
                framesItem.OCRModifyTime       = context.StringValue("ListVideoFrames.Frames[" + i + "].OCRModifyTime");
                framesItem.OCRStatus           = context.StringValue("ListVideoFrames.Frames[" + i + "].OCRStatus");
                framesItem.SourcePosition      = context.StringValue("ListVideoFrames.Frames[" + i + "].SourcePosition");
                framesItem.Exif                = context.StringValue("ListVideoFrames.Frames[" + i + "].Exif");
                framesItem.ImageUri            = context.StringValue("ListVideoFrames.Frames[" + i + "].ImageUri");
                framesItem.ImageWidth          = context.IntegerValue("ListVideoFrames.Frames[" + i + "].ImageWidth");
                framesItem.ImageFormat         = context.StringValue("ListVideoFrames.Frames[" + i + "].ImageFormat");
                framesItem.SourceType          = context.StringValue("ListVideoFrames.Frames[" + i + "].SourceType");
                framesItem.ModifyTime          = context.StringValue("ListVideoFrames.Frames[" + i + "].ModifyTime");
                framesItem.FileSize            = context.IntegerValue("ListVideoFrames.Frames[" + i + "].FileSize");
                framesItem.SourceUri           = context.StringValue("ListVideoFrames.Frames[" + i + "].SourceUri");
                framesItem.CreateTime          = context.StringValue("ListVideoFrames.Frames[" + i + "].CreateTime");
                framesItem.FacesStatus         = context.StringValue("ListVideoFrames.Frames[" + i + "].FacesStatus");
                framesItem.RemarksA            = context.StringValue("ListVideoFrames.Frames[" + i + "].RemarksA");
                framesItem.ImageHeight         = context.IntegerValue("ListVideoFrames.Frames[" + i + "].ImageHeight");
                framesItem.RemarksB            = context.StringValue("ListVideoFrames.Frames[" + i + "].RemarksB");
                framesItem.ImageTime           = context.StringValue("ListVideoFrames.Frames[" + i + "].ImageTime");
                framesItem.Orientation         = context.StringValue("ListVideoFrames.Frames[" + i + "].Orientation");
                framesItem.Location            = context.StringValue("ListVideoFrames.Frames[" + i + "].Location");
                framesItem.OCRFailReason       = context.StringValue("ListVideoFrames.Frames[" + i + "].OCRFailReason");
                framesItem.FacesFailReason     = context.StringValue("ListVideoFrames.Frames[" + i + "].FacesFailReason");
                framesItem.TagsFailReason      = context.StringValue("ListVideoFrames.Frames[" + i + "].TagsFailReason");
                framesItem.TagsModifyTime      = context.StringValue("ListVideoFrames.Frames[" + i + "].TagsModifyTime");
                framesItem.CelebrityStatus     = context.StringValue("ListVideoFrames.Frames[" + i + "].CelebrityStatus");
                framesItem.CelebrityModifyTime = context.StringValue("ListVideoFrames.Frames[" + i + "].CelebrityModifyTime");
                framesItem.CelebrityFailReason = context.StringValue("ListVideoFrames.Frames[" + i + "].CelebrityFailReason");
                framesItem.TagsStatus          = context.StringValue("ListVideoFrames.Frames[" + i + "].TagsStatus");
                framesItem.RemarksC            = context.StringValue("ListVideoFrames.Frames[" + i + "].RemarksC");
                framesItem.RemarksD            = context.StringValue("ListVideoFrames.Frames[" + i + "].RemarksD");
                framesItem.ExternalId          = context.StringValue("ListVideoFrames.Frames[" + i + "].ExternalId");

                List <ListVideoFramesResponse.ListVideoFrames_FramesItem.ListVideoFrames_FacesItem> framesItem_faces = new List <ListVideoFramesResponse.ListVideoFrames_FramesItem.ListVideoFrames_FacesItem>();
                for (int j = 0; j < context.Length("ListVideoFrames.Frames[" + i + "].Faces.Length"); j++)
                {
                    ListVideoFramesResponse.ListVideoFrames_FramesItem.ListVideoFrames_FacesItem facesItem = new ListVideoFramesResponse.ListVideoFrames_FramesItem.ListVideoFrames_FacesItem();
                    facesItem.Age = context.IntegerValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].Age");
                    facesItem.GenderConfidence  = context.FloatValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].GenderConfidence");
                    facesItem.Attractive        = context.FloatValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].Attractive");
                    facesItem.Gender            = context.StringValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].Gender");
                    facesItem.FaceConfidence    = context.FloatValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].FaceConfidence");
                    facesItem.Emotion           = context.StringValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].Emotion");
                    facesItem.FaceId            = context.StringValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].FaceId");
                    facesItem.EmotionConfidence = context.FloatValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].EmotionConfidence");
                    facesItem.GroupId           = context.StringValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].GroupId");
                    facesItem.FaceQuality       = context.FloatValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].FaceQuality");

                    ListVideoFramesResponse.ListVideoFrames_FramesItem.ListVideoFrames_FacesItem.ListVideoFrames_EmotionDetails emotionDetails = new ListVideoFramesResponse.ListVideoFrames_FramesItem.ListVideoFrames_FacesItem.ListVideoFrames_EmotionDetails();
                    emotionDetails.SAD       = context.FloatValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].EmotionDetails.SAD");
                    emotionDetails.CALM      = context.FloatValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].EmotionDetails.CALM");
                    emotionDetails.ANGRY     = context.FloatValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].EmotionDetails.ANGRY");
                    emotionDetails.HAPPY     = context.FloatValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].EmotionDetails.HAPPY");
                    emotionDetails.SCARED    = context.FloatValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].EmotionDetails.SCARED");
                    emotionDetails.DISGUSTED = context.FloatValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].EmotionDetails.DISGUSTED");
                    emotionDetails.SURPRISED = context.FloatValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].EmotionDetails.SURPRISED");
                    facesItem.EmotionDetails = emotionDetails;

                    ListVideoFramesResponse.ListVideoFrames_FramesItem.ListVideoFrames_FacesItem.ListVideoFrames_FaceAttributes faceAttributes = new ListVideoFramesResponse.ListVideoFrames_FramesItem.ListVideoFrames_FacesItem.ListVideoFrames_FaceAttributes();
                    faceAttributes.GlassesConfidence = context.FloatValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].FaceAttributes.GlassesConfidence");
                    faceAttributes.Glasses           = context.StringValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].FaceAttributes.Glasses");
                    faceAttributes.RaceConfidence    = context.FloatValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].FaceAttributes.RaceConfidence");
                    faceAttributes.Beard             = context.StringValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].FaceAttributes.Beard");
                    faceAttributes.MaskConfidence    = context.FloatValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].FaceAttributes.MaskConfidence");
                    faceAttributes.Race            = context.StringValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].FaceAttributes.Race");
                    faceAttributes.BeardConfidence = context.FloatValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].FaceAttributes.BeardConfidence");
                    faceAttributes.Mask            = context.StringValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].FaceAttributes.Mask");

                    ListVideoFramesResponse.ListVideoFrames_FramesItem.ListVideoFrames_FacesItem.ListVideoFrames_FaceAttributes.ListVideoFrames_FaceBoundary faceBoundary = new ListVideoFramesResponse.ListVideoFrames_FramesItem.ListVideoFrames_FacesItem.ListVideoFrames_FaceAttributes.ListVideoFrames_FaceBoundary();
                    faceBoundary.Top            = context.IntegerValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].FaceAttributes.FaceBoundary.Top");
                    faceBoundary.Height         = context.IntegerValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].FaceAttributes.FaceBoundary.Height");
                    faceBoundary.Width          = context.IntegerValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].FaceAttributes.FaceBoundary.Width");
                    faceBoundary.Left           = context.IntegerValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].FaceAttributes.FaceBoundary.Left");
                    faceAttributes.FaceBoundary = faceBoundary;

                    ListVideoFramesResponse.ListVideoFrames_FramesItem.ListVideoFrames_FacesItem.ListVideoFrames_FaceAttributes.ListVideoFrames_HeadPose headPose = new ListVideoFramesResponse.ListVideoFrames_FramesItem.ListVideoFrames_FacesItem.ListVideoFrames_FaceAttributes.ListVideoFrames_HeadPose();
                    headPose.Pitch           = context.FloatValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].FaceAttributes.HeadPose.Pitch");
                    headPose.Roll            = context.FloatValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].FaceAttributes.HeadPose.Roll");
                    headPose.Yaw             = context.FloatValue("ListVideoFrames.Frames[" + i + "].Faces[" + j + "].FaceAttributes.HeadPose.Yaw");
                    faceAttributes.HeadPose  = headPose;
                    facesItem.FaceAttributes = faceAttributes;

                    framesItem_faces.Add(facesItem);
                }
                framesItem.Faces = framesItem_faces;

                List <ListVideoFramesResponse.ListVideoFrames_FramesItem.ListVideoFrames_TagsItem> framesItem_tags = new List <ListVideoFramesResponse.ListVideoFrames_FramesItem.ListVideoFrames_TagsItem>();
                for (int j = 0; j < context.Length("ListVideoFrames.Frames[" + i + "].Tags.Length"); j++)
                {
                    ListVideoFramesResponse.ListVideoFrames_FramesItem.ListVideoFrames_TagsItem tagsItem = new ListVideoFramesResponse.ListVideoFrames_FramesItem.ListVideoFrames_TagsItem();
                    tagsItem.TagConfidence = context.FloatValue("ListVideoFrames.Frames[" + i + "].Tags[" + j + "].TagConfidence");
                    tagsItem.TagLevel      = context.IntegerValue("ListVideoFrames.Frames[" + i + "].Tags[" + j + "].TagLevel");
                    tagsItem.TagName       = context.StringValue("ListVideoFrames.Frames[" + i + "].Tags[" + j + "].TagName");
                    tagsItem.ParentTagName = context.StringValue("ListVideoFrames.Frames[" + i + "].Tags[" + j + "].ParentTagName");

                    framesItem_tags.Add(tagsItem);
                }
                framesItem.Tags = framesItem_tags;

                List <ListVideoFramesResponse.ListVideoFrames_FramesItem.ListVideoFrames_OCRItem> framesItem_oCR = new List <ListVideoFramesResponse.ListVideoFrames_FramesItem.ListVideoFrames_OCRItem>();
                for (int j = 0; j < context.Length("ListVideoFrames.Frames[" + i + "].OCR.Length"); j++)
                {
                    ListVideoFramesResponse.ListVideoFrames_FramesItem.ListVideoFrames_OCRItem oCRItem = new ListVideoFramesResponse.ListVideoFrames_FramesItem.ListVideoFrames_OCRItem();
                    oCRItem.OCRContents   = context.StringValue("ListVideoFrames.Frames[" + i + "].OCR[" + j + "].OCRContents");
                    oCRItem.OCRConfidence = context.FloatValue("ListVideoFrames.Frames[" + i + "].OCR[" + j + "].OCRConfidence");

                    ListVideoFramesResponse.ListVideoFrames_FramesItem.ListVideoFrames_OCRItem.ListVideoFrames_OCRBoundary oCRBoundary = new ListVideoFramesResponse.ListVideoFrames_FramesItem.ListVideoFrames_OCRItem.ListVideoFrames_OCRBoundary();
                    oCRBoundary.Left    = context.IntegerValue("ListVideoFrames.Frames[" + i + "].OCR[" + j + "].OCRBoundary.Left");
                    oCRBoundary.Left1   = context.IntegerValue("ListVideoFrames.Frames[" + i + "].OCR[" + j + "].OCRBoundary.Left");
                    oCRBoundary.Width   = context.IntegerValue("ListVideoFrames.Frames[" + i + "].OCR[" + j + "].OCRBoundary.Width");
                    oCRBoundary.Height  = context.IntegerValue("ListVideoFrames.Frames[" + i + "].OCR[" + j + "].OCRBoundary.Height");
                    oCRItem.OCRBoundary = oCRBoundary;

                    framesItem_oCR.Add(oCRItem);
                }
                framesItem.OCR = framesItem_oCR;

                List <ListVideoFramesResponse.ListVideoFrames_FramesItem.ListVideoFrames_CelebrityItem> framesItem_celebrity = new List <ListVideoFramesResponse.ListVideoFrames_FramesItem.ListVideoFrames_CelebrityItem>();
                for (int j = 0; j < context.Length("ListVideoFrames.Frames[" + i + "].Celebrity.Length"); j++)
                {
                    ListVideoFramesResponse.ListVideoFrames_FramesItem.ListVideoFrames_CelebrityItem celebrityItem = new ListVideoFramesResponse.ListVideoFrames_FramesItem.ListVideoFrames_CelebrityItem();
                    celebrityItem.CelebrityName        = context.StringValue("ListVideoFrames.Frames[" + i + "].Celebrity[" + j + "].CelebrityName");
                    celebrityItem.CelebrityGender      = context.StringValue("ListVideoFrames.Frames[" + i + "].Celebrity[" + j + "].CelebrityGender");
                    celebrityItem.CelebrityConfidence  = context.FloatValue("ListVideoFrames.Frames[" + i + "].Celebrity[" + j + "].CelebrityConfidence");
                    celebrityItem.CelebrityLibraryName = context.StringValue("ListVideoFrames.Frames[" + i + "].Celebrity[" + j + "].CelebrityLibraryName");

                    ListVideoFramesResponse.ListVideoFrames_FramesItem.ListVideoFrames_CelebrityItem.ListVideoFrames_CelebrityBoundary celebrityBoundary = new ListVideoFramesResponse.ListVideoFrames_FramesItem.ListVideoFrames_CelebrityItem.ListVideoFrames_CelebrityBoundary();
                    celebrityBoundary.Left          = context.IntegerValue("ListVideoFrames.Frames[" + i + "].Celebrity[" + j + "].CelebrityBoundary.Left");
                    celebrityBoundary.Top           = context.IntegerValue("ListVideoFrames.Frames[" + i + "].Celebrity[" + j + "].CelebrityBoundary.Top");
                    celebrityBoundary.Width         = context.IntegerValue("ListVideoFrames.Frames[" + i + "].Celebrity[" + j + "].CelebrityBoundary.Width");
                    celebrityBoundary.Height        = context.IntegerValue("ListVideoFrames.Frames[" + i + "].Celebrity[" + j + "].CelebrityBoundary.Height");
                    celebrityItem.CelebrityBoundary = celebrityBoundary;

                    framesItem_celebrity.Add(celebrityItem);
                }
                framesItem.Celebrity = framesItem_celebrity;

                listVideoFramesResponse_frames.Add(framesItem);
            }
            listVideoFramesResponse.Frames = listVideoFramesResponse_frames;

            return(listVideoFramesResponse);
        }
        public static ListJobResponse Unmarshall(UnmarshallerContext context)
        {
            ListJobResponse listJobResponse = new ListJobResponse();

            listJobResponse.HttpResponse  = context.HttpResponse;
            listJobResponse.RequestId     = context.StringValue("ListJob.RequestId");
            listJobResponse.NextPageToken = context.StringValue("ListJob.NextPageToken");

            List <ListJobResponse.ListJob_Job> listJobResponse_jobList = new List <ListJobResponse.ListJob_Job>();

            for (int i = 0; i < context.Length("ListJob.JobList.Length"); i++)
            {
                ListJobResponse.ListJob_Job job = new ListJobResponse.ListJob_Job();
                job.JobId        = context.StringValue("ListJob.JobList[" + i + "].JobId");
                job.State        = context.StringValue("ListJob.JobList[" + i + "].State");
                job.Code         = context.StringValue("ListJob.JobList[" + i + "].Code");
                job.Message      = context.StringValue("ListJob.JobList[" + i + "].Message");
                job.Percent      = context.LongValue("ListJob.JobList[" + i + "].Percent");
                job.PipelineId   = context.StringValue("ListJob.JobList[" + i + "].PipelineId");
                job.CreationTime = context.StringValue("ListJob.JobList[" + i + "].CreationTime");
                job.FinishTime   = context.StringValue("ListJob.JobList[" + i + "].FinishTime");

                ListJobResponse.ListJob_Job.ListJob_Input input = new ListJobResponse.ListJob_Job.ListJob_Input();
                input.Bucket   = context.StringValue("ListJob.JobList[" + i + "].Input.Bucket");
                input.Location = context.StringValue("ListJob.JobList[" + i + "].Input.Location");
                input._Object  = context.StringValue("ListJob.JobList[" + i + "].Input.Object");
                job.Input      = input;

                ListJobResponse.ListJob_Job.ListJob_Output output = new ListJobResponse.ListJob_Job.ListJob_Output();
                output.TemplateId         = context.StringValue("ListJob.JobList[" + i + "].Output.TemplateId");
                output.UserData           = context.StringValue("ListJob.JobList[" + i + "].Output.UserData");
                output.Rotate             = context.StringValue("ListJob.JobList[" + i + "].Output.Rotate");
                output.VideoStreamMap     = context.StringValue("ListJob.JobList[" + i + "].Output.VideoStreamMap");
                output.AudioStreamMap     = context.StringValue("ListJob.JobList[" + i + "].Output.AudioStreamMap");
                output.DeWatermark        = context.StringValue("ListJob.JobList[" + i + "].Output.DeWatermark");
                output.Priority           = context.StringValue("ListJob.JobList[" + i + "].Output.Priority");
                output.WaterMarkConfigUrl = context.StringValue("ListJob.JobList[" + i + "].Output.WaterMarkConfigUrl");
                output.MergeConfigUrl     = context.StringValue("ListJob.JobList[" + i + "].Output.MergeConfigUrl");

                ListJobResponse.ListJob_Job.ListJob_Output.ListJob_OutputFile outputFile = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_OutputFile();
                outputFile.Bucket   = context.StringValue("ListJob.JobList[" + i + "].Output.OutputFile.Bucket");
                outputFile.Location = context.StringValue("ListJob.JobList[" + i + "].Output.OutputFile.Location");
                outputFile._Object  = context.StringValue("ListJob.JobList[" + i + "].Output.OutputFile.Object");
                outputFile.RoleArn  = context.StringValue("ListJob.JobList[" + i + "].Output.OutputFile.RoleArn");
                output.OutputFile   = outputFile;

                ListJobResponse.ListJob_Job.ListJob_Output.ListJob_M3U8NonStandardSupport m3U8NonStandardSupport = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_M3U8NonStandardSupport();

                ListJobResponse.ListJob_Job.ListJob_Output.ListJob_M3U8NonStandardSupport.ListJob_TS tS = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_M3U8NonStandardSupport.ListJob_TS();
                tS.Md5Support                 = context.BooleanValue("ListJob.JobList[" + i + "].Output.M3U8NonStandardSupport.TS.Md5Support");
                tS.SizeSupport                = context.BooleanValue("ListJob.JobList[" + i + "].Output.M3U8NonStandardSupport.TS.SizeSupport");
                m3U8NonStandardSupport.TS     = tS;
                output.M3U8NonStandardSupport = m3U8NonStandardSupport;

                ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties properties = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties();
                properties.Width      = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Width");
                properties.Height     = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Height");
                properties.Bitrate    = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Bitrate");
                properties.Duration   = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Duration");
                properties.Fps        = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Fps");
                properties.FileSize   = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.FileSize");
                properties.FileFormat = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.FileFormat");

                ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Streams streams = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Streams();

                List <ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Streams.ListJob_VideoStream> streams_videoStreamList = new List <ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Streams.ListJob_VideoStream>();
                for (int j = 0; j < context.Length("ListJob.JobList[" + i + "].Output.Properties.Streams.VideoStreamList.Length"); j++)
                {
                    ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Streams.ListJob_VideoStream videoStream = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Streams.ListJob_VideoStream();
                    videoStream.Index          = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.VideoStreamList[" + j + "].Index");
                    videoStream.CodecName      = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.VideoStreamList[" + j + "].CodecName");
                    videoStream.CodecLongName  = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.VideoStreamList[" + j + "].CodecLongName");
                    videoStream.Profile        = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.VideoStreamList[" + j + "].Profile");
                    videoStream.CodecTimeBase  = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.VideoStreamList[" + j + "].CodecTimeBase");
                    videoStream.CodecTagString = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.VideoStreamList[" + j + "].CodecTagString");
                    videoStream.CodecTag       = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.VideoStreamList[" + j + "].CodecTag");
                    videoStream.Width          = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.VideoStreamList[" + j + "].Width");
                    videoStream.Height         = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.VideoStreamList[" + j + "].Height");
                    videoStream.HasBFrames     = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.VideoStreamList[" + j + "].HasBFrames");
                    videoStream.Sar            = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.VideoStreamList[" + j + "].Sar");
                    videoStream.Dar            = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.VideoStreamList[" + j + "].Dar");
                    videoStream.PixFmt         = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.VideoStreamList[" + j + "].PixFmt");
                    videoStream.Level          = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.VideoStreamList[" + j + "].Level");
                    videoStream.Fps            = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.VideoStreamList[" + j + "].Fps");
                    videoStream.AvgFPS         = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.VideoStreamList[" + j + "].AvgFPS");
                    videoStream.Timebase       = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.VideoStreamList[" + j + "].Timebase");
                    videoStream.StartTime      = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.VideoStreamList[" + j + "].StartTime");
                    videoStream.Duration       = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.VideoStreamList[" + j + "].Duration");
                    videoStream.Bitrate        = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.VideoStreamList[" + j + "].Bitrate");
                    videoStream.NumFrames      = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.VideoStreamList[" + j + "].NumFrames");
                    videoStream.Lang           = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.VideoStreamList[" + j + "].Lang");

                    ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Streams.ListJob_VideoStream.ListJob_NetworkCost networkCost = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Streams.ListJob_VideoStream.ListJob_NetworkCost();
                    networkCost.PreloadTime   = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.VideoStreamList[" + j + "].NetworkCost.PreloadTime");
                    networkCost.CostBandwidth = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.VideoStreamList[" + j + "].NetworkCost.CostBandwidth");
                    networkCost.AvgBitrate    = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.VideoStreamList[" + j + "].NetworkCost.AvgBitrate");
                    videoStream.NetworkCost   = networkCost;

                    streams_videoStreamList.Add(videoStream);
                }
                streams.VideoStreamList = streams_videoStreamList;

                List <ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Streams.ListJob_AudioStream> streams_audioStreamList = new List <ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Streams.ListJob_AudioStream>();
                for (int j = 0; j < context.Length("ListJob.JobList[" + i + "].Output.Properties.Streams.AudioStreamList.Length"); j++)
                {
                    ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Streams.ListJob_AudioStream audioStream = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Streams.ListJob_AudioStream();
                    audioStream.Index          = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.AudioStreamList[" + j + "].Index");
                    audioStream.CodecName      = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.AudioStreamList[" + j + "].CodecName");
                    audioStream.CodecTimeBase  = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.AudioStreamList[" + j + "].CodecTimeBase");
                    audioStream.CodecLongName  = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.AudioStreamList[" + j + "].CodecLongName");
                    audioStream.CodecTagString = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.AudioStreamList[" + j + "].CodecTagString");
                    audioStream.CodecTag       = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.AudioStreamList[" + j + "].CodecTag");
                    audioStream.SampleFmt      = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.AudioStreamList[" + j + "].SampleFmt");
                    audioStream.Samplerate     = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.AudioStreamList[" + j + "].Samplerate");
                    audioStream.Channels       = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.AudioStreamList[" + j + "].Channels");
                    audioStream.ChannelLayout  = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.AudioStreamList[" + j + "].ChannelLayout");
                    audioStream.Timebase       = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.AudioStreamList[" + j + "].Timebase");
                    audioStream.StartTime      = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.AudioStreamList[" + j + "].StartTime");
                    audioStream.Duration       = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.AudioStreamList[" + j + "].Duration");
                    audioStream.Bitrate        = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.AudioStreamList[" + j + "].Bitrate");
                    audioStream.NumFrames      = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.AudioStreamList[" + j + "].NumFrames");
                    audioStream.Lang           = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.AudioStreamList[" + j + "].Lang");

                    streams_audioStreamList.Add(audioStream);
                }
                streams.AudioStreamList = streams_audioStreamList;

                List <ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Streams.ListJob_SubtitleStream> streams_subtitleStreamList = new List <ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Streams.ListJob_SubtitleStream>();
                for (int j = 0; j < context.Length("ListJob.JobList[" + i + "].Output.Properties.Streams.SubtitleStreamList.Length"); j++)
                {
                    ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Streams.ListJob_SubtitleStream subtitleStream = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Streams.ListJob_SubtitleStream();
                    subtitleStream.Index = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.SubtitleStreamList[" + j + "].Index");
                    subtitleStream.Lang  = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Streams.SubtitleStreamList[" + j + "].Lang");

                    streams_subtitleStreamList.Add(subtitleStream);
                }
                streams.SubtitleStreamList = streams_subtitleStreamList;
                properties.Streams         = streams;

                ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Format format = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Properties.ListJob_Format();
                format.NumStreams     = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Format.NumStreams");
                format.NumPrograms    = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Format.NumPrograms");
                format.FormatName     = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Format.FormatName");
                format.FormatLongName = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Format.FormatLongName");
                format.StartTime      = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Format.StartTime");
                format.Duration       = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Format.Duration");
                format.Size           = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Format.Size");
                format.Bitrate        = context.StringValue("ListJob.JobList[" + i + "].Output.Properties.Format.Bitrate");
                properties.Format     = format;
                output.Properties     = properties;

                ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Clip clip = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Clip();

                ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Clip.ListJob_TimeSpan timeSpan = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Clip.ListJob_TimeSpan();
                timeSpan.Seek     = context.StringValue("ListJob.JobList[" + i + "].Output.Clip.TimeSpan.Seek");
                timeSpan.Duration = context.StringValue("ListJob.JobList[" + i + "].Output.Clip.TimeSpan.Duration");
                clip.TimeSpan     = timeSpan;
                output.Clip       = clip;

                ListJobResponse.ListJob_Job.ListJob_Output.ListJob_SuperReso superReso = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_SuperReso();
                superReso.IsHalfSample = context.StringValue("ListJob.JobList[" + i + "].Output.SuperReso.IsHalfSample");
                output.SuperReso       = superReso;

                ListJobResponse.ListJob_Job.ListJob_Output.ListJob_SubtitleConfig subtitleConfig = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_SubtitleConfig();

                List <ListJobResponse.ListJob_Job.ListJob_Output.ListJob_SubtitleConfig.ListJob_Subtitle> subtitleConfig_subtitleList = new List <ListJobResponse.ListJob_Job.ListJob_Output.ListJob_SubtitleConfig.ListJob_Subtitle>();
                for (int j = 0; j < context.Length("ListJob.JobList[" + i + "].Output.SubtitleConfig.SubtitleList.Length"); j++)
                {
                    ListJobResponse.ListJob_Job.ListJob_Output.ListJob_SubtitleConfig.ListJob_Subtitle subtitle = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_SubtitleConfig.ListJob_Subtitle();
                    subtitle.Map = context.StringValue("ListJob.JobList[" + i + "].Output.SubtitleConfig.SubtitleList[" + j + "].Map");

                    subtitleConfig_subtitleList.Add(subtitle);
                }
                subtitleConfig.SubtitleList = subtitleConfig_subtitleList;

                List <ListJobResponse.ListJob_Job.ListJob_Output.ListJob_SubtitleConfig.ListJob_ExtSubtitle> subtitleConfig_extSubtitleList = new List <ListJobResponse.ListJob_Job.ListJob_Output.ListJob_SubtitleConfig.ListJob_ExtSubtitle>();
                for (int j = 0; j < context.Length("ListJob.JobList[" + i + "].Output.SubtitleConfig.ExtSubtitleList.Length"); j++)
                {
                    ListJobResponse.ListJob_Job.ListJob_Output.ListJob_SubtitleConfig.ListJob_ExtSubtitle extSubtitle = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_SubtitleConfig.ListJob_ExtSubtitle();
                    extSubtitle.FontName = context.StringValue("ListJob.JobList[" + i + "].Output.SubtitleConfig.ExtSubtitleList[" + j + "].FontName");
                    extSubtitle.CharEnc  = context.StringValue("ListJob.JobList[" + i + "].Output.SubtitleConfig.ExtSubtitleList[" + j + "].CharEnc");

                    ListJobResponse.ListJob_Job.ListJob_Output.ListJob_SubtitleConfig.ListJob_ExtSubtitle.ListJob_Input3 input3 = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_SubtitleConfig.ListJob_ExtSubtitle.ListJob_Input3();
                    input3.Bucket      = context.StringValue("ListJob.JobList[" + i + "].Output.SubtitleConfig.ExtSubtitleList[" + j + "].Input.Bucket");
                    input3.Location    = context.StringValue("ListJob.JobList[" + i + "].Output.SubtitleConfig.ExtSubtitleList[" + j + "].Input.Location");
                    input3._Object     = context.StringValue("ListJob.JobList[" + i + "].Output.SubtitleConfig.ExtSubtitleList[" + j + "].Input.Object");
                    extSubtitle.Input3 = input3;

                    subtitleConfig_extSubtitleList.Add(extSubtitle);
                }
                subtitleConfig.ExtSubtitleList = subtitleConfig_extSubtitleList;
                output.SubtitleConfig          = subtitleConfig;

                ListJobResponse.ListJob_Job.ListJob_Output.ListJob_TransConfig transConfig = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_TransConfig();
                transConfig.TransMode               = context.StringValue("ListJob.JobList[" + i + "].Output.TransConfig.TransMode");
                transConfig.IsCheckReso             = context.StringValue("ListJob.JobList[" + i + "].Output.TransConfig.IsCheckReso");
                transConfig.IsCheckResoFail         = context.StringValue("ListJob.JobList[" + i + "].Output.TransConfig.IsCheckResoFail");
                transConfig.IsCheckVideoBitrate     = context.StringValue("ListJob.JobList[" + i + "].Output.TransConfig.IsCheckVideoBitrate");
                transConfig.IsCheckAudioBitrate     = context.StringValue("ListJob.JobList[" + i + "].Output.TransConfig.IsCheckAudioBitrate");
                transConfig.AdjDarMethod            = context.StringValue("ListJob.JobList[" + i + "].Output.TransConfig.AdjDarMethod");
                transConfig.IsCheckVideoBitrateFail = context.StringValue("ListJob.JobList[" + i + "].Output.TransConfig.IsCheckVideoBitrateFail");
                transConfig.IsCheckAudioBitrateFail = context.StringValue("ListJob.JobList[" + i + "].Output.TransConfig.IsCheckAudioBitrateFail");
                output.TransConfig = transConfig;

                ListJobResponse.ListJob_Job.ListJob_Output.ListJob_MuxConfig muxConfig = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_MuxConfig();

                ListJobResponse.ListJob_Job.ListJob_Output.ListJob_MuxConfig.ListJob_Segment segment = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_MuxConfig.ListJob_Segment();
                segment.Duration  = context.StringValue("ListJob.JobList[" + i + "].Output.MuxConfig.Segment.Duration");
                muxConfig.Segment = segment;

                ListJobResponse.ListJob_Job.ListJob_Output.ListJob_MuxConfig.ListJob_Gif gif = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_MuxConfig.ListJob_Gif();
                gif.Loop            = context.StringValue("ListJob.JobList[" + i + "].Output.MuxConfig.Gif.Loop");
                gif.FinalDelay      = context.StringValue("ListJob.JobList[" + i + "].Output.MuxConfig.Gif.FinalDelay");
                gif.IsCustomPalette = context.StringValue("ListJob.JobList[" + i + "].Output.MuxConfig.Gif.IsCustomPalette");
                gif.DitherMode      = context.StringValue("ListJob.JobList[" + i + "].Output.MuxConfig.Gif.DitherMode");
                muxConfig.Gif       = gif;
                output.MuxConfig    = muxConfig;

                ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Audio audio = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Audio();
                audio.Codec      = context.StringValue("ListJob.JobList[" + i + "].Output.Audio.Codec");
                audio.Profile    = context.StringValue("ListJob.JobList[" + i + "].Output.Audio.Profile");
                audio.Samplerate = context.StringValue("ListJob.JobList[" + i + "].Output.Audio.Samplerate");
                audio.Bitrate    = context.StringValue("ListJob.JobList[" + i + "].Output.Audio.Bitrate");
                audio.Channels   = context.StringValue("ListJob.JobList[" + i + "].Output.Audio.Channels");
                audio.Qscale     = context.StringValue("ListJob.JobList[" + i + "].Output.Audio.Qscale");

                ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Audio.ListJob_Volume volume = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Audio.ListJob_Volume();
                volume.Level  = context.StringValue("ListJob.JobList[" + i + "].Output.Audio.Volume.Level");
                volume.Method = context.StringValue("ListJob.JobList[" + i + "].Output.Audio.Volume.Method");
                audio.Volume  = volume;
                output.Audio  = audio;

                ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Video video = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Video();
                video.Codec    = context.StringValue("ListJob.JobList[" + i + "].Output.Video.Codec");
                video.Profile  = context.StringValue("ListJob.JobList[" + i + "].Output.Video.Profile");
                video.Bitrate  = context.StringValue("ListJob.JobList[" + i + "].Output.Video.Bitrate");
                video.Crf      = context.StringValue("ListJob.JobList[" + i + "].Output.Video.Crf");
                video.Width    = context.StringValue("ListJob.JobList[" + i + "].Output.Video.Width");
                video.Height   = context.StringValue("ListJob.JobList[" + i + "].Output.Video.Height");
                video.Fps      = context.StringValue("ListJob.JobList[" + i + "].Output.Video.Fps");
                video.Gop      = context.StringValue("ListJob.JobList[" + i + "].Output.Video.Gop");
                video.Preset   = context.StringValue("ListJob.JobList[" + i + "].Output.Video.Preset");
                video.ScanMode = context.StringValue("ListJob.JobList[" + i + "].Output.Video.ScanMode");
                video.Bufsize  = context.StringValue("ListJob.JobList[" + i + "].Output.Video.Bufsize");
                video.Maxrate  = context.StringValue("ListJob.JobList[" + i + "].Output.Video.Maxrate");
                video.PixFmt   = context.StringValue("ListJob.JobList[" + i + "].Output.Video.PixFmt");
                video.Degrain  = context.StringValue("ListJob.JobList[" + i + "].Output.Video.Degrain");
                video.Qscale   = context.StringValue("ListJob.JobList[" + i + "].Output.Video.Qscale");
                video.Crop     = context.StringValue("ListJob.JobList[" + i + "].Output.Video.Crop");
                video.Pad      = context.StringValue("ListJob.JobList[" + i + "].Output.Video.Pad");
                video.MaxFps   = context.StringValue("ListJob.JobList[" + i + "].Output.Video.MaxFps");

                ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Video.ListJob_BitrateBnd bitrateBnd = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Video.ListJob_BitrateBnd();
                bitrateBnd.Max   = context.StringValue("ListJob.JobList[" + i + "].Output.Video.BitrateBnd.Max");
                bitrateBnd.Min   = context.StringValue("ListJob.JobList[" + i + "].Output.Video.BitrateBnd.Min");
                video.BitrateBnd = bitrateBnd;
                output.Video     = video;

                ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Container container = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Container();
                container.Format = context.StringValue("ListJob.JobList[" + i + "].Output.Container.Format");
                output.Container = container;

                ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Encryption encryption = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Encryption();
                encryption.Type    = context.StringValue("ListJob.JobList[" + i + "].Output.Encryption.Type");
                encryption.Id      = context.StringValue("ListJob.JobList[" + i + "].Output.Encryption.Id");
                encryption.Key     = context.StringValue("ListJob.JobList[" + i + "].Output.Encryption.Key");
                encryption.KeyUri  = context.StringValue("ListJob.JobList[" + i + "].Output.Encryption.KeyUri");
                encryption.KeyType = context.StringValue("ListJob.JobList[" + i + "].Output.Encryption.KeyType");
                encryption.SkipCnt = context.StringValue("ListJob.JobList[" + i + "].Output.Encryption.SkipCnt");
                output.Encryption  = encryption;

                List <ListJobResponse.ListJob_Job.ListJob_Output.ListJob_WaterMark> output_waterMarkList = new List <ListJobResponse.ListJob_Job.ListJob_Output.ListJob_WaterMark>();
                for (int j = 0; j < context.Length("ListJob.JobList[" + i + "].Output.WaterMarkList.Length"); j++)
                {
                    ListJobResponse.ListJob_Job.ListJob_Output.ListJob_WaterMark waterMark = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_WaterMark();
                    waterMark.WaterMarkTemplateId = context.StringValue("ListJob.JobList[" + i + "].Output.WaterMarkList[" + j + "].WaterMarkTemplateId");
                    waterMark.Width    = context.StringValue("ListJob.JobList[" + i + "].Output.WaterMarkList[" + j + "].Width");
                    waterMark.Height   = context.StringValue("ListJob.JobList[" + i + "].Output.WaterMarkList[" + j + "].Height");
                    waterMark.Dx       = context.StringValue("ListJob.JobList[" + i + "].Output.WaterMarkList[" + j + "].Dx");
                    waterMark.Dy       = context.StringValue("ListJob.JobList[" + i + "].Output.WaterMarkList[" + j + "].Dy");
                    waterMark.ReferPos = context.StringValue("ListJob.JobList[" + i + "].Output.WaterMarkList[" + j + "].ReferPos");
                    waterMark.Type     = context.StringValue("ListJob.JobList[" + i + "].Output.WaterMarkList[" + j + "].Type");

                    ListJobResponse.ListJob_Job.ListJob_Output.ListJob_WaterMark.ListJob_InputFile inputFile = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_WaterMark.ListJob_InputFile();
                    inputFile.Bucket    = context.StringValue("ListJob.JobList[" + i + "].Output.WaterMarkList[" + j + "].InputFile.Bucket");
                    inputFile.Location  = context.StringValue("ListJob.JobList[" + i + "].Output.WaterMarkList[" + j + "].InputFile.Location");
                    inputFile._Object   = context.StringValue("ListJob.JobList[" + i + "].Output.WaterMarkList[" + j + "].InputFile.Object");
                    waterMark.InputFile = inputFile;

                    output_waterMarkList.Add(waterMark);
                }
                output.WaterMarkList = output_waterMarkList;

                List <ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Merge> output_mergeList = new List <ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Merge>();
                for (int j = 0; j < context.Length("ListJob.JobList[" + i + "].Output.MergeList.Length"); j++)
                {
                    ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Merge merge = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Merge();
                    merge.MergeURL = context.StringValue("ListJob.JobList[" + i + "].Output.MergeList[" + j + "].MergeURL");
                    merge.Start    = context.StringValue("ListJob.JobList[" + i + "].Output.MergeList[" + j + "].Start");
                    merge.Duration = context.StringValue("ListJob.JobList[" + i + "].Output.MergeList[" + j + "].Duration");
                    merge.RoleArn  = context.StringValue("ListJob.JobList[" + i + "].Output.MergeList[" + j + "].RoleArn");

                    output_mergeList.Add(merge);
                }
                output.MergeList = output_mergeList;

                List <ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Merge1> output_openingList = new List <ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Merge1>();
                for (int j = 0; j < context.Length("ListJob.JobList[" + i + "].Output.OpeningList.Length"); j++)
                {
                    ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Merge1 merge1 = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Merge1();
                    merge1.OpenUrl = context.StringValue("ListJob.JobList[" + i + "].Output.OpeningList[" + j + "].OpenUrl");
                    merge1.Start   = context.StringValue("ListJob.JobList[" + i + "].Output.OpeningList[" + j + "].Start");
                    merge1.Width   = context.StringValue("ListJob.JobList[" + i + "].Output.OpeningList[" + j + "].Width");
                    merge1.Height  = context.StringValue("ListJob.JobList[" + i + "].Output.OpeningList[" + j + "].Height");

                    output_openingList.Add(merge1);
                }
                output.OpeningList = output_openingList;

                List <ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Merge2> output_tailSlateList = new List <ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Merge2>();
                for (int j = 0; j < context.Length("ListJob.JobList[" + i + "].Output.TailSlateList.Length"); j++)
                {
                    ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Merge2 merge2 = new ListJobResponse.ListJob_Job.ListJob_Output.ListJob_Merge2();
                    merge2.TailUrl       = context.StringValue("ListJob.JobList[" + i + "].Output.TailSlateList[" + j + "].TailUrl");
                    merge2.Start         = context.StringValue("ListJob.JobList[" + i + "].Output.TailSlateList[" + j + "].Start");
                    merge2.BlendDuration = context.StringValue("ListJob.JobList[" + i + "].Output.TailSlateList[" + j + "].BlendDuration");
                    merge2.Width         = context.StringValue("ListJob.JobList[" + i + "].Output.TailSlateList[" + j + "].Width");
                    merge2.Height        = context.StringValue("ListJob.JobList[" + i + "].Output.TailSlateList[" + j + "].Height");
                    merge2.IsMergeAudio  = context.BooleanValue("ListJob.JobList[" + i + "].Output.TailSlateList[" + j + "].IsMergeAudio");
                    merge2.BgColor       = context.StringValue("ListJob.JobList[" + i + "].Output.TailSlateList[" + j + "].BgColor");

                    output_tailSlateList.Add(merge2);
                }
                output.TailSlateList = output_tailSlateList;
                job.Output           = output;

                ListJobResponse.ListJob_Job.ListJob_MNSMessageResult mNSMessageResult = new ListJobResponse.ListJob_Job.ListJob_MNSMessageResult();
                mNSMessageResult.MessageId    = context.StringValue("ListJob.JobList[" + i + "].MNSMessageResult.MessageId");
                mNSMessageResult.ErrorMessage = context.StringValue("ListJob.JobList[" + i + "].MNSMessageResult.ErrorMessage");
                mNSMessageResult.ErrorCode    = context.StringValue("ListJob.JobList[" + i + "].MNSMessageResult.ErrorCode");
                job.MNSMessageResult          = mNSMessageResult;

                listJobResponse_jobList.Add(job);
            }
            listJobResponse.JobList = listJobResponse_jobList;

            return(listJobResponse);
        }
示例#58
0
        public static ListLiveRecordVideoResponse Unmarshall(UnmarshallerContext context)
        {
            ListLiveRecordVideoResponse listLiveRecordVideoResponse = new ListLiveRecordVideoResponse();

            listLiveRecordVideoResponse.HttpResponse = context.HttpResponse;
            listLiveRecordVideoResponse.RequestId    = context.StringValue("ListLiveRecordVideo.RequestId");
            listLiveRecordVideoResponse.Total        = context.IntegerValue("ListLiveRecordVideo.Total");

            List <ListLiveRecordVideoResponse.ListLiveRecordVideo_LiveRecordVideo> listLiveRecordVideoResponse_liveRecordVideoList = new List <ListLiveRecordVideoResponse.ListLiveRecordVideo_LiveRecordVideo>();

            for (int i = 0; i < context.Length("ListLiveRecordVideo.LiveRecordVideoList.Length"); i++)
            {
                ListLiveRecordVideoResponse.ListLiveRecordVideo_LiveRecordVideo liveRecordVideo = new ListLiveRecordVideoResponse.ListLiveRecordVideo_LiveRecordVideo();
                liveRecordVideo.StreamName      = context.StringValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].StreamName");
                liveRecordVideo.DomainName      = context.StringValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].DomainName");
                liveRecordVideo.AppName         = context.StringValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].AppName");
                liveRecordVideo.PlaylistId      = context.StringValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].PlaylistId");
                liveRecordVideo.RecordStartTime = context.StringValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].RecordStartTime");
                liveRecordVideo.RecordEndTime   = context.StringValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].RecordEndTime");

                ListLiveRecordVideoResponse.ListLiveRecordVideo_LiveRecordVideo.ListLiveRecordVideo_Video video = new ListLiveRecordVideoResponse.ListLiveRecordVideo_LiveRecordVideo.ListLiveRecordVideo_Video();
                video.VideoId         = context.StringValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].Video.VideoId");
                video.Title           = context.StringValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].Video.Title");
                video.Tags            = context.StringValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].Video.Tags");
                video.Status          = context.StringValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].Video.Status");
                video.Size            = context.LongValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].Video.Size");
                video.Privilege       = context.IntegerValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].Video.Privilege");
                video.Duration        = context.FloatValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].Video.Duration");
                video.Description     = context.StringValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].Video.Description");
                video.CustomerId      = context.LongValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].Video.CustomerId");
                video.CreateTime      = context.StringValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].Video.CreateTime");
                video.ModifyTime      = context.StringValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].Video.ModifyTime");
                video.CoverURL        = context.StringValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].Video.CoverURL");
                video.CateId          = context.IntegerValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].Video.CateId");
                video.CateName        = context.StringValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].Video.CateName");
                video.DownloadSwitch  = context.StringValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].Video.DownloadSwitch");
                video.TemplateGroupId = context.StringValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].Video.TemplateGroupId");

                List <string> video_snapshots = new List <string>();
                for (int j = 0; j < context.Length("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].Video.Snapshots.Length"); j++)
                {
                    video_snapshots.Add(context.StringValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].Video.Snapshots[" + j + "]"));
                }
                video.Snapshots       = video_snapshots;
                liveRecordVideo.Video = video;

                List <ListLiveRecordVideoResponse.ListLiveRecordVideo_LiveRecordVideo.ListLiveRecordVideo_PlayInfo> liveRecordVideo_playInfoList = new List <ListLiveRecordVideoResponse.ListLiveRecordVideo_LiveRecordVideo.ListLiveRecordVideo_PlayInfo>();
                for (int j = 0; j < context.Length("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].PlayInfoList.Length"); j++)
                {
                    ListLiveRecordVideoResponse.ListLiveRecordVideo_LiveRecordVideo.ListLiveRecordVideo_PlayInfo playInfo = new ListLiveRecordVideoResponse.ListLiveRecordVideo_LiveRecordVideo.ListLiveRecordVideo_PlayInfo();
                    playInfo.Width      = context.LongValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].PlayInfoList[" + j + "].Width");
                    playInfo.Height     = context.LongValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].PlayInfoList[" + j + "].Height");
                    playInfo.Size       = context.LongValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].PlayInfoList[" + j + "].Size");
                    playInfo.PlayURL    = context.StringValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].PlayInfoList[" + j + "].PlayURL");
                    playInfo.Bitrate    = context.StringValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].PlayInfoList[" + j + "].Bitrate");
                    playInfo.Definition = context.StringValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].PlayInfoList[" + j + "].Definition");
                    playInfo.Duration   = context.StringValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].PlayInfoList[" + j + "].Duration");
                    playInfo.Format     = context.StringValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].PlayInfoList[" + j + "].Format");
                    playInfo.Fps        = context.StringValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].PlayInfoList[" + j + "].Fps");
                    playInfo.Encrypt    = context.LongValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].PlayInfoList[" + j + "].Encrypt");
                    playInfo.Plaintext  = context.StringValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].PlayInfoList[" + j + "].Plaintext");
                    playInfo.Complexity = context.StringValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].PlayInfoList[" + j + "].Complexity");
                    playInfo.StreamType = context.StringValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].PlayInfoList[" + j + "].StreamType");
                    playInfo.Rand       = context.StringValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].PlayInfoList[" + j + "].Rand");
                    playInfo.JobId      = context.StringValue("ListLiveRecordVideo.LiveRecordVideoList[" + i + "].PlayInfoList[" + j + "].JobId");

                    liveRecordVideo_playInfoList.Add(playInfo);
                }
                liveRecordVideo.PlayInfoList = liveRecordVideo_playInfoList;

                listLiveRecordVideoResponse_liveRecordVideoList.Add(liveRecordVideo);
            }
            listLiveRecordVideoResponse.LiveRecordVideoList = listLiveRecordVideoResponse_liveRecordVideoList;

            return(listLiveRecordVideoResponse);
        }
示例#59
0
        public static DescribeDBClusterAttributeResponse Unmarshall(UnmarshallerContext _ctx)
        {
            DescribeDBClusterAttributeResponse describeDBClusterAttributeResponse = new DescribeDBClusterAttributeResponse();

            describeDBClusterAttributeResponse.HttpResponse         = _ctx.HttpResponse;
            describeDBClusterAttributeResponse.RequestId            = _ctx.StringValue("DescribeDBClusterAttribute.RequestId");
            describeDBClusterAttributeResponse.RegionId             = _ctx.StringValue("DescribeDBClusterAttribute.RegionId");
            describeDBClusterAttributeResponse.DBClusterNetworkType = _ctx.StringValue("DescribeDBClusterAttribute.DBClusterNetworkType");
            describeDBClusterAttributeResponse.VPCId                     = _ctx.StringValue("DescribeDBClusterAttribute.VPCId");
            describeDBClusterAttributeResponse.VSwitchId                 = _ctx.StringValue("DescribeDBClusterAttribute.VSwitchId");
            describeDBClusterAttributeResponse.PayType                   = _ctx.StringValue("DescribeDBClusterAttribute.PayType");
            describeDBClusterAttributeResponse.DBClusterId               = _ctx.StringValue("DescribeDBClusterAttribute.DBClusterId");
            describeDBClusterAttributeResponse.DBClusterStatus           = _ctx.StringValue("DescribeDBClusterAttribute.DBClusterStatus");
            describeDBClusterAttributeResponse.DBClusterDescription      = _ctx.StringValue("DescribeDBClusterAttribute.DBClusterDescription");
            describeDBClusterAttributeResponse.Engine                    = _ctx.StringValue("DescribeDBClusterAttribute.Engine");
            describeDBClusterAttributeResponse.DBType                    = _ctx.StringValue("DescribeDBClusterAttribute.DBType");
            describeDBClusterAttributeResponse.DBVersion                 = _ctx.StringValue("DescribeDBClusterAttribute.DBVersion");
            describeDBClusterAttributeResponse.LockMode                  = _ctx.StringValue("DescribeDBClusterAttribute.LockMode");
            describeDBClusterAttributeResponse.DeletionLock              = _ctx.IntegerValue("DescribeDBClusterAttribute.DeletionLock");
            describeDBClusterAttributeResponse.CreationTime              = _ctx.StringValue("DescribeDBClusterAttribute.CreationTime");
            describeDBClusterAttributeResponse.ExpireTime                = _ctx.StringValue("DescribeDBClusterAttribute.ExpireTime");
            describeDBClusterAttributeResponse.Expired                   = _ctx.StringValue("DescribeDBClusterAttribute.Expired");
            describeDBClusterAttributeResponse.MaintainTime              = _ctx.StringValue("DescribeDBClusterAttribute.MaintainTime");
            describeDBClusterAttributeResponse.StorageUsed               = _ctx.LongValue("DescribeDBClusterAttribute.StorageUsed");
            describeDBClusterAttributeResponse.StorageMax                = _ctx.LongValue("DescribeDBClusterAttribute.StorageMax");
            describeDBClusterAttributeResponse.ZoneIds                   = _ctx.StringValue("DescribeDBClusterAttribute.ZoneIds");
            describeDBClusterAttributeResponse.SQLSize                   = _ctx.LongValue("DescribeDBClusterAttribute.SQLSize");
            describeDBClusterAttributeResponse.IsLatestVersion           = _ctx.BooleanValue("DescribeDBClusterAttribute.IsLatestVersion");
            describeDBClusterAttributeResponse.ResourceGroupId           = _ctx.StringValue("DescribeDBClusterAttribute.ResourceGroupId");
            describeDBClusterAttributeResponse.DataLevel1BackupChainSize = _ctx.LongValue("DescribeDBClusterAttribute.DataLevel1BackupChainSize");
            describeDBClusterAttributeResponse.Category                  = _ctx.StringValue("DescribeDBClusterAttribute.Category");
            describeDBClusterAttributeResponse.DBVersionStatus           = _ctx.StringValue("DescribeDBClusterAttribute.DBVersionStatus");

            List <DescribeDBClusterAttributeResponse.DescribeDBClusterAttribute_Tag> describeDBClusterAttributeResponse_tags = new List <DescribeDBClusterAttributeResponse.DescribeDBClusterAttribute_Tag>();

            for (int i = 0; i < _ctx.Length("DescribeDBClusterAttribute.Tags.Length"); i++)
            {
                DescribeDBClusterAttributeResponse.DescribeDBClusterAttribute_Tag tag = new DescribeDBClusterAttributeResponse.DescribeDBClusterAttribute_Tag();
                tag.Key    = _ctx.StringValue("DescribeDBClusterAttribute.Tags[" + i + "].Key");
                tag._Value = _ctx.StringValue("DescribeDBClusterAttribute.Tags[" + i + "].Value");

                describeDBClusterAttributeResponse_tags.Add(tag);
            }
            describeDBClusterAttributeResponse.Tags = describeDBClusterAttributeResponse_tags;

            List <DescribeDBClusterAttributeResponse.DescribeDBClusterAttribute_DBNode> describeDBClusterAttributeResponse_dBNodes = new List <DescribeDBClusterAttributeResponse.DescribeDBClusterAttribute_DBNode>();

            for (int i = 0; i < _ctx.Length("DescribeDBClusterAttribute.DBNodes.Length"); i++)
            {
                DescribeDBClusterAttributeResponse.DescribeDBClusterAttribute_DBNode dBNode = new DescribeDBClusterAttributeResponse.DescribeDBClusterAttribute_DBNode();
                dBNode.DBNodeId         = _ctx.StringValue("DescribeDBClusterAttribute.DBNodes[" + i + "].DBNodeId");
                dBNode.ZoneId           = _ctx.StringValue("DescribeDBClusterAttribute.DBNodes[" + i + "].ZoneId");
                dBNode.DBNodeStatus     = _ctx.StringValue("DescribeDBClusterAttribute.DBNodes[" + i + "].DBNodeStatus");
                dBNode.CreationTime     = _ctx.StringValue("DescribeDBClusterAttribute.DBNodes[" + i + "].CreationTime");
                dBNode.DBNodeClass      = _ctx.StringValue("DescribeDBClusterAttribute.DBNodes[" + i + "].DBNodeClass");
                dBNode.DBNodeRole       = _ctx.StringValue("DescribeDBClusterAttribute.DBNodes[" + i + "].DBNodeRole");
                dBNode.MaxIOPS          = _ctx.IntegerValue("DescribeDBClusterAttribute.DBNodes[" + i + "].MaxIOPS");
                dBNode.MaxConnections   = _ctx.IntegerValue("DescribeDBClusterAttribute.DBNodes[" + i + "].MaxConnections");
                dBNode.FailoverPriority = _ctx.IntegerValue("DescribeDBClusterAttribute.DBNodes[" + i + "].FailoverPriority");

                describeDBClusterAttributeResponse_dBNodes.Add(dBNode);
            }
            describeDBClusterAttributeResponse.DBNodes = describeDBClusterAttributeResponse_dBNodes;

            return(describeDBClusterAttributeResponse);
        }
示例#60
0
        public static DescribeMigrationJobDetailResponse Unmarshall(UnmarshallerContext _ctx)
        {
            DescribeMigrationJobDetailResponse describeMigrationJobDetailResponse = new DescribeMigrationJobDetailResponse();

            describeMigrationJobDetailResponse.HttpResponse     = _ctx.HttpResponse;
            describeMigrationJobDetailResponse.ErrCode          = _ctx.StringValue("DescribeMigrationJobDetail.ErrCode");
            describeMigrationJobDetailResponse.ErrMessage       = _ctx.StringValue("DescribeMigrationJobDetail.ErrMessage");
            describeMigrationJobDetailResponse.PageNumber       = _ctx.IntegerValue("DescribeMigrationJobDetail.PageNumber");
            describeMigrationJobDetailResponse.PageRecordCount  = _ctx.IntegerValue("DescribeMigrationJobDetail.PageRecordCount");
            describeMigrationJobDetailResponse.RequestId        = _ctx.StringValue("DescribeMigrationJobDetail.RequestId");
            describeMigrationJobDetailResponse.Success          = _ctx.StringValue("DescribeMigrationJobDetail.Success");
            describeMigrationJobDetailResponse.TotalRecordCount = _ctx.LongValue("DescribeMigrationJobDetail.TotalRecordCount");

            List <DescribeMigrationJobDetailResponse.DescribeMigrationJobDetail_DataInitializationDetail> describeMigrationJobDetailResponse_dataInitializationDetailList = new List <DescribeMigrationJobDetailResponse.DescribeMigrationJobDetail_DataInitializationDetail>();

            for (int i = 0; i < _ctx.Length("DescribeMigrationJobDetail.DataInitializationDetailList.Length"); i++)
            {
                DescribeMigrationJobDetailResponse.DescribeMigrationJobDetail_DataInitializationDetail dataInitializationDetail = new DescribeMigrationJobDetailResponse.DescribeMigrationJobDetail_DataInitializationDetail();
                dataInitializationDetail.DestinationOwnerDBName = _ctx.StringValue("DescribeMigrationJobDetail.DataInitializationDetailList[" + i + "].DestinationOwnerDBName");
                dataInitializationDetail.ErrorMessage           = _ctx.StringValue("DescribeMigrationJobDetail.DataInitializationDetailList[" + i + "].ErrorMessage");
                dataInitializationDetail.FinishRowNum           = _ctx.StringValue("DescribeMigrationJobDetail.DataInitializationDetailList[" + i + "].FinishRowNum");
                dataInitializationDetail.MigrationTime          = _ctx.StringValue("DescribeMigrationJobDetail.DataInitializationDetailList[" + i + "].MigrationTime");
                dataInitializationDetail.SourceOwnerDBName      = _ctx.StringValue("DescribeMigrationJobDetail.DataInitializationDetailList[" + i + "].SourceOwnerDBName");
                dataInitializationDetail.Status      = _ctx.StringValue("DescribeMigrationJobDetail.DataInitializationDetailList[" + i + "].Status");
                dataInitializationDetail.TableName   = _ctx.StringValue("DescribeMigrationJobDetail.DataInitializationDetailList[" + i + "].TableName");
                dataInitializationDetail.TotalRowNum = _ctx.StringValue("DescribeMigrationJobDetail.DataInitializationDetailList[" + i + "].TotalRowNum");

                describeMigrationJobDetailResponse_dataInitializationDetailList.Add(dataInitializationDetail);
            }
            describeMigrationJobDetailResponse.DataInitializationDetailList = describeMigrationJobDetailResponse_dataInitializationDetailList;

            List <DescribeMigrationJobDetailResponse.DescribeMigrationJobDetail_DataSynchronizationDetail> describeMigrationJobDetailResponse_dataSynchronizationDetailList = new List <DescribeMigrationJobDetailResponse.DescribeMigrationJobDetail_DataSynchronizationDetail>();

            for (int i = 0; i < _ctx.Length("DescribeMigrationJobDetail.DataSynchronizationDetailList.Length"); i++)
            {
                DescribeMigrationJobDetailResponse.DescribeMigrationJobDetail_DataSynchronizationDetail dataSynchronizationDetail = new DescribeMigrationJobDetailResponse.DescribeMigrationJobDetail_DataSynchronizationDetail();
                dataSynchronizationDetail.DestinationOwnerDBName = _ctx.StringValue("DescribeMigrationJobDetail.DataSynchronizationDetailList[" + i + "].DestinationOwnerDBName");
                dataSynchronizationDetail.ErrorMessage           = _ctx.StringValue("DescribeMigrationJobDetail.DataSynchronizationDetailList[" + i + "].ErrorMessage");
                dataSynchronizationDetail.SourceOwnerDBName      = _ctx.StringValue("DescribeMigrationJobDetail.DataSynchronizationDetailList[" + i + "].SourceOwnerDBName");
                dataSynchronizationDetail.Status    = _ctx.StringValue("DescribeMigrationJobDetail.DataSynchronizationDetailList[" + i + "].Status");
                dataSynchronizationDetail.TableName = _ctx.StringValue("DescribeMigrationJobDetail.DataSynchronizationDetailList[" + i + "].TableName");

                describeMigrationJobDetailResponse_dataSynchronizationDetailList.Add(dataSynchronizationDetail);
            }
            describeMigrationJobDetailResponse.DataSynchronizationDetailList = describeMigrationJobDetailResponse_dataSynchronizationDetailList;

            List <DescribeMigrationJobDetailResponse.DescribeMigrationJobDetail_StructureInitializationDetail> describeMigrationJobDetailResponse_structureInitializationDetailList = new List <DescribeMigrationJobDetailResponse.DescribeMigrationJobDetail_StructureInitializationDetail>();

            for (int i = 0; i < _ctx.Length("DescribeMigrationJobDetail.StructureInitializationDetailList.Length"); i++)
            {
                DescribeMigrationJobDetailResponse.DescribeMigrationJobDetail_StructureInitializationDetail structureInitializationDetail = new DescribeMigrationJobDetailResponse.DescribeMigrationJobDetail_StructureInitializationDetail();
                structureInitializationDetail.DestinationOwnerDBName = _ctx.StringValue("DescribeMigrationJobDetail.StructureInitializationDetailList[" + i + "].DestinationOwnerDBName");
                structureInitializationDetail.ErrorMessage           = _ctx.StringValue("DescribeMigrationJobDetail.StructureInitializationDetailList[" + i + "].ErrorMessage");
                structureInitializationDetail.ObjectDefinition       = _ctx.StringValue("DescribeMigrationJobDetail.StructureInitializationDetailList[" + i + "].ObjectDefinition");
                structureInitializationDetail.ObjectName             = _ctx.StringValue("DescribeMigrationJobDetail.StructureInitializationDetailList[" + i + "].ObjectName");
                structureInitializationDetail.ObjectType             = _ctx.StringValue("DescribeMigrationJobDetail.StructureInitializationDetailList[" + i + "].ObjectType");
                structureInitializationDetail.SourceOwnerDBName      = _ctx.StringValue("DescribeMigrationJobDetail.StructureInitializationDetailList[" + i + "].SourceOwnerDBName");
                structureInitializationDetail.Status = _ctx.StringValue("DescribeMigrationJobDetail.StructureInitializationDetailList[" + i + "].Status");

                List <DescribeMigrationJobDetailResponse.DescribeMigrationJobDetail_StructureInitializationDetail.DescribeMigrationJobDetail_StructureInitializationDetail1> structureInitializationDetail_constraintList = new List <DescribeMigrationJobDetailResponse.DescribeMigrationJobDetail_StructureInitializationDetail.DescribeMigrationJobDetail_StructureInitializationDetail1>();
                for (int j = 0; j < _ctx.Length("DescribeMigrationJobDetail.StructureInitializationDetailList[" + i + "].ConstraintList.Length"); j++)
                {
                    DescribeMigrationJobDetailResponse.DescribeMigrationJobDetail_StructureInitializationDetail.DescribeMigrationJobDetail_StructureInitializationDetail1 structureInitializationDetail1 = new DescribeMigrationJobDetailResponse.DescribeMigrationJobDetail_StructureInitializationDetail.DescribeMigrationJobDetail_StructureInitializationDetail1();
                    structureInitializationDetail1.DestinationOwnerDBName = _ctx.StringValue("DescribeMigrationJobDetail.StructureInitializationDetailList[" + i + "].ConstraintList[" + j + "].DestinationOwnerDBName");
                    structureInitializationDetail1.ErrorMessage           = _ctx.StringValue("DescribeMigrationJobDetail.StructureInitializationDetailList[" + i + "].ConstraintList[" + j + "].ErrorMessage");
                    structureInitializationDetail1.ObjectDefinition       = _ctx.StringValue("DescribeMigrationJobDetail.StructureInitializationDetailList[" + i + "].ConstraintList[" + j + "].ObjectDefinition");
                    structureInitializationDetail1.ObjectName             = _ctx.StringValue("DescribeMigrationJobDetail.StructureInitializationDetailList[" + i + "].ConstraintList[" + j + "].ObjectName");
                    structureInitializationDetail1.ObjectType             = _ctx.StringValue("DescribeMigrationJobDetail.StructureInitializationDetailList[" + i + "].ConstraintList[" + j + "].ObjectType");
                    structureInitializationDetail1.SourceOwnerDBName      = _ctx.StringValue("DescribeMigrationJobDetail.StructureInitializationDetailList[" + i + "].ConstraintList[" + j + "].SourceOwnerDBName");
                    structureInitializationDetail1.Status = _ctx.StringValue("DescribeMigrationJobDetail.StructureInitializationDetailList[" + i + "].ConstraintList[" + j + "].Status");

                    structureInitializationDetail_constraintList.Add(structureInitializationDetail1);
                }
                structureInitializationDetail.ConstraintList = structureInitializationDetail_constraintList;

                describeMigrationJobDetailResponse_structureInitializationDetailList.Add(structureInitializationDetail);
            }
            describeMigrationJobDetailResponse.StructureInitializationDetailList = describeMigrationJobDetailResponse_structureInitializationDetailList;

            return(describeMigrationJobDetailResponse);
        }