Class: Bitmovin::Encoding::Manifests::AudioAdaptationSet

Inherits:
Resource
  • Object
show all
Includes:
ChildCollection
Defined in:
lib/bitmovin/encoding/manifests/audio_adaptation_set.rb

Instance Attribute Summary collapse

Attributes inherited from Resource

#created_at, #description, #id, #modified_at, #name

Instance Method Summary collapse

Methods included from ChildCollection

included

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, period_id, hash = {}) ⇒ AudioAdaptationSet

Returns a new instance of AudioAdaptationSet.



4
5
6
7
8
# File 'lib/bitmovin/encoding/manifests/audio_adaptation_set.rb', line 4

def initialize(manifest_id, period_id, hash = {})
  init_instance(File.join("/v1/encoding/manifests/dash/", manifest_id, "periods", period_id, "adaptationsets/audio"))
  @manifest_id = manifest_id
  @period_id = period_id
end

Instance Attribute Details

#langObject

Returns the value of attribute lang.



15
16
17
# File 'lib/bitmovin/encoding/manifests/audio_adaptation_set.rb', line 15

def lang
  @lang
end

#manifest_idObject

Returns the value of attribute manifest_id.



12
13
14
# File 'lib/bitmovin/encoding/manifests/audio_adaptation_set.rb', line 12

def manifest_id
  @manifest_id
end

#period_idObject

Returns the value of attribute period_id.



13
14
15
# File 'lib/bitmovin/encoding/manifests/audio_adaptation_set.rb', line 13

def period_id
  @period_id
end

#rolesObject

Returns the value of attribute roles.



14
15
16
# File 'lib/bitmovin/encoding/manifests/audio_adaptation_set.rb', line 14

def roles
  @roles
end

Instance Method Details

#ignore_fieldsObject



17
18
19
# File 'lib/bitmovin/encoding/manifests/audio_adaptation_set.rb', line 17

def ignore_fields
  [:@manifest_id, :@period_id]
end