Class: TencentCloud::Tse::V20201207::DescribeGovernanceNamespacesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::DescribeGovernanceNamespacesResponse
- Defined in:
- lib/v20201207/models.rb
Overview
DescribeGovernanceNamespaces返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, content = nil, requestid = nil) ⇒ DescribeGovernanceNamespacesResponse
constructor
A new instance of DescribeGovernanceNamespacesResponse.
Constructor Details
#initialize(totalcount = nil, content = nil, requestid = nil) ⇒ DescribeGovernanceNamespacesResponse
Returns a new instance of DescribeGovernanceNamespacesResponse.
6123 6124 6125 6126 6127 |
# File 'lib/v20201207/models.rb', line 6123 def initialize(totalcount=nil, content=nil, requestid=nil) @TotalCount = totalcount @Content = content @RequestId = requestid end |
Instance Attribute Details
#Content ⇒ Object
6121 6122 6123 |
# File 'lib/v20201207/models.rb', line 6121 def Content @Content end |
#RequestId ⇒ Object
6121 6122 6123 |
# File 'lib/v20201207/models.rb', line 6121 def RequestId @RequestId end |
#TotalCount ⇒ Object
6121 6122 6123 |
# File 'lib/v20201207/models.rb', line 6121 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 |
# File 'lib/v20201207/models.rb', line 6129 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Content'].nil? @Content = [] params['Content'].each do |i| governancenamespace_tmp = GovernanceNamespace.new governancenamespace_tmp.deserialize(i) @Content << governancenamespace_tmp end end @RequestId = params['RequestId'] end |