当前位置: 首页>>代码示例>>C#>>正文


C# UnmarshallerContext.IntegerValue方法代码示例

本文整理汇总了C#中UnmarshallerContext.IntegerValue方法的典型用法代码示例。如果您正苦于以下问题:C# UnmarshallerContext.IntegerValue方法的具体用法?C# UnmarshallerContext.IntegerValue怎么用?C# UnmarshallerContext.IntegerValue使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在UnmarshallerContext的用法示例。


在下文中一共展示了UnmarshallerContext.IntegerValue方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Unmarshall

        public static DescribeSQLInjectionInfosResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeSQLInjectionInfosResponse describeSQLInjectionInfosResponse = new DescribeSQLInjectionInfosResponse();

            describeSQLInjectionInfosResponse.HttpResponse = context.HttpResponse;
            describeSQLInjectionInfosResponse.RequestId = context.StringValue("DescribeSQLInjectionInfos.RequestId");
            describeSQLInjectionInfosResponse.Engine = context.StringValue("DescribeSQLInjectionInfos.Engine");
            describeSQLInjectionInfosResponse.TotalRecordCount = context.IntegerValue("DescribeSQLInjectionInfos.TotalRecordCount");
            describeSQLInjectionInfosResponse.PageNumber = context.IntegerValue("DescribeSQLInjectionInfos.PageNumber");
            describeSQLInjectionInfosResponse.PageRecordCount = context.IntegerValue("DescribeSQLInjectionInfos.PageRecordCount");

            List<DescribeSQLInjectionInfosResponse.SQLInjectionInfo> items = new List<DescribeSQLInjectionInfosResponse.SQLInjectionInfo>();
            for (int i = 0; i < context.Length("DescribeSQLInjectionInfos.Items.Length"); i++) {
                DescribeSQLInjectionInfosResponse.SQLInjectionInfo sQLInjectionInfo = new DescribeSQLInjectionInfosResponse.SQLInjectionInfo();
                sQLInjectionInfo.DBName = context.StringValue("DescribeSQLInjectionInfos.Items["+ i +"].DBName");
                sQLInjectionInfo.SQLText = context.StringValue("DescribeSQLInjectionInfos.Items["+ i +"].SQLText");
                sQLInjectionInfo.LatencyTime = context.StringValue("DescribeSQLInjectionInfos.Items["+ i +"].LatencyTime");
                sQLInjectionInfo.HostAddress = context.StringValue("DescribeSQLInjectionInfos.Items["+ i +"].HostAddress");
                sQLInjectionInfo.ExecuteTime = context.StringValue("DescribeSQLInjectionInfos.Items["+ i +"].ExecuteTime");
                sQLInjectionInfo.AccountName = context.StringValue("DescribeSQLInjectionInfos.Items["+ i +"].AccountName");
                sQLInjectionInfo.EffectRowCount = context.StringValue("DescribeSQLInjectionInfos.Items["+ i +"].EffectRowCount");

                items.Add(sQLInjectionInfo);
            }
            describeSQLInjectionInfosResponse.Items = items;

            return describeSQLInjectionInfosResponse;
        }
开发者ID:RongieZeng,项目名称:aliyun-openapi-net-sdk,代码行数:28,代码来源:DescribeSQLInjectionInfosResponseUnmarshaller.cs

示例2: Unmarshall

        public static DescribeDBInstancesByPerformanceResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeDBInstancesByPerformanceResponse describeDBInstancesByPerformanceResponse = new DescribeDBInstancesByPerformanceResponse();

            describeDBInstancesByPerformanceResponse.HttpResponse = context.HttpResponse;
            describeDBInstancesByPerformanceResponse.RequestId = context.StringValue("DescribeDBInstancesByPerformance.RequestId");
            describeDBInstancesByPerformanceResponse.PageNumber = context.IntegerValue("DescribeDBInstancesByPerformance.PageNumber");
            describeDBInstancesByPerformanceResponse.TotalRecordCount = context.IntegerValue("DescribeDBInstancesByPerformance.TotalRecordCount");
            describeDBInstancesByPerformanceResponse.PageRecordCount = context.IntegerValue("DescribeDBInstancesByPerformance.PageRecordCount");

            List<DescribeDBInstancesByPerformanceResponse.DBInstancePerformance> items = new List<DescribeDBInstancesByPerformanceResponse.DBInstancePerformance>();
            for (int i = 0; i < context.Length("DescribeDBInstancesByPerformance.Items.Length"); i++) {
                DescribeDBInstancesByPerformanceResponse.DBInstancePerformance dBInstancePerformance = new DescribeDBInstancesByPerformanceResponse.DBInstancePerformance();
                dBInstancePerformance.CPUUsage = context.StringValue("DescribeDBInstancesByPerformance.Items["+ i +"].CPUUsage");
                dBInstancePerformance.IOPSUsage = context.StringValue("DescribeDBInstancesByPerformance.Items["+ i +"].IOPSUsage");
                dBInstancePerformance.DiskUsage = context.StringValue("DescribeDBInstancesByPerformance.Items["+ i +"].DiskUsage");
                dBInstancePerformance.SessionUsage = context.StringValue("DescribeDBInstancesByPerformance.Items["+ i +"].SessionUsage");
                dBInstancePerformance.DBInstanceId = context.StringValue("DescribeDBInstancesByPerformance.Items["+ i +"].DBInstanceId");
                dBInstancePerformance.DBInstanceDescription = context.StringValue("DescribeDBInstancesByPerformance.Items["+ i +"].DBInstanceDescription");

                items.Add(dBInstancePerformance);
            }
            describeDBInstancesByPerformanceResponse.Items = items;

            return describeDBInstancesByPerformanceResponse;
        }
开发者ID:RongieZeng,项目名称:aliyun-openapi-net-sdk,代码行数:26,代码来源:DescribeDBInstancesByPerformanceResponseUnmarshaller.cs

示例3: Unmarshall

        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;
        }
开发者ID:RongieZeng,项目名称:aliyun-openapi-net-sdk,代码行数:27,代码来源:DescribeSQLLogRecordsResponseUnmarshaller.cs

示例4: Unmarshall

        public static DescribeOptimizeAdviceOnBigTableResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeOptimizeAdviceOnBigTableResponse describeOptimizeAdviceOnBigTableResponse = new DescribeOptimizeAdviceOnBigTableResponse();

            describeOptimizeAdviceOnBigTableResponse.HttpResponse = context.HttpResponse;
            describeOptimizeAdviceOnBigTableResponse.RequestId = context.StringValue("DescribeOptimizeAdviceOnBigTable.RequestId");
            describeOptimizeAdviceOnBigTableResponse.TotalRecordsCount = context.IntegerValue("DescribeOptimizeAdviceOnBigTable.TotalRecordsCount");
            describeOptimizeAdviceOnBigTableResponse.PageNumber = context.IntegerValue("DescribeOptimizeAdviceOnBigTable.PageNumber");
            describeOptimizeAdviceOnBigTableResponse.PageRecordCount = context.IntegerValue("DescribeOptimizeAdviceOnBigTable.PageRecordCount");

            List<DescribeOptimizeAdviceOnBigTableResponse.AdviceOnBigTable> items = new List<DescribeOptimizeAdviceOnBigTableResponse.AdviceOnBigTable>();
            for (int i = 0; i < context.Length("DescribeOptimizeAdviceOnBigTable.Items.Length"); i++) {
                DescribeOptimizeAdviceOnBigTableResponse.AdviceOnBigTable adviceOnBigTable = new DescribeOptimizeAdviceOnBigTableResponse.AdviceOnBigTable();
                adviceOnBigTable.DBName = context.StringValue("DescribeOptimizeAdviceOnBigTable.Items["+ i +"].DBName");
                adviceOnBigTable.TableName = context.StringValue("DescribeOptimizeAdviceOnBigTable.Items["+ i +"].TableName");
                adviceOnBigTable.TableSize = context.LongValue("DescribeOptimizeAdviceOnBigTable.Items["+ i +"].TableSize");
                adviceOnBigTable.DataSize = context.LongValue("DescribeOptimizeAdviceOnBigTable.Items["+ i +"].DataSize");
                adviceOnBigTable.IndexSize = context.LongValue("DescribeOptimizeAdviceOnBigTable.Items["+ i +"].IndexSize");

                items.Add(adviceOnBigTable);
            }
            describeOptimizeAdviceOnBigTableResponse.Items = items;

            return describeOptimizeAdviceOnBigTableResponse;
        }
