Class: TencentCloud::Live::V20180801::PlayAuthKeyInfo

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

Overview

播放鉴权key信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domainname = nil, enable = nil, authkey = nil, authdelta = nil, authbackkey = nil) ⇒ PlayAuthKeyInfo

Returns a new instance of PlayAuthKeyInfo.



13401
13402
13403
13404
13405
13406
13407
# File 'lib/v20180801/models.rb', line 13401

def initialize(domainname=nil, enable=nil, authkey=nil, authdelta=nil, authbackkey=nil)
  @DomainName = domainname
  @Enable = enable
  @AuthKey = authkey
  @AuthDelta = authdelta
  @AuthBackKey = authbackkey
end

Instance Attribute Details

#AuthBackKeyObject

0: 关闭。1: 启用。

Parameters:

  • DomainName:

    域名。

  • Enable:

    是否启用:

  • AuthKey:

    鉴权 Key。

  • AuthDelta:

    有效时间,单位:秒。

  • AuthBackKey:

    鉴权 BackKey。



13399
13400
13401
# File 'lib/v20180801/models.rb', line 13399

def AuthBackKey
  @AuthBackKey
end

#AuthDeltaObject

0: 关闭。1: 启用。

Parameters:

  • DomainName:

    域名。

  • Enable:

    是否启用:

  • AuthKey:

    鉴权 Key。

  • AuthDelta:

    有效时间,单位:秒。

  • AuthBackKey:

    鉴权 BackKey。



13399
13400
13401
# File 'lib/v20180801/models.rb', line 13399

def AuthDelta
  @AuthDelta
end

#AuthKeyObject

0: 关闭。1: 启用。

Parameters:

  • DomainName:

    域名。

  • Enable:

    是否启用:

  • AuthKey:

    鉴权 Key。

  • AuthDelta:

    有效时间,单位:秒。

  • AuthBackKey:

    鉴权 BackKey。



13399
13400
13401
# File 'lib/v20180801/models.rb', line 13399

def AuthKey
  @AuthKey
end

#DomainNameObject

0: 关闭。1: 启用。

Parameters:

  • DomainName:

    域名。

  • Enable:

    是否启用:

  • AuthKey:

    鉴权 Key。

  • AuthDelta:

    有效时间,单位:秒。

  • AuthBackKey:

    鉴权 BackKey。



13399
13400
13401
# File 'lib/v20180801/models.rb', line 13399

def DomainName
  @DomainName
end

#EnableObject

0: 关闭。1: 启用。

Parameters:

  • DomainName:

    域名。

  • Enable:

    是否启用:

  • AuthKey:

    鉴权 Key。

  • AuthDelta:

    有效时间,单位:秒。

  • AuthBackKey:

    鉴权 BackKey。



13399
13400
13401
# File 'lib/v20180801/models.rb', line 13399

def Enable
  @Enable
end

Instance Method Details

#deserialize(params) ⇒ Object



13409
13410
13411
13412
13413
13414
13415
# File 'lib/v20180801/models.rb', line 13409

def deserialize(params)
  @DomainName = params['DomainName']
  @Enable = params['Enable']
  @AuthKey = params['AuthKey']
  @AuthDelta = params['AuthDelta']
  @AuthBackKey = params['AuthBackKey']
end