Class: TencentCloud::Cdb::V20170320::DescribeProjectSecurityGroupsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DescribeProjectSecurityGroupsResponse
- Defined in:
- lib/v20170320/models.rb
Overview
DescribeProjectSecurityGroups返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(groups = nil, totalcount = nil, requestid = nil) ⇒ DescribeProjectSecurityGroupsResponse
constructor
A new instance of DescribeProjectSecurityGroupsResponse.
Constructor Details
#initialize(groups = nil, totalcount = nil, requestid = nil) ⇒ DescribeProjectSecurityGroupsResponse
7757 7758 7759 7760 7761 |
# File 'lib/v20170320/models.rb', line 7757 def initialize(groups=nil, totalcount=nil, requestid=nil) @Groups = groups @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Groups ⇒ Object
7755 7756 7757 |
# File 'lib/v20170320/models.rb', line 7755 def Groups @Groups end |
#RequestId ⇒ Object
7755 7756 7757 |
# File 'lib/v20170320/models.rb', line 7755 def RequestId @RequestId end |
#TotalCount ⇒ Object
7755 7756 7757 |
# File 'lib/v20170320/models.rb', line 7755 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 |
# File 'lib/v20170320/models.rb', line 7763 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 @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |