Class: Kaltura::KalturaGenericDistributionProfileAction
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaGenericDistributionProfileAction
- Defined in:
- lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb
Instance Attribute Summary collapse
-
#ftp_passive_mode ⇒ Object
Returns the value of attribute ftp_passive_mode.
-
#http_field_name ⇒ Object
Returns the value of attribute http_field_name.
-
#http_file_name ⇒ Object
Returns the value of attribute http_file_name.
-
#password ⇒ Object
Returns the value of attribute password.
-
#protocol ⇒ Object
Returns the value of attribute protocol.
-
#server_path ⇒ Object
Returns the value of attribute server_path.
-
#server_url ⇒ Object
Returns the value of attribute server_url.
-
#username ⇒ Object
Returns the value of attribute username.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#ftp_passive_mode ⇒ Object
Returns the value of attribute ftp_passive_mode.
823 824 825 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 823 def ftp_passive_mode @ftp_passive_mode end |
#http_field_name ⇒ Object
Returns the value of attribute http_field_name.
824 825 826 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 824 def http_field_name @http_field_name end |
#http_file_name ⇒ Object
Returns the value of attribute http_file_name.
825 826 827 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 825 def http_file_name @http_file_name end |
#password ⇒ Object
Returns the value of attribute password.
822 823 824 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 822 def password @password end |
#protocol ⇒ Object
Returns the value of attribute protocol.
818 819 820 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 818 def protocol @protocol end |
#server_path ⇒ Object
Returns the value of attribute server_path.
820 821 822 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 820 def server_path @server_path end |
#server_url ⇒ Object
Returns the value of attribute server_url.
819 820 821 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 819 def server_url @server_url end |
#username ⇒ Object
Returns the value of attribute username.
821 822 823 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 821 def username @username end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 834 def from_xml(xml_element) super if xml_element.elements['protocol'] != nil self.protocol = xml_element.elements['protocol'].text end if xml_element.elements['serverUrl'] != nil self.server_url = xml_element.elements['serverUrl'].text end if xml_element.elements['serverPath'] != nil self.server_path = xml_element.elements['serverPath'].text end if xml_element.elements['username'] != nil self.username = xml_element.elements['username'].text end if xml_element.elements['password'] != nil self.password = xml_element.elements['password'].text end if xml_element.elements['ftpPassiveMode'] != nil self.ftp_passive_mode = xml_element.elements['ftpPassiveMode'].text end if xml_element.elements['httpFieldName'] != nil self.http_field_name = xml_element.elements['httpFieldName'].text end if xml_element.elements['httpFileName'] != nil self.http_file_name = xml_element.elements['httpFileName'].text end end |