Class: TencentCloud::Live::V20180801::PushAuthKeyInfo

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, masterauthkey = nil, backupauthkey = nil, authdelta = nil) ⇒ PushAuthKeyInfo

Returns a new instance of PushAuthKeyInfo.



13906
13907
13908
13909
13910
13911
13912
# File 'lib/v20180801/models.rb', line 13906

def initialize(domainname=nil, enable=nil, masterauthkey=nil, backupauthkey=nil, authdelta=nil)
  @DomainName = domainname
  @Enable = enable
  @MasterAuthKey = masterauthkey
  @BackupAuthKey = backupauthkey
  @AuthDelta = authdelta
end

Instance Attribute Details

#AuthDeltaObject

Parameters:

  • DomainName:

    域名。

  • Enable:

    是否启用,0:关闭,1:启用。

  • MasterAuthKey:

    主鉴权 Key。

  • BackupAuthKey:

    备鉴权 Key。

  • AuthDelta:

    有效时间,单位:秒。



13904
13905
13906
# File 'lib/v20180801/models.rb', line 13904

def AuthDelta
  @AuthDelta
end

#BackupAuthKeyObject

Parameters:

  • DomainName:

    域名。

  • Enable:

    是否启用,0:关闭,1:启用。

  • MasterAuthKey:

    主鉴权 Key。

  • BackupAuthKey:

    备鉴权 Key。

  • AuthDelta:

    有效时间,单位:秒。



13904
13905
13906
# File 'lib/v20180801/models.rb', line 13904

def BackupAuthKey
  @BackupAuthKey
end

#DomainNameObject

Parameters:

  • DomainName:

    域名。

  • Enable:

    是否启用,0:关闭,1:启用。

  • MasterAuthKey:

    主鉴权 Key。

  • BackupAuthKey:

    备鉴权 Key。

  • AuthDelta:

    有效时间,单位:秒。



13904
13905
13906
# File 'lib/v20180801/models.rb', line 13904

def DomainName
  @DomainName
end

#EnableObject

Parameters:

  • DomainName:

    域名。

  • Enable:

    是否启用,0:关闭,1:启用。

  • MasterAuthKey:

    主鉴权 Key。

  • BackupAuthKey:

    备鉴权 Key。

  • AuthDelta:

    有效时间,单位:秒。



13904
13905
13906
# File 'lib/v20180801/models.rb', line 13904

def Enable
  @Enable
end

#MasterAuthKeyObject

Parameters:

  • DomainName:

    域名。

  • Enable:

    是否启用,0:关闭,1:启用。

  • MasterAuthKey:

    主鉴权 Key。

  • BackupAuthKey:

    备鉴权 Key。

  • AuthDelta:

    有效时间,单位:秒。



13904
13905
13906
# File 'lib/v20180801/models.rb', line 13904

def MasterAuthKey
  @MasterAuthKey
end

Instance Method Details

#deserialize(params) ⇒ Object



13914
13915
13916
13917
13918
13919
13920
# File 'lib/v20180801/models.rb', line 13914

def deserialize(params)
  @DomainName = params['DomainName']
  @Enable = params['Enable']
  @MasterAuthKey = params['MasterAuthKey']
  @BackupAuthKey = params['BackupAuthKey']
  @AuthDelta = params['AuthDelta']
end