Aliyun.Acs.Rds.Transform.V20140815.DescribePreCheckResultsResponseUnmarshaller.Unmarshall C# (CSharp) Метод

Unmarshall() публичный статический Метод

public static Unmarshall ( UnmarshallerContext context ) : DescribePreCheckResultsResponse
context UnmarshallerContext
Результат Aliyun.Acs.Rds.Model.V20140815.DescribePreCheckResultsResponse
        public static DescribePreCheckResultsResponse Unmarshall(UnmarshallerContext context)
        {
            DescribePreCheckResultsResponse describePreCheckResultsResponse = new DescribePreCheckResultsResponse();

            describePreCheckResultsResponse.HttpResponse = context.HttpResponse;
            describePreCheckResultsResponse.RequestId = context.StringValue("DescribePreCheckResults.RequestId");
            describePreCheckResultsResponse.DBInstanceId = context.StringValue("DescribePreCheckResults.DBInstanceId");

            List<DescribePreCheckResultsResponse.PreCheckResult> items = new List<DescribePreCheckResultsResponse.PreCheckResult>();
            for (int i = 0; i < context.Length("DescribePreCheckResults.Items.Length"); i++) {
                DescribePreCheckResultsResponse.PreCheckResult preCheckResult = new DescribePreCheckResultsResponse.PreCheckResult();
                preCheckResult.PreCheckName = context.StringValue("DescribePreCheckResults.Items["+ i +"].PreCheckName");
                preCheckResult.PreCheckResult_ = context.StringValue("DescribePreCheckResults.Items["+ i +"].PreCheckResult");
                preCheckResult.FailReasion = context.StringValue("DescribePreCheckResults.Items["+ i +"].FailReasion");
                preCheckResult.RepairMethod = context.StringValue("DescribePreCheckResults.Items["+ i +"].RepairMethod");

                items.Add(preCheckResult);
            }
            describePreCheckResultsResponse.Items = items;

            return describePreCheckResultsResponse;
        }
DescribePreCheckResultsResponseUnmarshaller