Class: Kaltura::KalturaFreewheelGenericDistributionProfile
- Inherits:
-
KalturaConfigurableDistributionProfile
- Object
- KalturaObjectBase
- KalturaDistributionProfile
- KalturaConfigurableDistributionProfile
- Kaltura::KalturaFreewheelGenericDistributionProfile
- Defined in:
- lib/kaltura_plugins/kaltura_freewheel_generic_distribution_client_plugin.rb
Instance Attribute Summary collapse
-
#apikey ⇒ Object
Returns the value of attribute apikey.
-
#category_id ⇒ Object
Returns the value of attribute category_id.
-
#content_owner ⇒ Object
Returns the value of attribute content_owner.
-
#email ⇒ Object
Returns the value of attribute email.
-
#replace_air_dates ⇒ Object
Returns the value of attribute replace_air_dates.
-
#replace_group ⇒ Object
Returns the value of attribute replace_group.
-
#sftp_login ⇒ Object
Returns the value of attribute sftp_login.
-
#sftp_pass ⇒ Object
Returns the value of attribute sftp_pass.
-
#upstream_network_id ⇒ Object
Returns the value of attribute upstream_network_id.
-
#upstream_network_name ⇒ Object
Returns the value of attribute upstream_network_name.
-
#upstream_video_id ⇒ Object
Returns the value of attribute upstream_video_id.
Attributes inherited from KalturaConfigurableDistributionProfile
#field_config_array, #item_xpaths_to_extend, #use_category_entries
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
#apikey ⇒ Object
Returns the value of attribute apikey.
77 78 79 |
# File 'lib/kaltura_plugins/kaltura_freewheel_generic_distribution_client_plugin.rb', line 77 def apikey @apikey end |
#category_id ⇒ Object
Returns the value of attribute category_id.
85 86 87 |
# File 'lib/kaltura_plugins/kaltura_freewheel_generic_distribution_client_plugin.rb', line 85 def category_id @category_id end |
#content_owner ⇒ Object
Returns the value of attribute content_owner.
81 82 83 |
# File 'lib/kaltura_plugins/kaltura_freewheel_generic_distribution_client_plugin.rb', line 81 def content_owner @content_owner end |
#email ⇒ Object
Returns the value of attribute email.
78 79 80 |
# File 'lib/kaltura_plugins/kaltura_freewheel_generic_distribution_client_plugin.rb', line 78 def email @email end |
#replace_air_dates ⇒ Object
Returns the value of attribute replace_air_dates.
87 88 89 |
# File 'lib/kaltura_plugins/kaltura_freewheel_generic_distribution_client_plugin.rb', line 87 def replace_air_dates @replace_air_dates end |
#replace_group ⇒ Object
Returns the value of attribute replace_group.
86 87 88 |
# File 'lib/kaltura_plugins/kaltura_freewheel_generic_distribution_client_plugin.rb', line 86 def replace_group @replace_group end |
#sftp_login ⇒ Object
Returns the value of attribute sftp_login.
80 81 82 |
# File 'lib/kaltura_plugins/kaltura_freewheel_generic_distribution_client_plugin.rb', line 80 def sftp_login @sftp_login end |
#sftp_pass ⇒ Object
Returns the value of attribute sftp_pass.
79 80 81 |
# File 'lib/kaltura_plugins/kaltura_freewheel_generic_distribution_client_plugin.rb', line 79 def sftp_pass @sftp_pass end |
#upstream_network_id ⇒ Object
Returns the value of attribute upstream_network_id.
84 85 86 |
# File 'lib/kaltura_plugins/kaltura_freewheel_generic_distribution_client_plugin.rb', line 84 def upstream_network_id @upstream_network_id end |
#upstream_network_name ⇒ Object
Returns the value of attribute upstream_network_name.
83 84 85 |
# File 'lib/kaltura_plugins/kaltura_freewheel_generic_distribution_client_plugin.rb', line 83 def upstream_network_name @upstream_network_name end |
#upstream_video_id ⇒ Object
Returns the value of attribute upstream_video_id.
82 83 84 |
# File 'lib/kaltura_plugins/kaltura_freewheel_generic_distribution_client_plugin.rb', line 82 def upstream_video_id @upstream_video_id end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 |
# File 'lib/kaltura_plugins/kaltura_freewheel_generic_distribution_client_plugin.rb', line 96 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['contentOwner'] != nil self.content_owner = xml_element.elements['contentOwner'].text end if xml_element.elements['upstreamVideoId'] != nil self.upstream_video_id = xml_element.elements['upstreamVideoId'].text end if xml_element.elements['upstreamNetworkName'] != nil self.upstream_network_name = xml_element.elements['upstreamNetworkName'].text end if xml_element.elements['upstreamNetworkId'] != nil self.upstream_network_id = xml_element.elements['upstreamNetworkId'].text end if xml_element.elements['categoryId'] != nil self.category_id = xml_element.elements['categoryId'].text end if xml_element.elements['replaceGroup'] != nil self.replace_group = xml_element.elements['replaceGroup'].text end if xml_element.elements['replaceAirDates'] != nil self.replace_air_dates = xml_element.elements['replaceAirDates'].text end end |