public static GetAccountingReportResponse Unmarshall(UnmarshallerContext context)
        {
            GetAccountingReportResponse getAccountingReportResponse = new GetAccountingReportResponse();

            getAccountingReportResponse.HttpResponse = context.HttpResponse;
            getAccountingReportResponse.RequestId    = context.StringValue("GetAccountingReport.RequestId");
            getAccountingReportResponse.Metrics      = context.StringValue("GetAccountingReport.Metrics");
            getAccountingReportResponse.Data         = context.StringValue("GetAccountingReport.Data");

            return(getAccountingReportResponse);
        }
        public static GetAccountingReportResponse Unmarshall(UnmarshallerContext context)
        {
            GetAccountingReportResponse getAccountingReportResponse = new GetAccountingReportResponse();

            getAccountingReportResponse.HttpResponse = context.HttpResponse;
            getAccountingReportResponse.RequestId    = context.StringValue("GetAccountingReport.RequestId");
            getAccountingReportResponse.Metrics      = context.StringValue("GetAccountingReport.Metrics");

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

            for (int i = 0; i < context.Length("GetAccountingReport.Data.Length"); i++)
            {
                getAccountingReportResponse_data.Add(context.StringValue("GetAccountingReport.Data[" + i + "]"));
            }
            getAccountingReportResponse.Data = getAccountingReportResponse_data;

            return(getAccountingReportResponse);
        }
Ejemplo n.º 3
0
        public static GetAccountingReportResponse Unmarshall(UnmarshallerContext _ctx)
        {
            GetAccountingReportResponse getAccountingReportResponse = new GetAccountingReportResponse();

            getAccountingReportResponse.HttpResponse  = _ctx.HttpResponse;
            getAccountingReportResponse.RequestId     = _ctx.StringValue("GetAccountingReport.RequestId");
            getAccountingReportResponse.Metrics       = _ctx.StringValue("GetAccountingReport.Metrics");
            getAccountingReportResponse.TotalCoreTime = _ctx.IntegerValue("GetAccountingReport.TotalCoreTime");
            getAccountingReportResponse.TotalCount    = _ctx.IntegerValue("GetAccountingReport.TotalCount");
            getAccountingReportResponse.PageSize      = _ctx.IntegerValue("GetAccountingReport.PageSize");
            getAccountingReportResponse.PageNumber    = _ctx.IntegerValue("GetAccountingReport.PageNumber");

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

            for (int i = 0; i < _ctx.Length("GetAccountingReport.Data.Length"); i++)
            {
                getAccountingReportResponse_data.Add(_ctx.StringValue("GetAccountingReport.Data[" + i + "]"));
            }
            getAccountingReportResponse.Data = getAccountingReportResponse_data;

            return(getAccountingReportResponse);
        }