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.



3526
3527
3528
# File 'lib/kaltura_types.rb', line 3526

def audio_bitrate
  @audio_bitrate
end

#dest_file_sync_local_pathObject

Returns the value of attribute dest_file_sync_local_path.



3527
3528
3529
# File 'lib/kaltura_types.rb', line 3527

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.



3528
3529
3530
# File 'lib/kaltura_types.rb', line 3528

def dest_file_sync_remote_url
  @dest_file_sync_remote_url
end

#flavor_asset_idObject

Returns the value of attribute flavor_asset_id.



3522
3523
3524
# File 'lib/kaltura_types.rb', line 3522

def flavor_asset_id
  @flavor_asset_id
end

#flavor_params_output_idObject

Returns the value of attribute flavor_params_output_id.



3523
3524
3525
# File 'lib/kaltura_types.rb', line 3523

def flavor_params_output_id
  @flavor_params_output_id
end

#ready_behaviorObject

Returns the value of attribute ready_behavior.



3524
3525
3526
# File 'lib/kaltura_types.rb', line 3524

def ready_behavior
  @ready_behavior
end

#video_bitrateObject

Returns the value of attribute video_bitrate.



3525
3526
3527
# File 'lib/kaltura_types.rb', line 3525

def video_bitrate
  @video_bitrate
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
# File 'lib/kaltura_types.rb', line 3543

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