Class: TencentCloud::Dlc::V20210125::WorkGroups

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

Overview

工作组集合

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(workgroupset = nil, totalcount = nil) ⇒ WorkGroups

Returns a new instance of WorkGroups.



17861
17862
17863
17864
# File 'lib/v20210125/models.rb', line 17861

def initialize(workgroupset=nil, totalcount=nil)
  @WorkGroupSet = workgroupset
  @TotalCount = totalcount
end

Instance Attribute Details

#TotalCountObject

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

Parameters:

  • WorkGroupSet:

    工作组信息集合

  • TotalCount:

    工作组总数



17859
17860
17861
# File 'lib/v20210125/models.rb', line 17859

def TotalCount
  @TotalCount
end

#WorkGroupSetObject

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

Parameters:

  • WorkGroupSet:

    工作组信息集合

  • TotalCount:

    工作组总数



17859
17860
17861
# File 'lib/v20210125/models.rb', line 17859

def WorkGroupSet
  @WorkGroupSet
end

Instance Method Details

#deserialize(params) ⇒ Object



17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
# File 'lib/v20210125/models.rb', line 17866

def deserialize(params)
  unless params['WorkGroupSet'].nil?
    @WorkGroupSet = []
    params['WorkGroupSet'].each do |i|
      workgroupmessage_tmp = WorkGroupMessage.new
      workgroupmessage_tmp.deserialize(i)
      @WorkGroupSet << workgroupmessage_tmp
    end
  end
  @TotalCount = params['TotalCount']
end