Class: TencentCloud::Dlc::V20210125::DescribeWorkGroupsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dlc::V20210125::DescribeWorkGroupsResponse
- Defined in:
- lib/v20210125/models.rb
Overview
DescribeWorkGroups返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, workgroupset = nil, requestid = nil) ⇒ DescribeWorkGroupsResponse
constructor
A new instance of DescribeWorkGroupsResponse.
Constructor Details
#initialize(totalcount = nil, workgroupset = nil, requestid = nil) ⇒ DescribeWorkGroupsResponse
Returns a new instance of DescribeWorkGroupsResponse.
10595 10596 10597 10598 10599 |
# File 'lib/v20210125/models.rb', line 10595 def initialize(totalcount=nil, workgroupset=nil, requestid=nil) @TotalCount = totalcount @WorkGroupSet = workgroupset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
10593 10594 10595 |
# File 'lib/v20210125/models.rb', line 10593 def RequestId @RequestId end |
#TotalCount ⇒ Object
10593 10594 10595 |
# File 'lib/v20210125/models.rb', line 10593 def TotalCount @TotalCount end |
#WorkGroupSet ⇒ Object
10593 10594 10595 |
# File 'lib/v20210125/models.rb', line 10593 def WorkGroupSet @WorkGroupSet end |
Instance Method Details
#deserialize(params) ⇒ Object
10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 |
# File 'lib/v20210125/models.rb', line 10601 def deserialize(params) @TotalCount = params['TotalCount'] unless params['WorkGroupSet'].nil? @WorkGroupSet = [] params['WorkGroupSet'].each do |i| workgroupinfo_tmp = WorkGroupInfo.new workgroupinfo_tmp.deserialize(i) @WorkGroupSet << workgroupinfo_tmp end end @RequestId = params['RequestId'] end |