Class: PlexRubySDK::Models::Operations::GetSearchResultsMedia
- Inherits:
-
Object
- Object
- PlexRubySDK::Models::Operations::GetSearchResultsMedia
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/plex_ruby_sdk/models/operations/getsearchresults_media.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(aspect_ratio: nil, audio_channels: nil, audio_codec: nil, audio_profile: nil, bitrate: nil, container: nil, duration: nil, height: nil, id: nil, part: nil, video_codec: nil, video_frame_rate: nil, video_profile: nil, video_resolution: nil, width: nil) ⇒ GetSearchResultsMedia
constructor
A new instance of GetSearchResultsMedia.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(aspect_ratio: nil, audio_channels: nil, audio_codec: nil, audio_profile: nil, bitrate: nil, container: nil, duration: nil, height: nil, id: nil, part: nil, video_codec: nil, video_frame_rate: nil, video_profile: nil, video_resolution: nil, width: nil) ⇒ GetSearchResultsMedia
Returns a new instance of GetSearchResultsMedia.
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
# File 'lib/plex_ruby_sdk/models/operations/getsearchresults_media.rb', line 49 def initialize(aspect_ratio: nil, audio_channels: nil, audio_codec: nil, audio_profile: nil, bitrate: nil, container: nil, duration: nil, height: nil, id: nil, part: nil, video_codec: nil, video_frame_rate: nil, video_profile: nil, video_resolution: nil, width: nil) @aspect_ratio = aspect_ratio @audio_channels = audio_channels @audio_codec = audio_codec @audio_profile = audio_profile @bitrate = bitrate @container = container @duration = duration @height = height @id = id @part = part @video_codec = video_codec @video_frame_rate = video_frame_rate @video_profile = video_profile @video_resolution = video_resolution @width = width end |
Instance Method Details
#==(other) ⇒ Object
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/getsearchresults_media.rb', line 67 def ==(other) return false unless other.is_a? self.class return false unless @aspect_ratio == other.aspect_ratio return false unless @audio_channels == other.audio_channels return false unless @audio_codec == other.audio_codec return false unless @audio_profile == other.audio_profile return false unless @bitrate == other.bitrate return false unless @container == other.container return false unless @duration == other.duration return false unless @height == other.height return false unless @id == other.id return false unless @part == other.part return false unless @video_codec == other.video_codec return false unless @video_frame_rate == other.video_frame_rate return false unless @video_profile == other.video_profile return false unless @video_resolution == other.video_resolution return false unless @width == other.width true end |