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.



3448
3449
3450
# File 'lib/kaltura_types.rb', line 3448

def audio_bitrate
  @audio_bitrate
end

#dest_file_sync_local_pathObject

Returns the value of attribute dest_file_sync_local_path.



3449
3450
3451
# File 'lib/kaltura_types.rb', line 3449

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.



3450
3451
3452
# File 'lib/kaltura_types.rb', line 3450

def dest_file_sync_remote_url
  @dest_file_sync_remote_url
end

#flavor_asset_idObject

Returns the value of attribute flavor_asset_id.



3444
3445
3446
# File 'lib/kaltura_types.rb', line 3444

def flavor_asset_id
  @flavor_asset_id
end

#flavor_params_output_idObject

Returns the value of attribute flavor_params_output_id.



3445
3446
3447
# File 'lib/kaltura_types.rb', line 3445

def flavor_params_output_id
  @flavor_params_output_id
end

#ready_behaviorObject

Returns the value of attribute ready_behavior.



3446
3447
3448
# File 'lib/kaltura_types.rb', line 3446

def ready_behavior
  @ready_behavior
end

#video_bitrateObject

Returns the value of attribute video_bitrate.



3447
3448
3449
# File 'lib/kaltura_types.rb', line 3447

def video_bitrate
  @video_bitrate
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
# File 'lib/kaltura_types.rb', line 3465

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