Class: Kaltura::KalturaStorageProfile

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.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

#allow_auto_deleteObject

Flag sugnifying that the storage exported content should be deleted when soure entry is deleted



9226
9227
9228
# File 'lib/kaltura_types.rb', line 9226

def allow_auto_delete
  @allow_auto_delete
end

Indicates to the local file transfer manager to create a link to the file instead of copying it



9228
9229
9230
# File 'lib/kaltura_types.rb', line 9228

def create_file_link
  @create_file_link
end

#created_atObject

Returns the value of attribute created_at.



9200
9201
9202
# File 'lib/kaltura_types.rb', line 9200

def created_at
  @created_at
end

#delivery_priorityObject

Delivery Priority



9222
9223
9224
# File 'lib/kaltura_types.rb', line 9222

def delivery_priority
  @delivery_priority
end

#delivery_profile_idsObject

Delivery profile ids



9232
9233
9234
# File 'lib/kaltura_types.rb', line 9232

def delivery_profile_ids
  @delivery_profile_ids
end

#delivery_statusObject

Returns the value of attribute delivery_status.



9223
9224
9225
# File 'lib/kaltura_types.rb', line 9223

def delivery_status
  @delivery_status
end

#desciptionObject

Returns the value of attribute desciption.



9205
9206
9207
# File 'lib/kaltura_types.rb', line 9205

def desciption
  @desciption
end

#flavor_params_idsObject

Returns the value of attribute flavor_params_ids.



9215
9216
9217
# File 'lib/kaltura_types.rb', line 9215

def flavor_params_ids
  @flavor_params_ids
end

#idObject

Returns the value of attribute id.



9199
9200
9201
# File 'lib/kaltura_types.rb', line 9199

def id
  @id
end

#max_concurrent_connectionsObject

Returns the value of attribute max_concurrent_connections.



9216
9217
9218
# File 'lib/kaltura_types.rb', line 9216

def max_concurrent_connections
  @max_concurrent_connections
end

#max_file_sizeObject

Returns the value of attribute max_file_size.



9214
9215
9216
# File 'lib/kaltura_types.rb', line 9214

def max_file_size
  @max_file_size
end

#min_file_sizeObject

Returns the value of attribute min_file_size.



9213
9214
9215
# File 'lib/kaltura_types.rb', line 9213

def min_file_size
  @min_file_size
end

#nameObject

Returns the value of attribute name.



9203
9204
9205
# File 'lib/kaltura_types.rb', line 9203

def name
  @name
end

#partner_idObject

Returns the value of attribute partner_id.



9202
9203
9204
# File 'lib/kaltura_types.rb', line 9202

def partner_id
  @partner_id
end

#pass_phraseObject

Returns the value of attribute pass_phrase.



9235
9236
9237
# File 'lib/kaltura_types.rb', line 9235

def pass_phrase
  @pass_phrase
end

#path_manager_classObject

Returns the value of attribute path_manager_class.



9217
9218
9219
# File 'lib/kaltura_types.rb', line 9217

def path_manager_class
  @path_manager_class
end

#path_manager_paramsObject

Returns the value of attribute path_manager_params.



9218
9219
9220
# File 'lib/kaltura_types.rb', line 9218

def path_manager_params
  @path_manager_params
end

#private_keyObject

Returns the value of attribute private_key.



9233
9234
9235
# File 'lib/kaltura_types.rb', line 9233

def private_key
  @private_key
end

#protocolObject

Returns the value of attribute protocol.



9207
9208
9209
# File 'lib/kaltura_types.rb', line 9207

def protocol
  @protocol
end

#public_keyObject

Returns the value of attribute public_key.



9234
9235
9236
# File 'lib/kaltura_types.rb', line 9234

def public_key
  @public_key
end

#ready_behaviorObject

Returns the value of attribute ready_behavior.



9224
9225
9226
# File 'lib/kaltura_types.rb', line 9224

def ready_behavior
  @ready_behavior
end

#rulesObject

Holds storage profile export rules



9230
9231
9232
# File 'lib/kaltura_types.rb', line 9230

def rules
  @rules
end

#should_export_thumbsObject

Returns the value of attribute should_export_thumbs.



9236
9237
9238
# File 'lib/kaltura_types.rb', line 9236

def should_export_thumbs
  @should_export_thumbs
end

#statusObject

Returns the value of attribute status.



9206
9207
9208
# File 'lib/kaltura_types.rb', line 9206

def status
  @status
end

#storage_base_dirObject

Returns the value of attribute storage_base_dir.



9209
9210
9211
# File 'lib/kaltura_types.rb', line 9209

def storage_base_dir
  @storage_base_dir
end

#storage_ftp_passive_modeObject

Returns the value of attribute storage_ftp_passive_mode.



9212
9213
9214
# File 'lib/kaltura_types.rb', line 9212

def storage_ftp_passive_mode
  @storage_ftp_passive_mode
