Class: TencentCloud::Live::V20180801::DescribeLivePushAuthKeyResponse

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

Overview

DescribeLivePushAuthKey返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pushauthkeyinfo = nil, requestid = nil) ⇒ DescribeLivePushAuthKeyResponse

Returns a new instance of DescribeLivePushAuthKeyResponse.



7602
7603
7604
7605
# File 'lib/v20180801/models.rb', line 7602

def initialize(pushauthkeyinfo=nil, requestid=nil)
  @PushAuthKeyInfo = pushauthkeyinfo
  @RequestId = requestid
end

Instance Attribute Details

#PushAuthKeyInfoObject

Parameters:

  • PushAuthKeyInfo:

    推流鉴权key信息。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



7600
7601
7602
# File 'lib/v20180801/models.rb', line 7600

def PushAuthKeyInfo
  @PushAuthKeyInfo
end

#RequestIdObject

Parameters:

  • PushAuthKeyInfo:

    推流鉴权key信息。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



7600
7601
7602
# File 'lib/v20180801/models.rb', line 7600

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



7607
7608
7609
7610
7611
7612
7613
# File 'lib/v20180801/models.rb', line 7607

def deserialize(params)
  unless params['PushAuthKeyInfo'].nil?
    @PushAuthKeyInfo = PushAuthKeyInfo.new
    @PushAuthKeyInfo.deserialize(params['PushAuthKeyInfo'])
  end
  @RequestId = params['RequestId']
end