public static RenewInstanceResponse Unmarshall(UnmarshallerContext context)
        {
            RenewInstanceResponse renewInstanceResponse = new RenewInstanceResponse();

            renewInstanceResponse.HttpResponse = context.HttpResponse;
            renewInstanceResponse.RequestId    = context.StringValue("RenewInstance.RequestId");

            return(renewInstanceResponse);
        }
        public static RenewInstanceResponse Unmarshall(UnmarshallerContext context)
        {
            RenewInstanceResponse renewInstanceResponse = new RenewInstanceResponse();

            renewInstanceResponse.HttpResponse = context.HttpResponse;
            renewInstanceResponse.RequestId = context.StringValue("RenewInstance.RequestId");

            return renewInstanceResponse;
        }
예제 #3
0
        public static RenewInstanceResponse Unmarshall(UnmarshallerContext _ctx)
        {
            RenewInstanceResponse renewInstanceResponse = new RenewInstanceResponse();

            renewInstanceResponse.HttpResponse = _ctx.HttpResponse;
            renewInstanceResponse.RequestId    = _ctx.StringValue("RenewInstance.RequestId");
            renewInstanceResponse.OrderId      = _ctx.LongValue("RenewInstance.OrderId");

            return(renewInstanceResponse);
        }
        public static RenewInstanceResponse Unmarshall(UnmarshallerContext context)
        {
            RenewInstanceResponse renewInstanceResponse = new RenewInstanceResponse();

            renewInstanceResponse.HttpResponse = context.HttpResponse;
            renewInstanceResponse.RequestId    = context.StringValue("RenewInstance.RequestId");
            renewInstanceResponse.Success      = context.BooleanValue("RenewInstance.Success");
            renewInstanceResponse.Code         = context.StringValue("RenewInstance.Code");
            renewInstanceResponse.Message      = context.StringValue("RenewInstance.Message");

            RenewInstanceResponse.RenewInstance_Data data = new RenewInstanceResponse.RenewInstance_Data();
            data.OrderId = context.StringValue("RenewInstance.Data.OrderId");
            renewInstanceResponse.Data = data;

            return(renewInstanceResponse);
        }
예제 #5
0
        public static RenewInstanceResponse Unmarshall(UnmarshallerContext _ctx)
        {
            RenewInstanceResponse renewInstanceResponse = new RenewInstanceResponse();

            renewInstanceResponse.HttpResponse   = _ctx.HttpResponse;
            renewInstanceResponse.ChargeType     = _ctx.StringValue("RenewInstance.ChargeType");
            renewInstanceResponse.Code           = _ctx.StringValue("RenewInstance.Code");
            renewInstanceResponse.DtsJobId       = _ctx.StringValue("RenewInstance.DtsJobId");
            renewInstanceResponse.DynamicMessage = _ctx.StringValue("RenewInstance.DynamicMessage");
            renewInstanceResponse.EndTime        = _ctx.StringValue("RenewInstance.EndTime");
            renewInstanceResponse.ErrCode        = _ctx.StringValue("RenewInstance.ErrCode");
            renewInstanceResponse.ErrMessage     = _ctx.StringValue("RenewInstance.ErrMessage");
            renewInstanceResponse.HttpStatusCode = _ctx.IntegerValue("RenewInstance.HttpStatusCode");
            renewInstanceResponse.InstanceId     = _ctx.StringValue("RenewInstance.InstanceId");
            renewInstanceResponse.RequestId      = _ctx.StringValue("RenewInstance.RequestId");
            renewInstanceResponse.Success        = _ctx.BooleanValue("RenewInstance.Success");

            return(renewInstanceResponse);
        }
        public static RenewInstanceResponse Unmarshall(UnmarshallerContext context)
        {
            RenewInstanceResponse renewInstanceResponse = new RenewInstanceResponse();

            renewInstanceResponse.HttpResponse = context.HttpResponse;
            renewInstanceResponse.Code         = context.StringValue("RenewInstance.Code");
            renewInstanceResponse.Message      = context.StringValue("RenewInstance.Message");
            renewInstanceResponse.OrderId      = context.StringValue("RenewInstance.OrderId");
            renewInstanceResponse.InstanceId   = context.StringValue("RenewInstance.InstanceId");
            renewInstanceResponse.RequestId    = context.StringValue("RenewInstance.RequestId");

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

            for (int i = 0; i < context.Length("RenewInstance.InstanceIds.Length"); i++)
            {
                renewInstanceResponse_instanceIds.Add(context.StringValue("RenewInstance.InstanceIds[" + i + "]"));
            }
            renewInstanceResponse.InstanceIds = renewInstanceResponse_instanceIds;

            return(renewInstanceResponse);
        }