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



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

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



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

def create_file_link
  @create_file_link
end

#created_atObject

Returns the value of attribute created_at.



9169
9170
9171
# File 'lib/kaltura_types.rb', line 9169

def created_at
  @created_at
end

#delivery_priorityObject

Delivery Priority



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

def delivery_priority
  @delivery_priority
end

#delivery_profile_idsObject

Delivery profile ids



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

def delivery_profile_ids
  @delivery_profile_ids
end

#delivery_statusObject

Returns the value of attribute delivery_status.



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

def delivery_status
  @delivery_status
end

#desciptionObject

Returns the value of attribute desciption.



9174
9175
9176
# File 'lib/kaltura_types.rb', line 9174

def desciption
  @desciption
end

#flavor_params_idsObject

Returns the value of attribute flavor_params_ids.



9184
9185
9186
# File 'lib/kaltura_types.rb', line 9184

def flavor_params_ids
  @flavor_params_ids
end

#idObject

Returns the value of attribute id.



9168
9169
9170
# File 'lib/kaltura_types.rb', line 9168

def id
  @id
end

#max_concurrent_connectionsObject

Returns the value of attribute max_concurrent_connections.



9185
9186
9187
# File 'lib/kaltura_types.rb', line 9185

def max_concurrent_connections
  @max_concurrent_connections
end

#max_file_sizeObject

Returns the value of attribute max_file_size.



9183
9184
9185
# File 'lib/kaltura_types.rb', line 9183

def max_file_size
  @max_file_size
end

#min_file_sizeObject

Returns the value of attribute min_file_size.



9182
9183
9184
# File 'lib/kaltura_types.rb', line 9182

def min_file_size
  @min_file_size
end

#nameObject

Returns the value of attribute name.



9172
9173
9174
# File 'lib/kaltura_types.rb', line 9172

def name
  @name
end

#partner_idObject

Returns the value of attribute partner_id.



9171
9172
9173
# File 'lib/kaltura_types.rb', line 9171

def partner_id
  @partner_id
end

#pass_phraseObject

Returns the value of attribute pass_phrase.



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

def pass_phrase
  @pass_phrase
end

#path_manager_classObject

Returns the value of attribute path_manager_class.



9186
9187
9188
# File 'lib/kaltura_types.rb', line 9186

def path_manager_class
  @path_manager_class
end

#path_manager_paramsObject

Returns the value of attribute path_manager_params.



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

def path_manager_params
  @path_manager_params
end

#private_keyObject

Returns the value of attribute private_key.



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

def private_key
  @private_key
end

#protocolObject

Returns the value of attribute protocol.



9176
9177
9178
# File 'lib/kaltura_types.rb', line 9176

def protocol
  @protocol
end

#public_keyObject

Returns the value of attribute public_key.



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

def public_key
  @public_key
end

#ready_behaviorObject

Returns the value of attribute ready_behavior.



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

def ready_behavior
  @ready_behavior
end

#rulesObject

Holds storage profile export rules



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

def rules
  @rules
end

#should_export_thumbsObject

Returns the value of attribute should_export_thumbs.



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

def should_export_thumbs
  @should_export_thumbs
end

#statusObject

Returns the value of attribute status.



9175
9176
9177
# File 'lib/kaltura_types.rb', line 9175

def status
  @status
end

#storage_base_dirObject

Returns the value of attribute storage_base_dir.



9178
9179
9180
# File 'lib/kaltura_types.rb', line 9178

def storage_base_dir
  @storage_base_dir
end

#storage_ftp_passive_modeObject

Returns the value of attribute storage_ftp_passive_mode.



9181
9182
9183
# File 'lib/kaltura_types.rb', line 9181

def storage_ftp_passive_mode
  @storage_ftp_passive_mode
end

#storage_passwordObject

Returns the value of attribute storage_password.



9180
9181
9182
# File 'lib/kaltura_types.rb', line 9180

def storage_password
  @storage_password
end

#storage_urlObject

Returns the value of attribute storage_url.



9177
9178
9179
# File 'lib/kaltura_types.rb', line 9177

def storage_url
  @storage_url
end

#storage_usernameObject

Returns the value of attribute storage_username.



9179
9180
9181
# File 'lib/kaltura_types.rb', line 9179

def storage_username
  @storage_username
end

#system_nameObject

Returns the value of attribute system_name.



9173
9174
9175
# File 'lib/kaltura_types.rb', line 9173

def system_name
  @system_name
end

#triggerObject

No need to create enum for temp field



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

def trigger
  @trigger
end

#updated_atObject

Returns the value of attribute updated_at.



9170
9171
9172
# File 'lib/kaltura_types.rb', line 9170

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
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
# File 'lib/kaltura_types.rb', line 9256

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