Class: Kaltura::KalturaDropFolder

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#auto_file_delete_daysObject

Returns the value of attribute auto_file_delete_days.



231
232
233
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 231

def auto_file_delete_days
  @auto_file_delete_days
end

#categories_metadata_field_nameObject

Returns the value of attribute categories_metadata_field_name.



245
246
247
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 245

def 
  @categories_metadata_field_name
end

#conversion_profile_idObject

Returns the value of attribute conversion_profile_id.



224
225
226
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 224

def conversion_profile_id
  @conversion_profile_id
end

#created_atObject

Returns the value of attribute created_at.



239
240
241
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 239

def created_at
  @created_at
end

#dcObject

Returns the value of attribute dc.



225
226
227
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 225

def dc
  @dc
end

#descriptionObject

Returns the value of attribute description.



221
222
223
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 221

def description
  @description
end

#enforce_entitlementObject

Returns the value of attribute enforce_entitlement.



246
247
248
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 246

def enforce_entitlement
  @enforce_entitlement
end

#error_codeObject

Returns the value of attribute error_code.



236
237
238
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 236

def error_code
  @error_code
end

#error_descriptionObject

Returns the value of attribute error_description.



237
238
239
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 237

def error_description
  @error_description
end

#file_delete_policyObject

Returns the value of attribute file_delete_policy.



229
230
231
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 229

def file_delete_policy
  @file_delete_policy
end

#file_delete_regexObject

Returns the value of attribute file_delete_regex.



230
231
232
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 230

def file_delete_regex
  @file_delete_regex
end

#file_handler_configObject

Returns the value of attribute file_handler_config.



234
235
236
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 234

def file_handler_config
  @file_handler_config
end

#file_handler_typeObject

Returns the value of attribute file_handler_type.



232
233
234
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 232

def file_handler_type
  @file_handler_type
end

#file_name_patternsObject

Returns the value of attribute file_name_patterns.



233
234
235
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 233

def file_name_patterns
  @file_name_patterns
end

#file_size_check_intervalObject

The amount of time, in seconds, that should pass so that a file with no change in size will be treated as “finished uploading to folder”



228
229
230
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 228

def file_size_check_interval
  @file_size_check_interval
end

#idObject

Returns the value of attribute id.



218
219
220
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 218

def id
  @id
end

#ignore_file_name_patternsObject

Returns the value of attribute ignore_file_name_patterns.



238
239
240
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 238

def ignore_file_name_patterns
  @ignore_file_name_patterns
end

#incrementalObject

Returns the value of attribute incremental.



242
243
244
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 242

def incremental
  @incremental
end

#last_accessed_atObject

Returns the value of attribute last_accessed_at.



241
242
243
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 241

def last_accessed_at
  @last_accessed_at
end

#last_file_timestampObject

Returns the value of attribute last_file_timestamp.



243
244
245
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 243

def last_file_timestamp
  @last_file_timestamp
end

#metadata_profile_idObject

Returns the value of attribute metadata_profile_id.



244
245
246
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 244

def 
  @metadata_profile_id
end

#nameObject

Returns the value of attribute name.



220
221
222
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 220

def name
  @name
end

#partner_idObject

Returns the value of attribute partner_id.



219
220
221
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 219

def partner_id
  @partner_id
end

#pathObject

Returns the value of attribute path.



226
227
228
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 226

def path
  @path
end

#should_validate_ksObject

Returns the value of attribute should_validate_ks.



247
248
249
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 247

def should_validate_ks
  @should_validate_ks
end

#statusObject

Returns the value of attribute status.



223
224
225
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 223

def status
  @status
end

#tagsObject

Returns the value of attribute tags.



235
236
237
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 235

def tags
  @tags
end

#typeObject

Returns the value of attribute type.



222
223
224
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 222

def type
  @type
end

#updated_atObject

Returns the value of attribute updated_at.



240
241
242
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 240

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
# File 'lib/kaltura_plugins/kaltura_drop_folder_client_plugin.rb', line 298

