Class: TencentCloud::Iotcloud::V20180614::ProductTaskInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180614/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.



3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
# File 'lib/v20180614/models.rb', line 3693

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:

    任务完成时间



3691
3692
3693
# File 'lib/v20180614/models.rb', line 3691

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:

    任务完成时间



3691
3692
3693
# File 'lib/v20180614/models.rb', line 3691

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:

    任务完成时间



3691
3692
3693
# File 'lib/v20180614/models.rb', line 3691

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:

    任务完成时间



3691
3692
3693
# File 'lib/v20180614/models.rb', line 3691

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:

    任务完成时间



3691
3692
3693
# File 'lib/v20180614/models.rb', line 3691

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:

    任务完成时间



3691
3692
3693
# File 'lib/v20180614/models.rb', line 3691

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:

    任务完成时间



3691
3692
3693
# File 'lib/v20180614/models.rb', line 3691

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:

    任务完成时间



3691
3692
3693
# File 'lib/v20180614/models.rb', line 3691

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:

    任务完成时间



3691
3692
3693
# File 'lib/v20180614/models.rb', line 3691

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:

    任务完成时间



3691
3692
3693
# File 'lib/v20180614/models.rb', line 3691

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:

    任务完成时间



3691
3692
3693
# File 'lib/v20180614/models.rb', line 3691

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:

    任务完成时间



3691
3692
3693
# File 'lib/v20180614/models.rb', line 3691

def UpdateTime
  @UpdateTime
end

Instance Method Details

#deserialize(params) ⇒ Object



3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
# File 'lib/v20180614/models.rb', line 3708

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