Class: PlexRubySDK::Models::Operations::Marker

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

Overview

The final status of the marker

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(end_time_offset: nil, id: nil, start_time_offset: nil, type: nil, attributes: nil, final: nil) ⇒ Marker

Returns a new instance of Marker.



31
32
33
34
35
36
37
38
# File 'lib/plex_ruby_sdk/models/operations/marker.rb', line 31

def initialize(end_time_offset: nil, id: nil, start_time_offset: nil, type: nil, attributes: nil, final: nil)
  @end_time_offset = end_time_offset
  @id = id
  @start_time_offset = start_time_offset
  @type = type
  @attributes = attributes
  @final = final
end

Instance Method Details

#==(other) ⇒ Object



40
41
42
43
44
45
46
47
48
49
# File 'lib/plex_ruby_sdk/models/operations/marker.rb', line 40

def ==(other)
  return false unless other.is_a? self.class
  return false unless @end_time_offset == other.end_time_offset
  return false unless @id == other.id
  return false unless @start_time_offset == other.start_time_offset
  return false unless @type == other.type
  return false unless @attributes == other.attributes
  return false unless @final == other.final
  true
end