• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# UnmarshallerContext类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: Unmarshall

        public static DescribeHistoryApisResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeHistoryApisResponse describeHistoryApisResponse = new DescribeHistoryApisResponse();

            describeHistoryApisResponse.HttpResponse = context.HttpResponse;
            describeHistoryApisResponse.RequestId = context.StringValue("DescribeHistoryApis.RequestId");
            describeHistoryApisResponse.TotalCount = context.IntegerValue("DescribeHistoryApis.TotalCount");
            describeHistoryApisResponse.PageSize = context.IntegerValue("DescribeHistoryApis.PageSize");
            describeHistoryApisResponse.PageNumber = context.IntegerValue("DescribeHistoryApis.PageNumber");

            List<DescribeHistoryApisResponse.ApiHisItem> apiHisItems = new List<DescribeHistoryApisResponse.ApiHisItem>();
            for (int i = 0; i < context.Length("DescribeHistoryApis.ApiHisItems.Length"); i++) {
                DescribeHistoryApisResponse.ApiHisItem apiHisItem = new DescribeHistoryApisResponse.ApiHisItem();
                apiHisItem.RegionId = context.StringValue("DescribeHistoryApis.ApiHisItems["+ i +"].RegionId");
                apiHisItem.ApiId = context.StringValue("DescribeHistoryApis.ApiHisItems["+ i +"].ApiId");
                apiHisItem.ApiName = context.StringValue("DescribeHistoryApis.ApiHisItems["+ i +"].ApiName");
                apiHisItem.GroupId = context.StringValue("DescribeHistoryApis.ApiHisItems["+ i +"].GroupId");
                apiHisItem.GroupName = context.StringValue("DescribeHistoryApis.ApiHisItems["+ i +"].GroupName");
                apiHisItem.StageName = context.StringValue("DescribeHistoryApis.ApiHisItems["+ i +"].StageName");
                apiHisItem.HistoryVersion = context.StringValue("DescribeHistoryApis.ApiHisItems["+ i +"].HistoryVersion");
                apiHisItem.Status = context.EnumValue<DescribeHistoryApisResponse.ApiHisItem.StatusEnum>("DescribeHistoryApis.ApiHisItems["+ i +"].Status");
                apiHisItem.Description = context.StringValue("DescribeHistoryApis.ApiHisItems["+ i +"].Description");
                apiHisItem.DeployedTime = context.StringValue("DescribeHistoryApis.ApiHisItems["+ i +"].DeployedTime");

                apiHisItems.Add(apiHisItem);
            }
            describeHistoryApisResponse.ApiHisItems = apiHisItems;

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


示例2: Unmarshall

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


示例3: Unmarshall

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


示例4: Unmarshall

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


示例5: Unmarshall

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


示例6: Unmarshall

        public static DescribeCdnDomainBaseDetailResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeCdnDomainBaseDetailResponse describeCdnDomainBaseDetailResponse = new DescribeCdnDomainBaseDetailResponse();

            describeCdnDomainBaseDetailResponse.HttpResponse = context.HttpResponse;
            describeCdnDomainBaseDetailResponse.RequestId = context.StringValue("DescribeCdnDomainBaseDetail.RequestId");

            DescribeCdnDomainBaseDetailResponse.DomainBaseDetailModel_ domainBaseDetailModel = new DescribeCdnDomainBaseDetailResponse.DomainBaseDetailModel_();
            domainBaseDetailModel.Cname = context.StringValue("DescribeCdnDomainBaseDetail.DomainBaseDetailModel.Cname");
            domainBaseDetailModel.CdnType = context.StringValue("DescribeCdnDomainBaseDetail.DomainBaseDetailModel.CdnType");
            domainBaseDetailModel.DomainStatus = context.StringValue("DescribeCdnDomainBaseDetail.DomainBaseDetailModel.DomainStatus");
            domainBaseDetailModel.SourceType = context.StringValue("DescribeCdnDomainBaseDetail.DomainBaseDetailModel.SourceType");
            domainBaseDetailModel.DomainName = context.StringValue("DescribeCdnDomainBaseDetail.DomainBaseDetailModel.DomainName");
            domainBaseDetailModel.Remark = context.StringValue("DescribeCdnDomainBaseDetail.DomainBaseDetailModel.Remark");
            domainBaseDetailModel.GmtModified = context.StringValue("DescribeCdnDomainBaseDetail.DomainBaseDetailModel.GmtModified");
            domainBaseDetailModel.GmtCreated = context.StringValue("DescribeCdnDomainBaseDetail.DomainBaseDetailModel.GmtCreated");

            List<string> sources = new List<string>();
            for (int i = 0; i < context.Length("DescribeCdnDomainBaseDetail.DomainBaseDetailModel.Sources.Length"); i++) {
                sources.Add(context.StringValue("DescribeCdnDomainBaseDetail.DomainBaseDetailModel.Sources["+ i +"]"));
            }
            domainBaseDetailModel.Sources = sources;
            describeCdnDomainBaseDetailResponse.DomainBaseDetailModel = domainBaseDetailModel;

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


