Class: TencentCloud::Cpdp::V20190820::MerchantManagementResult

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190820/models.rb

Overview

商户管理端结果

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(total = nil, list = nil) ⇒ MerchantManagementResult

Returns a new instance of MerchantManagementResult.



11591
11592
11593
11594
# File 'lib/v20190820/models.rb', line 11591

def initialize(total=nil, list=nil)
  @Total = total
  @List = list
end

Instance Attribute Details

#ListObject

Parameters:

  • Total:

    总数。

  • List:

    商户列表。



11589
11590
11591
# File 'lib/v20190820/models.rb', line 11589

def List
  @List
end

#TotalObject

Parameters:

  • Total:

    总数。

  • List:

    商户列表。



11589
11590
11591
# File 'lib/v20190820/models.rb', line 11589

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
# File 'lib/v20190820/models.rb', line 11596

def deserialize(params)
  @Total = params['Total']
  unless params['List'].nil?
    @List = []
    params['List'].each do |i|
      merchantmanagementlist_tmp = MerchantManagementList.new
      merchantmanagementlist_tmp.deserialize(i)
      @List << merchantmanagementlist_tmp
    end
  end
end