Class: TencentCloud::Tse::V20201207::DescribeZookeeperServerInterfacesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::DescribeZookeeperServerInterfacesResponse
- Defined in:
- lib/v20201207/models.rb
Overview
DescribeZookeeperServerInterfaces返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, content = nil, requestid = nil) ⇒ DescribeZookeeperServerInterfacesResponse
constructor
A new instance of DescribeZookeeperServerInterfacesResponse.
Constructor Details
#initialize(totalcount = nil, content = nil, requestid = nil) ⇒ DescribeZookeeperServerInterfacesResponse
Returns a new instance of DescribeZookeeperServerInterfacesResponse.
7467 7468 7469 7470 7471 |
# File 'lib/v20201207/models.rb', line 7467 def initialize(totalcount=nil, content=nil, requestid=nil) @TotalCount = totalcount @Content = content @RequestId = requestid end |
Instance Attribute Details
#Content ⇒ Object
7465 7466 7467 |
# File 'lib/v20201207/models.rb', line 7465 def Content @Content end |
#RequestId ⇒ Object
7465 7466 7467 |
# File 'lib/v20201207/models.rb', line 7465 def RequestId @RequestId end |
#TotalCount ⇒ Object
7465 7466 7467 |
# File 'lib/v20201207/models.rb', line 7465 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 |
# File 'lib/v20201207/models.rb', line 7473 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Content'].nil? @Content = [] params['Content'].each do |i| zookeeperserverinterface_tmp = ZookeeperServerInterface.new zookeeperserverinterface_tmp.deserialize(i) @Content << zookeeperserverinterface_tmp end end @RequestId = params['RequestId'] end |