Class: TencentCloud::Wedata::V20210820::ResumeIntegrationTaskRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210820/models.rb

Overview

ResumeIntegrationTask请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(taskid = nil, projectid = nil, event = nil, extconfig = nil, eventdesc = nil) ⇒ ResumeIntegrationTaskRequest

Returns a new instance of ResumeIntegrationTaskRequest.



20099
20100
20101
20102
20103
20104
20105
# File 'lib/v20210820/models.rb', line 20099

def initialize(taskid=nil, projectid=nil, event=nil, extconfig=nil, eventdesc=nil)
  @TaskId = taskid
  @ProjectId = projectid
  @Event = event
  @ExtConfig = extconfig
  @EventDesc = eventdesc
end

Instance Attribute Details

#EventObject

Parameters:

  • TaskId:

    任务id

  • ProjectId:

    项目id

  • Event:

    事件类型(START, STOP, SUSPEND, RESUME, COMMIT, TIMESTAMP)

  • ExtConfig:

    额外参数

  • EventDesc:

    前端操作类型描述



20097
20098
20099
# File 'lib/v20210820/models.rb', line 20097

def Event
  @Event
end

#EventDescObject

Parameters:

  • TaskId:

    任务id

  • ProjectId:

    项目id

  • Event:

    事件类型(START, STOP, SUSPEND, RESUME, COMMIT, TIMESTAMP)

  • ExtConfig:

    额外参数

  • EventDesc:

    前端操作类型描述



20097
20098
20099
# File 'lib/v20210820/models.rb', line 20097

def EventDesc
  @EventDesc
end

#ExtConfigObject

Parameters:

  • TaskId:

    任务id

  • ProjectId:

    项目id

  • Event:

    事件类型(START, STOP, SUSPEND, RESUME, COMMIT, TIMESTAMP)

  • ExtConfig:

    额外参数

  • EventDesc:

    前端操作类型描述



20097
20098
20099
# File 'lib/v20210820/models.rb', line 20097

def ExtConfig
  @ExtConfig
end

#ProjectIdObject

Parameters:

  • TaskId:

    任务id

  • ProjectId:

    项目id

  • Event:

    事件类型(START, STOP, SUSPEND, RESUME, COMMIT, TIMESTAMP)

  • ExtConfig:

    额外参数

  • EventDesc:

    前端操作类型描述



20097
20098
20099
# File 'lib/v20210820/models.rb', line 20097

def ProjectId
  @ProjectId
end

#TaskIdObject

Parameters:

  • TaskId:

    任务id

  • ProjectId:

    项目id

  • Event:

    事件类型(START, STOP, SUSPEND, RESUME, COMMIT, TIMESTAMP)

  • ExtConfig:

    额外参数

  • EventDesc:

    前端操作类型描述



20097
20098
20099
# File 'lib/v20210820/models.rb', line 20097

def TaskId
  @TaskId
end

Instance Method Details

#deserialize(params) ⇒ Object



20107
20108
20109
20110
20111
20112
20113
20114
20115
20116
20117
20118
20119
20120
# File 'lib/v20210820/models.rb', line 20107

def deserialize(params)
  @TaskId = params['TaskId']
  @ProjectId = params['ProjectId']
  @Event = params['Event']
  unless params['ExtConfig'].nil?
    @ExtConfig = []
    params['ExtConfig'].each do |i|
      recordfield_tmp = RecordField.new
      recordfield_tmp.deserialize(i)
      @ExtConfig << recordfield_tmp
    end
  end
  @EventDesc = params['EventDesc']
end