Class: PlexRubySDK::Models::Operations::GetLibraryItemsRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(section_key: nil, tag: nil, type: nil, include_guids: nil, include_meta: nil, x_plex_container_size: nil, x_plex_container_start: nil) ⇒ GetLibraryItemsRequest

Returns a new instance of GetLibraryItemsRequest.



49
50
51
52
53
54
55
56
57
# File 'lib/plex_ruby_sdk/models/operations/get_library_items_request.rb', line 49

def initialize(section_key: nil, tag: nil, type: nil, include_guids: nil, include_meta: nil, x_plex_container_size: nil, x_plex_container_start: nil)
  @section_key = section_key
  @tag = tag
  @type = type
  @include_guids = include_guids
  @include_meta = include_meta
  @x_plex_container_size = x_plex_container_size
  @x_plex_container_start = x_plex_container_start
end

Instance Method Details

#==(other) ⇒ Object



59
60
61
62
63
64
65
66
67
68
69
# File 'lib/plex_ruby_sdk/models/operations/get_library_items_request.rb', line 59

def ==(other)
  return false unless other.is_a? self.class
  return false unless @section_key == other.section_key
  return false unless @tag == other.tag
  return false unless @type == other.type
  return false unless @include_guids == other.include_guids
  return false unless @include_meta == other.include_meta
  return false unless @x_plex_container_size == other.x_plex_container_size
  return false unless @x_plex_container_start == other.x_plex_container_start
  true
end