Class: WowzaRest::Data::IncomingStreamStats

Inherits:
Base
  • Object
show all
Defined in:
lib/wowza_rest/data/incoming_stream_stats.rb

Defined Under Namespace

Classes: ConnectionCount

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#define_key_getter, #include?, #keys_reader, #objects_array_to_hash_array, #setup_attributes, #to_h, #to_json, #wrap_array_objects

Constructor Details

#initialize(attrs = {}) ⇒ IncomingStreamStats

Returns a new instance of IncomingStreamStats.



8
9
10
11
12
# File 'lib/wowza_rest/data/incoming_stream_stats.rb', line 8

def initialize(attrs = {})
  keys_reader :connectionCount
  @connection_count = ConnectionCount.new(attrs.delete('connectionCount'))
  super(attrs)
end

Instance Attribute Details

#connection_countObject (readonly)

Returns the value of attribute connection_count.



6
7
8
# File 'lib/wowza_rest/data/incoming_stream_stats.rb', line 6

def connection_count
  @connection_count
end