Class: TencentCloud::Cpdp::V20190820::ReturnContractInfo

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(contractinfo = nil, channelreturncontractinfo = nil, externalreturncontractinfo = nil) ⇒ ReturnContractInfo

Returns a new instance of ReturnContractInfo.



25172
25173
25174
25175
25176
# File 'lib/v20190820/models.rb', line 25172

def initialize(contractinfo=nil, channelreturncontractinfo=nil, externalreturncontractinfo=nil)
  @ContractInfo = contractinfo
  @ChannelReturnContractInfo = channelreturncontractinfo
  @ExternalReturnContractInfo = externalreturncontractinfo
end

Instance Attribute Details

#ChannelReturnContractInfoObject

Parameters:

  • ContractInfo:

    合约信息

  • ChannelReturnContractInfo:

    米大师内部生成的合约信息

  • ExternalReturnContractInfo:

    第三方渠道合约信息



25170
25171
25172
# File 'lib/v20190820/models.rb', line 25170

def ChannelReturnContractInfo
  @ChannelReturnContractInfo
end

#ContractInfoObject

Parameters:

  • ContractInfo:

    合约信息

  • ChannelReturnContractInfo:

    米大师内部生成的合约信息

  • ExternalReturnContractInfo:

    第三方渠道合约信息



25170
25171
25172
# File 'lib/v20190820/models.rb', line 25170

def ContractInfo
  @ContractInfo
end

#ExternalReturnContractInfoObject

Parameters:

  • ContractInfo:

    合约信息

  • ChannelReturnContractInfo:

    米大师内部生成的合约信息

  • ExternalReturnContractInfo:

    第三方渠道合约信息



25170
25171
25172
# File 'lib/v20190820/models.rb', line 25170

def ExternalReturnContractInfo
  @ExternalReturnContractInfo
end

Instance Method Details

#deserialize(params) ⇒ Object



25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
# File 'lib/v20190820/models.rb', line 25178

def deserialize(params)
  unless params['ContractInfo'].nil?
    @ContractInfo = ContractInfo.new
    @ContractInfo.deserialize(params['ContractInfo'])
  end
  unless params['ChannelReturnContractInfo'].nil?
    @ChannelReturnContractInfo = ChannelReturnContractInfo.new
    @ChannelReturnContractInfo.deserialize(params['ChannelReturnContractInfo'])
  end
  unless params['ExternalReturnContractInfo'].nil?
    @ExternalReturnContractInfo = ExternalReturnContractInfo.new
    @ExternalReturnContractInfo.deserialize(params['ExternalReturnContractInfo'])
  end
end