Class: PlexRubySDK::Models::Operations::GetAllLibrariesDirectory

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(agent: nil, allow_sync: nil, art: nil, composite: nil, content: nil, content_changed_at: nil, directory: nil, filters: nil, hidden: nil, key: nil, language: nil, location: nil, refreshing: nil, scanned_at: nil, scanner: nil, thumb: nil, title: nil, type: nil, updated_at: nil, uuid: nil, created_at: nil) ⇒ GetAllLibrariesDirectory

Returns a new instance of GetAllLibrariesDirectory.



63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# File 'lib/plex_ruby_sdk/models/operations/get_all_libraries_directory.rb', line 63

def initialize(agent: nil, allow_sync: nil, art: nil, composite: nil, content: nil, content_changed_at: nil, directory: nil, filters: nil, hidden: nil, key: nil, language: nil, location: nil, refreshing: nil, scanned_at: nil, scanner: nil, thumb: nil, title: nil, type: nil, updated_at: nil, uuid: nil, created_at: nil)
  @agent = agent
  @allow_sync = allow_sync
  @art = art
  @composite = composite
  @content = content
  @content_changed_at = content_changed_at
  @directory = directory
  @filters = filters
  @hidden = hidden
  @key = key
  @language = language
  @location = location
  @refreshing = refreshing
  @scanned_at = scanned_at
  @scanner = scanner
  @thumb = thumb
  @title = title
  @type = type
  @updated_at = updated_at
  @uuid = uuid
  @created_at = created_at
end

Instance Method Details

#==(other) ⇒ Object



87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# File 'lib/plex_ruby_sdk/models/operations/get_all_libraries_directory.rb', line 87

def ==(other)
  return false unless other.is_a? self.class
  return false unless @agent == other.agent
  return false unless @allow_sync == other.allow_sync
  return false unless @art == other.art
  return false unless @composite == other.composite
  return false unless @content == other.content
  return false unless @content_changed_at == other.content_changed_at
  return false unless @directory == other.directory
  return false unless @filters == other.filters
  return false unless @hidden == other.hidden
  return false unless @key == other.key
  return false unless @language == other.language
  return false unless @location == other.location
  return false unless @refreshing == other.refreshing
  return false unless @scanned_at == other.scanned_at
  return false unless @scanner == other.scanner
  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
  return false unless @uuid == other.uuid
  return false unless @created_at == other.created_at
  true
end