开发者ID:RongieZeng,项目名称:aliyun-openapi-net-sdk,代码行数:25,代码来源:DescribeOptimizeAdviceOnBigTableResponseUnmarshaller.cs

示例5: Unmarshall

        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;
        }
开发者ID:RongieZeng,项目名称:aliyun-openapi-net-sdk,代码行数:32,代码来源:DescribeImageSharePermissionResponseUnmarshaller.cs

示例6: Unmarshall

        public static DescribeLoadBalancerHTTPSListenerAttributeResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeLoadBalancerHTTPSListenerAttributeResponse describeLoadBalancerHTTPSListenerAttributeResponse = new DescribeLoadBalancerHTTPSListenerAttributeResponse();

            describeLoadBalancerHTTPSListenerAttributeResponse.HttpResponse = context.HttpResponse;
            describeLoadBalancerHTTPSListenerAttributeResponse.RequestId = context.StringValue("DescribeLoadBalancerHTTPSListenerAttribute.RequestId");
            describeLoadBalancerHTTPSListenerAttributeResponse.ListenerPort = context.IntegerValue("DescribeLoadBalancerHTTPSListenerAttribute.ListenerPort");
            describeLoadBalancerHTTPSListenerAttributeResponse.BackendServerPort = context.IntegerValue("DescribeLoadBalancerHTTPSListenerAttribute.BackendServerPort");
            describeLoadBalancerHTTPSListenerAttributeResponse.Bandwidth = context.IntegerValue("DescribeLoadBalancerHTTPSListenerAttribute.Bandwidth");
            describeLoadBalancerHTTPSListenerAttributeResponse.Status = context.StringValue("DescribeLoadBalancerHTTPSListenerAttribute.Status");
            describeLoadBalancerHTTPSListenerAttributeResponse.SecurityStatus = context.StringValue("DescribeLoadBalancerHTTPSListenerAttribute.SecurityStatus");
            describeLoadBalancerHTTPSListenerAttributeResponse.XForwardedFor = context.StringValue("DescribeLoadBalancerHTTPSListenerAttribute.XForwardedFor");
            describeLoadBalancerHTTPSListenerAttributeResponse.Scheduler = context.StringValue("DescribeLoadBalancerHTTPSListenerAttribute.Scheduler");
            describeLoadBalancerHTTPSListenerAttributeResponse.StickySession = context.StringValue("DescribeLoadBalancerHTTPSListenerAttribute.StickySession");
            describeLoadBalancerHTTPSListenerAttributeResponse.StickySessionType = context.StringValue("DescribeLoadBalancerHTTPSListenerAttribute.StickySessionType");
            describeLoadBalancerHTTPSListenerAttributeResponse.CookieTimeout = context.IntegerValue("DescribeLoadBalancerHTTPSListenerAttribute.CookieTimeout");
            describeLoadBalancerHTTPSListenerAttributeResponse.Cookie = context.StringValue("DescribeLoadBalancerHTTPSListenerAttribute.Cookie");
            describeLoadBalancerHTTPSListenerAttributeResponse.HealthCheck = context.StringValue("DescribeLoadBalancerHTTPSListenerAttribute.HealthCheck");
            describeLoadBalancerHTTPSListenerAttributeResponse.HealthCheckDomain = context.StringValue("DescribeLoadBalancerHTTPSListenerAttribute.HealthCheckDomain");
            describeLoadBalancerHTTPSListenerAttributeResponse.HealthCheckURI = context.StringValue("DescribeLoadBalancerHTTPSListenerAttribute.HealthCheckURI");
            describeLoadBalancerHTTPSListenerAttributeResponse.HealthyThreshold = context.IntegerValue("DescribeLoadBalancerHTTPSListenerAttribute.HealthyThreshold");
            describeLoadBalancerHTTPSListenerAttributeResponse.UnhealthyThreshold = context.IntegerValue("DescribeLoadBalancerHTTPSListenerAttribute.UnhealthyThreshold");
            describeLoadBalancerHTTPSListenerAttributeResponse.HealthCheckTimeout = context.IntegerValue("DescribeLoadBalancerHTTPSListenerAttribute.HealthCheckTimeout");
            describeLoadBalancerHTTPSListenerAttributeResponse.HealthCheckInterval = context.IntegerValue("DescribeLoadBalancerHTTPSListenerAttribute.HealthCheckInterval");
            describeLoadBalancerHTTPSListenerAttributeResponse.HealthCheckConnectPort = context.IntegerValue("DescribeLoadBalancerHTTPSListenerAttribute.HealthCheckConnectPort");
            describeLoadBalancerHTTPSListenerAttributeResponse.HealthCheckHttpCode = context.StringValue("DescribeLoadBalancerHTTPSListenerAttribute.HealthCheckHttpCode");
            describeLoadBalancerHTTPSListenerAttributeResponse.ServerCertificateId = context.StringValue("DescribeLoadBalancerHTTPSListenerAttribute.ServerCertificateId");
            describeLoadBalancerHTTPSListenerAttributeResponse.CACertificateId = context.StringValue("DescribeLoadBalancerHTTPSListenerAttribute.CACertificateId");
            describeLoadBalancerHTTPSListenerAttributeResponse.MaxConnection = context.IntegerValue("DescribeLoadBalancerHTTPSListenerAttribute.MaxConnection");
            describeLoadBalancerHTTPSListenerAttributeResponse.VServerGroupId = context.StringValue("DescribeLoadBalancerHTTPSListenerAttribute.VServerGroupId");

            return describeLoadBalancerHTTPSListenerAttributeResponse;
        }
