Class: TencentCloud::Vod::V20180717::UrlSignatureAuthPolicy

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180717/models.rb

Overview

基于签名的 Key 防盗链信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status = nil, encryptedkey = nil) ⇒ UrlSignatureAuthPolicy

Returns a new instance of UrlSignatureAuthPolicy.



28706
28707
28708
28709
# File 'lib/v20180717/models.rb', line 28706

def initialize(status=nil, encryptedkey=nil)
  @Status = status
  @EncryptedKey = encryptedkey
end

Instance Attribute Details

#EncryptedKeyObject

<li>Enabled: 启用。</li> <li>Disabled: 禁用。</li> EncryptedKey 字符串的长度为8~40个字节,不能包含不可见字符。

Parameters:



28704
28705
28706
# File 'lib/v20180717/models.rb', line 28704

def EncryptedKey
  @EncryptedKey
end

#StatusObject

<li>Enabled: 启用。</li> <li>Disabled: 禁用。</li> EncryptedKey 字符串的长度为8~40个字节,不能包含不可见字符。

Parameters:



28704
28705
28706
# File 'lib/v20180717/models.rb', line 28704

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



28711
28712
28713
28714
# File 'lib/v20180717/models.rb', line 28711

def deserialize(params)
  @Status = params['Status']
  @EncryptedKey = params['EncryptedKey']
end