Class: Kaltura::KalturaFtpDistributionProfile

Inherits:
KalturaConfigurableDistributionProfile show all
Defined in:
lib/kaltura_plugins/kaltura_ftp_distribution_client_plugin.rb

Instance Attribute Summary collapse

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

#camelcase, #to_b, #to_params

Instance Attribute Details

#aspera_private_keyObject

Returns the value of attribute aspera_private_key.



118
119
120
# File 'lib/kaltura_plugins/kaltura_ftp_distribution_client_plugin.rb', line 118

def aspera_private_key
  @aspera_private_key
end

#aspera_public_keyObject

Returns the value of attribute aspera_public_key.



117
118
119
# File 'lib/kaltura_plugins/kaltura_ftp_distribution_client_plugin.rb', line 117

def aspera_public_key
  @aspera_public_key
end

#asset_filename_xsltObject

Returns the value of attribute asset_filename_xslt.



116
117
118
# File 'lib/kaltura_plugins/kaltura_ftp_distribution_client_plugin.rb', line 116

def asset_filename_xslt
  @asset_filename_xslt
end

#base_pathObject

Returns the value of attribute base_path.



105
106
107
# File 'lib/kaltura_plugins/kaltura_ftp_distribution_client_plugin.rb', line 105

def base_path
  @base_path
end

#disable_metadataObject

Returns the value of attribute disable_metadata.



111
112
113
# File 'lib/kaltura_plugins/kaltura_ftp_distribution_client_plugin.rb', line 111

def 
  @disable_metadata
end

#flavor_asset_filename_xsltObject

Returns the value of attribute flavor_asset_filename_xslt.



114
115
116
# File 'lib/kaltura_plugins/kaltura_ftp_distribution_client_plugin.rb', line 114

def flavor_asset_filename_xslt
  @flavor_asset_filename_xslt
end

#hostObject

Returns the value of attribute host.



103
104
105
# File 'lib/kaltura_plugins/kaltura_ftp_distribution_client_plugin.rb', line 103

def host
  @host
end

#metadata_filename_xsltObject

Returns the value of attribute metadata_filename_xslt.



113
114
115
# File 'lib/kaltura_plugins/kaltura_ftp_distribution_client_plugin.rb', line 113

def 
  @metadata_filename_xslt
end

#metadata_xsltObject

Returns the value of attribute metadata_xslt.



112
113
114
# File 'lib/kaltura_plugins/kaltura_ftp_distribution_client_plugin.rb', line 112

def 
  @metadata_xslt
end

#passphraseObject

Returns the value of attribute passphrase.



108
109
110
# File 'lib/kaltura_plugins/kaltura_ftp_distribution_client_plugin.rb', line 108

def passphrase
  @passphrase
end

#passwordObject

Returns the value of attribute password.



107
108
109
# File 'lib/kaltura_plugins/kaltura_ftp_distribution_client_plugin.rb', line 107

def password
  @password
end

#portObject

Returns the value of attribute port.



104
105
106
# File 'lib/kaltura_plugins/kaltura_ftp_distribution_client_plugin.rb', line 104

def port
  @port
end

#protocolObject

Returns the value of attribute protocol.



102
103
104
# File 'lib/kaltura_plugins/kaltura_ftp_distribution_client_plugin.rb', line 102

def protocol
  @protocol
end

#send_metadata_after_assetsObject

Returns the value of attribute send_metadata_after_assets.



119
120
121
# File 'lib/kaltura_plugins/kaltura_ftp_distribution_client_plugin.rb', line 119

def 
  @send_metadata_after_assets
end

#sftp_private_keyObject

Returns the value of attribute sftp_private_key.



110
111
112
# File 'lib/kaltura_plugins/kaltura_ftp_distribution_client_plugin.rb', line 110

def sftp_private_key
  @sftp_private_key
end

#sftp_public_keyObject

Returns the value of attribute sftp_public_key.



109
110
111
# File 'lib/kaltura_plugins/kaltura_ftp_distribution_client_plugin.rb', line 109

def sftp_public_key
  @sftp_public_key
end

#thumbnail_asset_filename_xsltObject

Returns the value of attribute thumbnail_asset_filename_xslt.



115
116
117
# File 'lib/kaltura_plugins/kaltura_ftp_distribution_client_plugin.rb', line 115

def thumbnail_asset_filename_xslt
  @thumbnail_asset_filename_xslt
end

#usernameObject

Returns the value of attribute username.



106
107
108
# File 'lib/kaltura_plugins/kaltura_ftp_distribution_client_plugin.rb', line 106

def username
  @username
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
# File 'lib/kaltura_plugins/kaltura_ftp_distribution_client_plugin.rb', line 134

def from_xml(xml_element)
	super
	if xml_element.elements['protocol'] != nil
		self.protocol = xml_element.elements['protocol'].text
	end
	if xml_element.elements['host'] != nil
		self.host = xml_element.elements['host'].text
	end
	if xml_element.elements['port'] != nil
		self.port = xml_element.elements['port'].text
	end
	if xml_element.elements['basePath'] != nil
		self.base_path = xml_element.elements['basePath'].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['passphrase'] != nil
		self.passphrase = xml_element.elements['passphrase'].text
	end
	if xml_element.elements['sftpPublicKey'] != nil
		self.sftp_public_key = xml_element.elements['sftpPublicKey'].text
	end
	if xml_element.elements['sftpPrivateKey'] != nil
		self.sftp_private_key = xml_element.elements['sftpPrivateKey'].text
	end
	if xml_element.elements['disableMetadata'] != nil
		self. = xml_element.elements['disableMetadata'].text
	end
	if xml_element.elements['metadataXslt'] != nil
		self. = xml_element.elements['metadataXslt'].text
	end
	if xml_element.elements['metadataFilenameXslt'] != nil
		self. = xml_element.elements['metadataFilenameXslt'].text
	end
	if xml_element.elements['flavorAssetFilenameXslt'] != nil
		self.flavor_asset_filename_xslt = xml_element.elements['flavorAssetFilenameXslt'].text
	end
	if xml_element.elements['thumbnailAssetFilenameXslt'] != nil
		self.thumbnail_asset_filename_xslt = xml_element.elements['thumbnailAssetFilenameXslt'].text
	end
	if xml_element.elements['assetFilenameXslt'] != nil
		self.asset_filename_xslt = xml_element.elements['assetFilenameXslt'].text
	end
	if xml_element.elements['asperaPublicKey'] != nil
		self.aspera_public_key = xml_element.elements['asperaPublicKey'].text
	end
	if xml_element.elements['asperaPrivateKey'] != nil
		self.aspera_private_key = xml_element.elements['asperaPrivateKey'].text
	end
	if xml_element.elements['sendMetadataAfterAssets'] != nil
		self. = xml_element.elements['sendMetadataAfterAssets'].text
	end
end