Class: TencentCloud::Cpdp::V20190820::ReturnContractInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cpdp::V20190820::ReturnContractInfo
- Defined in:
- lib/v20190820/models.rb
Overview
返回的合约信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(contractinfo = nil, channelreturncontractinfo = nil, externalreturncontractinfo = nil) ⇒ ReturnContractInfo
constructor
A new instance of ReturnContractInfo.
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
#ChannelReturnContractInfo ⇒ Object
25170 25171 25172 |
# File 'lib/v20190820/models.rb', line 25170 def ChannelReturnContractInfo @ChannelReturnContractInfo end |
#ContractInfo ⇒ Object
25170 25171 25172 |
# File 'lib/v20190820/models.rb', line 25170 def ContractInfo @ContractInfo end |
#ExternalReturnContractInfo ⇒ Object
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 |