Class: Kaltura::KalturaFreewheelDistributionProfile
- Inherits:
-
KalturaDistributionProfile
- Object
- KalturaObjectBase
- KalturaDistributionProfile
- Kaltura::KalturaFreewheelDistributionProfile
- Defined in:
- lib/kaltura_plugins/kaltura_freewheel_distribution_client_plugin.rb
Instance Attribute Summary collapse
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#apikey ⇒ Object
Returns the value of attribute apikey.
-
#email ⇒ Object
Returns the value of attribute email.
-
#metadata_profile_id ⇒ Object
Returns the value of attribute metadata_profile_id.
-
#sftp_login ⇒ Object
Returns the value of attribute sftp_login.
-
#sftp_pass ⇒ Object
Returns the value of attribute sftp_pass.
Attributes inherited from KalturaDistributionProfile
#auto_create_flavors, #auto_create_thumb, #created_at, #delete_enabled, #distribute_trigger, #id, #name, #optional_asset_distribution_rules, #optional_flavor_params_ids, #optional_thumb_dimensions, #partner_id, #provider_type, #recommended_dc_for_download, #recommended_dc_for_execute, #recommended_storage_profile_for_download, #report_enabled, #required_asset_distribution_rules, #required_flavor_params_ids, #required_thumb_dimensions, #status, #submit_enabled, #sunrise_default_offset, #sunset_default_offset, #update_enabled, #updated_at
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#account_id ⇒ Object
Returns the value of attribute account_id.
80 81 82 |
# File 'lib/kaltura_plugins/kaltura_freewheel_distribution_client_plugin.rb', line 80 def account_id @account_id end |
#apikey ⇒ Object
Returns the value of attribute apikey.
76 77 78 |
# File 'lib/kaltura_plugins/kaltura_freewheel_distribution_client_plugin.rb', line 76 def apikey @apikey end |
#email ⇒ Object
Returns the value of attribute email.
77 78 79 |
# File 'lib/kaltura_plugins/kaltura_freewheel_distribution_client_plugin.rb', line 77 def email @email end |
#metadata_profile_id ⇒ Object
Returns the value of attribute metadata_profile_id.
81 82 83 |
# File 'lib/kaltura_plugins/kaltura_freewheel_distribution_client_plugin.rb', line 81 def @metadata_profile_id end |
#sftp_login ⇒ Object
Returns the value of attribute sftp_login.
79 80 81 |
# File 'lib/kaltura_plugins/kaltura_freewheel_distribution_client_plugin.rb', line 79 def sftp_login @sftp_login end |
#sftp_pass ⇒ Object
Returns the value of attribute sftp_pass.
78 79 80 |
# File 'lib/kaltura_plugins/kaltura_freewheel_distribution_client_plugin.rb', line 78 def sftp_pass @sftp_pass end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
# File 'lib/kaltura_plugins/kaltura_freewheel_distribution_client_plugin.rb', line 87 def from_xml(xml_element) super if xml_element.elements['apikey'] != nil self.apikey = xml_element.elements['apikey'].text end if xml_element.elements['email'] != nil self.email = xml_element.elements['email'].text end if xml_element.elements['sftpPass'] != nil self.sftp_pass = xml_element.elements['sftpPass'].text end if xml_element.elements['sftpLogin'] != nil self.sftp_login = xml_element.elements['sftpLogin'].text end if xml_element.elements['accountId'] != nil self.account_id = xml_element.elements['accountId'].text end if xml_element.elements['metadataProfileId'] != nil self. = xml_element.elements['metadataProfileId'].text end end |