end

#storage_passwordObject

Returns the value of attribute storage_password.



9211
9212
9213
# File 'lib/kaltura_types.rb', line 9211

def storage_password
  @storage_password
end

#storage_urlObject

Returns the value of attribute storage_url.



9208
9209
9210
# File 'lib/kaltura_types.rb', line 9208

def storage_url
  @storage_url
end

#storage_usernameObject

Returns the value of attribute storage_username.



9210
9211
9212
# File 'lib/kaltura_types.rb', line 9210

def storage_username
  @storage_username
end

#system_nameObject

Returns the value of attribute system_name.



9204
9205
9206
# File 'lib/kaltura_types.rb', line 9204

def system_name
  @system_name
end

#triggerObject

No need to create enum for temp field



9220
9221
9222
# File 'lib/kaltura_types.rb', line 9220

def trigger
  @trigger
end

#updated_atObject

Returns the value of attribute updated_at.



9201
9202
9203
# File 'lib/kaltura_types.rb', line 9201

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
# File 'lib/kaltura_types.rb', line 9287

def from_xml(xml_element)
	super
	if xml_element.elements['id'] != nil
		self.id = xml_element.elements['id'].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['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['systemName'] != nil
		self.system_name = xml_element.elements['systemName'].text
	end
	if xml_element.elements['desciption'] != nil
		self.desciption = xml_element.elements['desciption'].text
	end
	if xml_element.elements['status'] != nil
		self.status = xml_element.elements['status'].text
	end
	if xml_element.elements['protocol'] != nil
		self.protocol = xml_element.elements['protocol'].text
	end
	if xml_element.elements['storageUrl'] != nil
		self.storage_url = xml_element.elements['storageUrl'].text
	end
	if xml_element.elements['storageBaseDir'] != nil
		self.storage_base_dir = xml_element.elements['storageBaseDir'].text
	end
	if xml_element.elements['storageUsername'] != nil
		self.storage_username = xml_element.elements['storageUsername'].text
	end
	if xml_element.elements['storagePassword'] != nil
		self.storage_password = xml_element.elements['storagePassword'].text
	end
	if xml_element.elements['storageFtpPassiveMode'] != nil
		self.storage_ftp_passive_mode = xml_element.elements['storageFtpPassiveMode'].text
	end
	if xml_element.elements['minFileSize'] != nil
		self.min_file_size = xml_element.elements['minFileSize'].text
	end
	if xml_element.elements['maxFileSize'] != nil
		self.max_file_size = xml_element.elements['maxFileSize'].text
	end
	if xml_element.elements['flavorParamsIds'] != nil
		self.flavor_params_ids = xml_element.elements['flavorParamsIds'].text
	end
	if xml_element.elements['maxConcurrentConnections'] != nil
		self.max_concurrent_connections = xml_element.elements['maxConcurrentConnections'].text
	end
	if xml_element.elements['pathManagerClass'] != nil
		self.path_manager_class = xml_element.elements['pathManagerClass'].text
	end
	if xml_element.elements['pathManagerParams'] != nil
		self.path_manager_params = KalturaClientBase.object_from_xml(xml_element.elements['pathManagerParams'], 'KalturaKeyValue')
	end
	if xml_element.elements['trigger'] != nil
		self.trigger = xml_element.elements['trigger'].text
	end
	if xml_element.elements['deliveryPriority'] != nil
		self.delivery_priority = xml_element.elements['deliveryPriority'].text
	end
	if xml_element.elements['deliveryStatus'] != nil
		self.delivery_status = xml_element.elements['deliveryStatus'].text
	end
	if xml_element.elements['readyBehavior'] != nil
		self.ready_behavior = xml_element.elements['readyBehavior'].text
	end
	if xml_element.elements['allowAutoDelete'] != nil
		self.allow_auto_delete = xml_element.elements['allowAutoDelete'].text
	end
	if xml_element.elements['createFileLink'] != nil
		self.create_file_link = xml_element.elements['createFileLink'].text
	end
	if xml_element.elements['rules'] != nil
		self.rules = KalturaClientBase.object_from_xml(xml_element.elements['rules'], 'KalturaRule')
	end
	if xml_element.elements['deliveryProfileIds'] != nil
		self.delivery_profile_ids = KalturaClientBase.object_from_xml(xml_element.elements['deliveryProfileIds'], 'KalturaKeyValue')
	end
	if xml_element.elements['privateKey'] != nil
		self.private_key = xml_element.elements['privateKey'].text
	end
	if xml_element.elements['publicKey'] != nil
		self.public_key = xml_element.elements['publicKey'].text
	end
	if xml_element.elements['passPhrase'] != nil
		self.pass_phrase = xml_element.elements['passPhrase'].text
	end
	if xml_element.elements['shouldExportThumbs'] != nil
		self.should_export_thumbs = xml_element.elements['shouldExportThumbs'].text
	end
end