Class: Kaltura::KalturaMetroPcsDistributionProfile
- Inherits:
-
KalturaConfigurableDistributionProfile
- Object
- KalturaObjectBase
- KalturaDistributionProfile
- KalturaConfigurableDistributionProfile
- Kaltura::KalturaMetroPcsDistributionProfile
- Defined in:
- lib/kaltura_plugins/kaltura_metro_pcs_distribution_client_plugin.rb
Instance Attribute Summary collapse
-
#copyright ⇒ Object
Returns the value of attribute copyright.
-
#entitlements ⇒ Object
Returns the value of attribute entitlements.
-
#ftp_host ⇒ Object
Returns the value of attribute ftp_host.
-
#ftp_login ⇒ Object
Returns the value of attribute ftp_login.
-
#ftp_pass ⇒ Object
Returns the value of attribute ftp_pass.
-
#ftp_path ⇒ Object
Returns the value of attribute ftp_path.
-
#item_type ⇒ Object
Returns the value of attribute item_type.
-
#provider_id ⇒ Object
Returns the value of attribute provider_id.
-
#provider_name ⇒ Object
Returns the value of attribute provider_name.
-
#rating ⇒ Object
Returns the value of attribute rating.
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, #support_image_entry, #update_enabled, #updated_at
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#copyright ⇒ Object
Returns the value of attribute copyright.
76 77 78 |
# File 'lib/kaltura_plugins/kaltura_metro_pcs_distribution_client_plugin.rb', line 76 def copyright @copyright end |
#entitlements ⇒ Object
Returns the value of attribute entitlements.
77 78 79 |
# File 'lib/kaltura_plugins/kaltura_metro_pcs_distribution_client_plugin.rb', line 77 def entitlements @entitlements end |
#ftp_host ⇒ Object
Returns the value of attribute ftp_host.
70 71 72 |
# File 'lib/kaltura_plugins/kaltura_metro_pcs_distribution_client_plugin.rb', line 70 def ftp_host @ftp_host end |
#ftp_login ⇒ Object
Returns the value of attribute ftp_login.
71 72 73 |
# File 'lib/kaltura_plugins/kaltura_metro_pcs_distribution_client_plugin.rb', line 71 def ftp_login @ftp_login end |
#ftp_pass ⇒ Object
Returns the value of attribute ftp_pass.
72 73 74 |
# File 'lib/kaltura_plugins/kaltura_metro_pcs_distribution_client_plugin.rb', line 72 def ftp_pass @ftp_pass end |
#ftp_path ⇒ Object
Returns the value of attribute ftp_path.
73 74 75 |
# File 'lib/kaltura_plugins/kaltura_metro_pcs_distribution_client_plugin.rb', line 73 def ftp_path @ftp_path end |
#item_type ⇒ Object
Returns the value of attribute item_type.
79 80 81 |
# File 'lib/kaltura_plugins/kaltura_metro_pcs_distribution_client_plugin.rb', line 79 def item_type @item_type end |
#provider_id ⇒ Object
Returns the value of attribute provider_id.
75 76 77 |
# File 'lib/kaltura_plugins/kaltura_metro_pcs_distribution_client_plugin.rb', line 75 def provider_id @provider_id end |
#provider_name ⇒ Object
Returns the value of attribute provider_name.
74 75 76 |
# File 'lib/kaltura_plugins/kaltura_metro_pcs_distribution_client_plugin.rb', line 74 def provider_name @provider_name end |
#rating ⇒ Object
Returns the value of attribute rating.
78 79 80 |
# File 'lib/kaltura_plugins/kaltura_metro_pcs_distribution_client_plugin.rb', line 78 def @rating end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 |
# File 'lib/kaltura_plugins/kaltura_metro_pcs_distribution_client_plugin.rb', line 82 def from_xml(xml_element) super if xml_element.elements['ftpHost'] != nil self.ftp_host = xml_element.elements['ftpHost'].text end if xml_element.elements['ftpLogin'] != nil self.ftp_login = xml_element.elements['ftpLogin'].text end if xml_element.elements['ftpPass'] != nil self.ftp_pass = xml_element.elements['ftpPass'].text end if xml_element.elements['ftpPath'] != nil self.ftp_path = xml_element.elements['ftpPath'].text end if xml_element.elements['providerName'] != nil self.provider_name = xml_element.elements['providerName'].text end if xml_element.elements['providerId'] != nil self.provider_id = xml_element.elements['providerId'].text end if xml_element.elements['copyright'] != nil self.copyright = xml_element.elements['copyright'].text end if xml_element.elements['entitlements'] != nil self.entitlements = xml_element.elements['entitlements'].text end if xml_element.elements['rating'] != nil self. = xml_element.elements['rating'].text end if xml_element.elements['itemType'] != nil self.item_type = xml_element.elements['itemType'].text end end |