Class: TencentCloud::Live::V20180801::DescribeLiveXP2PDetailInfoListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::DescribeLiveXP2PDetailInfoListResponse
- Defined in:
- lib/v20180801/models.rb
Overview
DescribeLiveXP2PDetailInfoList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(datainfolist = nil, requestid = nil) ⇒ DescribeLiveXP2PDetailInfoListResponse
constructor
A new instance of DescribeLiveXP2PDetailInfoListResponse.
Constructor Details
#initialize(datainfolist = nil, requestid = nil) ⇒ DescribeLiveXP2PDetailInfoListResponse
Returns a new instance of DescribeLiveXP2PDetailInfoListResponse.
8931 8932 8933 8934 |
# File 'lib/v20180801/models.rb', line 8931 def initialize(datainfolist=nil, requestid=nil) @DataInfoList = datainfolist @RequestId = requestid end |
Instance Attribute Details
#DataInfoList ⇒ Object
8929 8930 8931 |
# File 'lib/v20180801/models.rb', line 8929 def DataInfoList @DataInfoList end |
#RequestId ⇒ Object
8929 8930 8931 |
# File 'lib/v20180801/models.rb', line 8929 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 |
# File 'lib/v20180801/models.rb', line 8936 def deserialize(params) unless params['DataInfoList'].nil? @DataInfoList = [] params['DataInfoList'].each do |i| xp2pdetailinfo_tmp = XP2PDetailInfo.new xp2pdetailinfo_tmp.deserialize(i) @DataInfoList << xp2pdetailinfo_tmp end end @RequestId = params['RequestId'] end |