Class: TencentCloud::Drm::V20181115::GenerateTDRMKeyResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Drm::V20181115::GenerateTDRMKeyResponse
- Defined in:
- lib/v20181115/models.rb
Overview
GenerateTDRMKey返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(contentid = nil, txencryptiontoken = nil, requestid = nil) ⇒ GenerateTDRMKeyResponse
constructor
A new instance of GenerateTDRMKeyResponse.
Constructor Details
#initialize(contentid = nil, txencryptiontoken = nil, requestid = nil) ⇒ GenerateTDRMKeyResponse
Returns a new instance of GenerateTDRMKeyResponse.
625 626 627 628 629 |
# File 'lib/v20181115/models.rb', line 625 def initialize(contentid=nil, txencryptiontoken=nil, requestid=nil) @ContentId = contentid @TXEncryptionToken = txencryptiontoken @RequestId = requestid end |
Instance Attribute Details
#ContentId ⇒ Object
623 624 625 |
# File 'lib/v20181115/models.rb', line 623 def ContentId @ContentId end |
#RequestId ⇒ Object
623 624 625 |
# File 'lib/v20181115/models.rb', line 623 def RequestId @RequestId end |
#TXEncryptionToken ⇒ Object
623 624 625 |
# File 'lib/v20181115/models.rb', line 623 def TXEncryptionToken @TXEncryptionToken end |
Instance Method Details
#deserialize(params) ⇒ Object
631 632 633 634 635 |
# File 'lib/v20181115/models.rb', line 631 def deserialize(params) @ContentId = params['ContentId'] @TXEncryptionToken = params['TXEncryptionToken'] @RequestId = params['RequestId'] end |