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.



23015
23016
23017
23018
23019
23020
23021
# File 'lib/v20210820/models.rb', line 23015

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:

    操作类型描述



23013
23014
23015
# File 'lib/v20210820/models.rb', line 23013

def Event
  @Event
end

#EventDescObject

Parameters:

  • TaskId:

    任务id

  • ProjectId:

    项目id

  • Event:

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

  • ExtConfig:

    额外参数

  • EventDesc:

    操作类型描述



23013
23014
23015
# File 'lib/v20210820/models.rb', line 23013

def EventDesc
  @EventDesc
end

#ExtConfigObject

Parameters:

  • TaskId:

    任务id

  • ProjectId:

    项目id

  • Event:

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

  • ExtConfig:

    额外参数

  • EventDesc:

    操作类型描述



23013
23014
23015
# File 'lib/v20210820/models.rb', line 23013

def ExtConfig
  @ExtConfig
end

#ProjectIdObject

Parameters:

  • TaskId:

    任务id

  • ProjectId:

    项目id

  • Event:

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

  • ExtConfig:

    额外参数

  • EventDesc:

    操作类型描述



23013
23014
23015
# File 'lib/v20210820/models.rb', line 23013

def ProjectId
  @ProjectId
end

#TaskIdObject

Parameters:

  • TaskId:

    任务id

  • ProjectId:

    项目id

  • Event:

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

  • ExtConfig:

    额外参数

  • EventDesc:

    操作类型描述



23013
23014
23015
# File 'lib/v20210820/models.rb', line 23013

def TaskId
  @TaskId
end

Instance Method Details

#deserialize(params) ⇒ Object



23023
23024
23025
23026
23027
23028
23029
23030
23031
23032
23033
23034
23035
23036
# File 'lib/v20210820/models.rb', line 23023

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