开发者ID:aliyun,项目名称:aliyun-openapi-net-sdk,代码行数:33,代码来源:DescribeLoadBalancerHTTPSListenerAttributeResponseUnmarshaller.cs

示例7: Unmarshall

        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;
        }
开发者ID:RongieZeng,项目名称:aliyun-openapi-net-sdk,代码行数:32,代码来源:DescribeVRoutersResponseUnmarshaller.cs

示例8: Unmarshall

        public static DescribeOptimizeAdviceOnStorageResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeOptimizeAdviceOnStorageResponse describeOptimizeAdviceOnStorageResponse = new DescribeOptimizeAdviceOnStorageResponse();

            describeOptimizeAdviceOnStorageResponse.HttpResponse = context.HttpResponse;
            describeOptimizeAdviceOnStorageResponse.RequestId = context.StringValue("DescribeOptimizeAdviceOnStorage.RequestId");
            describeOptimizeAdviceOnStorageResponse.DBInstanceId = context.StringValue("DescribeOptimizeAdviceOnStorage.DBInstanceId");
            describeOptimizeAdviceOnStorageResponse.TotalRecordsCount = context.IntegerValue("DescribeOptimizeAdviceOnStorage.TotalRecordsCount");
            describeOptimizeAdviceOnStorageResponse.PageNumber = context.IntegerValue("DescribeOptimizeAdviceOnStorage.PageNumber");
            describeOptimizeAdviceOnStorageResponse.PageRecordCount = context.IntegerValue("DescribeOptimizeAdviceOnStorage.PageRecordCount");

            List<DescribeOptimizeAdviceOnStorageResponse.AdviceOnStorage> items = new List<DescribeOptimizeAdviceOnStorageResponse.AdviceOnStorage>();
            for (int i = 0; i < context.Length("DescribeOptimizeAdviceOnStorage.Items.Length"); i++) {
                DescribeOptimizeAdviceOnStorageResponse.AdviceOnStorage adviceOnStorage = new DescribeOptimizeAdviceOnStorageResponse.AdviceOnStorage();
                adviceOnStorage.DBName = context.StringValue("DescribeOptimizeAdviceOnStorage.Items["+ i +"].DBName");
                adviceOnStorage.TableName = context.StringValue("DescribeOptimizeAdviceOnStorage.Items["+ i +"].TableName");
                adviceOnStorage.CurrentEngine = context.StringValue("DescribeOptimizeAdviceOnStorage.Items["+ i +"].CurrentEngine");
                adviceOnStorage.AdviseEngine = context.StringValue("DescribeOptimizeAdviceOnStorage.Items["+ i +"].AdviseEngine");

                items.Add(adviceOnStorage);
            }
            describeOptimizeAdviceOnStorageResponse.Items = items;

            return describeOptimizeAdviceOnStorageResponse;
        }
