Class: TencentCloud::Cpdp::V20190820::ChannelReturnContractInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cpdp::V20190820::ChannelReturnContractInfo
- Defined in:
- lib/v20190820/models.rb
Overview
米大师内部生成的合约信息
Instance Attribute Summary collapse
-
#ChannelContractInfo ⇒ Object
协议状态,枚举值: CONTRACT_STATUS_SIGNED:已签约 CONTRACT_STATUS_TERMINATED:未签约 CONTRACT_STATUS_PENDING:签约进行中.
-
#ContractStatus ⇒ Object
协议状态,枚举值: CONTRACT_STATUS_SIGNED:已签约 CONTRACT_STATUS_TERMINATED:未签约 CONTRACT_STATUS_PENDING:签约进行中.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(contractstatus = nil, channelcontractinfo = nil) ⇒ ChannelReturnContractInfo
constructor
A new instance of ChannelReturnContractInfo.
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
#ChannelContractInfo ⇒ Object
协议状态,枚举值: CONTRACT_STATUS_SIGNED:已签约 CONTRACT_STATUS_TERMINATED:未签约 CONTRACT_STATUS_PENDING:签约进行中
3465 3466 3467 |
# File 'lib/v20190820/models.rb', line 3465 def ChannelContractInfo @ChannelContractInfo end |
#ContractStatus ⇒ Object
协议状态,枚举值: CONTRACT_STATUS_SIGNED:已签约 CONTRACT_STATUS_TERMINATED:未签约 CONTRACT_STATUS_PENDING:签约进行中
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 |