Class: TencentCloud::Iss::V20230517::SubTaskData

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

Overview

子任务详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(subtaskid = nil, status = nil, failreason = nil, progress = nil, action = nil, actionzhdesc = nil, resourceid = nil, startedat = nil, createdat = nil, updatedat = nil, runtime = nil, deviceid = nil, devicename = nil, channelid = nil, channelname = nil) ⇒ SubTaskData

Returns a new instance of SubTaskData.



6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
# File 'lib/v20230517/models.rb', line 6909

def initialize(subtaskid=nil, status=nil, failreason=nil, progress=nil, action=nil, actionzhdesc=nil, resourceid=nil, startedat=nil, createdat=nil, updatedat=nil, runtime=nil, deviceid=nil, devicename=nil, channelid=nil, channelname=nil)
  @SubTaskId = subtaskid
  @Status = status
  @FailReason = failreason
  @Progress = progress
  @Action = action
  @ActionZhDesc = actionzhdesc
  @ResourceId = resourceid
  @StartedAt = startedat
  @CreatedAt = createdat
  @UpdatedAt = updatedat
  @Runtime = runtime
  @DeviceId = deviceid
  @DeviceName = devicename
  @ChannelId = channelid
  @ChannelName = channelname
end

Instance Attribute Details

#ActionObject

Parameters:

  • SubTaskId:

    子任务ID

  • Status:

    任务状态1:NEW,2:RUNNING,3:COMPLETED ,4:FAILED

  • FailReason:

    任务失败原因

  • Progress:

    任务进度

  • Action:

    操作类型

  • ActionZhDesc:

    操作类型中文描述

  • ResourceId:

    资源ID

  • StartedAt:

    启动任务时间

  • CreatedAt:

    创建任务时间

  • UpdatedAt:

    更新任务时间

  • Runtime:

    任务运行时间,单位ms

  • DeviceId:

    设备ID

  • DeviceName:

    设备名称

  • ChannelId:

    通道ID

  • ChannelName:

    通道名称



6907
6908
6909
# File 'lib/v20230517/models.rb', line 6907

def Action
  @Action
end

#ActionZhDescObject

Parameters:

  • SubTaskId:

    子任务ID

  • Status:

    任务状态1:NEW,2:RUNNING,3:COMPLETED ,4:FAILED

  • FailReason:

    任务失败原因

  • Progress:

    任务进度

  • Action:

    操作类型

  • ActionZhDesc:

    操作类型中文描述

  • ResourceId:

    资源ID

  • StartedAt:

    启动任务时间

  • CreatedAt:

    创建任务时间

  • UpdatedAt:

    更新任务时间

  • Runtime:

    任务运行时间,单位ms

  • DeviceId:

    设备ID

  • DeviceName:

    设备名称

  • ChannelId:

    通道ID

  • ChannelName:

    通道名称



6907
6908
6909
# File 'lib/v20230517/models.rb', line 6907

def ActionZhDesc
  @ActionZhDesc
end

#ChannelIdObject

Parameters:

  • SubTaskId:

    子任务ID

  • Status:

    任务状态1:NEW,2:RUNNING,3:COMPLETED ,4:FAILED

  • FailReason:

    任务失败原因

  • Progress:

    任务进度

  • Action:

    操作类型

  • ActionZhDesc:

    操作类型中文描述

  • ResourceId:

    资源ID

  • StartedAt:

    启动任务时间

  • CreatedAt:

    创建任务时间

  • UpdatedAt:

    更新任务时间

  • Runtime:

    任务运行时间,单位ms

  • DeviceId:

    设备ID

  • DeviceName:

    设备名称

  • ChannelId:

    通道ID

  • ChannelName:

    通道名称



6907
6908
6909
# File 'lib/v20230517/models.rb', line 6907

def ChannelId
  @ChannelId
end

#ChannelNameObject

Parameters:

  • SubTaskId:

    子任务ID

  • Status:

    任务状态1:NEW,2:RUNNING,3:COMPLETED ,4:FAILED

  • FailReason:

    任务失败原因

  • Progress:

    任务进度

  • Action:

    操作类型

  • ActionZhDesc:

    操作类型中文描述

  • ResourceId:

    资源ID

  • StartedAt:

    启动任务时间

  • CreatedAt:

    创建任务时间

  • UpdatedAt:

    更新任务时间

  • Runtime:

    任务运行时间,单位ms

  • DeviceId:

    设备ID

  • DeviceName:

    设备名称

  • ChannelId:

    通道ID

  • ChannelName:

    通道名称



6907
6908
6909
# File 'lib/v20230517/models.rb', line 6907

def ChannelName
  @ChannelName
end

#CreatedAtObject

Parameters:

  • SubTaskId:

    子任务ID

  • Status:

    任务状态1:NEW,2:RUNNING,3:COMPLETED ,4:FAILED

  • FailReason:

    任务失败原因

  • Progress:

    任务进度

  • Action:

    操作类型

  • ActionZhDesc:

    操作类型中文描述

  • ResourceId:

    资源ID

  • StartedAt:

    启动任务时间

  • CreatedAt:

    创建任务时间

  • UpdatedAt:

    更新任务时间

  • Runtime:

    任务运行时间,单位ms

  • DeviceId:

    设备ID

  • DeviceName:

    设备名称

  • ChannelId:

    通道ID

  • ChannelName:

    通道名称



6907
6908
6909
# File 'lib/v20230517/models.rb', line 6907

def CreatedAt
  @CreatedAt
end

#DeviceIdObject

Parameters:

  • SubTaskId:

    子任务ID

  • Status:

    任务状态1:NEW,2:RUNNING,3:COMPLETED ,4:FAILED

  • FailReason:

    任务失败原因

  • Progress:

    任务进度

  • Action:

    操作类型

  • ActionZhDesc:

    操作类型中文描述

  • ResourceId:

    资源ID

  • StartedAt:

    启动任务时间

  • CreatedAt:

    创建任务时间

  • UpdatedAt:

    更新任务时间

  • Runtime:

    任务运行时间,单位ms

  • DeviceId:

    设备ID

  • DeviceName:

    设备名称

  • ChannelId:

    通道ID

  • ChannelName:

    通道名称



6907
6908
6909
# File 'lib/v20230517/models.rb', line 6907

def DeviceId
  @DeviceId
end

#DeviceNameObject

Parameters:

  • SubTaskId:

    子任务ID

  • Status:

    任务状态1:NEW,2:RUNNING,3:COMPLETED ,4:FAILED

  • FailReason:

    任务失败原因

  • Progress:

    任务进度

  • Action:

    操作类型

  • ActionZhDesc:

    操作类型中文描述

  • ResourceId:

    资源ID

  • StartedAt:

    启动任务时间

  • CreatedAt:

    创建任务时间

  • UpdatedAt:

    更新任务时间

  • Runtime:

    任务运行时间,单位ms

  • DeviceId:

    设备ID

  • DeviceName:

    设备名称

  • ChannelId:

    通道ID

  • ChannelName:

    通道名称



6907
6908
6909
# File 'lib/v20230517/models.rb', line 6907

def DeviceName
  @DeviceName
end

#FailReasonObject

Parameters:

  • SubTaskId:

    子任务ID

  • Status:

    任务状态1:NEW,2:RUNNING,3:COMPLETED ,4:FAILED

  • FailReason:

    任务失败原因

  • Progress:

    任务进度

  • Action:

    操作类型

  • ActionZhDesc:

    操作类型中文描述

  • ResourceId:

    资源ID

  • StartedAt:

    启动任务时间

  • CreatedAt:

    创建任务时间

  • UpdatedAt:

    更新任务时间

  • Runtime:

    任务运行时间,单位ms

  • DeviceId:

    设备ID

  • DeviceName:

    设备名称

  • ChannelId:

    通道ID

  • ChannelName:

    通道名称



6907
6908
6909
# File 'lib/v20230517/models.rb', line 6907

def FailReason
  @FailReason
end

#ProgressObject

Parameters:

  • SubTaskId:

    子任务ID

  • Status:

    任务状态1:NEW,2:RUNNING,3:COMPLETED ,4:FAILED

  • FailReason:

    任务失败原因

  • Progress:

    任务进度

  • Action:

    操作类型

  • ActionZhDesc:

    操作类型中文描述

  • ResourceId:

    资源ID

  • StartedAt:

    启动任务时间

  • CreatedAt:

    创建任务时间

  • UpdatedAt:

    更新任务时间

  • Runtime:

    任务运行时间,单位ms

  • DeviceId:

    设备ID

  • DeviceName:

    设备名称

  • ChannelId:

    通道ID

  • ChannelName:

    通道名称



6907
6908
6909
# File 'lib/v20230517/models.rb', line 6907

def Progress
  @Progress
end

#ResourceIdObject

Parameters:

  • SubTaskId:

    子任务ID

  • Status:

    任务状态1:NEW,2:RUNNING,3:COMPLETED ,4:FAILED

  • FailReason:

    任务失败原因

  • Progress:

    任务进度

  • Action:

    操作类型

  • ActionZhDesc:

    操作类型中文描述

  • ResourceId:

    资源ID

  • StartedAt:

    启动任务时间

  • CreatedAt:

    创建任务时间

  • UpdatedAt:

    更新任务时间

  • Runtime:

    任务运行时间,单位ms

  • DeviceId:

    设备ID

  • DeviceName:

    设备名称

  • ChannelId:

    通道ID

  • ChannelName:

    通道名称



6907
6908
6909
# File 'lib/v20230517/models.rb', line 6907

def ResourceId
  @ResourceId
end

#RuntimeObject

Parameters:

  • SubTaskId:

    子任务ID

  • Status:

    任务状态1:NEW,2:RUNNING,3:COMPLETED ,4:FAILED

  • FailReason:

    任务失败原因

  • Progress:

    任务进度

  • Action:

    操作类型

  • ActionZhDesc:

    操作类型中文描述

  • ResourceId:

    资源ID

  • StartedAt:

    启动任务时间

  • CreatedAt:

    创建任务时间

  • UpdatedAt:

    更新任务时间

  • Runtime:

    任务运行时间,单位ms

  • DeviceId:

    设备ID

  • DeviceName:

    设备名称

  • ChannelId:

    通道ID

  • ChannelName:

    通道名称



6907
6908
6909
# File 'lib/v20230517/models.rb', line 6907

def Runtime
  @Runtime
end

#StartedAtObject

Parameters:

  • SubTaskId:

    子任务ID

  • Status:

    任务状态1:NEW,2:RUNNING,3:COMPLETED ,4:FAILED

  • FailReason:

    任务失败原因

  • Progress:

    任务进度

  • Action:

    操作类型

  • ActionZhDesc:

    操作类型中文描述

  • ResourceId:

    资源ID

  • StartedAt:

    启动任务时间

  • CreatedAt:

    创建任务时间

  • UpdatedAt:

    更新任务时间

  • Runtime:

    任务运行时间,单位ms

  • DeviceId:

    设备ID

  • DeviceName:

    设备名称

  • ChannelId:

    通道ID

  • ChannelName:

    通道名称



6907
6908
6909
# File 'lib/v20230517/models.rb', line 6907

def StartedAt
  @StartedAt
end

#StatusObject

Parameters:

  • SubTaskId:

    子任务ID

  • Status:

    任务状态1:NEW,2:RUNNING,3:COMPLETED ,4:FAILED

  • FailReason:

    任务失败原因

  • Progress:

    任务进度

  • Action:

    操作类型

  • ActionZhDesc:

    操作类型中文描述

  • ResourceId:

    资源ID

  • StartedAt:

    启动任务时间

  • CreatedAt:

    创建任务时间

  • UpdatedAt:

    更新任务时间

  • Runtime:

    任务运行时间,单位ms

  • DeviceId:

    设备ID

  • DeviceName:

    设备名称

  • ChannelId:

    通道ID

  • ChannelName:

    通道名称



6907
6908
6909
# File 'lib/v20230517/models.rb', line 6907

def Status
  @Status
end

#SubTaskIdObject

Parameters:

  • SubTaskId:

    子任务ID

  • Status:

    任务状态1:NEW,2:RUNNING,3:COMPLETED ,4:FAILED

  • FailReason:

    任务失败原因

  • Progress:

    任务进度

  • Action:

    操作类型

  • ActionZhDesc:

    操作类型中文描述

  • ResourceId:

    资源ID

  • StartedAt:

    启动任务时间

  • CreatedAt:

    创建任务时间

  • UpdatedAt:

    更新任务时间

  • Runtime:

    任务运行时间,单位ms

  • DeviceId:

    设备ID

  • DeviceName:

    设备名称

  • ChannelId:

    通道ID

  • ChannelName:

    通道名称



6907
6908
6909
# File 'lib/v20230517/models.rb', line 6907

def SubTaskId
  @SubTaskId
end

#UpdatedAtObject

Parameters:

  • SubTaskId:

    子任务ID

  • Status:

    任务状态1:NEW,2:RUNNING,3:COMPLETED ,4:FAILED

  • FailReason:

    任务失败原因

  • Progress:

    任务进度

  • Action:

    操作类型

  • ActionZhDesc:

    操作类型中文描述

  • ResourceId:

    资源ID

  • StartedAt:

    启动任务时间

  • CreatedAt:

    创建任务时间

  • UpdatedAt:

    更新任务时间

  • Runtime:

    任务运行时间,单位ms

  • DeviceId:

    设备ID

  • DeviceName:

    设备名称

  • ChannelId:

    通道ID

  • ChannelName:

    通道名称



6907
6908
6909
# File 'lib/v20230517/models.rb', line 6907

def UpdatedAt
  @UpdatedAt
end

Instance Method Details

#deserialize(params) ⇒ Object



6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
# File 'lib/v20230517/models.rb', line 6927

def deserialize(params)
  @SubTaskId = params['SubTaskId']
  @Status = params['Status']
  @FailReason = params['FailReason']
  @Progress = params['Progress']
  @Action = params['Action']
  @ActionZhDesc = params['ActionZhDesc']
  @ResourceId = params['ResourceId']
  @StartedAt = params['StartedAt']
  @CreatedAt = params['CreatedAt']
  @UpdatedAt = params['UpdatedAt']
  @Runtime = params['Runtime']
  @DeviceId = params['DeviceId']
  @DeviceName = params['DeviceName']
  @ChannelId = params['ChannelId']
  @ChannelName = params['ChannelName']
end