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.
7446 7447 7448 7449 7450 |
# File 'lib/v20201207/models.rb', line 7446 def initialize(totalcount=nil, content=nil, requestid=nil) @TotalCount = totalcount @Content = content @RequestId = requestid end |
Instance Attribute Details
#Content ⇒ Object
7444 7445 7446 |
# File 'lib/v20201207/models.rb', line 7444 def Content @Content end |
#RequestId ⇒ Object
7444 7445 7446 |
# File 'lib/v20201207/models.rb', line 7444 def RequestId @RequestId end |
#TotalCount ⇒ Object
7444 7445 7446 |
# File 'lib/v20201207/models.rb', line 7444 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 |
# File 'lib/v20201207/models.rb', line 7452 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 |