Class: TencentCloud::Drm::V20181115::DescribeAllKeysResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Drm::V20181115::DescribeAllKeysResponse
- Defined in:
- lib/v20181115/models.rb
Overview
DescribeAllKeys返回参数结构体
Instance Attribute Summary collapse
-
#ContentId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 如果入参中带有RsaPublicKey,则SessionKey为使用Rsa公钥加密后的二进制数据,Base64编码字符串。 如果入参中没有RsaPublicKey,则SessionKey为原始数据的字符串形式。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Keys ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 如果入参中带有RsaPublicKey,则SessionKey为使用Rsa公钥加密后的二进制数据,Base64编码字符串。 如果入参中没有RsaPublicKey,则SessionKey为原始数据的字符串形式。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 如果入参中带有RsaPublicKey,则SessionKey为使用Rsa公钥加密后的二进制数据,Base64编码字符串。 如果入参中没有RsaPublicKey,则SessionKey为原始数据的字符串形式。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#SessionKey ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 如果入参中带有RsaPublicKey,则SessionKey为使用Rsa公钥加密后的二进制数据,Base64编码字符串。 如果入参中没有RsaPublicKey,则SessionKey为原始数据的字符串形式。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(keys = nil, sessionkey = nil, contentid = nil, requestid = nil) ⇒ DescribeAllKeysResponse
constructor
A new instance of DescribeAllKeysResponse.
Constructor Details
#initialize(keys = nil, sessionkey = nil, contentid = nil, requestid = nil) ⇒ DescribeAllKeysResponse
Returns a new instance of DescribeAllKeysResponse.
283 284 285 286 287 288 |
# File 'lib/v20181115/models.rb', line 283 def initialize(keys=nil, sessionkey=nil, contentid=nil, requestid=nil) @Keys = keys @SessionKey = sessionkey @ContentId = contentid @RequestId = requestid end |
Instance Attribute Details
#ContentId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。如果入参中带有RsaPublicKey,则SessionKey为使用Rsa公钥加密后的二进制数据,Base64编码字符串。如果入参中没有RsaPublicKey,则SessionKey为原始数据的字符串形式。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
281 282 283 |
# File 'lib/v20181115/models.rb', line 281 def ContentId @ContentId end |
#Keys ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。如果入参中带有RsaPublicKey,则SessionKey为使用Rsa公钥加密后的二进制数据,Base64编码字符串。如果入参中没有RsaPublicKey,则SessionKey为原始数据的字符串形式。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
281 282 283 |
# File 'lib/v20181115/models.rb', line 281 def Keys @Keys end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。如果入参中带有RsaPublicKey,则SessionKey为使用Rsa公钥加密后的二进制数据,Base64编码字符串。如果入参中没有RsaPublicKey,则SessionKey为原始数据的字符串形式。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
281 282 283 |
# File 'lib/v20181115/models.rb', line 281 def RequestId @RequestId end |
#SessionKey ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。如果入参中带有RsaPublicKey,则SessionKey为使用Rsa公钥加密后的二进制数据,Base64编码字符串。如果入参中没有RsaPublicKey,则SessionKey为原始数据的字符串形式。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
281 282 283 |
# File 'lib/v20181115/models.rb', line 281 def SessionKey @SessionKey end |
Instance Method Details
#deserialize(params) ⇒ Object
290 291 292 293 294 295 296 297 298 299 300 301 302 |
# File 'lib/v20181115/models.rb', line 290 def deserialize(params) unless params['Keys'].nil? @Keys = [] params['Keys'].each do |i| key_tmp = Key.new key_tmp.deserialize(i) @Keys << key_tmp end end @SessionKey = params['SessionKey'] @ContentId = params['ContentId'] @RequestId = params['RequestId'] end |