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



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

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



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

def create_file_link
  @create_file_link
end

#created_atObject

Returns the value of attribute created_at.



9189
9190
9191
# File 'lib/kaltura_types.rb', line 9189

def created_at
  @created_at
end

#delivery_priorityObject

Delivery Priority



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

def delivery_priority
  @delivery_priority
end

#delivery_profile_idsObject

Delivery profile ids



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

def delivery_profile_ids
  @delivery_profile_ids
end

#delivery_statusObject

Returns the value of attribute delivery_status.



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

def delivery_status
  @delivery_status
end

#desciptionObject

Returns the value of attribute desciption.



9194
9195
9196
# File 'lib/kaltura_types.rb', line 9194

def desciption
  @desciption
end

#flavor_params_idsObject

Returns the value of attribute flavor_params_ids.



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

def flavor_params_ids
  @flavor_params_ids
end

#idObject

Returns the value of attribute id.



9188
9189
9190
# File 'lib/kaltura_types.rb', line 9188

def id
  @id
end

#max_concurrent_connectionsObject

Returns the value of attribute max_concurrent_connections.



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

def max_concurrent_connections
  @max_concurrent_connections
end

#max_file_sizeObject

Returns the value of attribute max_file_size.



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

def max_file_size
  @max_file_size
end

#min_file_sizeObject

Returns the value of attribute min_file_size.



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

def min_file_size
  @min_file_size
end

#nameObject

Returns the value of attribute name.



9192
9193
9194
# File 'lib/kaltura_types.rb', line 9192

def name
  @name
end

#partner_idObject

Returns the value of attribute partner_id.



9191
9192
9193
# File 'lib/kaltura_types.rb', line 9191

def partner_id
  @partner_id
end

#pass_phraseObject

Returns the value of attribute pass_phrase.



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

def pass_phrase
  @pass_phrase
end

#path_manager_classObject

Returns the value of attribute path_manager_class.



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

def path_manager_class
  @path_manager_class
end

#path_manager_paramsObject

Returns the value of attribute path_manager_params.



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

def path_manager_params
  @path_manager_params
end

#private_keyObject

Returns the value of attribute private_key.



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

def private_key
  @private_key
end

#protocolObject

Returns the value of attribute protocol.



9196
9197
9198
# File 'lib/kaltura_types.rb', line 9196

def protocol
  @protocol
end

#public_keyObject

Returns the value of attribute public_key.



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

def public_key
  @public_key
end

#ready_behaviorObject

Returns the value of attribute ready_behavior.



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

def ready_behavior
  @ready_behavior
end

#rulesObject

Holds storage profile export rules



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

def rules
  @rules
end

#should_export_thumbsObject

Returns the value of attribute should_export_thumbs.



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

def should_export_thumbs
  @should_export_thumbs
end

#statusObject

Returns the value of attribute status.



9195
9196
9197
# File 'lib/kaltura_types.rb', line 9195

def status
  @status
end

#storage_base_dirObject

Returns the value of attribute storage_base_dir.



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

def storage_base_dir
  @storage_base_dir
end

#storage_ftp_passive_modeObject

Returns the value of attribute storage_ftp_passive_mode.



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

def storage_ftp_passive_mode
  @storage_ftp_passive_mode
end

#storage_passwordObject

Returns the value of attribute storage_password.



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

def storage_password
  @storage_password
end

#storage_urlObject

Returns the value of attribute storage_url.



9197
9198
9199
# File 'lib/kaltura_types.rb', line 9197

def storage_url
  @storage_url
end

#storage_usernameObject

Returns the value of attribute storage_username.



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

def storage_username
  @storage_username
end

#system_nameObject

Returns the value of attribute system_name.



9193
9194
9195
# File 'lib/kaltura_types.rb', line 9193

def system_name
  @system_name
end

#triggerObject

No need to create enum for temp field



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

def trigger
  @trigger
end

#updated_atObject

Returns the value of attribute updated_at.



9190
9191
9192
# File 'lib/kaltura_types.rb', line 9190

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
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
# File 'lib/kaltura_types.rb', line 9276

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