Class: TencentCloud::Dlc::V20210125::WorkGroups
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dlc::V20210125::WorkGroups
- Defined in:
- lib/v20210125/models.rb
Overview
工作组集合
Instance Attribute Summary collapse
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#WorkGroupSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(workgroupset = nil, totalcount = nil) ⇒ WorkGroups
constructor
A new instance of WorkGroups.
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
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
17859 17860 17861 |
# File 'lib/v20210125/models.rb', line 17859 def TotalCount @TotalCount end |
#WorkGroupSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
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.new .deserialize(i) @WorkGroupSet << end end @TotalCount = params['TotalCount'] end |