def from_xml(xml_element)
	super
	if xml_element.elements['id'] != nil
		self.id = xml_element.elements['id'].text
	end
	if xml_element.elements['partnerId'] != nil
		self.partner_id = xml_element.elements['partnerId'].text
	end
	if xml_element.elements['name'] != nil
		self.name = xml_element.elements['name'].text
	end
	if xml_element.elements['description'] != nil
		self.description = xml_element.elements['description'].text
	end
	if xml_element.elements['type'] != nil
		self.type = xml_element.elements['type'].text
	end
	if xml_element.elements['status'] != nil
		self.status = xml_element.elements['status'].text
	end
	if xml_element.elements['conversionProfileId'] != nil
		self.conversion_profile_id = xml_element.elements['conversionProfileId'].text
	end
	if xml_element.elements['dc'] != nil
		self.dc = xml_element.elements['dc'].text
	end
	if xml_element.elements['path'] != nil
		self.path = xml_element.elements['path'].text
	end
	if xml_element.elements['fileSizeCheckInterval'] != nil
		self.file_size_check_interval = xml_element.elements['fileSizeCheckInterval'].text
	end
	if xml_element.elements['fileDeletePolicy'] != nil
		self.file_delete_policy = xml_element.elements['fileDeletePolicy'].text
	end
	if xml_element.elements['fileDeleteRegex'] != nil
		self.file_delete_regex = xml_element.elements['fileDeleteRegex'].text
	end
	if xml_element.elements['autoFileDeleteDays'] != nil
		self.auto_file_delete_days = xml_element.elements['autoFileDeleteDays'].text
	end
	if xml_element.elements['fileHandlerType'] != nil
		self.file_handler_type = xml_element.elements['fileHandlerType'].text
	end
	if xml_element.elements['fileNamePatterns'] != nil
		self.file_name_patterns = xml_element.elements['fileNamePatterns'].text
	end
	if xml_element.elements['fileHandlerConfig'] != nil
		self.file_handler_config = KalturaClientBase.object_from_xml(xml_element.elements['fileHandlerConfig'], 'KalturaDropFolderFileHandlerConfig')
	end
	if xml_element.elements['tags'] != nil
		self.tags = xml_element.elements['tags'].text
	end
	if xml_element.elements['errorCode'] != nil
		self.error_code = xml_element.elements['errorCode'].text
	end
	if xml_element.elements['errorDescription'] != nil
		self.error_description = xml_element.elements['errorDescription'].text
	end
	if xml_element.elements['ignoreFileNamePatterns'] != nil
		self.ignore_file_name_patterns = xml_element.elements['ignoreFileNamePatterns'].text
	end
	if xml_element.elements['createdAt'] != nil
		self.created_at = xml_element.elements['createdAt'].text
	end
	if xml_element.elements['updatedAt'] != nil
		self.updated_at = xml_element.elements['updatedAt'].text
	end
	if xml_element.elements['lastAccessedAt'] != nil
		self.last_accessed_at = xml_element.elements['lastAccessedAt'].text
	end
	if xml_element.elements['incremental'] != nil
		self.incremental = xml_element.elements['incremental'].text
	end
	if xml_element.elements['lastFileTimestamp'] != nil
		self.last_file_timestamp = xml_element.elements['lastFileTimestamp'].text
	end
	if xml_element.elements['metadataProfileId'] != nil
		self. = xml_element.elements['metadataProfileId'].text
	end
	if xml_element.elements['categoriesMetadataFieldName'] != nil
		self. = xml_element.elements['categoriesMetadataFieldName'].text
	end
	if xml_element.elements['enforceEntitlement'] != nil
		self.enforce_entitlement = xml_element.elements['enforceEntitlement'].text
	end
	if xml_element.elements['shouldValidateKS'] != nil
		self.should_validate_ks = xml_element.elements['shouldValidateKS'].text
	end
end