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.
4095 4096 4097 4098 4099 |
# File 'lib/v20180411/models.rb', line 4095 def initialize(groups=nil, total=nil, requestid=nil) @Groups = groups @Total = total @RequestId = requestid end |
Instance Attribute Details
#Groups ⇒ Object
4093 4094 4095 |
# File 'lib/v20180411/models.rb', line 4093 def Groups @Groups end |
#RequestId ⇒ Object
4093 4094 4095 |
# File 'lib/v20180411/models.rb', line 4093 def RequestId @RequestId end |
#Total ⇒ Object
4093 4094 4095 |
# File 'lib/v20180411/models.rb', line 4093 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 |
# File 'lib/v20180411/models.rb', line 4101 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 |