Class: PlexRubySDK::Models::Operations::GetBandwidthStatisticsMediaContainer

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_mediacontainer.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(account: nil, device: nil, size: nil, statistics_bandwidth: nil) ⇒ GetBandwidthStatisticsMediaContainer

Returns a new instance of GetBandwidthStatisticsMediaContainer.



27
28
29
30
31
32
# File 'lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_mediacontainer.rb', line 27

def initialize(account: nil, device: nil, size: nil, statistics_bandwidth: nil)
  @account = 
  @device = device
  @size = size
  @statistics_bandwidth = statistics_bandwidth
end

Instance Method Details

#==(other) ⇒ Object



34
35
36
37
38
39
40
41
# File 'lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_mediacontainer.rb', line 34

def ==(other)
  return false unless other.is_a? self.class
  return false unless @account == other.
  return false unless @device == other.device
  return false unless @size == other.size
  return false unless @statistics_bandwidth == other.statistics_bandwidth
  true
end