Class: PlexRubySDK::Models::Operations::GetLibrarySectionsAllRequest

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/plex_ruby_sdk/models/operations/get_library_sections_all_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, type: nil, include_advanced: nil, include_collections: nil, include_external_media: nil, include_guids: nil, include_meta: nil, x_plex_container_size: nil, x_plex_container_start: nil) ⇒ GetLibrarySectionsAllRequest

Returns a new instance of GetLibrarySectionsAllRequest.



53
54
55
56
57
58
59
60
61
62
63
# File 'lib/plex_ruby_sdk/models/operations/get_library_sections_all_request.rb', line 53

def initialize(section_key: nil, type: nil, include_advanced: nil, include_collections: nil, include_external_media: nil, include_guids: nil, include_meta: nil, x_plex_container_size: nil, x_plex_container_start: nil)
  @section_key = section_key
  @type = type
  @include_advanced = include_advanced
  @include_collections = include_collections
  @include_external_media = include_external_media
  @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



65
66
67
68
69
70
71
72
73
74
75
76
77
# File 'lib/plex_ruby_sdk/models/operations/get_library_sections_all_request.rb', line 65

def ==(other)
  return false unless other.is_a? self.class
  return false unless @section_key == other.section_key
  return false unless @type == other.type
  return false unless @include_advanced == other.include_advanced
  return false unless @include_collections == other.include_collections
  return false unless @include_external_media == other.include_external_media
  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