Class: PlexRubySDK::Models::Operations::GetBandwidthStatisticsDevice
- Inherits:
-
Object
- Object
- PlexRubySDK::Models::Operations::GetBandwidthStatisticsDevice
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_device.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(client_identifier: nil, created_at: nil, id: nil, name: nil, platform: nil) ⇒ GetBandwidthStatisticsDevice
constructor
A new instance of GetBandwidthStatisticsDevice.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(client_identifier: nil, created_at: nil, id: nil, name: nil, platform: nil) ⇒ GetBandwidthStatisticsDevice
Returns a new instance of GetBandwidthStatisticsDevice.
29 30 31 32 33 34 35 |
# File 'lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_device.rb', line 29 def initialize(client_identifier: nil, created_at: nil, id: nil, name: nil, platform: nil) @client_identifier = client_identifier @created_at = created_at @id = id @name = name @platform = platform end |
Instance Method Details
#==(other) ⇒ Object
37 38 39 40 41 42 43 44 45 |
# File 'lib/plex_ruby_sdk/models/operations/getbandwidthstatistics_device.rb', line 37 def ==(other) return false unless other.is_a? self.class return false unless @client_identifier == other.client_identifier return false unless @created_at == other.created_at return false unless @id == other.id return false unless @name == other.name return false unless @platform == other.platform true end |