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.



3626
3627
3628
# File 'lib/kaltura_types.rb', line 3626

def audio_bitrate
  @audio_bitrate
end

#dest_file_sync_local_pathObject

Returns the value of attribute dest_file_sync_local_path.



3627
3628
3629
# File 'lib/kaltura_types.rb', line 3627

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.



3628
3629
3630
# File 'lib/kaltura_types.rb', line 3628

def dest_file_sync_remote_url
  @dest_file_sync_remote_url
end

#flavor_asset_idObject

Returns the value of attribute flavor_asset_id.



3622
3623
3624
# File 'lib/kaltura_types.rb', line 3622

def flavor_asset_id
  @flavor_asset_id
end

#flavor_params_output_idObject

Returns the value of attribute flavor_params_output_id.



3623
3624
3625
# File 'lib/kaltura_types.rb', line 3623

def flavor_params_output_id
  @flavor_params_output_id
end

#ready_behaviorObject

Returns the value of attribute ready_behavior.



3624
3625
3626
# File 'lib/kaltura_types.rb', line 3624

def ready_behavior
  @ready_behavior
end

#video_bitrateObject

Returns the value of attribute video_bitrate.



3625
3626
3627
# File 'lib/kaltura_types.rb', line 3625

def video_bitrate
  @video_bitrate
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
# File 'lib/kaltura_types.rb', line 3643

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