示例7: Unmarshall

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


示例8: 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


示例9: Unmarshall

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


示例10: Unmarshall

        public static DescribeCdnMonitorDataResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeCdnMonitorDataResponse describeCdnMonitorDataResponse = new DescribeCdnMonitorDataResponse();

            describeCdnMonitorDataResponse.HttpResponse = context.HttpResponse;
            describeCdnMonitorDataResponse.RequestId = context.StringValue("DescribeCdnMonitorData.RequestId");
            describeCdnMonitorDataResponse.DomainName = context.StringValue("DescribeCdnMonitorData.DomainName");
            describeCdnMonitorDataResponse.MonitorInterval = context.LongValue("DescribeCdnMonitorData.MonitorInterval");
            describeCdnMonitorDataResponse.StartTime = context.StringValue("DescribeCdnMonitorData.StartTime");
            describeCdnMonitorDataResponse.EndTime = context.StringValue("DescribeCdnMonitorData.EndTime");

            List<DescribeCdnMonitorDataResponse.CDNMonitorData> monitorDatas = new List<DescribeCdnMonitorDataResponse.CDNMonitorData>();
            for (int i = 0; i < context.Length("DescribeCdnMonitorData.MonitorDatas.Length"); i++) {
                DescribeCdnMonitorDataResponse.CDNMonitorData cDNMonitorData = new DescribeCdnMonitorDataResponse.CDNMonitorData();
                cDNMonitorData.TimeStamp = context.StringValue("DescribeCdnMonitorData.MonitorDatas["+ i +"].TimeStamp");
                cDNMonitorData.QueryPerSecond = context.StringValue("DescribeCdnMonitorData.MonitorDatas["+ i +"].QueryPerSecond");
                cDNMonitorData.BytesPerSecond = context.StringValue("DescribeCdnMonitorData.MonitorDatas["+ i +"].BytesPerSecond");
                cDNMonitorData.BytesHitRate = context.StringValue("DescribeCdnMonitorData.MonitorDatas["+ i +"].BytesHitRate");
                cDNMonitorData.RequestHitRate = context.StringValue("DescribeCdnMonitorData.MonitorDatas["+ i +"].RequestHitRate");
                cDNMonitorData.AverageObjectSize = context.StringValue("DescribeCdnMonitorData.MonitorDatas["+ i +"].AverageObjectSize");

                monitorDatas.Add(cDNMonitorData);
            }
            describeCdnMonitorDataResponse.MonitorDatas = monitorDatas;

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


示例11: Unmarshall

        public static DescribeAuthorizedApisResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeAuthorizedApisResponse describeAuthorizedApisResponse = new DescribeAuthorizedApisResponse();

            describeAuthorizedApisResponse.HttpResponse = context.HttpResponse;
            describeAuthorizedApisResponse.RequestId = context.StringValue("DescribeAuthorizedApis.RequestId");
            describeAuthorizedApisResponse.TotalCount = context.IntegerValue("DescribeAuthorizedApis.TotalCount");
            describeAuthorizedApisResponse.PageSize = context.IntegerValue("DescribeAuthorizedApis.PageSize");
            describeAuthorizedApisResponse.PageNumber = context.IntegerValue("DescribeAuthorizedApis.PageNumber");

            List<DescribeAuthorizedApisResponse.AuthorizedApi> authorizedApis = new List<DescribeAuthorizedApisResponse.AuthorizedApi>();
            for (int i = 0; i < context.Length("DescribeAuthorizedApis.AuthorizedApis.Length"); i++) {
                DescribeAuthorizedApisResponse.AuthorizedApi authorizedApi = new DescribeAuthorizedApisResponse.AuthorizedApi();
                authorizedApi.RegionId = context.StringValue("DescribeAuthorizedApis.AuthorizedApis["+ i +"].RegionId");
                authorizedApi.GroupId = context.StringValue("DescribeAuthorizedApis.AuthorizedApis["+ i +"].GroupId");
                authorizedApi.GroupName = context.StringValue("DescribeAuthorizedApis.AuthorizedApis["+ i +"].GroupName");
                authorizedApi.StageName = context.StringValue("DescribeAuthorizedApis.AuthorizedApis["+ i +"].StageName");
                authorizedApi.Operator = context.StringValue("DescribeAuthorizedApis.AuthorizedApis["+ i +"].Operator");
                authorizedApi.ApiId = context.StringValue("DescribeAuthorizedApis.AuthorizedApis["+ i +"].ApiId");
                authorizedApi.ApiName = context.StringValue("DescribeAuthorizedApis.AuthorizedApis["+ i +"].ApiName");
                authorizedApi.AuthorizationSource = context.StringValue("DescribeAuthorizedApis.AuthorizedApis["+ i +"].AuthorizationSource");
                authorizedApi.Description = context.StringValue("DescribeAuthorizedApis.AuthorizedApis["+ i +"].Description");
                authorizedApi.AuthorizedTime = context.StringValue("DescribeAuthorizedApis.AuthorizedApis["+ i +"].AuthorizedTime");

                authorizedApis.Add(authorizedApi);
            }
            describeAuthorizedApisResponse.AuthorizedApis = authorizedApis;

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


