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.



3468
3469
3470
# File 'lib/kaltura_types.rb', line 3468

def audio_bitrate
  @audio_bitrate
end

#dest_file_sync_local_pathObject

Returns the value of attribute dest_file_sync_local_path.



3469
3470
3471
# File 'lib/kaltura_types.rb', line 3469

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.



3470
3471
3472
# File 'lib/kaltura_types.rb', line 3470

def dest_file_sync_remote_url
  @dest_file_sync_remote_url
end

#flavor_asset_idObject

Returns the value of attribute flavor_asset_id.



3464
3465
3466
# File 'lib/kaltura_types.rb', line 3464

def flavor_asset_id
  @flavor_asset_id
end

#flavor_params_output_idObject

Returns the value of attribute flavor_params_output_id.



3465
3466
3467
# File 'lib/kaltura_types.rb', line 3465

def flavor_params_output_id
  @flavor_params_output_id
end

#ready_behaviorObject

Returns the value of attribute ready_behavior.



3466
3467
3468
# File 'lib/kaltura_types.rb', line 3466

def ready_behavior
  @ready_behavior
end

#video_bitrateObject

Returns the value of attribute video_bitrate.



3467
3468
3469
# File 'lib/kaltura_types.rb', line 3467

def video_bitrate
  @video_bitrate
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
# File 'lib/kaltura_types.rb', line 3485

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