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.



41144
41145
41146
41147
41148
# File 'lib/v20210820/models.rb', line 41144

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:

    任务周期类型维度统计



41142
41143
41144
# File 'lib/v20210820/models.rb', line 41142

def Count
  @Count
end

#CycleCountObject

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

Parameters:

  • Count:

    工作流任务数

  • TypeCount:

    任务类型维度统计

  • CycleCount:

    任务周期类型维度统计



41142
41143
41144
# File 'lib/v20210820/models.rb', line 41142

def CycleCount
  @CycleCount
end

#TypeCountObject

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

Parameters:

  • Count:

    工作流任务数

  • TypeCount:

    任务类型维度统计

  • CycleCount:

    任务周期类型维度统计



41142
41143
41144
# File 'lib/v20210820/models.rb', line 41142

def TypeCount
  @TypeCount
end

Instance Method Details

#deserialize(params) ⇒ Object



41150
41151
41152
41153
41154
41155
41156
41157
41158
41159
41160
41161
41162
41163
41164
41165
41166
41167
41168
# File 'lib/v20210820/models.rb', line 41150

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