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.
6144 6145 6146 6147 6148 |
# File 'lib/v20201207/models.rb', line 6144 def initialize(totalcount=nil, content=nil, requestid=nil) @TotalCount = totalcount @Content = content @RequestId = requestid end |
Instance Attribute Details
#Content ⇒ Object
6142 6143 6144 |
# File 'lib/v20201207/models.rb', line 6142 def Content @Content end |
#RequestId ⇒ Object
6142 6143 6144 |
# File 'lib/v20201207/models.rb', line 6142 def RequestId @RequestId end |
#TotalCount ⇒ Object
6142 6143 6144 |
# File 'lib/v20201207/models.rb', line 6142 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 |
# File 'lib/v20201207/models.rb', line 6150 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 |