Class: TencentCloud::Iss::V20230517::DescribeStreamAuthData

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

Overview

查询推拉流鉴权返回数据结构

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, pullstate = nil, pullsecret = nil, pullexpired = nil, pushstate = nil, pushsecret = nil, pushexpired = nil, appid = nil) ⇒ DescribeStreamAuthData

Returns a new instance of DescribeStreamAuthData.



4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
# File 'lib/v20230517/models.rb', line 4049

def initialize(id=nil, pullstate=nil, pullsecret=nil, pullexpired=nil, pushstate=nil, pushsecret=nil, pushexpired=nil, appid=nil)
  @Id = id
  @PullState = pullstate
  @PullSecret = pullsecret
  @PullExpired = pullexpired
  @PushState = pushstate
  @PushSecret = pushsecret
  @PushExpired = pushexpired
  @AppId = appid
end

Instance Attribute Details

#AppIdObject

Parameters:

  • Id:

    鉴权配置ID(uuid)

  • PullState:

    是否开播放鉴权(1:开启,0:关闭)

  • PullSecret:

    播放密钥(仅支持字母数字,长度0-10位)

  • PullExpired:

    播放过期时间(单位:分钟)

  • PushState:

    是否开启推流鉴权(1:开启,0:关闭)

  • PushSecret:

    推流密钥(仅支持字母数字,长度0-10位)

  • PushExpired:

    推流过期时间(单位:分钟)

  • AppId:

    用户ID



4047
4048
4049
# File 'lib/v20230517/models.rb', line 4047

def AppId
  @AppId
end

#IdObject

Parameters:

  • Id:

    鉴权配置ID(uuid)

  • PullState:

    是否开播放鉴权(1:开启,0:关闭)

  • PullSecret:

    播放密钥(仅支持字母数字,长度0-10位)

  • PullExpired:

    播放过期时间(单位:分钟)

  • PushState:

    是否开启推流鉴权(1:开启,0:关闭)

  • PushSecret:

    推流密钥(仅支持字母数字,长度0-10位)

  • PushExpired:

    推流过期时间(单位:分钟)

  • AppId:

    用户ID



4047
4048
4049
# File 'lib/v20230517/models.rb', line 4047

def Id
  @Id
end

#PullExpiredObject

Parameters:

  • Id:

    鉴权配置ID(uuid)

  • PullState:

    是否开播放鉴权(1:开启,0:关闭)

  • PullSecret:

    播放密钥(仅支持字母数字,长度0-10位)

  • PullExpired:

    播放过期时间(单位:分钟)

  • PushState:

    是否开启推流鉴权(1:开启,0:关闭)

  • PushSecret:

    推流密钥(仅支持字母数字,长度0-10位)

  • PushExpired:

    推流过期时间(单位:分钟)

  • AppId:

    用户ID



4047
4048
4049
# File 'lib/v20230517/models.rb', line 4047

def PullExpired
  @PullExpired
end

#PullSecretObject

Parameters:

  • Id:

    鉴权配置ID(uuid)

  • PullState:

    是否开播放鉴权(1:开启,0:关闭)

  • PullSecret:

    播放密钥(仅支持字母数字,长度0-10位)

  • PullExpired:

    播放过期时间(单位:分钟)

  • PushState:

    是否开启推流鉴权(1:开启,0:关闭)

  • PushSecret:

    推流密钥(仅支持字母数字,长度0-10位)

  • PushExpired:

    推流过期时间(单位:分钟)

  • AppId:

    用户ID



4047
4048
4049
# File 'lib/v20230517/models.rb', line 4047

def PullSecret
  @PullSecret
end

#PullStateObject

Parameters:

  • Id:

    鉴权配置ID(uuid)

  • PullState:

    是否开播放鉴权(1:开启,0:关闭)

  • PullSecret:

    播放密钥(仅支持字母数字,长度0-10位)

  • PullExpired:

    播放过期时间(单位:分钟)

  • PushState:

    是否开启推流鉴权(1:开启,0:关闭)

  • PushSecret:

    推流密钥(仅支持字母数字,长度0-10位)

  • PushExpired:

    推流过期时间(单位:分钟)

  • AppId:

    用户ID



4047
4048
4049
# File 'lib/v20230517/models.rb', line 4047

def PullState
  @PullState
end

#PushExpiredObject

Parameters:

  • Id:

    鉴权配置ID(uuid)

  • PullState:

    是否开播放鉴权(1:开启,0:关闭)

  • PullSecret:

    播放密钥(仅支持字母数字,长度0-10位)

  • PullExpired:

    播放过期时间(单位:分钟)

  • PushState:

    是否开启推流鉴权(1:开启,0:关闭)

  • PushSecret:

    推流密钥(仅支持字母数字,长度0-10位)

  • PushExpired:

    推流过期时间(单位:分钟)

  • AppId:

    用户ID



4047
4048
4049
# File 'lib/v20230517/models.rb', line 4047

def PushExpired
  @PushExpired
end

#PushSecretObject

Parameters:

  • Id:

    鉴权配置ID(uuid)

  • PullState:

    是否开播放鉴权(1:开启,0:关闭)

  • PullSecret:

    播放密钥(仅支持字母数字,长度0-10位)

  • PullExpired:

    播放过期时间(单位:分钟)

  • PushState:

    是否开启推流鉴权(1:开启,0:关闭)

  • PushSecret:

    推流密钥(仅支持字母数字,长度0-10位)

  • PushExpired:

    推流过期时间(单位:分钟)

  • AppId:

    用户ID



4047
4048
4049
# File 'lib/v20230517/models.rb', line 4047

def PushSecret
  @PushSecret
end

#PushStateObject

Parameters:

  • Id:

    鉴权配置ID(uuid)

  • PullState:

    是否开播放鉴权(1:开启,0:关闭)

  • PullSecret:

    播放密钥(仅支持字母数字,长度0-10位)

  • PullExpired:

    播放过期时间(单位:分钟)

  • PushState:

    是否开启推流鉴权(1:开启,0:关闭)

  • PushSecret:

    推流密钥(仅支持字母数字,长度0-10位)

  • PushExpired:

    推流过期时间(单位:分钟)

  • AppId:

    用户ID



4047
4048
4049
# File 'lib/v20230517/models.rb', line 4047

def PushState
  @PushState
end

Instance Method Details

#deserialize(params) ⇒ Object



4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
# File 'lib/v20230517/models.rb', line 4060

def deserialize(params)
  @Id = params['Id']
  @PullState = params['PullState']
  @PullSecret = params['PullSecret']
  @PullExpired = params['PullExpired']
  @PushState = params['PushState']
  @PushSecret = params['PushSecret']
  @PushExpired = params['PushExpired']
  @AppId = params['AppId']
end