class Kaltura::KalturaGenericDistributionProfileAction
Attributes
ftp_passive_mode[RW]
http_field_name[RW]
http_file_name[RW]
password[RW]
protocol[RW]
server_path[RW]
server_url[RW]
username[RW]
Public Instance Methods
from_xml(xml_element)
click to toggle source
Calls superclass method
Kaltura::KalturaObjectBase#from_xml
# File lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb, line 835 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
ftp_passive_mode=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb, line 831 def ftp_passive_mode=(val) @ftp_passive_mode = to_b(val) end
protocol=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb, line 828 def protocol=(val) @protocol = val.to_i end