class TencentCloud::Cynosdb::V20190107::BizTaskInfo

任务信息

def deserialize(params)

def deserialize(params)
  @ID = params['ID']
  @AppId = params['AppId']
  @ClusterId = params['ClusterId']
  @Region = params['Region']
  @CreateTime = params['CreateTime']
  @DelayTime = params['DelayTime']
  @ErrMsg = params['ErrMsg']
  @FlowId = params['FlowId']
  @Input = params['Input']
  @InstanceGrpId = params['InstanceGrpId']
  @InstanceGroupId = params['InstanceGroupId']
  @InstanceId = params['InstanceId']
  @ObjectId = params['ObjectId']
  @ObjectType = params['ObjectType']
  @Operator = params['Operator']
  @Output = params['Output']
  @Status = params['Status']
  @TaskType = params['TaskType']
  @TriggerTaskId = params['TriggerTaskId']
  @UpdateTime = params['UpdateTime']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @ClusterName = params['ClusterName']
  @InstanceName = params['InstanceName']
  @Process = params['Process']
  unless params['ModifyParamsData'].nil?
    @ModifyParamsData = []
    params['ModifyParamsData'].each do |i|
      modifyparamsdata_tmp = ModifyParamsData.new
      modifyparamsdata_tmp.deserialize(i)
      @ModifyParamsData << modifyparamsdata_tmp
    end
  end
  unless params['CreateClustersData'].nil?
    @CreateClustersData = CreateClustersData.new
    @CreateClustersData.deserialize(params['CreateClustersData'])
  end
  unless params['RollbackData'].nil?
    @RollbackData = RollbackData.new
    @RollbackData.deserialize(params['RollbackData'])
  end
  unless params['ModifyInstanceData'].nil?
    @ModifyInstanceData = ModifyInstanceData.new
    @ModifyInstanceData.deserialize(params['ModifyInstanceData'])
  end
  unless params['ManualBackupData'].nil?
    @ManualBackupData = ManualBackupData.new
    @ManualBackupData.deserialize(params['ManualBackupData'])
  end
  unless params['ModifyDbVersionData'].nil?
    @ModifyDbVersionData = ModifyDbVersionData.new
    @ModifyDbVersionData.deserialize(params['ModifyDbVersionData'])
  end
  unless params['ClusterSlaveData'].nil?
    @ClusterSlaveData = ClusterSlaveData.new
    @ClusterSlaveData.deserialize(params['ClusterSlaveData'])
  end
  unless params['SwitchClusterLogBin'].nil?
    @SwitchClusterLogBin = SwitchClusterLogBin.new
    @SwitchClusterLogBin.deserialize(params['SwitchClusterLogBin'])
  end
  unless params['ModifyInstanceParamsData'].nil?
    @ModifyInstanceParamsData = BizTaskModifyParamsData.new
    @ModifyInstanceParamsData.deserialize(params['ModifyInstanceParamsData'])
  end
  unless params['TaskMaintainInfo'].nil?
    @TaskMaintainInfo = TaskMaintainInfo.new
    @TaskMaintainInfo.deserialize(params['TaskMaintainInfo'])
  end
  unless params['InstanceCLSDeliveryInfos'].nil?
    @InstanceCLSDeliveryInfos = []
    params['InstanceCLSDeliveryInfos'].each do |i|
      instanceclsdeliveryinfo_tmp = InstanceCLSDeliveryInfo.new
      instanceclsdeliveryinfo_tmp.deserialize(i)
      @InstanceCLSDeliveryInfos << instanceclsdeliveryinfo_tmp
    end
  end
end

def initialize(id=nil, appid=nil, clusterid=nil, region=nil, createtime=nil, delaytime=nil, errmsg=nil, flowid=nil, input=nil, instancegrpid=nil, instancegroupid=nil, instanceid=nil, objectid=nil, objecttype=nil, operator=nil, output=nil, status=nil, tasktype=nil, triggertaskid=nil, updatetime=nil, starttime=nil, endtime=nil, clustername=nil, instancename=nil, process=nil, modifyparamsdata=nil, createclustersdata=nil, rollbackdata=nil, modifyinstancedata=nil, manualbackupdata=nil, modifydbversiondata=nil, clusterslavedata=nil, switchclusterlogbin=nil, modifyinstanceparamsdata=nil, taskmaintaininfo=nil, instanceclsdeliveryinfos=nil)

def initialize(id=nil, appid=nil, clusterid=nil, region=nil, createtime=nil, delaytime=nil, errmsg=nil, flowid=nil, input=nil, instancegrpid=nil, instancegroupid=nil, instanceid=nil, objectid=nil, objecttype=nil, operator=nil, output=nil, status=nil, tasktype=nil, triggertaskid=nil, updatetime=nil, starttime=nil, endtime=nil, clustername=nil, instancename=nil, process=nil, modifyparamsdata=nil, createclustersdata=nil, rollbackdata=nil, modifyinstancedata=nil, manualbackupdata=nil, modifydbversiondata=nil, clusterslavedata=nil, switchclusterlogbin=nil, modifyinstanceparamsdata=nil, taskmaintaininfo=nil, instanceclsdeliveryinfos=nil)
  @ID = id
  @AppId = appid
  @ClusterId = clusterid
  @Region = region
  @CreateTime = createtime
  @DelayTime = delaytime
  @ErrMsg = errmsg
  @FlowId = flowid
  @Input = input
  @InstanceGrpId = instancegrpid
  @InstanceGroupId = instancegroupid
  @InstanceId = instanceid
  @ObjectId = objectid
  @ObjectType = objecttype
  @Operator = operator
  @Output = output
  @Status = status
  @TaskType = tasktype
  @TriggerTaskId = triggertaskid
  @UpdateTime = updatetime
  @StartTime = starttime
  @EndTime = endtime
  @ClusterName = clustername
  @InstanceName = instancename
  @Process = process
  @ModifyParamsData = modifyparamsdata
  @CreateClustersData = createclustersdata
  @RollbackData = rollbackdata
  @ModifyInstanceData = modifyinstancedata
  @ManualBackupData = manualbackupdata
  @ModifyDbVersionData = modifydbversiondata
  @ClusterSlaveData = clusterslavedata
  @SwitchClusterLogBin = switchclusterlogbin
  @ModifyInstanceParamsData = modifyinstanceparamsdata
  @TaskMaintainInfo = taskmaintaininfo
  @InstanceCLSDeliveryInfos = instanceclsdeliveryinfos
end