Class: TencentCloud::Wedata::V20210820::WorkflowTaskCountOpsDto

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

Overview

工作流任务统计

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(count = nil, typecount = nil, cyclecount = nil) ⇒ WorkflowTaskCountOpsDto

Returns a new instance of WorkflowTaskCountOpsDto.



26682
26683
26684
26685
26686
# File 'lib/v20210820/models.rb', line 26682

def initialize(count=nil, typecount=nil, cyclecount=nil)
  @Count = count
  @TypeCount = typecount
  @CycleCount = cyclecount
end

Instance Attribute Details

#CountObject

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

Parameters:

  • Count:

    工作流任务数

  • TypeCount:

    任务类型维度统计

  • CycleCount:

    任务周期类型维度统计



26680
26681
26682
# File 'lib/v20210820/models.rb', line 26680

def Count
  @Count
end

#CycleCountObject

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

Parameters:

  • Count:

    工作流任务数

  • TypeCount:

    任务类型维度统计

  • CycleCount:

    任务周期类型维度统计



26680
26681
26682
# File 'lib/v20210820/models.rb', line 26680

def CycleCount
  @CycleCount
end

#TypeCountObject

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

Parameters:

  • Count:

    工作流任务数

  • TypeCount:

    任务类型维度统计

  • CycleCount:

    任务周期类型维度统计



26680
26681
26682
# File 'lib/v20210820/models.rb', line 26680

def TypeCount
  @TypeCount
end

Instance Method Details

#deserialize(params) ⇒ Object



26688
26689
26690
26691
26692
26693
26694
26695
26696
26697
26698
26699
26700
26701
26702
26703
26704
26705
26706
# File 'lib/v20210820/models.rb', line 26688

def deserialize(params)
  @Count = params['Count']
  unless params['TypeCount'].nil?
    @TypeCount = []
    params['TypeCount'].each do |i|
      pairdto_tmp = PairDto.new
      pairdto_tmp.deserialize(i)
      @TypeCount << pairdto_tmp
    end
  end
  unless params['CycleCount'].nil?
    @CycleCount = []
    params['CycleCount'].each do |i|
      pairdto_tmp = PairDto.new
      pairdto_tmp.deserialize(i)
      @CycleCount << pairdto_tmp
    end
  end
end