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.



41526
41527
41528
41529
41530
# File 'lib/v20210820/models.rb', line 41526

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:

    任务周期类型维度统计



41524
41525
41526
# File 'lib/v20210820/models.rb', line 41524

def Count
  @Count
end

#CycleCountObject

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

Parameters:

  • Count:

    工作流任务数

  • TypeCount:

    任务类型维度统计

  • CycleCount:

    任务周期类型维度统计



41524
41525
41526
# File 'lib/v20210820/models.rb', line 41524

def CycleCount
  @CycleCount
end

#TypeCountObject

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

Parameters:

  • Count:

    工作流任务数

  • TypeCount:

    任务类型维度统计

  • CycleCount:

    任务周期类型维度统计



41524
41525
41526
# File 'lib/v20210820/models.rb', line 41524

def TypeCount
  @TypeCount
end

Instance Method Details

#deserialize(params) ⇒ Object



41532
41533
41534
41535
41536
41537
41538
41539
41540
41541
41542
41543
41544
41545
41546
41547
41548
41549
41550
# File 'lib/v20210820/models.rb', line 41532

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