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.



19815
19816
19817
19818
19819
19820
19821
# File 'lib/v20210820/models.rb', line 19815

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:

    前端操作类型描述



19813
19814
19815
# File 'lib/v20210820/models.rb', line 19813

def Event
  @Event
end

#EventDescObject

Parameters:

  • TaskId:

    任务id

  • ProjectId:

    项目id

  • Event:

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

  • ExtConfig:

    额外参数

  • EventDesc:

    前端操作类型描述



19813
19814
19815
# File 'lib/v20210820/models.rb', line 19813

def EventDesc
  @EventDesc
end

#ExtConfigObject

Parameters:

  • TaskId:

    任务id

  • ProjectId:

    项目id

  • Event:

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

  • ExtConfig:

    额外参数

  • EventDesc:

    前端操作类型描述



19813
19814
19815
# File 'lib/v20210820/models.rb', line 19813

def ExtConfig
  @ExtConfig
end

#ProjectIdObject

Parameters:

  • TaskId:

    任务id

  • ProjectId:

    项目id

  • Event:

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

  • ExtConfig:

    额外参数

  • EventDesc:

    前端操作类型描述



19813
19814
19815
# File 'lib/v20210820/models.rb', line 19813

def ProjectId
  @ProjectId
end

#TaskIdObject

Parameters:

  • TaskId:

    任务id

  • ProjectId:

    项目id

  • Event:

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

  • ExtConfig:

    额外参数

  • EventDesc:

    前端操作类型描述



19813
19814
19815
# File 'lib/v20210820/models.rb', line 19813

def TaskId
  @TaskId
end

Instance Method Details

#deserialize(params) ⇒ Object



19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
# File 'lib/v20210820/models.rb', line 19823

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