Class: Kaltura::KalturaFreewheelDistributionProfile

Inherits:
KalturaDistributionProfile show all
Defined in:
lib/kaltura_plugins/kaltura_freewheel_distribution_client_plugin.rb

Instance Attribute Summary collapse

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

#camelcase, #to_b, #to_params

Instance Attribute Details

#account_idObject

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
end

#apikeyObject

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

#emailObject

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_idObject

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_loginObject

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
end

#sftp_passObject

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. = xml_element.elements['sftpLogin'].text
	end
	if xml_element.elements['accountId'] != nil
		self. = xml_element.elements['accountId'].text
	end
	if xml_element.elements['metadataProfileId'] != nil
		self. = xml_element.elements['metadataProfileId'].text
	end
end