Example #1
0
        public static DescribeRuleAttributeResponse Unmarshall(UnmarshallerContext _ctx)
        {
            DescribeRuleAttributeResponse describeRuleAttributeResponse = new DescribeRuleAttributeResponse();

            describeRuleAttributeResponse.HttpResponse           = _ctx.HttpResponse;
            describeRuleAttributeResponse.RuleId                 = _ctx.StringValue("DescribeRuleAttribute.RuleId");
            describeRuleAttributeResponse.RequestId              = _ctx.StringValue("DescribeRuleAttribute.RequestId");
            describeRuleAttributeResponse.RuleName               = _ctx.StringValue("DescribeRuleAttribute.RuleName");
            describeRuleAttributeResponse.LoadBalancerId         = _ctx.StringValue("DescribeRuleAttribute.LoadBalancerId");
            describeRuleAttributeResponse.ListenerPort           = _ctx.StringValue("DescribeRuleAttribute.ListenerPort");
            describeRuleAttributeResponse.Domain                 = _ctx.StringValue("DescribeRuleAttribute.Domain");
            describeRuleAttributeResponse.Url                    = _ctx.StringValue("DescribeRuleAttribute.Url");
            describeRuleAttributeResponse.VServerGroupId         = _ctx.StringValue("DescribeRuleAttribute.VServerGroupId");
            describeRuleAttributeResponse.ListenerSync           = _ctx.StringValue("DescribeRuleAttribute.ListenerSync");
            describeRuleAttributeResponse.Scheduler              = _ctx.StringValue("DescribeRuleAttribute.Scheduler");
            describeRuleAttributeResponse.StickySession          = _ctx.StringValue("DescribeRuleAttribute.StickySession");
            describeRuleAttributeResponse.StickySessionType      = _ctx.StringValue("DescribeRuleAttribute.StickySessionType");
            describeRuleAttributeResponse.CookieTimeout          = _ctx.IntegerValue("DescribeRuleAttribute.CookieTimeout");
            describeRuleAttributeResponse.Cookie                 = _ctx.StringValue("DescribeRuleAttribute.Cookie");
            describeRuleAttributeResponse.HealthCheck            = _ctx.StringValue("DescribeRuleAttribute.HealthCheck");
            describeRuleAttributeResponse.HealthCheckDomain      = _ctx.StringValue("DescribeRuleAttribute.HealthCheckDomain");
            describeRuleAttributeResponse.HealthCheckURI         = _ctx.StringValue("DescribeRuleAttribute.HealthCheckURI");
            describeRuleAttributeResponse.HealthyThreshold       = _ctx.IntegerValue("DescribeRuleAttribute.HealthyThreshold");
            describeRuleAttributeResponse.UnhealthyThreshold     = _ctx.IntegerValue("DescribeRuleAttribute.UnhealthyThreshold");
            describeRuleAttributeResponse.HealthCheckTimeout     = _ctx.IntegerValue("DescribeRuleAttribute.HealthCheckTimeout");
            describeRuleAttributeResponse.HealthCheckInterval    = _ctx.IntegerValue("DescribeRuleAttribute.HealthCheckInterval");
            describeRuleAttributeResponse.HealthCheckConnectPort = _ctx.IntegerValue("DescribeRuleAttribute.HealthCheckConnectPort");
            describeRuleAttributeResponse.HealthCheckHttpCode    = _ctx.StringValue("DescribeRuleAttribute.HealthCheckHttpCode");

            return(describeRuleAttributeResponse);
        }
        public static DescribeRuleAttributeResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeRuleAttributeResponse describeRuleAttributeResponse = new DescribeRuleAttributeResponse();

            describeRuleAttributeResponse.HttpResponse   = context.HttpResponse;
            describeRuleAttributeResponse.RequestId      = context.StringValue("DescribeRuleAttribute.RequestId");
            describeRuleAttributeResponse.RuleName       = context.StringValue("DescribeRuleAttribute.RuleName");
            describeRuleAttributeResponse.LoadBalancerId = context.StringValue("DescribeRuleAttribute.LoadBalancerId");
            describeRuleAttributeResponse.ListenerPort   = context.StringValue("DescribeRuleAttribute.ListenerPort");
            describeRuleAttributeResponse.Domain         = context.StringValue("DescribeRuleAttribute.Domain");
            describeRuleAttributeResponse.Url            = context.StringValue("DescribeRuleAttribute.Url");
            describeRuleAttributeResponse.VServerGroupId = context.StringValue("DescribeRuleAttribute.VServerGroupId");

            return(describeRuleAttributeResponse);
        }