Class: PlexRubySDK::Models::Operations::GetWatchListRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(filter: nil, x_plex_token: nil, include_collections: nil, include_external_media: nil, libtype: nil, maxresults: nil, sort: nil, x_plex_container_size: nil, x_plex_container_start: nil) ⇒ GetWatchListRequest

Returns a new instance of GetWatchListRequest.



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

def initialize(filter: nil, x_plex_token: nil, include_collections: nil, include_external_media: nil, libtype: nil, maxresults: nil, sort: nil, x_plex_container_size: nil, x_plex_container_start: nil)
  @filter = filter
  @x_plex_token = x_plex_token
  @include_collections = include_collections
  @include_external_media = include_external_media
  @libtype = libtype
  @maxresults = maxresults
  @sort = sort
  @x_plex_container_size = x_plex_container_size
  @x_plex_container_start = x_plex_container_start
end

Instance Method Details

#==(other) ⇒ Object



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

def ==(other)
  return false unless other.is_a? self.class
  return false unless @filter == other.filter
  return false unless @x_plex_token == other.x_plex_token
  return false unless @include_collections == other.include_collections
  return false unless @include_external_media == other.include_external_media
  return false unless @libtype == other.libtype
  return false unless @maxresults == other.maxresults
  return false unless @sort == other.sort
  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