public static ModifyInstanceResponse Unmarshall(UnmarshallerContext _ctx)
        {
            ModifyInstanceResponse modifyInstanceResponse = new ModifyInstanceResponse();

            modifyInstanceResponse.HttpResponse   = _ctx.HttpResponse;
            modifyInstanceResponse.Code           = _ctx.StringValue("ModifyInstance.Code");
            modifyInstanceResponse.HttpStatusCode = _ctx.IntegerValue("ModifyInstance.HttpStatusCode");
            modifyInstanceResponse.Message        = _ctx.StringValue("ModifyInstance.Message");
            modifyInstanceResponse.RequestId      = _ctx.StringValue("ModifyInstance.RequestId");
            modifyInstanceResponse.Success        = _ctx.BooleanValue("ModifyInstance.Success");

            ModifyInstanceResponse.ModifyInstance_Instance instance = new ModifyInstanceResponse.ModifyInstance_Instance();
            instance.CallCenterInstanceId      = _ctx.StringValue("ModifyInstance.Instance.CallCenterInstanceId");
            instance.CreationTime              = _ctx.LongValue("ModifyInstance.Instance.CreationTime");
            instance.InstanceDescription       = _ctx.StringValue("ModifyInstance.Instance.InstanceDescription");
            instance.InstanceId                = _ctx.StringValue("ModifyInstance.Instance.InstanceId");
            instance.InstanceName              = _ctx.StringValue("ModifyInstance.Instance.InstanceName");
            instance.MaxConcurrentConversation = _ctx.IntegerValue("ModifyInstance.Instance.MaxConcurrentConversation");
            instance.Owner          = _ctx.StringValue("ModifyInstance.Instance.Owner");
            instance.NluServiceType = _ctx.StringValue("ModifyInstance.Instance.NluServiceType");

            ModifyInstanceResponse.ModifyInstance_Instance.ModifyInstance_NluProfile nluProfile = new ModifyInstanceResponse.ModifyInstance_Instance.ModifyInstance_NluProfile();
            nluProfile.Endpoint             = _ctx.StringValue("ModifyInstance.Instance.NluProfile.Endpoint");
            nluProfile.AccessKey            = _ctx.StringValue("ModifyInstance.Instance.NluProfile.AccessKey");
            nluProfile.SecretKey            = _ctx.StringValue("ModifyInstance.Instance.NluProfile.SecretKey");
            instance.NluProfile             = nluProfile;
            modifyInstanceResponse.Instance = instance;

            return(modifyInstanceResponse);
        }
        public static ModifyInstanceResponse Unmarshall(UnmarshallerContext _ctx)
        {
            ModifyInstanceResponse modifyInstanceResponse = new ModifyInstanceResponse();

            modifyInstanceResponse.HttpResponse = _ctx.HttpResponse;
            modifyInstanceResponse.Code         = _ctx.StringValue("ModifyInstance.code");
            modifyInstanceResponse.Message      = _ctx.StringValue("ModifyInstance.message");
            modifyInstanceResponse.RequestId    = _ctx.StringValue("ModifyInstance.requestId");

            ModifyInstanceResponse.ModifyInstance_Result result = new ModifyInstanceResponse.ModifyInstance_Result();
            result.ChargeType             = _ctx.StringValue("ModifyInstance.Result.chargeType");
            result.CommodityCode          = _ctx.StringValue("ModifyInstance.Result.commodityCode");
            result.DataSetVersion         = _ctx.StringValue("ModifyInstance.Result.dataSetVersion");
            result.ExpiredTime            = _ctx.StringValue("ModifyInstance.Result.expiredTime");
            result.GmtCreate              = _ctx.StringValue("ModifyInstance.Result.gmtCreate");
            result.GmtModified            = _ctx.StringValue("ModifyInstance.Result.gmtModified");
            result.Industry               = _ctx.StringValue("ModifyInstance.Result.industry");
            result.InstanceId             = _ctx.StringValue("ModifyInstance.Result.instanceId");
            result.LockMode               = _ctx.StringValue("ModifyInstance.Result.lockMode");
            result.Name                   = _ctx.StringValue("ModifyInstance.Result.name");
            result.RegionId               = _ctx.StringValue("ModifyInstance.Result.regionId");
            result.Status                 = _ctx.StringValue("ModifyInstance.Result.status");
            result.Type                   = _ctx.StringValue("ModifyInstance.Result.type");
            modifyInstanceResponse.Result = result;

            return(modifyInstanceResponse);
        }
