Class: TencentCloud::Tdmq::V20200217::DescribeAllTenantsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeAllTenantsResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeAllTenants返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, tenants = nil, requestid = nil) ⇒ DescribeAllTenantsResponse
constructor
A new instance of DescribeAllTenantsResponse.
Constructor Details
#initialize(totalcount = nil, tenants = nil, requestid = nil) ⇒ DescribeAllTenantsResponse
Returns a new instance of DescribeAllTenantsResponse.
3513 3514 3515 3516 3517 |
# File 'lib/v20200217/models.rb', line 3513 def initialize(totalcount=nil, tenants=nil, requestid=nil) @TotalCount = totalcount @Tenants = tenants @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
3511 3512 3513 |
# File 'lib/v20200217/models.rb', line 3511 def RequestId @RequestId end |
#Tenants ⇒ Object
3511 3512 3513 |
# File 'lib/v20200217/models.rb', line 3511 def Tenants @Tenants end |
#TotalCount ⇒ Object
3511 3512 3513 |
# File 'lib/v20200217/models.rb', line 3511 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 |
# File 'lib/v20200217/models.rb', line 3519 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Tenants'].nil? @Tenants = [] params['Tenants'].each do |i| internaltenant_tmp = InternalTenant.new internaltenant_tmp.deserialize(i) @Tenants << internaltenant_tmp end end @RequestId = params['RequestId'] end |