Class: TencentCloud::Drm::V20181115::DescribeDRMLicenseRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Drm::V20181115::DescribeDRMLicenseRequest
- Defined in:
- lib/v20181115/models.rb
Overview
DescribeDRMLicense请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(drmtype = nil, tracks = nil, contentid = nil, contenttype = nil) ⇒ DescribeDRMLicenseRequest
constructor
A new instance of DescribeDRMLicenseRequest.
Constructor Details
#initialize(drmtype = nil, tracks = nil, contentid = nil, contenttype = nil) ⇒ DescribeDRMLicenseRequest
Returns a new instance of DescribeDRMLicenseRequest.
318 319 320 321 322 323 |
# File 'lib/v20181115/models.rb', line 318 def initialize(drmtype=nil, tracks=nil, contentid=nil, contenttype=nil) @DrmType = drmtype @Tracks = tracks @ContentId = contentid @ContentType = contenttype end |
Instance Attribute Details
#ContentId ⇒ Object
316 317 318 |
# File 'lib/v20181115/models.rb', line 316 def ContentId @ContentId end |
#ContentType ⇒ Object
316 317 318 |
# File 'lib/v20181115/models.rb', line 316 def ContentType @ContentType end |
#DrmType ⇒ Object
316 317 318 |
# File 'lib/v20181115/models.rb', line 316 def DrmType @DrmType end |
#Tracks ⇒ Object
316 317 318 |
# File 'lib/v20181115/models.rb', line 316 def Tracks @Tracks end |
Instance Method Details
#deserialize(params) ⇒ Object
325 326 327 328 329 330 |
# File 'lib/v20181115/models.rb', line 325 def deserialize(params) @DrmType = params['DrmType'] @Tracks = params['Tracks'] @ContentId = params['ContentId'] @ContentType = params['ContentType'] end |