コード例 #3
0
        public static ModifyInstanceResponse Unmarshall(UnmarshallerContext context)
        {
            ModifyInstanceResponse modifyInstanceResponse = new ModifyInstanceResponse();

            modifyInstanceResponse.HttpResponse = context.HttpResponse;
            modifyInstanceResponse.RequestId    = context.StringValue("ModifyInstance.RequestId");
            modifyInstanceResponse.Code         = context.StringValue("ModifyInstance.Code");
            modifyInstanceResponse.Message      = context.StringValue("ModifyInstance.Message");

            ModifyInstanceResponse.ModifyInstance_Result result = new ModifyInstanceResponse.ModifyInstance_Result();
            result.InstanceId             = context.StringValue("ModifyInstance.Result.InstanceId");
            result.ChargeType             = context.StringValue("ModifyInstance.Result.ChargeType");
            result.RegionId               = context.StringValue("ModifyInstance.Result.RegionId");
            result.Name                   = context.StringValue("ModifyInstance.Result.Name");
            result.Type                   = context.StringValue("ModifyInstance.Result.Type");
            result.ExpiredTime            = context.StringValue("ModifyInstance.Result.ExpiredTime");
            result.GmtCreate              = context.StringValue("ModifyInstance.Result.GmtCreate");
            result.GmtModified            = context.StringValue("ModifyInstance.Result.GmtModified");
            result.Status                 = context.StringValue("ModifyInstance.Result.Status");
            result.Industry               = context.StringValue("ModifyInstance.Result.Industry");
            result.Scene                  = context.StringValue("ModifyInstance.Result.Scene");
            result.DataSetVersion         = context.StringValue("ModifyInstance.Result.DataSetVersion");
            result.CommodityCode          = context.StringValue("ModifyInstance.Result.CommodityCode");
            result.LockMode               = context.StringValue("ModifyInstance.Result.LockMode");
            modifyInstanceResponse.Result = result;

            return(modifyInstanceResponse);
        }
コード例 #4
0
        public static ModifyInstanceResponse Unmarshall(UnmarshallerContext context)
        {
            ModifyInstanceResponse modifyInstanceResponse = new ModifyInstanceResponse();

            modifyInstanceResponse.HttpResponse = context.HttpResponse;
            modifyInstanceResponse.RequestId    = context.StringValue("ModifyInstance.RequestId");

            return(modifyInstanceResponse);
        }
コード例 #5
0
        public static ModifyInstanceResponse Unmarshall(UnmarshallerContext context)
        {
            ModifyInstanceResponse modifyInstanceResponse = new ModifyInstanceResponse();

            modifyInstanceResponse.HttpResponse = context.HttpResponse;
            modifyInstanceResponse.RequestId    = context.StringValue("ModifyInstance.RequestId");
            modifyInstanceResponse.Success      = context.BooleanValue("ModifyInstance.Success");
            modifyInstanceResponse.Code         = context.StringValue("ModifyInstance.Code");
            modifyInstanceResponse.Message      = context.StringValue("ModifyInstance.Message");

            ModifyInstanceResponse.ModifyInstance_Data data = new ModifyInstanceResponse.ModifyInstance_Data();
            data.HostId  = context.StringValue("ModifyInstance.Data.HostId");
            data.OrderId = context.StringValue("ModifyInstance.Data.OrderId");
            modifyInstanceResponse.Data = data;

            return(modifyInstanceResponse);
        }
コード例 #6
0
        public static ModifyInstanceResponse Unmarshall(UnmarshallerContext context)
        {
            ModifyInstanceResponse modifyInstanceResponse = new ModifyInstanceResponse();

            modifyInstanceResponse.HttpResponse   = context.HttpResponse;
            modifyInstanceResponse.RequestId      = context.StringValue("ModifyInstance.RequestId");
            modifyInstanceResponse.Success        = context.BooleanValue("ModifyInstance.Success");
            modifyInstanceResponse.Code           = context.StringValue("ModifyInstance.Code");
            modifyInstanceResponse.Message        = context.StringValue("ModifyInstance.Message");
            modifyInstanceResponse.HttpStatusCode = context.IntegerValue("ModifyInstance.HttpStatusCode");

            ModifyInstanceResponse.ModifyInstance_Instance instance = new ModifyInstanceResponse.ModifyInstance_Instance();
            instance.InstanceId                = context.StringValue("ModifyInstance.Instance.InstanceId");
            instance.InstanceName              = context.StringValue("ModifyInstance.Instance.InstanceName");
            instance.InstanceDescription       = context.StringValue("ModifyInstance.Instance.InstanceDescription");
            instance.MaxConcurrentConversation = context.IntegerValue("ModifyInstance.Instance.MaxConcurrentConversation");
            instance.Owner                  = context.StringValue("ModifyInstance.Instance.Owner");
            instance.CreationTime           = context.LongValue("ModifyInstance.Instance.CreationTime");
            instance.CallCenterInstanceId   = context.StringValue("ModifyInstance.Instance.CallCenterInstanceId");
            modifyInstanceResponse.Instance = instance;

            return(modifyInstanceResponse);
        }