开发者ID:RongieZeng,项目名称:aliyun-openapi-net-sdk,代码行数:25,代码来源:DescribeOptimizeAdviceOnStorageResponseUnmarshaller.cs

示例9: Unmarshall

        public static DescribeApiTrafficControlsResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeApiTrafficControlsResponse describeApiTrafficControlsResponse = new DescribeApiTrafficControlsResponse();

            describeApiTrafficControlsResponse.HttpResponse = context.HttpResponse;
            describeApiTrafficControlsResponse.RequestId = context.StringValue("DescribeApiTrafficControls.RequestId");
            describeApiTrafficControlsResponse.TotalCount = context.IntegerValue("DescribeApiTrafficControls.TotalCount");
            describeApiTrafficControlsResponse.PageSize = context.IntegerValue("DescribeApiTrafficControls.PageSize");
            describeApiTrafficControlsResponse.PageNumber = context.IntegerValue("DescribeApiTrafficControls.PageNumber");

            List<DescribeApiTrafficControlsResponse.ApiTrafficControlItem> apiTrafficControls = new List<DescribeApiTrafficControlsResponse.ApiTrafficControlItem>();
            for (int i = 0; i < context.Length("DescribeApiTrafficControls.ApiTrafficControls.Length"); i++) {
                DescribeApiTrafficControlsResponse.ApiTrafficControlItem apiTrafficControlItem = new DescribeApiTrafficControlsResponse.ApiTrafficControlItem();
                apiTrafficControlItem.ApiId = context.StringValue("DescribeApiTrafficControls.ApiTrafficControls["+ i +"].ApiId");
                apiTrafficControlItem.ApiName = context.StringValue("DescribeApiTrafficControls.ApiTrafficControls["+ i +"].ApiName");
                apiTrafficControlItem.TrafficControlId = context.StringValue("DescribeApiTrafficControls.ApiTrafficControls["+ i +"].TrafficControlId");
                apiTrafficControlItem.TrafficControlName = context.StringValue("DescribeApiTrafficControls.ApiTrafficControls["+ i +"].TrafficControlName");
                apiTrafficControlItem.BoundTime = context.StringValue("DescribeApiTrafficControls.ApiTrafficControls["+ i +"].BoundTime");

                apiTrafficControls.Add(apiTrafficControlItem);
            }
            describeApiTrafficControlsResponse.ApiTrafficControls = apiTrafficControls;

            return describeApiTrafficControlsResponse;
        }
开发者ID:aliyun,项目名称:aliyun-openapi-net-sdk,代码行数:25,代码来源:DescribeApiTrafficControlsResponseUnmarshaller.cs

示例10: Unmarshall

        public static DescribeApisBySignatureResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeApisBySignatureResponse describeApisBySignatureResponse = new DescribeApisBySignatureResponse();

            describeApisBySignatureResponse.HttpResponse = context.HttpResponse;
            describeApisBySignatureResponse.RequestId = context.StringValue("DescribeApisBySignature.RequestId");
            describeApisBySignatureResponse.TotalCount = context.IntegerValue("DescribeApisBySignature.TotalCount");
            describeApisBySignatureResponse.PageSize = context.IntegerValue("DescribeApisBySignature.PageSize");
            describeApisBySignatureResponse.PageNumber = context.IntegerValue("DescribeApisBySignature.PageNumber");

            List<DescribeApisBySignatureResponse.ApiInfo> apiInfos = new List<DescribeApisBySignatureResponse.ApiInfo>();
            for (int i = 0; i < context.Length("DescribeApisBySignature.ApiInfos.Length"); i++) {
                DescribeApisBySignatureResponse.ApiInfo apiInfo = new DescribeApisBySignatureResponse.ApiInfo();
                apiInfo.RegionId = context.StringValue("DescribeApisBySignature.ApiInfos["+ i +"].RegionId");
                apiInfo.GroupId = context.StringValue("DescribeApisBySignature.ApiInfos["+ i +"].GroupId");
                apiInfo.GroupName = context.StringValue("DescribeApisBySignature.ApiInfos["+ i +"].GroupName");
                apiInfo.StageName = context.StringValue("DescribeApisBySignature.ApiInfos["+ i +"].StageName");
                apiInfo.ApiId = context.StringValue("DescribeApisBySignature.ApiInfos["+ i +"].ApiId");
                apiInfo.ApiName = context.StringValue("DescribeApisBySignature.ApiInfos["+ i +"].ApiName");
                apiInfo.Description = context.StringValue("DescribeApisBySignature.ApiInfos["+ i +"].Description");
                apiInfo.Visibility = context.StringValue("DescribeApisBySignature.ApiInfos["+ i +"].Visibility");
                apiInfo.BoundTime = context.StringValue("DescribeApisBySignature.ApiInfos["+ i +"].BoundTime");

                apiInfos.Add(apiInfo);
            }
            describeApisBySignatureResponse.ApiInfos = apiInfos;

            return describeApisBySignatureResponse;
        }
开发者ID:aliyun,项目名称:aliyun-openapi-net-sdk,代码行数:29,代码来源:DescribeApisBySignatureResponseUnmarshaller.cs

示例11: Unmarshall

        public static DescribeDomainWafAttackInfoResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeDomainWafAttackInfoResponse describeDomainWafAttackInfoResponse = new DescribeDomainWafAttackInfoResponse();

            describeDomainWafAttackInfoResponse.HttpResponse = context.HttpResponse;
            describeDomainWafAttackInfoResponse.RequestId = context.StringValue("DescribeDomainWafAttackInfo.RequestId");
            describeDomainWafAttackInfoResponse.DomainName = context.StringValue("DescribeDomainWafAttackInfo.DomainName");
            describeDomainWafAttackInfoResponse.StartTime = context.StringValue("DescribeDomainWafAttackInfo.StartTime");
            describeDomainWafAttackInfoResponse.EndTime = context.StringValue("DescribeDomainWafAttackInfo.EndTime");
            describeDomainWafAttackInfoResponse.PageNumber = context.IntegerValue("DescribeDomainWafAttackInfo.PageNumber");
            describeDomainWafAttackInfoResponse.PageSize = context.IntegerValue("DescribeDomainWafAttackInfo.PageSize");

            List<DescribeDomainWafAttackInfoResponse.AttackDatas> attackDataList = new List<DescribeDomainWafAttackInfoResponse.AttackDatas>();
            for (int i = 0; i < context.Length("DescribeDomainWafAttackInfo.AttackDataList.Length"); i++) {
                DescribeDomainWafAttackInfoResponse.AttackDatas attackDatas = new DescribeDomainWafAttackInfoResponse.AttackDatas();
                attackDatas.Ip = context.StringValue("DescribeDomainWafAttackInfo.AttackDataList["+ i +"].Ip");
                attackDatas.Time = context.StringValue("DescribeDomainWafAttackInfo.AttackDataList["+ i +"].Time");
                attackDatas.Url = context.StringValue("DescribeDomainWafAttackInfo.AttackDataList["+ i +"].Url");
                attackDatas.Type = context.StringValue("DescribeDomainWafAttackInfo.AttackDataList["+ i +"].Type");
                attackDatas.Result = context.StringValue("DescribeDomainWafAttackInfo.AttackDataList["+ i +"].Result");

                attackDataList.Add(attackDatas);
            }
            describeDomainWafAttackInfoResponse.AttackDataList = attackDataList;

            return describeDomainWafAttackInfoResponse;
        }
开发者ID:RongieZeng,项目名称:aliyun-openapi-net-sdk,代码行数:27,代码来源:DescribeDomainWafAttackInfoResponseUnmarshaller.cs

示例12: Unmarshall

        public static DescribeApisResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeApisResponse describeApisResponse = new DescribeApisResponse();

            describeApisResponse.HttpResponse = context.HttpResponse;
            describeApisResponse.RequestId = context.StringValue("DescribeApis.RequestId");
            describeApisResponse.TotalCount = context.IntegerValue("DescribeApis.TotalCount");
            describeApisResponse.PageSize = context.IntegerValue("DescribeApis.PageSize");
            describeApisResponse.PageNumber = context.IntegerValue("DescribeApis.PageNumber");

            List<DescribeApisResponse.ApiSummary> apiSummarys = new List<DescribeApisResponse.ApiSummary>();
            for (int i = 0; i < context.Length("DescribeApis.ApiSummarys.Length"); i++) {
                DescribeApisResponse.ApiSummary apiSummary = new DescribeApisResponse.ApiSummary();
                apiSummary.RegionId = context.StringValue("DescribeApis.ApiSummarys["+ i +"].RegionId");
                apiSummary.GroupId = context.StringValue("DescribeApis.ApiSummarys["+ i +"].GroupId");
                apiSummary.GroupName = context.StringValue("DescribeApis.ApiSummarys["+ i +"].GroupName");
                apiSummary.ApiId = context.StringValue("DescribeApis.ApiSummarys["+ i +"].ApiId");
                apiSummary.ApiName = context.StringValue("DescribeApis.ApiSummarys["+ i +"].ApiName");
                apiSummary.Visibility = context.StringValue("DescribeApis.ApiSummarys["+ i +"].Visibility");
                apiSummary.Description = context.StringValue("DescribeApis.ApiSummarys["+ i +"].Description");
                apiSummary.CreatedTime = context.StringValue("DescribeApis.ApiSummarys["+ i +"].CreatedTime");
                apiSummary.ModifiedTime = context.StringValue("DescribeApis.ApiSummarys["+ i +"].ModifiedTime");

                apiSummarys.Add(apiSummary);
            }
            describeApisResponse.ApiSummarys = apiSummarys;

            return describeApisResponse;
        }
开发者ID:aliyun,项目名称:aliyun-openapi-net-sdk,代码行数:29,代码来源:DescribeApisResponseUnmarshaller.cs

示例13: Unmarshall

        public static DescribeModifyParameterLogResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeModifyParameterLogResponse describeModifyParameterLogResponse = new DescribeModifyParameterLogResponse();

            describeModifyParameterLogResponse.HttpResponse = context.HttpResponse;
            describeModifyParameterLogResponse.RequestId = context.StringValue("DescribeModifyParameterLog.RequestId");
            describeModifyParameterLogResponse.Engine = context.StringValue("DescribeModifyParameterLog.Engine");
            describeModifyParameterLogResponse.DBInstanceId = context.StringValue("DescribeModifyParameterLog.DBInstanceId");
            describeModifyParameterLogResponse.EngineVersion = context.StringValue("DescribeModifyParameterLog.EngineVersion");
            describeModifyParameterLogResponse.TotalRecordCount = context.IntegerValue("DescribeModifyParameterLog.TotalRecordCount");
            describeModifyParameterLogResponse.PageNumber = context.IntegerValue("DescribeModifyParameterLog.PageNumber");
            describeModifyParameterLogResponse.PageRecordCount = context.IntegerValue("DescribeModifyParameterLog.PageRecordCount");

            List<DescribeModifyParameterLogResponse.ParameterChangeLog> items = new List<DescribeModifyParameterLogResponse.ParameterChangeLog>();
            for (int i = 0; i < context.Length("DescribeModifyParameterLog.Items.Length"); i++) {
                DescribeModifyParameterLogResponse.ParameterChangeLog parameterChangeLog = new DescribeModifyParameterLogResponse.ParameterChangeLog();
                parameterChangeLog.ModifyTime = context.StringValue("DescribeModifyParameterLog.Items["+ i +"].ModifyTime");
                parameterChangeLog.OldParameterValue = context.StringValue("DescribeModifyParameterLog.Items["+ i +"].OldParameterValue");
                parameterChangeLog.NewParameterValue = context.StringValue("DescribeModifyParameterLog.Items["+ i +"].NewParameterValue");
                parameterChangeLog.ParameterName = context.StringValue("DescribeModifyParameterLog.Items["+ i +"].ParameterName");
                parameterChangeLog.Status = context.EnumValue<DescribeModifyParameterLogResponse.ParameterChangeLog.StatusEnum>("DescribeModifyParameterLog.Items["+ i +"].Status");

                items.Add(parameterChangeLog);
            }
            describeModifyParameterLogResponse.Items = items;

            return describeModifyParameterLogResponse;
        }
开发者ID:RongieZeng,项目名称:aliyun-openapi-net-sdk,代码行数:28,代码来源:DescribeModifyParameterLogResponseUnmarshaller.cs

