Class: Bitmovin::Encoding::Manifests::HlsAudioMedia
- Defined in:
- lib/bitmovin/encoding/manifests/hls_audio_media.rb
Instance Attribute Summary collapse
-
#assoc_language ⇒ Object
Returns the value of attribute assoc_language.
-
#autoselect ⇒ Object
Returns the value of attribute autoselect.
-
#characteristics ⇒ Object
Returns the value of attribute characteristics.
-
#drm_id ⇒ Object
Returns the value of attribute drm_id.
-
#encoding_id ⇒ Object
Returns the value of attribute encoding_id.
-
#end_segment_number ⇒ Object
Returns the value of attribute end_segment_number.
-
#group_id ⇒ Object
Returns the value of attribute group_id.
-
#is_default ⇒ Object
Returns the value of attribute is_default.
-
#language ⇒ Object
Returns the value of attribute language.
-
#manifest_id ⇒ Object
Returns the value of attribute manifest_id.
-
#muxing_id ⇒ Object
Returns the value of attribute muxing_id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#segment_path ⇒ Object
Returns the value of attribute segment_path.
-
#start_segment_number ⇒ Object
Returns the value of attribute start_segment_number.
-
#stream_id ⇒ Object
Returns the value of attribute stream_id.
-
#uri ⇒ Object
Returns the value of attribute uri.
Attributes inherited from Resource
#created_at, #description, #id, #modified_at
Instance Method Summary collapse
- #ignore_fields ⇒ Object
-
#initialize(manifest_id, hash = {}) ⇒ HlsAudioMedia
constructor
A new instance of HlsAudioMedia.
Methods inherited from Resource
#delete!, find, init, #init_instance, #inspect, list, #persisted?, #save!
Methods included from Helpers
#camelize_hash, #hash_to_struct, result, #result, #underscore_hash
Constructor Details
#initialize(manifest_id, hash = {}) ⇒ HlsAudioMedia
Returns a new instance of HlsAudioMedia.
20 21 22 23 24 25 |
# File 'lib/bitmovin/encoding/manifests/hls_audio_media.rb', line 20 def initialize(manifest_id, hash = {}) hsh = ActiveSupport::HashWithIndifferentAccess.new(underscore_hash(hash)) @manifest_id = manifest_id init_instance(File.join("/v1/encoding/manifests/hls/", manifest_id, "media/audio")) super(hsh) end |
Instance Attribute Details
#assoc_language ⇒ Object
Returns the value of attribute assoc_language.
6 7 8 |
# File 'lib/bitmovin/encoding/manifests/hls_audio_media.rb', line 6 def assoc_language @assoc_language end |
#autoselect ⇒ Object
Returns the value of attribute autoselect.
9 10 11 |
# File 'lib/bitmovin/encoding/manifests/hls_audio_media.rb', line 9 def autoselect @autoselect end |
#characteristics ⇒ Object
Returns the value of attribute characteristics.
10 11 12 |
# File 'lib/bitmovin/encoding/manifests/hls_audio_media.rb', line 10 def characteristics @characteristics end |
#drm_id ⇒ Object
Returns the value of attribute drm_id.
15 16 17 |
# File 'lib/bitmovin/encoding/manifests/hls_audio_media.rb', line 15 def drm_id @drm_id end |
#encoding_id ⇒ Object
Returns the value of attribute encoding_id.
12 13 14 |
# File 'lib/bitmovin/encoding/manifests/hls_audio_media.rb', line 12 def encoding_id @encoding_id end |
#end_segment_number ⇒ Object
Returns the value of attribute end_segment_number.
17 18 19 |
# File 'lib/bitmovin/encoding/manifests/hls_audio_media.rb', line 17 def end_segment_number @end_segment_number end |
#group_id ⇒ Object
Returns the value of attribute group_id.
4 5 6 |
# File 'lib/bitmovin/encoding/manifests/hls_audio_media.rb', line 4 def group_id @group_id end |
#is_default ⇒ Object
Returns the value of attribute is_default.
8 9 10 |
# File 'lib/bitmovin/encoding/manifests/hls_audio_media.rb', line 8 def is_default @is_default end |
#language ⇒ Object
Returns the value of attribute language.
5 6 7 |
# File 'lib/bitmovin/encoding/manifests/hls_audio_media.rb', line 5 def language @language end |
#manifest_id ⇒ Object
Returns the value of attribute manifest_id.
3 4 5 |
# File 'lib/bitmovin/encoding/manifests/hls_audio_media.rb', line 3 def manifest_id @manifest_id end |
#muxing_id ⇒ Object
Returns the value of attribute muxing_id.
14 15 16 |
# File 'lib/bitmovin/encoding/manifests/hls_audio_media.rb', line 14 def muxing_id @muxing_id end |
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/bitmovin/encoding/manifests/hls_audio_media.rb', line 7 def name @name end |
#segment_path ⇒ Object
Returns the value of attribute segment_path.
11 12 13 |
# File 'lib/bitmovin/encoding/manifests/hls_audio_media.rb', line 11 def segment_path @segment_path end |
#start_segment_number ⇒ Object
Returns the value of attribute start_segment_number.
16 17 18 |
# File 'lib/bitmovin/encoding/manifests/hls_audio_media.rb', line 16 def start_segment_number @start_segment_number end |
#stream_id ⇒ Object
Returns the value of attribute stream_id.
13 14 15 |
# File 'lib/bitmovin/encoding/manifests/hls_audio_media.rb', line 13 def stream_id @stream_id end |
#uri ⇒ Object
Returns the value of attribute uri.
18 19 20 |
# File 'lib/bitmovin/encoding/manifests/hls_audio_media.rb', line 18 def uri @uri end |
Instance Method Details
#ignore_fields ⇒ Object
27 28 29 |
# File 'lib/bitmovin/encoding/manifests/hls_audio_media.rb', line 27 def ignore_fields return [:@manifest_id, :@id] end |