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.



28708
28709
28710
28711
# File 'lib/v20180717/models.rb', line 28708

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:



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

def EncryptedKey
  @EncryptedKey
end

#StatusObject

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

Parameters:



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

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



28713
28714
28715
28716
# File 'lib/v20180717/models.rb', line 28713

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