Class: TencentCloud::Intlpartnersmgt::V20220928::QueryVoucherListByUinItem

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

Overview

单个客户代金券数据

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clientuin = nil, totalcount = nil, data = nil) ⇒ QueryVoucherListByUinItem

Returns a new instance of QueryVoucherListByUinItem.



637
638
639
640
641
# File 'lib/v20220928/models.rb', line 637

def initialize(clientuin=nil, totalcount=nil, data=nil)
  @ClientUin = clientuin
  @TotalCount = totalcount
  @Data = data
end

Instance Attribute Details

#ClientUinObject

Parameters:

  • ClientUin:

    子客uin

  • TotalCount:

    券总数量

  • Data:

    券详情



635
636
637
# File 'lib/v20220928/models.rb', line 635

def ClientUin
  @ClientUin
end

#DataObject

Parameters:

  • ClientUin:

    子客uin

  • TotalCount:

    券总数量

  • Data:

    券详情



635
636
637
# File 'lib/v20220928/models.rb', line 635

def Data
  @Data
end

#TotalCountObject

Parameters:

  • ClientUin:

    子客uin

  • TotalCount:

    券总数量

  • Data:

    券详情



635
636
637
# File 'lib/v20220928/models.rb', line 635

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



643
644
645
646
647
648
649
650
651
652
653
654
# File 'lib/v20220928/models.rb', line 643

def deserialize(params)
  @ClientUin = params['ClientUin']
  @TotalCount = params['TotalCount']
  unless params['Data'].nil?
    @Data = []
    params['Data'].each do |i|
      queryvoucherlistbyuinvoucheritem_tmp = QueryVoucherListByUinVoucherItem.new
      queryvoucherlistbyuinvoucheritem_tmp.deserialize(i)
      @Data << queryvoucherlistbyuinvoucheritem_tmp
    end
  end
end