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.



31979
31980
31981
31982
31983
31984
31985
# File 'lib/v20210820/models.rb', line 31979

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:

    前端操作类型描述



31977
31978
31979
# File 'lib/v20210820/models.rb', line 31977

def Event
  @Event
end

#EventDescObject

Parameters:

  • TaskId:

    任务id

  • ProjectId:

    项目id

  • Event:

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

  • ExtConfig:

    额外参数

  • EventDesc:

    前端操作类型描述



31977
31978
31979
# File 'lib/v20210820/models.rb', line 31977

def EventDesc
  @EventDesc
end

#ExtConfigObject

Parameters:

  • TaskId:

    任务id

  • ProjectId:

    项目id

  • Event:

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

  • ExtConfig:

    额外参数

  • EventDesc:

    前端操作类型描述



31977
31978
31979
# File 'lib/v20210820/models.rb', line 31977

def ExtConfig
  @ExtConfig
end

#ProjectIdObject

Parameters:

  • TaskId:

    任务id

  • ProjectId:

    项目id

  • Event:

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

  • ExtConfig:

    额外参数

  • EventDesc:

    前端操作类型描述



31977
31978
31979
# File 'lib/v20210820/models.rb', line 31977

def ProjectId
  @ProjectId
end

#TaskIdObject

Parameters:

  • TaskId:

    任务id

  • ProjectId:

    项目id

  • Event:

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

  • ExtConfig:

    额外参数

  • EventDesc:

    前端操作类型描述



31977
31978
31979
# File 'lib/v20210820/models.rb', line 31977

def TaskId
  @TaskId
end

Instance Method Details

#deserialize(params) ⇒ Object



31987
31988
31989
31990
31991
31992
31993
31994
31995
31996
31997
31998
31999
32000
# File 'lib/v20210820/models.rb', line 31987

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