Class: TencentCloud::Drm::V20181115::DescribeAllKeysRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Drm::V20181115::DescribeAllKeysRequest
- Defined in:
- lib/v20181115/models.rb
Overview
DescribeAllKeys请求参数结构体
Instance Attribute Summary collapse
-
#ContentId ⇒ Object
如果该参数为空,则出参中SessionKey为明文。.
-
#ContentType ⇒ Object
如果该参数为空,则出参中SessionKey为明文。.
-
#DrmType ⇒ Object
如果该参数为空,则出参中SessionKey为明文。.
-
#RsaPublicKey ⇒ Object
如果该参数为空,则出参中SessionKey为明文。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(drmtype = nil, rsapublickey = nil, contentid = nil, contenttype = nil) ⇒ DescribeAllKeysRequest
constructor
A new instance of DescribeAllKeysRequest.
Constructor Details
#initialize(drmtype = nil, rsapublickey = nil, contentid = nil, contenttype = nil) ⇒ DescribeAllKeysRequest
Returns a new instance of DescribeAllKeysRequest.
250 251 252 253 254 255 |
# File 'lib/v20181115/models.rb', line 250 def initialize(drmtype=nil, rsapublickey=nil, contentid=nil, contenttype=nil) @DrmType = drmtype @RsaPublicKey = rsapublickey @ContentId = contentid @ContentType = contenttype end |
Instance Attribute Details
#ContentId ⇒ Object
如果该参数为空,则出参中SessionKey为明文。
248 249 250 |
# File 'lib/v20181115/models.rb', line 248 def ContentId @ContentId end |
#ContentType ⇒ Object
如果该参数为空,则出参中SessionKey为明文。
248 249 250 |
# File 'lib/v20181115/models.rb', line 248 def ContentType @ContentType end |
#DrmType ⇒ Object
如果该参数为空,则出参中SessionKey为明文。
248 249 250 |
# File 'lib/v20181115/models.rb', line 248 def DrmType @DrmType end |
#RsaPublicKey ⇒ Object
如果该参数为空,则出参中SessionKey为明文。
248 249 250 |
# File 'lib/v20181115/models.rb', line 248 def RsaPublicKey @RsaPublicKey end |
Instance Method Details
#deserialize(params) ⇒ Object
257 258 259 260 261 262 |
# File 'lib/v20181115/models.rb', line 257 def deserialize(params) @DrmType = params['DrmType'] @RsaPublicKey = params['RsaPublicKey'] @ContentId = params['ContentId'] @ContentType = params['ContentType'] end |