Class: PlexRubySDK::Models::Operations::GetSearchLibraryMetadata

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(added_at: nil, art: nil, guid: nil, index: nil, key: nil, parent_guid: nil, parent_index: nil, parent_key: nil, parent_rating_key: nil, parent_studio: nil, parent_theme: nil, parent_thumb: nil, parent_title: nil, parent_year: nil, rating_key: nil, summary: nil, thumb: nil, title: nil, type: nil, updated_at: nil) ⇒ GetSearchLibraryMetadata

Returns a new instance of GetSearchLibraryMetadata.



59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# File 'lib/plex_ruby_sdk/models/operations/get_search_library_metadata.rb', line 59

def initialize(added_at: nil, art: nil, guid: nil, index: nil, key: nil, parent_guid: nil, parent_index: nil, parent_key: nil, parent_rating_key: nil, parent_studio: nil, parent_theme: nil, parent_thumb: nil, parent_title: nil, parent_year: nil, rating_key: nil, summary: nil, thumb: nil, title: nil, type: nil, updated_at: nil)
  @added_at = added_at
  @art = art
  @guid = guid
  @index = index
  @key = key
  @parent_guid = parent_guid
  @parent_index = parent_index
  @parent_key = parent_key
  @parent_rating_key = parent_rating_key
  @parent_studio = parent_studio
  @parent_theme = parent_theme
  @parent_thumb = parent_thumb
  @parent_title = parent_title
  @parent_year = parent_year
  @rating_key = rating_key
  @summary = summary
  @thumb = thumb
  @title = title
  @type = type
  @updated_at = updated_at
end

Instance Method Details

#==(other) ⇒ Object



82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# File 'lib/plex_ruby_sdk/models/operations/get_search_library_metadata.rb', line 82

def ==(other)
  return false unless other.is_a? self.class
  return false unless @added_at == other.added_at
  return false unless @art == other.art
  return false unless @guid == other.guid
  return false unless @index == other.index
  return false unless @key == other.key
  return false unless @parent_guid == other.parent_guid
  return false unless @parent_index == other.parent_index
  return false unless @parent_key == other.parent_key
  return false unless @parent_rating_key == other.parent_rating_key
  return false unless @parent_studio == other.parent_studio
  return false unless @parent_theme == other.parent_theme
  return false unless @parent_thumb == other.parent_thumb
  return false unless @parent_title == other.parent_title
  return false unless @parent_year == other.parent_year
  return false unless @rating_key == other.rating_key
  return false unless @summary == other.summary
  return false unless @thumb == other.thumb
  return false unless @title == other.title
  return false unless @type == other.type
  return false unless @updated_at == other.updated_at
  true
end