Class: TencentCloud::Tse::V20201207::DescribeGovernanceServicesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::DescribeGovernanceServicesResponse
- Defined in:
- lib/v20201207/models.rb
Overview
DescribeGovernanceServices返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, content = nil, requestid = nil) ⇒ DescribeGovernanceServicesResponse
constructor
A new instance of DescribeGovernanceServicesResponse.
Constructor Details
#initialize(totalcount = nil, content = nil, requestid = nil) ⇒ DescribeGovernanceServicesResponse
Returns a new instance of DescribeGovernanceServicesResponse.
6362 6363 6364 6365 6366 |
# File 'lib/v20201207/models.rb', line 6362 def initialize(totalcount=nil, content=nil, requestid=nil) @TotalCount = totalcount @Content = content @RequestId = requestid end |
Instance Attribute Details
#Content ⇒ Object
6360 6361 6362 |
# File 'lib/v20201207/models.rb', line 6360 def Content @Content end |
#RequestId ⇒ Object
6360 6361 6362 |
# File 'lib/v20201207/models.rb', line 6360 def RequestId @RequestId end |
#TotalCount ⇒ Object
6360 6361 6362 |
# File 'lib/v20201207/models.rb', line 6360 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 |
# File 'lib/v20201207/models.rb', line 6368 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Content'].nil? @Content = [] params['Content'].each do |i| governanceservice_tmp = GovernanceService.new governanceservice_tmp.deserialize(i) @Content << governanceservice_tmp end end @RequestId = params['RequestId'] end |