Class: TencentCloud::Drm::V20181115::GenerateTDRMKeyRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Drm::V20181115::GenerateTDRMKeyRequest
- Defined in:
- lib/v20181115/models.rb
Overview
GenerateTDRMKey请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(drmtype = nil, tracks = nil, contentid = nil, contenttype = nil) ⇒ GenerateTDRMKeyRequest
constructor
A new instance of GenerateTDRMKeyRequest.
Constructor Details
#initialize(drmtype = nil, tracks = nil, contentid = nil, contenttype = nil) ⇒ GenerateTDRMKeyRequest
Returns a new instance of GenerateTDRMKeyRequest.
599 600 601 602 603 604 |
# File 'lib/v20181115/models.rb', line 599 def initialize(drmtype=nil, tracks=nil, contentid=nil, contenttype=nil) @DrmType = drmtype @Tracks = tracks @ContentId = contentid @ContentType = contenttype end |
Instance Attribute Details
#ContentId ⇒ Object
597 598 599 |
# File 'lib/v20181115/models.rb', line 597 def ContentId @ContentId end |
#ContentType ⇒ Object
597 598 599 |
# File 'lib/v20181115/models.rb', line 597 def ContentType @ContentType end |
#DrmType ⇒ Object
597 598 599 |
# File 'lib/v20181115/models.rb', line 597 def DrmType @DrmType end |
#Tracks ⇒ Object
597 598 599 |
# File 'lib/v20181115/models.rb', line 597 def Tracks @Tracks end |
Instance Method Details
#deserialize(params) ⇒ Object
606 607 608 609 610 611 |
# File 'lib/v20181115/models.rb', line 606 def deserialize(params) @DrmType = params['DrmType'] @Tracks = params['Tracks'] @ContentId = params['ContentId'] @ContentType = params['ContentType'] end |