Class: TencentCloud::Lcic::V20220817::DescribeGroupListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lcic::V20220817::DescribeGroupListResponse
- Defined in:
- lib/v20220817/models.rb
Overview
DescribeGroupList返回参数结构体
Instance Attribute Summary collapse
-
#GroupInfos ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, groupinfos = nil, requestid = nil) ⇒ DescribeGroupListResponse
constructor
A new instance of DescribeGroupListResponse.
Constructor Details
#initialize(total = nil, groupinfos = nil, requestid = nil) ⇒ DescribeGroupListResponse
Returns a new instance of DescribeGroupListResponse.
1984 1985 1986 1987 1988 |
# File 'lib/v20220817/models.rb', line 1984 def initialize(total=nil, groupinfos=nil, requestid=nil) @Total = total @GroupInfos = groupinfos @RequestId = requestid end |
Instance Attribute Details
#GroupInfos ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1982 1983 1984 |
# File 'lib/v20220817/models.rb', line 1982 def GroupInfos @GroupInfos end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1982 1983 1984 |
# File 'lib/v20220817/models.rb', line 1982 def RequestId @RequestId end |
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1982 1983 1984 |
# File 'lib/v20220817/models.rb', line 1982 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 |
# File 'lib/v20220817/models.rb', line 1990 def deserialize(params) @Total = params['Total'] unless params['GroupInfos'].nil? @GroupInfos = [] params['GroupInfos'].each do |i| groupinfo_tmp = GroupInfo.new groupinfo_tmp.deserialize(i) @GroupInfos << groupinfo_tmp end end @RequestId = params['RequestId'] end |