Class: TencentCloud::Wedata::V20210820::StartIntegrationTaskRequest

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

Overview

StartIntegrationTask请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of StartIntegrationTaskRequest.



22731
22732
22733
22734
22735
22736
22737
# File 'lib/v20210820/models.rb', line 22731

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:

    操作类型描述



22729
22730
22731
# File 'lib/v20210820/models.rb', line 22729

def Event
  @Event
end

#EventDescObject

Parameters:

  • TaskId:

    任务id

  • ProjectId:

    项目id

  • Event:

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

  • ExtConfig:

    额外参数

  • EventDesc:

    操作类型描述



22729
22730
22731
# File 'lib/v20210820/models.rb', line 22729

def EventDesc
  @EventDesc
end

#ExtConfigObject

Parameters:

  • TaskId:

    任务id

  • ProjectId:

    项目id

  • Event:

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

  • ExtConfig:

    额外参数

  • EventDesc:

    操作类型描述



22729
22730
22731
# File 'lib/v20210820/models.rb', line 22729

def ExtConfig
  @ExtConfig
end

#ProjectIdObject

Parameters:

  • TaskId:

    任务id

  • ProjectId:

    项目id

  • Event:

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

  • ExtConfig:

    额外参数

  • EventDesc:

    操作类型描述



22729
22730
22731
# File 'lib/v20210820/models.rb', line 22729

def ProjectId
  @ProjectId
end

#TaskIdObject

Parameters:

  • TaskId:

    任务id

  • ProjectId:

    项目id

  • Event:

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

  • ExtConfig:

    额外参数

  • EventDesc:

    操作类型描述



22729
22730
22731
# File 'lib/v20210820/models.rb', line 22729

def TaskId
  @TaskId
end

Instance Method Details

#deserialize(params) ⇒ Object



22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
# File 'lib/v20210820/models.rb', line 22739

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