Class: TencentCloud::Live::V20180801::DescribeCasterPlayUrlRequest

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

Overview

DescribeCasterPlayUrl请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(casterid = nil, playurltype = nil, playurlindex = nil) ⇒ DescribeCasterPlayUrlRequest

Returns a new instance of DescribeCasterPlayUrlRequest.



5915
5916
5917
5918
5919
# File 'lib/v20180801/models.rb', line 5915

def initialize(casterid=nil, playurltype=nil, playurlindex=nil)
  @CasterId = casterid
  @PlayUrlType = playurltype
  @PlayUrlIndex = playurlindex
end

Instance Attribute Details

#CasterIdObject

取值范围 1:获取输入源的播放url 2:获取pvw的播放url 3:获取pgm的播放url 注:对应的输入源必须存在。

Parameters:

  • CasterId:

    导播台ID

  • PlayUrlType:

    请求播放url的类型。

  • PlayUrlIndex:

    仅在PlayUrlType为1时生效,此时该参数表示请求的输入源Index。



5913
5914
5915
# File 'lib/v20180801/models.rb', line 5913

def CasterId
  @CasterId
end

#PlayUrlIndexObject

取值范围 1:获取输入源的播放url 2:获取pvw的播放url 3:获取pgm的播放url 注:对应的输入源必须存在。

Parameters:

  • CasterId:

    导播台ID

  • PlayUrlType:

    请求播放url的类型。

  • PlayUrlIndex:

    仅在PlayUrlType为1时生效,此时该参数表示请求的输入源Index。



5913
5914
5915
# File 'lib/v20180801/models.rb', line 5913

def PlayUrlIndex
  @PlayUrlIndex
end

#PlayUrlTypeObject

取值范围 1:获取输入源的播放url 2:获取pvw的播放url 3:获取pgm的播放url 注:对应的输入源必须存在。

Parameters:

  • CasterId:

    导播台ID

  • PlayUrlType:

    请求播放url的类型。

  • PlayUrlIndex:

    仅在PlayUrlType为1时生效,此时该参数表示请求的输入源Index。



5913
5914
5915
# File 'lib/v20180801/models.rb', line 5913

def PlayUrlType
  @PlayUrlType
end

Instance Method Details

#deserialize(params) ⇒ Object



5921
5922
5923
5924
5925
# File 'lib/v20180801/models.rb', line 5921

def deserialize(params)
  @CasterId = params['CasterId']
  @PlayUrlType = params['PlayUrlType']
  @PlayUrlIndex = params['PlayUrlIndex']
end