Class: Kaltura::KalturaConvertCollectionFlavorData

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#audio_bitrateObject

Returns the value of attribute audio_bitrate.



3687
3688
3689
# File 'lib/kaltura_types.rb', line 3687

def audio_bitrate
  @audio_bitrate
end

#dest_file_sync_local_pathObject

Returns the value of attribute dest_file_sync_local_path.



3688
3689
3690
# File 'lib/kaltura_types.rb', line 3688

def dest_file_sync_local_path
  @dest_file_sync_local_path
end

#dest_file_sync_remote_urlObject

Returns the value of attribute dest_file_sync_remote_url.



3689
3690
3691
# File 'lib/kaltura_types.rb', line 3689

def dest_file_sync_remote_url
  @dest_file_sync_remote_url
end

#flavor_asset_idObject

Returns the value of attribute flavor_asset_id.



3683
3684
3685
# File 'lib/kaltura_types.rb', line 3683

def flavor_asset_id
  @flavor_asset_id
end

#flavor_params_output_idObject

Returns the value of attribute flavor_params_output_id.



3684
3685
3686
# File 'lib/kaltura_types.rb', line 3684

def flavor_params_output_id
  @flavor_params_output_id
end

#ready_behaviorObject

Returns the value of attribute ready_behavior.



3685
3686
3687
# File 'lib/kaltura_types.rb', line 3685

def ready_behavior
  @ready_behavior
end

#video_bitrateObject

Returns the value of attribute video_bitrate.



3686
3687
3688
# File 'lib/kaltura_types.rb', line 3686

def video_bitrate
  @video_bitrate
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
# File 'lib/kaltura_types.rb', line 3704

def from_xml(xml_element)
  super
  if xml_element.elements['flavorAssetId'] != nil
    self.flavor_asset_id = xml_element.elements['flavorAssetId'].text
  end
  if xml_element.elements['flavorParamsOutputId'] != nil
    self.flavor_params_output_id = xml_element.elements['flavorParamsOutputId'].text
  end
  if xml_element.elements['readyBehavior'] != nil
    self.ready_behavior = xml_element.elements['readyBehavior'].text
  end
  if xml_element.elements['videoBitrate'] != nil
    self.video_bitrate = xml_element.elements['videoBitrate'].text
  end
  if xml_element.elements['audioBitrate'] != nil
    self.audio_bitrate = xml_element.elements['audioBitrate'].text
  end
  if xml_element.elements['destFileSyncLocalPath'] != nil
    self.dest_file_sync_local_path = xml_element.elements['destFileSyncLocalPath'].text
  end
  if xml_element.elements['destFileSyncRemoteUrl'] != nil
    self.dest_file_sync_remote_url = xml_element.elements['destFileSyncRemoteUrl'].text
  end
end