Class: Bitmovin::Encoding::Manifests::Fmp4Representation

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

Instance Attribute Summary collapse

Attributes inherited from Resource

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

Instance Method Summary collapse

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, adaptationset_id, hash = {}) ⇒ Fmp4Representation

Returns a new instance of Fmp4Representation.



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

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

Instance Attribute Details

#adaptationset_idObject

Returns the value of attribute adaptationset_id.



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

def adaptationset_id
  @adaptationset_id
end

#encoding_idObject

Returns the value of attribute encoding_id.



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

def encoding_id
  @encoding_id
end

#end_segment_numberObject

Returns the value of attribute end_segment_number.



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

def end_segment_number
  @end_segment_number
end

#manifest_idObject

Returns the value of attribute manifest_id.



11
12
13
# File 'lib/bitmovin/encoding/manifests/fmp4_representation.rb', line 11

def manifest_id
  @manifest_id
end

#muxing_idObject

Returns the value of attribute muxing_id.



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

def muxing_id
  @muxing_id
end

#period_idObject

Returns the value of attribute period_id.



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

def period_id
  @period_id
end

#segment_pathObject

Returns the value of attribute segment_path.



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

def segment_path
  @segment_path
end

#start_segment_numberObject

Returns the value of attribute start_segment_number.



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

def start_segment_number
  @start_segment_number
end

#typeObject

Returns the value of attribute type.



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

def type
  @type
end