Class: TencentCloud::Cpdp::V20190820::ChannelReturnContractInfo

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(contractstatus = nil, channelcontractinfo = nil) ⇒ ChannelReturnContractInfo

Returns a new instance of ChannelReturnContractInfo.



3467
3468
3469
3470
# File 'lib/v20190820/models.rb', line 3467

def initialize(contractstatus=nil, channelcontractinfo=nil)
  @ContractStatus = contractstatus
  @ChannelContractInfo = channelcontractinfo
end

Instance Attribute Details

#ChannelContractInfoObject

协议状态,枚举值: CONTRACT_STATUS_SIGNED:已签约 CONTRACT_STATUS_TERMINATED:未签约 CONTRACT_STATUS_PENDING:签约进行中

Parameters:

  • ContractStatus:

    平台合约状态

  • ChannelContractInfo:

    米大师内部存放的合约信息



3465
3466
3467
# File 'lib/v20190820/models.rb', line 3465

def ChannelContractInfo
  @ChannelContractInfo
end

#ContractStatusObject

协议状态,枚举值: CONTRACT_STATUS_SIGNED:已签约 CONTRACT_STATUS_TERMINATED:未签约 CONTRACT_STATUS_PENDING:签约进行中

Parameters:

  • ContractStatus:

    平台合约状态

  • ChannelContractInfo:

    米大师内部存放的合约信息



3465
3466
3467
# File 'lib/v20190820/models.rb', line 3465

def ContractStatus
  @ContractStatus
end

Instance Method Details

#deserialize(params) ⇒ Object



3472
3473
3474
3475
3476
3477
3478
# File 'lib/v20190820/models.rb', line 3472

def deserialize(params)
  @ContractStatus = params['ContractStatus']
  unless params['ChannelContractInfo'].nil?
    @ChannelContractInfo = ChannelContractInfo.new
    @ChannelContractInfo.deserialize(params['ChannelContractInfo'])
  end
end