Contains the response to a DescribeTimeBasedAutoScaling request.
상속: Amazon.Runtime.AmazonWebServiceResponse
 public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
 {
   DescribeTimeBasedAutoScalingResponse response = new DescribeTimeBasedAutoScalingResponse();          
   
   context.Read();
   
   UnmarshallResult(context,response);
   return response;
 }
        public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
        {
            DescribeTimeBasedAutoScalingResponse response = new DescribeTimeBasedAutoScalingResponse();

              context.Read();

              response.DescribeTimeBasedAutoScalingResult = DescribeTimeBasedAutoScalingResultUnmarshaller.GetInstance().Unmarshall(context);

              return response;
        }
        public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
        {
            DescribeTimeBasedAutoScalingResponse response = new DescribeTimeBasedAutoScalingResponse();

            context.Read();
            int targetDepth = context.CurrentDepth;
            while (context.ReadAtDepth(targetDepth))
            {
                if (context.TestExpression("TimeBasedAutoScalingConfigurations", targetDepth))
                {
                    var unmarshaller = new ListUnmarshaller<TimeBasedAutoScalingConfiguration, TimeBasedAutoScalingConfigurationUnmarshaller>(TimeBasedAutoScalingConfigurationUnmarshaller.Instance);
                    response.TimeBasedAutoScalingConfigurations = unmarshaller.Unmarshall(context);
                    continue;
                }
            }

            return response;
        }
       private static void UnmarshallResult(JsonUnmarshallerContext context,DescribeTimeBasedAutoScalingResponse response)
       {
         
           int originalDepth = context.CurrentDepth;
           int targetDepth = originalDepth + 1;
           while (context.Read())
           {
             
             if (context.TestExpression("TimeBasedAutoScalingConfigurations", targetDepth))
             {
               context.Read();
               response.TimeBasedAutoScalingConfigurations = new List<TimeBasedAutoScalingConfiguration>();
                       TimeBasedAutoScalingConfigurationUnmarshaller unmarshaller = TimeBasedAutoScalingConfigurationUnmarshaller.GetInstance();
               while (context.Read())
               {
                 JsonToken token = context.CurrentTokenType;                
                 if (token == JsonToken.ArrayStart)
                 {
                   continue;
                 }
                 if (token == JsonToken.ArrayEnd)
                 {
                   break;
                 }
                  response.TimeBasedAutoScalingConfigurations.Add(unmarshaller.Unmarshall(context));
               }
               continue;
             }
 
               if (context.CurrentDepth <= originalDepth)
               {                   
                   return;
               }
           }
                       
           return;
       }