public static DescribeApiStageResponse Unmarshall(UnmarshallerContext context) { DescribeApiStageResponse describeApiStageResponse = new DescribeApiStageResponse(); describeApiStageResponse.HttpResponse = context.HttpResponse; describeApiStageResponse.RequestId = context.StringValue("DescribeApiStage.RequestId"); describeApiStageResponse.GroupId = context.StringValue("DescribeApiStage.GroupId"); describeApiStageResponse.StageId = context.StringValue("DescribeApiStage.StageId"); describeApiStageResponse.StageName = context.StringValue("DescribeApiStage.StageName"); describeApiStageResponse.Description = context.StringValue("DescribeApiStage.Description"); describeApiStageResponse.CreatedTime = context.StringValue("DescribeApiStage.CreatedTime"); describeApiStageResponse.ModifiedTime = context.StringValue("DescribeApiStage.ModifiedTime"); List<DescribeApiStageResponse.VariableItem> variables = new List<DescribeApiStageResponse.VariableItem>(); for (int i = 0; i < context.Length("DescribeApiStage.Variables.Length"); i++) { DescribeApiStageResponse.VariableItem variableItem = new DescribeApiStageResponse.VariableItem(); variableItem.VariableName = context.StringValue("DescribeApiStage.Variables["+ i +"].VariableName"); variableItem.VariableValue = context.StringValue("DescribeApiStage.Variables["+ i +"].VariableValue"); variables.Add(variableItem); } describeApiStageResponse.Variables = variables; return describeApiStageResponse; }