Class: Bitmovin::Encoding::Manifests::VideoAdaptationSet
- Includes:
- ChildCollection
- Defined in:
- lib/bitmovin/encoding/manifests/video_adaptation_set.rb
Instance Attribute Summary collapse
-
#manifest_id ⇒ Object
Returns the value of attribute manifest_id.
-
#period_id ⇒ Object
Returns the value of attribute period_id.
-
#roles ⇒ Object
Returns the value of attribute roles.
Attributes inherited from Resource
#created_at, #description, #id, #modified_at, #name
Instance Method Summary collapse
- #ignore_fields ⇒ Object
-
#initialize(manifest_id, period_id, hash = {}) ⇒ VideoAdaptationSet
constructor
A new instance of VideoAdaptationSet.
Methods included from ChildCollection
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 = {}) ⇒ VideoAdaptationSet
Returns a new instance of VideoAdaptationSet.
4 5 6 7 8 9 |
# File 'lib/bitmovin/encoding/manifests/video_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/video")) super(hash) @manifest_id = manifest_id @period_id = period_id end |
Instance Attribute Details
#manifest_id ⇒ Object
Returns the value of attribute manifest_id.
13 14 15 |
# File 'lib/bitmovin/encoding/manifests/video_adaptation_set.rb', line 13 def manifest_id @manifest_id end |
#period_id ⇒ Object
Returns the value of attribute period_id.
14 15 16 |
# File 'lib/bitmovin/encoding/manifests/video_adaptation_set.rb', line 14 def period_id @period_id end |
#roles ⇒ Object
Returns the value of attribute roles.
15 16 17 |
# File 'lib/bitmovin/encoding/manifests/video_adaptation_set.rb', line 15 def roles @roles end |
Instance Method Details
#ignore_fields ⇒ Object
17 18 19 |
# File 'lib/bitmovin/encoding/manifests/video_adaptation_set.rb', line 17 def ignore_fields [:@manifest_id, :@period_id] end |