示例12: 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


示例13: Unmarshall

        public static DescribeVirtualBorderRoutersForPhysicalConnectionResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeVirtualBorderRoutersForPhysicalConnectionResponse describeVirtualBorderRoutersForPhysicalConnectionResponse = new DescribeVirtualBorderRoutersForPhysicalConnectionResponse();

            describeVirtualBorderRoutersForPhysicalConnectionResponse.HttpResponse = context.HttpResponse;
            describeVirtualBorderRoutersForPhysicalConnectionResponse.RequestId = context.StringValue("DescribeVirtualBorderRoutersForPhysicalConnection.RequestId");
            describeVirtualBorderRoutersForPhysicalConnectionResponse.PageNumber = context.IntegerValue("DescribeVirtualBorderRoutersForPhysicalConnection.PageNumber");
            describeVirtualBorderRoutersForPhysicalConnectionResponse.PageSize = context.IntegerValue("DescribeVirtualBorderRoutersForPhysicalConnection.PageSize");
            describeVirtualBorderRoutersForPhysicalConnectionResponse.TotalCount = context.IntegerValue("DescribeVirtualBorderRoutersForPhysicalConnection.TotalCount");

            List<DescribeVirtualBorderRoutersForPhysicalConnectionResponse.VirtualBorderRouterForPhysicalConnectionType> virtualBorderRouterForPhysicalConnectionSet = new List<DescribeVirtualBorderRoutersForPhysicalConnectionResponse.VirtualBorderRouterForPhysicalConnectionType>();
            for (int i = 0; i < context.Length("DescribeVirtualBorderRoutersForPhysicalConnection.VirtualBorderRouterForPhysicalConnectionSet.Length"); i++) {
                DescribeVirtualBorderRoutersForPhysicalConnectionResponse.VirtualBorderRouterForPhysicalConnectionType virtualBorderRouterForPhysicalConnectionType = new DescribeVirtualBorderRoutersForPhysicalConnectionResponse.VirtualBorderRouterForPhysicalConnectionType();
                virtualBorderRouterForPhysicalConnectionType.VbrId = context.StringValue("DescribeVirtualBorderRoutersForPhysicalConnection.VirtualBorderRouterForPhysicalConnectionSet["+ i +"].VbrId");
                virtualBorderRouterForPhysicalConnectionType.VbrOwnerUid = context.LongValue("DescribeVirtualBorderRoutersForPhysicalConnection.VirtualBorderRouterForPhysicalConnectionSet["+ i +"].VbrOwnerUid");
                virtualBorderRouterForPhysicalConnectionType.CreationTime = context.StringValue("DescribeVirtualBorderRoutersForPhysicalConnection.VirtualBorderRouterForPhysicalConnectionSet["+ i +"].CreationTime");
                virtualBorderRouterForPhysicalConnectionType.ActivationTime = context.StringValue("DescribeVirtualBorderRoutersForPhysicalConnection.VirtualBorderRouterForPhysicalConnectionSet["+ i +"].ActivationTime");
                virtualBorderRouterForPhysicalConnectionType.TerminationTime = context.StringValue("DescribeVirtualBorderRoutersForPhysicalConnection.VirtualBorderRouterForPhysicalConnectionSet["+ i +"].TerminationTime");
                virtualBorderRouterForPhysicalConnectionType.RecoveryTime = context.StringValue("DescribeVirtualBorderRoutersForPhysicalConnection.VirtualBorderRouterForPhysicalConnectionSet["+ i +"].RecoveryTime");
                virtualBorderRouterForPhysicalConnectionType.VlanId = context.IntegerValue("DescribeVirtualBorderRoutersForPhysicalConnection.VirtualBorderRouterForPhysicalConnectionSet["+ i +"].VlanId");
                virtualBorderRouterForPhysicalConnectionType.CircuitCode = context.StringValue("DescribeVirtualBorderRoutersForPhysicalConnection.VirtualBorderRouterForPhysicalConnectionSet["+ i +"].CircuitCode");

                virtualBorderRouterForPhysicalConnectionSet.Add(virtualBorderRouterForPhysicalConnectionType);
            }
            describeVirtualBorderRoutersForPhysicalConnectionResponse.VirtualBorderRouterForPhysicalConnectionSet = virtualBorderRouterForPhysicalConnectionSet;

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