示例14: Unmarshall

        public static DescribeAppAttributesResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeAppAttributesResponse describeAppAttributesResponse = new DescribeAppAttributesResponse();

            describeAppAttributesResponse.HttpResponse = context.HttpResponse;
            describeAppAttributesResponse.RequestId = context.StringValue("DescribeAppAttributes.RequestId");
            describeAppAttributesResponse.TotalCount = context.IntegerValue("DescribeAppAttributes.TotalCount");
            describeAppAttributesResponse.PageSize = context.IntegerValue("DescribeAppAttributes.PageSize");
            describeAppAttributesResponse.PageNumber = context.IntegerValue("DescribeAppAttributes.PageNumber");

            List<DescribeAppAttributesResponse.AppAttribute> apps = new List<DescribeAppAttributesResponse.AppAttribute>();
            for (int i = 0; i < context.Length("DescribeAppAttributes.Apps.Length"); i++) {
                DescribeAppAttributesResponse.AppAttribute appAttribute = new DescribeAppAttributesResponse.AppAttribute();
                appAttribute.AppId = context.LongValue("DescribeAppAttributes.Apps["+ i +"].AppId");
                appAttribute.AppName = context.StringValue("DescribeAppAttributes.Apps["+ i +"].AppName");
                appAttribute.Description = context.StringValue("DescribeAppAttributes.Apps["+ i +"].Description");
                appAttribute.CreatedTime = context.StringValue("DescribeAppAttributes.Apps["+ i +"].CreatedTime");
                appAttribute.ModifiedTime = context.StringValue("DescribeAppAttributes.Apps["+ i +"].ModifiedTime");

                apps.Add(appAttribute);
            }
            describeAppAttributesResponse.Apps = apps;

            return describeAppAttributesResponse;
        }
开发者ID:aliyun,项目名称:aliyun-openapi-net-sdk,代码行数:25,代码来源:DescribeAppAttributesResponseUnmarshaller.cs

示例15: Unmarshall

        public static DescribeSQLLogFilesResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeSQLLogFilesResponse describeSQLLogFilesResponse = new DescribeSQLLogFilesResponse();

            describeSQLLogFilesResponse.HttpResponse = context.HttpResponse;
            describeSQLLogFilesResponse.RequestId = context.StringValue("DescribeSQLLogFiles.RequestId");
            describeSQLLogFilesResponse.TotalRecordCount = context.IntegerValue("DescribeSQLLogFiles.TotalRecordCount");
            describeSQLLogFilesResponse.PageNumber = context.IntegerValue("DescribeSQLLogFiles.PageNumber");
            describeSQLLogFilesResponse.PageRecordCount = context.IntegerValue("DescribeSQLLogFiles.PageRecordCount");

            List<DescribeSQLLogFilesResponse.LogFile> items = new List<DescribeSQLLogFilesResponse.LogFile>();
            for (int i = 0; i < context.Length("DescribeSQLLogFiles.Items.Length"); i++) {
                DescribeSQLLogFilesResponse.LogFile logFile = new DescribeSQLLogFilesResponse.LogFile();
                logFile.FileID = context.StringValue("DescribeSQLLogFiles.Items["+ i +"].FileID");
                logFile.LogStatus = context.EnumValue<DescribeSQLLogFilesResponse.LogFile.LogStatusEnum>("DescribeSQLLogFiles.Items["+ i +"].LogStatus");
                logFile.LogDownloadURL = context.StringValue("DescribeSQLLogFiles.Items["+ i +"].LogDownloadURL");
                logFile.LogSize = context.StringValue("DescribeSQLLogFiles.Items["+ i +"].LogSize");
                logFile.LogStartTime = context.StringValue("DescribeSQLLogFiles.Items["+ i +"].LogStartTime");
                logFile.LogEndTime = context.StringValue("DescribeSQLLogFiles.Items["+ i +"].LogEndTime");

                items.Add(logFile);
            }
            describeSQLLogFilesResponse.Items = items;

            return describeSQLLogFilesResponse;
        }
开发者ID:RongieZeng,项目名称:aliyun-openapi-net-sdk,代码行数:26,代码来源:DescribeSQLLogFilesResponseUnmarshaller.cs


注:本文中的UnmarshallerContext.IntegerValue方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。