Class: PlexRubySDK::Models::Operations::GetSearchAllLibrariesPart

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(id: nil, accessible: nil, audio_profile: nil, container: nil, duration: nil, exists: nil, file: nil, has64bit_offsets: nil, has_thumbnail: nil, indexes: nil, key: nil, optimized_for_streaming: nil, packet_length: nil, size: nil, video_profile: nil) ⇒ GetSearchAllLibrariesPart

Returns a new instance of GetSearchAllLibrariesPart.



50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# File 'lib/plex_ruby_sdk/models/operations/get_search_all_libraries_part.rb', line 50

def initialize(id: nil, accessible: nil, audio_profile: nil, container: nil, duration: nil, exists: nil, file: nil, has64bit_offsets: nil, has_thumbnail: nil, indexes: nil, key: nil, optimized_for_streaming: nil, packet_length: nil, size: nil, video_profile: nil)
  @id = id
  @accessible = accessible
  @audio_profile = audio_profile
  @container = container
  @duration = duration
  @exists = exists
  @file = file
  @has64bit_offsets = has64bit_offsets
  @has_thumbnail = has_thumbnail
  @indexes = indexes
  @key = key
  @optimized_for_streaming = optimized_for_streaming
  @packet_length = packet_length
  @size = size
  @video_profile = video_profile
end

Instance Method Details

#==(other) ⇒ Object



68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# File 'lib/plex_ruby_sdk/models/operations/get_search_all_libraries_part.rb', line 68

def ==(other)
  return false unless other.is_a? self.class
  return false unless @id == other.id
  return false unless @accessible == other.accessible
  return false unless @audio_profile == other.audio_profile
  return false unless @container == other.container
  return false unless @duration == other.duration
  return false unless @exists == other.exists
  return false unless @file == other.file
  return false unless @has64bit_offsets == other.has64bit_offsets
  return false unless @has_thumbnail == other.has_thumbnail
  return false unless @indexes == other.indexes
  return false unless @key == other.key
  return false unless @optimized_for_streaming == other.optimized_for_streaming
  return false unless @packet_length == other.packet_length
  return false unless @size == other.size
  return false unless @video_profile == other.video_profile
  true
end