Class: PlexRubySDK::Models::Operations::GetMetadataChildrenRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(rating_key: nil, include_elements: nil) ⇒ GetMetadataChildrenRequest

Returns a new instance of GetMetadataChildrenRequest.



24
25
26
27
# File 'lib/plex_ruby_sdk/models/operations/getmetadatachildren_request.rb', line 24

def initialize(rating_key: nil, include_elements: nil)
  @rating_key = rating_key
  @include_elements = include_elements
end

Instance Method Details

#==(other) ⇒ Object



29
30
31
32
33
34
# File 'lib/plex_ruby_sdk/models/operations/getmetadatachildren_request.rb', line 29

def ==(other)
  return false unless other.is_a? self.class
  return false unless @rating_key == other.rating_key
  return false unless @include_elements == other.include_elements
  true
end