示例14: 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


示例15: Unmarshall

        public static DescribeDomainLogsResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeDomainLogsResponse describeDomainLogsResponse = new DescribeDomainLogsResponse();

            describeDomainLogsResponse.HttpResponse = context.HttpResponse;
            describeDomainLogsResponse.RequestId = context.StringValue("DescribeDomainLogs.RequestId");
            describeDomainLogsResponse.TotalCount = context.LongValue("DescribeDomainLogs.TotalCount");
            describeDomainLogsResponse.PageNumber = context.LongValue("DescribeDomainLogs.PageNumber");
            describeDomainLogsResponse.PageSize = context.LongValue("DescribeDomainLogs.PageSize");

            List<DescribeDomainLogsResponse.DomainLog> domainLogs = new List<DescribeDomainLogsResponse.DomainLog>();
            for (int i = 0; i < context.Length("DescribeDomainLogs.DomainLogs.Length"); i++) {
                DescribeDomainLogsResponse.DomainLog domainLog = new DescribeDomainLogsResponse.DomainLog();
                domainLog.ActionTime = context.StringValue("DescribeDomainLogs.DomainLogs["+ i +"].ActionTime");
                domainLog.DomainName = context.StringValue("DescribeDomainLogs.DomainLogs["+ i +"].DomainName");
                domainLog.Action = context.StringValue("DescribeDomainLogs.DomainLogs["+ i +"].Action");
                domainLog.Message = context.StringValue("DescribeDomainLogs.DomainLogs["+ i +"].Message");
                domainLog.ClientIp = context.StringValue("DescribeDomainLogs.DomainLogs["+ i +"].ClientIp");

                domainLogs.Add(domainLog);
            }
            describeDomainLogsResponse.DomainLogs = domainLogs;

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


示例16: Unmarshall

        public static DescribeSecurityGroupAttributeResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeSecurityGroupAttributeResponse describeSecurityGroupAttributeResponse = new DescribeSecurityGroupAttributeResponse();

            describeSecurityGroupAttributeResponse.HttpResponse = context.HttpResponse;
            describeSecurityGroupAttributeResponse.RequestId = context.StringValue("DescribeSecurityGroupAttribute.RequestId");
            describeSecurityGroupAttributeResponse.RegionId = context.StringValue("DescribeSecurityGroupAttribute.RegionId");
            describeSecurityGroupAttributeResponse.SecurityGroupId = context.StringValue("DescribeSecurityGroupAttribute.SecurityGroupId");
            describeSecurityGroupAttributeResponse.Description = context.StringValue("DescribeSecurityGroupAttribute.Description");
            describeSecurityGroupAttributeResponse.SecurityGroupName = context.StringValue("DescribeSecurityGroupAttribute.SecurityGroupName");
            describeSecurityGroupAttributeResponse.VpcId = context.StringValue("DescribeSecurityGroupAttribute.VpcId");

            List<DescribeSecurityGroupAttributeResponse.Permission> permissions = new List<DescribeSecurityGroupAttributeResponse.Permission>();
            for (int i = 0; i < context.Length("DescribeSecurityGroupAttribute.Permissions.Length"); i++) {
                DescribeSecurityGroupAttributeResponse.Permission permission = new DescribeSecurityGroupAttributeResponse.Permission();
                permission.IpProtocol = context.StringValue("DescribeSecurityGroupAttribute.Permissions["+ i +"].IpProtocol");
                permission.PortRange = context.StringValue("DescribeSecurityGroupAttribute.Permissions["+ i +"].PortRange");
                permission.SourceGroupId = context.StringValue("DescribeSecurityGroupAttribute.Permissions["+ i +"].SourceGroupId");
                permission.SourceCidrIp = context.StringValue("DescribeSecurityGroupAttribute.Permissions["+ i +"].SourceCidrIp");
                permission.Policy = context.StringValue("DescribeSecurityGroupAttribute.Permissions["+ i +"].Policy");
                permission.NicType = context.StringValue("DescribeSecurityGroupAttribute.Permissions["+ i +"].NicType");
                permission.SourceGroupOwnerAccount = context.StringValue("DescribeSecurityGroupAttribute.Permissions["+ i +"].SourceGroupOwnerAccount");
    

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# UnpackedRecord类代码示例发布时间:2022-05-24
下一篇:
C# UnmanagedType类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap