Class: TencentCloud::Iotcloud::V20210408::ProductTaskInfo

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

Overview

产品级任务详细信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, type = nil, state = nil, parameterstype = nil, parameters = nil, resulttype = nil, result = nil, batchcount = nil, batchoffset = nil, createtime = nil, updatetime = nil, completetime = nil) ⇒ ProductTaskInfo

Returns a new instance of ProductTaskInfo.



3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
# File 'lib/v20210408/models.rb', line 3762

def initialize(id=nil, type=nil, state=nil, parameterstype=nil, parameters=nil, resulttype=nil, result=nil, batchcount=nil, batchoffset=nil, createtime=nil, updatetime=nil, completetime=nil)
  @Id = id
  @Type = type
  @State = state
  @ParametersType = parameterstype
  @Parameters = parameters
  @ResultType = resulttype
  @Result = result
  @BatchCount = batchcount
  @BatchOffset = batchoffset
  @CreateTime = createtime
  @UpdateTime = updatetime
  @CompleteTime = completetime
end

Instance Attribute Details

#BatchCountObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    任务ID

  • Type:

    任务类型 0-批量创建设备类型

  • State:

    任务状态 0-创建中 1-待执行 2-执行中 3-执行失败 4-子任务部分失败 5-执行成功

  • ParametersType:

    任务参数类型 cosfile-文件输入 random-随机生成

  • Parameters:

    任务参数

  • ResultType:

    任务执行结果类型 cosfile-文件输出 errmsg-错误信息

  • Result:

    任务执行结果

  • BatchCount:

    子任务总个数

  • BatchOffset:

    子任务已执行个数

  • CreateTime:

    任务创建时间

  • UpdateTime:

    任务更新时间

  • CompleteTime:

    任务完成时间



3760
3761
3762
# File 'lib/v20210408/models.rb', line 3760

def BatchCount
  @BatchCount
end

#BatchOffsetObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    任务ID

  • Type:

    任务类型 0-批量创建设备类型

  • State:

    任务状态 0-创建中 1-待执行 2-执行中 3-执行失败 4-子任务部分失败 5-执行成功

  • ParametersType:

    任务参数类型 cosfile-文件输入 random-随机生成

  • Parameters:

    任务参数

  • ResultType:

    任务执行结果类型 cosfile-文件输出 errmsg-错误信息

  • Result:

    任务执行结果

  • BatchCount:

    子任务总个数

  • BatchOffset:

    子任务已执行个数

  • CreateTime:

    任务创建时间

  • UpdateTime:

    任务更新时间

  • CompleteTime:

    任务完成时间



3760
3761
3762
# File 'lib/v20210408/models.rb', line 3760

def BatchOffset
  @BatchOffset
end

#CompleteTimeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    任务ID

  • Type:

    任务类型 0-批量创建设备类型

  • State:

    任务状态 0-创建中 1-待执行 2-执行中 3-执行失败 4-子任务部分失败 5-执行成功

  • ParametersType:

    任务参数类型 cosfile-文件输入 random-随机生成

  • Parameters:

    任务参数

  • ResultType:

    任务执行结果类型 cosfile-文件输出 errmsg-错误信息

  • Result:

    任务执行结果

  • BatchCount:

    子任务总个数

  • BatchOffset:

    子任务已执行个数

  • CreateTime:

    任务创建时间

  • UpdateTime:

    任务更新时间

  • CompleteTime:

    任务完成时间



3760
3761
3762
# File 'lib/v20210408/models.rb', line 3760

def CompleteTime
  @CompleteTime
end

#CreateTimeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    任务ID

  • Type:

    任务类型 0-批量创建设备类型

  • State:

    任务状态 0-创建中 1-待执行 2-执行中 3-执行失败 4-子任务部分失败 5-执行成功

  • ParametersType:

    任务参数类型 cosfile-文件输入 random-随机生成

  • Parameters:

    任务参数

  • ResultType:

    任务执行结果类型 cosfile-文件输出 errmsg-错误信息

  • Result:

    任务执行结果

  • BatchCount:

    子任务总个数

  • BatchOffset:

    子任务已执行个数

  • CreateTime:

    任务创建时间

  • UpdateTime:

    任务更新时间

  • CompleteTime:

    任务完成时间



3760
3761
3762
# File 'lib/v20210408/models.rb', line 3760

def CreateTime
  @CreateTime
end

#IdObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    任务ID

  • Type:

    任务类型 0-批量创建设备类型

  • State:

    任务状态 0-创建中 1-待执行 2-执行中 3-执行失败 4-子任务部分失败 5-执行成功

  • ParametersType:

    任务参数类型 cosfile-文件输入 random-随机生成

  • Parameters:

    任务参数

  • ResultType:

    任务执行结果类型 cosfile-文件输出 errmsg-错误信息

  • Result:

    任务执行结果

  • BatchCount:

    子任务总个数

  • BatchOffset:

    子任务已执行个数

  • CreateTime:

    任务创建时间

  • UpdateTime:

    任务更新时间

  • CompleteTime:

    任务完成时间



3760
3761
3762
# File 'lib/v20210408/models.rb', line 3760

def Id
  @Id
end

#ParametersObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    任务ID

  • Type:

    任务类型 0-批量创建设备类型

  • State:

    任务状态 0-创建中 1-待执行 2-执行中 3-执行失败 4-子任务部分失败 5-执行成功

  • ParametersType:

    任务参数类型 cosfile-文件输入 random-随机生成

  • Parameters:

    任务参数

  • ResultType:

    任务执行结果类型 cosfile-文件输出 errmsg-错误信息

  • Result:

    任务执行结果

  • BatchCount:

    子任务总个数

  • BatchOffset:

    子任务已执行个数

  • CreateTime:

    任务创建时间

  • UpdateTime:

    任务更新时间

  • CompleteTime:

    任务完成时间



3760
3761
3762
# File 'lib/v20210408/models.rb', line 3760

def Parameters
  @Parameters
end

#ParametersTypeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    任务ID

  • Type:

    任务类型 0-批量创建设备类型

  • State:

    任务状态 0-创建中 1-待执行 2-执行中 3-执行失败 4-子任务部分失败 5-执行成功

  • ParametersType:

    任务参数类型 cosfile-文件输入 random-随机生成

  • Parameters:

    任务参数

  • ResultType:

    任务执行结果类型 cosfile-文件输出 errmsg-错误信息

  • Result:

    任务执行结果

  • BatchCount:

    子任务总个数

  • BatchOffset:

    子任务已执行个数

  • CreateTime:

    任务创建时间

  • UpdateTime:

    任务更新时间

  • CompleteTime:

    任务完成时间



3760
3761
3762
# File 'lib/v20210408/models.rb', line 3760

def ParametersType
  @ParametersType
end

#ResultObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    任务ID

  • Type:

    任务类型 0-批量创建设备类型

  • State:

    任务状态 0-创建中 1-待执行 2-执行中 3-执行失败 4-子任务部分失败 5-执行成功

  • ParametersType:

    任务参数类型 cosfile-文件输入 random-随机生成

  • Parameters:

    任务参数

  • ResultType:

    任务执行结果类型 cosfile-文件输出 errmsg-错误信息

  • Result:

    任务执行结果

  • BatchCount:

    子任务总个数

  • BatchOffset:

    子任务已执行个数

  • CreateTime:

    任务创建时间

  • UpdateTime:

    任务更新时间

  • CompleteTime:

    任务完成时间



3760
3761
3762
# File 'lib/v20210408/models.rb', line 3760

def Result
  @Result
end

#ResultTypeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    任务ID

  • Type:

    任务类型 0-批量创建设备类型

  • State:

    任务状态 0-创建中 1-待执行 2-执行中 3-执行失败 4-子任务部分失败 5-执行成功

  • ParametersType:

    任务参数类型 cosfile-文件输入 random-随机生成

  • Parameters:

    任务参数

  • ResultType:

    任务执行结果类型 cosfile-文件输出 errmsg-错误信息

  • Result:

    任务执行结果

  • BatchCount:

    子任务总个数

  • BatchOffset:

    子任务已执行个数

  • CreateTime:

    任务创建时间

  • UpdateTime:

    任务更新时间

  • CompleteTime:

    任务完成时间



3760
3761
3762
# File 'lib/v20210408/models.rb', line 3760

def ResultType
  @ResultType
end

#StateObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    任务ID

  • Type:

    任务类型 0-批量创建设备类型

  • State:

    任务状态 0-创建中 1-待执行 2-执行中 3-执行失败 4-子任务部分失败 5-执行成功

  • ParametersType:

    任务参数类型 cosfile-文件输入 random-随机生成

  • Parameters:

    任务参数

  • ResultType:

    任务执行结果类型 cosfile-文件输出 errmsg-错误信息

  • Result:

    任务执行结果

  • BatchCount:

    子任务总个数

  • BatchOffset:

    子任务已执行个数

  • CreateTime:

    任务创建时间

  • UpdateTime:

    任务更新时间

  • CompleteTime:

    任务完成时间



3760
3761
3762
# File 'lib/v20210408/models.rb', line 3760

def State
  @State
end

#TypeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    任务ID

  • Type:

    任务类型 0-批量创建设备类型

  • State:

    任务状态 0-创建中 1-待执行 2-执行中 3-执行失败 4-子任务部分失败 5-执行成功

  • ParametersType:

    任务参数类型 cosfile-文件输入 random-随机生成

  • Parameters:

    任务参数

  • ResultType:

    任务执行结果类型 cosfile-文件输出 errmsg-错误信息

  • Result:

    任务执行结果

  • BatchCount:

    子任务总个数

  • BatchOffset:

    子任务已执行个数

  • CreateTime:

    任务创建时间

  • UpdateTime:

    任务更新时间

  • CompleteTime:

    任务完成时间



3760
3761
3762
# File 'lib/v20210408/models.rb', line 3760

def Type
  @Type
end

#UpdateTimeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    任务ID

  • Type:

    任务类型 0-批量创建设备类型

  • State:

    任务状态 0-创建中 1-待执行 2-执行中 3-执行失败 4-子任务部分失败 5-执行成功

  • ParametersType:

    任务参数类型 cosfile-文件输入 random-随机生成

  • Parameters:

    任务参数

  • ResultType:

    任务执行结果类型 cosfile-文件输出 errmsg-错误信息

  • Result:

    任务执行结果

  • BatchCount:

    子任务总个数

  • BatchOffset:

    子任务已执行个数

  • CreateTime:

    任务创建时间

  • UpdateTime:

    任务更新时间

  • CompleteTime:

    任务完成时间



3760
3761
3762
# File 'lib/v20210408/models.rb', line 3760

def UpdateTime
  @UpdateTime
end

Instance Method Details

#deserialize(params) ⇒ Object



3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
# File 'lib/v20210408/models.rb', line 3777

def deserialize(params)
  @Id = params['Id']
  @Type = params['Type']
  @State = params['State']
  @ParametersType = params['ParametersType']
  @Parameters = params['Parameters']
  @ResultType = params['ResultType']
  @Result = params['Result']
  @BatchCount = params['BatchCount']
  @BatchOffset = params['BatchOffset']
  @CreateTime = params['CreateTime']
  @UpdateTime = params['UpdateTime']
  @CompleteTime = params['CompleteTime']
end