Class: PlexRubySDK::Models::Operations::MediaContainer

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(allow_camera_upload: nil, allow_channel_access: nil, allow_media_deletion: nil, allow_sharing: nil, allow_sync: nil, allow_tuners: nil, background_processing: nil, certificate: nil, companion_proxy: nil, country_code: nil, diagnostics: nil, directory: nil, event_stream: nil, friendly_name: nil, hub_search: nil, item_clusters: nil, livetv: nil, machine_identifier: nil, media_providers: nil, multiuser: nil, music_analysis: nil, my_plex: nil, my_plex_mapping_state: nil, my_plex_signin_state: nil, my_plex_subscription: nil, my_plex_username: nil, offline_transcode: nil, owner_features: nil, photo_auto_tag: nil, platform: nil, platform_version: nil, plugin_host: nil, push_notifications: nil, read_only_libraries: nil, size: nil, streaming_brain_abr_version: nil, streaming_brain_version: nil, sync: nil, transcoder_active_video_sessions: nil, transcoder_audio: nil, transcoder_lyrics: nil, transcoder_photo: nil, transcoder_subtitles: nil, transcoder_video: nil, transcoder_video_bitrates: nil, transcoder_video_qualities: nil, transcoder_video_resolutions: nil, updated_at: nil, updater: nil, version: nil, voice_search: nil) ⇒ MediaContainer

Returns a new instance of MediaContainer.



121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
# File 'lib/plex_ruby_sdk/models/operations/mediacontainer.rb', line 121

def initialize(allow_camera_upload: nil, allow_channel_access: nil, allow_media_deletion: nil, allow_sharing: nil, allow_sync: nil, allow_tuners: nil, background_processing: nil, certificate: nil, companion_proxy: nil, country_code: nil, diagnostics: nil, directory: nil, event_stream: nil, friendly_name: nil, hub_search: nil, item_clusters: nil, livetv: nil, machine_identifier: nil, media_providers: nil, multiuser: nil, music_analysis: nil, my_plex: nil, my_plex_mapping_state: nil, my_plex_signin_state: nil, my_plex_subscription: nil, my_plex_username: nil, offline_transcode: nil, owner_features: nil, photo_auto_tag: nil, platform: nil, platform_version: nil, plugin_host: nil, push_notifications: nil, read_only_libraries: nil, size: nil, streaming_brain_abr_version: nil, streaming_brain_version: nil, sync: nil, transcoder_active_video_sessions: nil, transcoder_audio: nil, transcoder_lyrics: nil, transcoder_photo: nil, transcoder_subtitles: nil, transcoder_video: nil, transcoder_video_bitrates: nil, transcoder_video_qualities: nil, transcoder_video_resolutions: nil, updated_at: nil, updater: nil, version: nil, voice_search: nil)
  @allow_camera_upload = allow_camera_upload
  @allow_channel_access = allow_channel_access
  @allow_media_deletion = allow_media_deletion
  @allow_sharing = allow_sharing
  @allow_sync = allow_sync
  @allow_tuners = allow_tuners
  @background_processing = background_processing
  @certificate = certificate
  @companion_proxy = companion_proxy
  @country_code = country_code
  @diagnostics = diagnostics
  @directory = directory
  @event_stream = event_stream
  @friendly_name = friendly_name
  @hub_search = hub_search
  @item_clusters = item_clusters
  @livetv = livetv
  @machine_identifier = machine_identifier
  @media_providers = media_providers
  @multiuser = multiuser
  @music_analysis = music_analysis
  @my_plex = my_plex
  @my_plex_mapping_state = my_plex_mapping_state
   = 
  @my_plex_subscription = my_plex_subscription
  @my_plex_username = my_plex_username
  @offline_transcode = offline_transcode
  @owner_features = owner_features
  @photo_auto_tag = photo_auto_tag
  @platform = platform
  @platform_version = platform_version
  @plugin_host = plugin_host
  @push_notifications = push_notifications
  @read_only_libraries = read_only_libraries
  @size = size
  @streaming_brain_abr_version = streaming_brain_abr_version
  @streaming_brain_version = streaming_brain_version
  @sync = sync
  @transcoder_active_video_sessions = transcoder_active_video_sessions
  @transcoder_audio = transcoder_audio
  @transcoder_lyrics = transcoder_lyrics
  @transcoder_photo = transcoder_photo
  @transcoder_subtitles = transcoder_subtitles
  @transcoder_video = transcoder_video
  @transcoder_video_bitrates = transcoder_video_bitrates
  @transcoder_video_qualities = transcoder_video_qualities
  @transcoder_video_resolutions = transcoder_video_resolutions
  @updated_at = updated_at
  @updater = updater
  @version = version
  @voice_search = voice_search
end

Instance Method Details

#==(other) ⇒ Object



175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
# File 'lib/plex_ruby_sdk/models/operations/mediacontainer.rb', line 175

def ==(other)
  return false unless other.is_a? self.class
  return false unless @allow_camera_upload == other.allow_camera_upload
  return false unless @allow_channel_access == other.allow_channel_access
  return false unless @allow_media_deletion == other.allow_media_deletion
  return false unless @allow_sharing == other.allow_sharing
  return false unless @allow_sync == other.allow_sync
  return false unless @allow_tuners == other.allow_tuners
  return false unless @background_processing == other.background_processing
  return false unless @certificate == other.certificate
  return false unless @companion_proxy == other.companion_proxy
  return false unless @country_code == other.country_code
  return false unless @diagnostics == other.diagnostics
  return false unless @directory == other.directory
  return false unless @event_stream == other.event_stream
  return false unless @friendly_name == other.friendly_name
  return false unless @hub_search == other.hub_search
  return false unless @item_clusters == other.item_clusters
  return false unless @livetv == other.livetv
  return false unless @machine_identifier == other.machine_identifier
  return false unless @media_providers == other.media_providers
  return false unless @multiuser == other.multiuser
  return false unless @music_analysis == other.music_analysis
  return false unless @my_plex == other.my_plex
  return false unless @my_plex_mapping_state == other.my_plex_mapping_state
  return false unless  == other.
  return false unless @my_plex_subscription == other.my_plex_subscription
  return false unless @my_plex_username == other.my_plex_username
  return false unless @offline_transcode == other.offline_transcode
  return false unless @owner_features == other.owner_features
  return false unless @photo_auto_tag == other.photo_auto_tag
  return false unless @platform == other.platform
  return false unless @platform_version == other.platform_version
  return false unless @plugin_host == other.plugin_host
  return false unless @push_notifications == other.push_notifications
  return false unless @read_only_libraries == other.read_only_libraries
  return false unless @size == other.size
  return false unless @streaming_brain_abr_version == other.streaming_brain_abr_version
  return false unless @streaming_brain_version == other.streaming_brain_version
  return false unless @sync == other.sync
  return false unless @transcoder_active_video_sessions == other.transcoder_active_video_sessions
  return false unless @transcoder_audio == other.transcoder_audio
  return false unless @transcoder_lyrics == other.transcoder_lyrics
  return false unless @transcoder_photo == other.transcoder_photo
  return false unless @transcoder_subtitles == other.transcoder_subtitles
  return false unless @transcoder_video == other.transcoder_video
  return false unless @transcoder_video_bitrates == other.transcoder_video_bitrates
  return false unless @transcoder_video_qualities == other.transcoder_video_qualities
  return false unless @transcoder_video_resolutions == other.transcoder_video_resolutions
  return false unless @updated_at == other.updated_at
  return false unless @updater == other.updater
  return false unless @version == other.version
  return false unless @voice_search == other.voice_search
  true
end