Class: TencentCloud::Tiia::V20190529::DescribeGroupsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tiia::V20190529::DescribeGroupsResponse
- Defined in:
- lib/v20190529/models.rb
Overview
DescribeGroups返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(groups = nil, requestid = nil) ⇒ DescribeGroupsResponse
constructor
A new instance of DescribeGroupsResponse.
Constructor Details
#initialize(groups = nil, requestid = nil) ⇒ DescribeGroupsResponse
Returns a new instance of DescribeGroupsResponse.
703 704 705 706 |
# File 'lib/v20190529/models.rb', line 703 def initialize(groups=nil, requestid=nil) @Groups = groups @RequestId = requestid end |
Instance Attribute Details
#Groups ⇒ Object
701 702 703 |
# File 'lib/v20190529/models.rb', line 701 def Groups @Groups end |
#RequestId ⇒ Object
701 702 703 |
# File 'lib/v20190529/models.rb', line 701 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
708 709 710 711 712 713 714 715 716 717 718 |
# File 'lib/v20190529/models.rb', line 708 def deserialize(params) unless params['Groups'].nil? @Groups = [] params['Groups'].each do |i| groupinfo_tmp = GroupInfo.new groupinfo_tmp.deserialize(i) @Groups << groupinfo_tmp end end @RequestId = params['RequestId'] end |