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.



26398
26399
26400
26401
26402
# File 'lib/v20210820/models.rb', line 26398

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:

    任务周期类型维度统计



26396
26397
26398
# File 'lib/v20210820/models.rb', line 26396

def Count
  @Count
end

#CycleCountObject

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

Parameters:

  • Count:

    工作流任务数

  • TypeCount:

    任务类型维度统计

  • CycleCount:

    任务周期类型维度统计



26396
26397
26398
# File 'lib/v20210820/models.rb', line 26396

def CycleCount
  @CycleCount
end

#TypeCountObject

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

Parameters:

  • Count:

    工作流任务数

  • TypeCount:

    任务类型维度统计

  • CycleCount:

    任务周期类型维度统计



26396
26397
26398
# File 'lib/v20210820/models.rb', line 26396

def TypeCount
  @TypeCount
end

Instance Method Details

#deserialize(params) ⇒ Object



26404
26405
26406
26407
26408
26409
26410
26411
26412
26413
26414
26415
26416
26417
26418
26419
26420
26421
26422
# File 'lib/v20210820/models.rb', line 26404

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