Class: TencentCloud::Dcdb::V20180411::DescribeProjectSecurityGroupsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dcdb::V20180411::DescribeProjectSecurityGroupsResponse
- Defined in:
- lib/v20180411/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.
3936 3937 3938 3939 3940 |
# File 'lib/v20180411/models.rb', line 3936 def initialize(groups=nil, total=nil, requestid=nil) @Groups = groups @Total = total @RequestId = requestid end |
Instance Attribute Details
#Groups ⇒ Object
3934 3935 3936 |
# File 'lib/v20180411/models.rb', line 3934 def Groups @Groups end |
#RequestId ⇒ Object
3934 3935 3936 |
# File 'lib/v20180411/models.rb', line 3934 def RequestId @RequestId end |
#Total ⇒ Object
3934 3935 3936 |
# File 'lib/v20180411/models.rb', line 3934 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 |
# File 'lib/v20180411/models.rb', line 3942 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 |