Class: TencentCloud::Live::V20180801::XP2PDetailInfo

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

Overview

P2P流信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cdnbytes = nil, p2pbytes = nil, stuckpeople = nil, stucktimes = nil, onlinepeople = nil, request = nil, requestsuccess = nil, time = nil, type = nil, streamname = nil, appid = nil) ⇒ XP2PDetailInfo



16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
# File 'lib/v20180801/models.rb', line 16093

def initialize(cdnbytes=nil, p2pbytes=nil, stuckpeople=nil, stucktimes=nil, onlinepeople=nil, request=nil, requestsuccess=nil, time=nil, type=nil, streamname=nil, appid=nil)
  @CdnBytes = cdnbytes
  @P2pBytes = p2pbytes
  @StuckPeople = stuckpeople
  @StuckTimes = stucktimes
  @OnlinePeople = onlinepeople
  @Request = request
  @RequestSuccess = requestsuccess
  @Time = time
  @Type = type
  @StreamName = streamname
  @AppId = appid
end

Instance Attribute Details

#AppIdObject



16091
16092
16093
# File 'lib/v20180801/models.rb', line 16091

def AppId
  @AppId
end

#CdnBytesObject



16091
16092
16093
# File 'lib/v20180801/models.rb', line 16091

def CdnBytes
  @CdnBytes
end

#OnlinePeopleObject



16091
16092
16093
# File 'lib/v20180801/models.rb', line 16091

def OnlinePeople
  @OnlinePeople
end

#P2pBytesObject



16091
16092
16093
# File 'lib/v20180801/models.rb', line 16091

def P2pBytes
  @P2pBytes
end

#RequestObject



16091
16092
16093
# File 'lib/v20180801/models.rb', line 16091

def Request
  @Request
end

#RequestSuccessObject



16091
16092
16093
# File 'lib/v20180801/models.rb', line 16091

def RequestSuccess
  @RequestSuccess
end

#StreamNameObject



16091
16092
16093
# File 'lib/v20180801/models.rb', line 16091

def StreamName
  @StreamName
end

#StuckPeopleObject



16091
16092
16093
# File 'lib/v20180801/models.rb', line 16091

def StuckPeople
  @StuckPeople
end

#StuckTimesObject



16091
16092
16093
# File 'lib/v20180801/models.rb', line 16091

def StuckTimes
  @StuckTimes
end

#TimeObject



16091
16092
16093
# File 'lib/v20180801/models.rb', line 16091

def Time
  @Time
end

#TypeObject



16091
16092
16093
# File 'lib/v20180801/models.rb', line 16091

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
# File 'lib/v20180801/models.rb', line 16107

def deserialize(params)
  @CdnBytes = params['CdnBytes']
  @P2pBytes = params['P2pBytes']
  @StuckPeople = params['StuckPeople']
  @StuckTimes = params['StuckTimes']
  @OnlinePeople = params['OnlinePeople']
  @Request = params['Request']
  @RequestSuccess = params['RequestSuccess']
  @Time = params['Time']
  @Type = params['Type']
  @StreamName = params['StreamName']
  @AppId = params['AppId']
end