Class: TencentCloud::Intlpartnersmgt::V20220928::QueryVoucherListByUinResponse

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

Overview

QueryVoucherListByUin返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data = nil, requestid = nil) ⇒ QueryVoucherListByUinResponse

Returns a new instance of QueryVoucherListByUinResponse.



686
687
688
689
# File 'lib/v20220928/models.rb', line 686

def initialize(data=nil, requestid=nil)
  @Data = data
  @RequestId = requestid
end

Instance Attribute Details

#DataObject

Parameters:

  • Data:

    子客代金券数据

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



684
685
686
# File 'lib/v20220928/models.rb', line 684

def Data
  @Data
end

#RequestIdObject

Parameters:

  • Data:

    子客代金券数据

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



684
685
686
# File 'lib/v20220928/models.rb', line 684

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



691
692
693
694
695
696
697
698
699
700
701
# File 'lib/v20220928/models.rb', line 691

def deserialize(params)
  unless params['Data'].nil?
    @Data = []
    params['Data'].each do |i|
      queryvoucherlistbyuinitem_tmp = QueryVoucherListByUinItem.new
      queryvoucherlistbyuinitem_tmp.deserialize(i)
      @Data << queryvoucherlistbyuinitem_tmp
    end
  end
  @RequestId = params['RequestId']
end