Class: TencentCloud::Keewidb::V20220308::DescribeProjectSecurityGroupsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Keewidb::V20220308::DescribeProjectSecurityGroupsResponse
- Defined in:
- lib/v20220308/models.rb
Overview
DescribeProjectSecurityGroups返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(groups = nil, total = nil, requestid = nil) ⇒ DescribeProjectSecurityGroupsResponse
constructor
A new instance of DescribeProjectSecurityGroupsResponse.
Constructor Details
#initialize(groups = nil, total = nil, requestid = nil) ⇒ DescribeProjectSecurityGroupsResponse
Returns a new instance of DescribeProjectSecurityGroupsResponse.
1338 1339 1340 1341 1342 |
# File 'lib/v20220308/models.rb', line 1338 def initialize(groups=nil, total=nil, requestid=nil) @Groups = groups @Total = total @RequestId = requestid end |
Instance Attribute Details
#Groups ⇒ Object
1336 1337 1338 |
# File 'lib/v20220308/models.rb', line 1336 def Groups @Groups end |
#RequestId ⇒ Object
1336 1337 1338 |
# File 'lib/v20220308/models.rb', line 1336 def RequestId @RequestId end |
#Total ⇒ Object
1336 1337 1338 |
# File 'lib/v20220308/models.rb', line 1336 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 |
# File 'lib/v20220308/models.rb', line 1344 def deserialize(params) unless params['Groups'].nil? @Groups = [] params['Groups'].each do |i| securitygroup_tmp = SecurityGroup.new securitygroup_tmp.deserialize(i) @Groups << securitygroup_tmp end end @Total = params['Total'] @RequestId = params['RequestId'] end |