Class: TencentCloud::Live::V20180801::StreamEventInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::StreamEventInfo
- Defined in:
- lib/v20180801/models.rb
Overview
推断流事件信息。
Instance Attribute Summary collapse
-
#AppName ⇒ Object
UTC 格式时间,例如:2019-01-07T12:00:00Z。 UTC 格式时间,例如:2019-01-07T15:00:00Z。 当客户端为内网推流时,展示为: - 。.
-
#ClientIp ⇒ Object
UTC 格式时间,例如:2019-01-07T12:00:00Z。 UTC 格式时间,例如:2019-01-07T15:00:00Z。 当客户端为内网推流时,展示为: - 。.
-
#DomainName ⇒ Object
UTC 格式时间,例如:2019-01-07T12:00:00Z。 UTC 格式时间,例如:2019-01-07T15:00:00Z。 当客户端为内网推流时,展示为: - 。.
-
#Duration ⇒ Object
UTC 格式时间,例如:2019-01-07T12:00:00Z。 UTC 格式时间,例如:2019-01-07T15:00:00Z。 当客户端为内网推流时,展示为: - 。.
-
#Resolution ⇒ Object
UTC 格式时间,例如:2019-01-07T12:00:00Z。 UTC 格式时间,例如:2019-01-07T15:00:00Z。 当客户端为内网推流时,展示为: - 。.
-
#StopReason ⇒ Object
UTC 格式时间,例如:2019-01-07T12:00:00Z。 UTC 格式时间,例如:2019-01-07T15:00:00Z。 当客户端为内网推流时,展示为: - 。.
-
#StreamEndTime ⇒ Object
UTC 格式时间,例如:2019-01-07T12:00:00Z。 UTC 格式时间,例如:2019-01-07T15:00:00Z。 当客户端为内网推流时,展示为: - 。.
-
#StreamName ⇒ Object
UTC 格式时间,例如:2019-01-07T12:00:00Z。 UTC 格式时间,例如:2019-01-07T15:00:00Z。 当客户端为内网推流时,展示为: - 。.
-
#StreamStartTime ⇒ Object
UTC 格式时间,例如:2019-01-07T12:00:00Z。 UTC 格式时间,例如:2019-01-07T15:00:00Z。 当客户端为内网推流时,展示为: - 。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(appname = nil, domainname = nil, streamname = nil, streamstarttime = nil, streamendtime = nil, stopreason = nil, duration = nil, clientip = nil, resolution = nil) ⇒ StreamEventInfo
constructor
A new instance of StreamEventInfo.
Constructor Details
#initialize(appname = nil, domainname = nil, streamname = nil, streamstarttime = nil, streamendtime = nil, stopreason = nil, duration = nil, clientip = nil, resolution = nil) ⇒ StreamEventInfo
Returns a new instance of StreamEventInfo.
15137 15138 15139 15140 15141 15142 15143 15144 15145 15146 15147 |
# File 'lib/v20180801/models.rb', line 15137 def initialize(appname=nil, domainname=nil, streamname=nil, streamstarttime=nil, streamendtime=nil, stopreason=nil, duration=nil, clientip=nil, resolution=nil) @AppName = appname @DomainName = domainname @StreamName = streamname @StreamStartTime = streamstarttime @StreamEndTime = streamendtime @StopReason = stopreason @Duration = duration @ClientIp = clientip @Resolution = resolution end |
Instance Attribute Details
#AppName ⇒ Object
UTC 格式时间,例如:2019-01-07T12:00:00Z。UTC 格式时间,例如:2019-01-07T15:00:00Z。当客户端为内网推流时,展示为: - 。
15135 15136 15137 |
# File 'lib/v20180801/models.rb', line 15135 def AppName @AppName end |
#ClientIp ⇒ Object
UTC 格式时间,例如:2019-01-07T12:00:00Z。UTC 格式时间,例如:2019-01-07T15:00:00Z。当客户端为内网推流时,展示为: - 。
15135 15136 15137 |
# File 'lib/v20180801/models.rb', line 15135 def ClientIp @ClientIp end |
#DomainName ⇒ Object
UTC 格式时间,例如:2019-01-07T12:00:00Z。UTC 格式时间,例如:2019-01-07T15:00:00Z。当客户端为内网推流时,展示为: - 。
15135 15136 15137 |
# File 'lib/v20180801/models.rb', line 15135 def DomainName @DomainName end |
#Duration ⇒ Object
UTC 格式时间,例如:2019-01-07T12:00:00Z。UTC 格式时间,例如:2019-01-07T15:00:00Z。当客户端为内网推流时,展示为: - 。
15135 15136 15137 |
# File 'lib/v20180801/models.rb', line 15135 def Duration @Duration end |
#Resolution ⇒ Object
UTC 格式时间,例如:2019-01-07T12:00:00Z。UTC 格式时间,例如:2019-01-07T15:00:00Z。当客户端为内网推流时,展示为: - 。
15135 15136 15137 |
# File 'lib/v20180801/models.rb', line 15135 def Resolution @Resolution end |
#StopReason ⇒ Object
UTC 格式时间,例如:2019-01-07T12:00:00Z。UTC 格式时间,例如:2019-01-07T15:00:00Z。当客户端为内网推流时,展示为: - 。
15135 15136 15137 |
# File 'lib/v20180801/models.rb', line 15135 def StopReason @StopReason end |
#StreamEndTime ⇒ Object
UTC 格式时间,例如:2019-01-07T12:00:00Z。UTC 格式时间,例如:2019-01-07T15:00:00Z。当客户端为内网推流时,展示为: - 。
15135 15136 15137 |
# File 'lib/v20180801/models.rb', line 15135 def StreamEndTime @StreamEndTime end |
#StreamName ⇒ Object
UTC 格式时间,例如:2019-01-07T12:00:00Z。UTC 格式时间,例如:2019-01-07T15:00:00Z。当客户端为内网推流时,展示为: - 。
15135 15136 15137 |
# File 'lib/v20180801/models.rb', line 15135 def StreamName @StreamName end |
#StreamStartTime ⇒ Object
UTC 格式时间,例如:2019-01-07T12:00:00Z。UTC 格式时间,例如:2019-01-07T15:00:00Z。当客户端为内网推流时,展示为: - 。
15135 15136 15137 |
# File 'lib/v20180801/models.rb', line 15135 def StreamStartTime @StreamStartTime end |
Instance Method Details
#deserialize(params) ⇒ Object
15149 15150 15151 15152 15153 15154 15155 15156 15157 15158 15159 |
# File 'lib/v20180801/models.rb', line 15149 def deserialize(params) @AppName = params['AppName'] @DomainName = params['DomainName'] @StreamName = params['StreamName'] @StreamStartTime = params['StreamStartTime'] @StreamEndTime = params['StreamEndTime'] @StopReason = params['StopReason'] @Duration = params['Duration'] @ClientIp = params['ClientIp'] @Resolution = params['Resolution'] end |