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



5929
5930
5931
# File 'lib/kaltura_types.rb', line 5929

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



5932
5933
5934
# File 'lib/kaltura_types.rb', line 5932

def create_file_link
  @create_file_link
end

#created_atObject

Returns the value of attribute created_at.



5900
5901
5902
# File 'lib/kaltura_types.rb', line 5900

def created_at
  @created_at
end

#delivery_priorityObject

Delivery Priority



5924
5925
5926
# File 'lib/kaltura_types.rb', line 5924

def delivery_priority
  @delivery_priority
end

#delivery_profile_idsObject

Delivery profile ids



5938
5939
5940
# File 'lib/kaltura_types.rb', line 5938

def delivery_profile_ids
  @delivery_profile_ids
end

#delivery_statusObject

Returns the value of attribute delivery_status.



5925
5926
5927
# File 'lib/kaltura_types.rb', line 5925

def delivery_status
  @delivery_status
end

#desciptionObject

Returns the value of attribute desciption.



5905
5906
5907
# File 'lib/kaltura_types.rb', line 5905

def desciption
  @desciption
end

#flavor_params_idsObject

Returns the value of attribute flavor_params_ids.



5915
5916
5917
# File 'lib/kaltura_types.rb', line 5915

def flavor_params_ids
  @flavor_params_ids
end

#idObject

Returns the value of attribute id.



5899
5900
5901
# File 'lib/kaltura_types.rb', line 5899

def id
  @id
end

#max_concurrent_connectionsObject

Returns the value of attribute max_concurrent_connections.



5916
5917
5918
# File 'lib/kaltura_types.rb', line 5916

def max_concurrent_connections
  @max_concurrent_connections
end

#max_file_sizeObject

Returns the value of attribute max_file_size.



5914
5915
5916
# File 'lib/kaltura_types.rb', line 5914

def max_file_size
  @max_file_size
end

#min_file_sizeObject

Returns the value of attribute min_file_size.



5913
5914
5915
# File 'lib/kaltura_types.rb', line 5913

def min_file_size
  @min_file_size
end

#nameObject

Returns the value of attribute name.



5903
5904
5905
# File 'lib/kaltura_types.rb', line 5903

def name
  @name
end

#partner_idObject

Returns the value of attribute partner_id.



5902
5903
5904
# File 'lib/kaltura_types.rb', line 5902

def partner_id
  @partner_id
end

#pass_phraseObject

Returns the value of attribute pass_phrase.



5941
5942
5943
# File 'lib/kaltura_types.rb', line 5941

def pass_phrase
  @pass_phrase
end

#path_manager_classObject

Returns the value of attribute path_manager_class.



5917
5918
5919
# File 'lib/kaltura_types.rb', line 5917

def path_manager_class
  @path_manager_class
end

#path_manager_paramsObject

Returns the value of attribute path_manager_params.



5918
5919
5920
# File 'lib/kaltura_types.rb', line 5918

def path_manager_params
  @path_manager_params
end

#private_keyObject

Returns the value of attribute private_key.



5939
5940
5941
# File 'lib/kaltura_types.rb', line 5939

def private_key
  @private_key
end

#protocolObject

Returns the value of attribute protocol.



5907
5908
5909
# File 'lib/kaltura_types.rb', line 5907

def protocol
  @protocol
end

#public_keyObject

Returns the value of attribute public_key.



5940
5941
5942
# File 'lib/kaltura_types.rb', line 5940

def public_key
  @public_key
end

#ready_behaviorObject

Returns the value of attribute ready_behavior.



5926
5927
5928
# File 'lib/kaltura_types.rb', line 5926

def ready_behavior
  @ready_behavior
end

#rulesObject

Holds storage profile export rules



5935
5936
5937
# File 'lib/kaltura_types.rb', line 5935

def rules
  @rules
end

#statusObject

Returns the value of attribute status.



5906
5907
5908
# File 'lib/kaltura_types.rb', line 5906

def status
  @status
end

#storage_base_dirObject

Returns the value of attribute storage_base_dir.



5909
5910
5911
# File 'lib/kaltura_types.rb', line 5909

def storage_base_dir
  @storage_base_dir
end

#storage_ftp_passive_modeObject

Returns the value of attribute storage_ftp_passive_mode.



5912
5913
5914
# File 'lib/kaltura_types.rb', line 5912

def storage_ftp_passive_mode
  @storage_ftp_passive_mode
end

#storage_passwordObject

Returns the value of attribute storage_password.



5911
5912
5913
# File 'lib/kaltura_types.rb', line 5911

def storage_password
  @storage_password
end

#storage_urlObject

Returns the value of attribute storage_url.



5908
5909
5910
# File 'lib/kaltura_types.rb', line 5908

def storage_url
  @storage_url
end

#storage_usernameObject

Returns the value of attribute storage_username.



5910
5911
5912
# File 'lib/kaltura_types.rb', line 5910

def storage_username
  @storage_username
end

#system_nameObject

Returns the value of attribute system_name.



5904
5905
5906
# File 'lib/kaltura_types.rb', line 5904

def system_name
  @system_name
end

#triggerObject

No need to create enum for temp field



5921
5922
5923
# File 'lib/kaltura_types.rb', line 5921

def trigger
  @trigger
end

#updated_atObject

Returns the value of attribute updated_at.



5901
5902
5903
# File 'lib/kaltura_types.rb', line 5901

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
# File 'lib/kaltura_types.rb', line 5989

def from_xml(xml_element)
  super
  self.id = xml_element.elements['id'].text
  self.created_at = xml_element.elements['createdAt'].text
  self.updated_at = xml_element.elements['updatedAt'].text
  self.partner_id = xml_element.elements['partnerId'].text
  self.name = xml_element.elements['name'].text
  self.system_name = xml_element.elements['systemName'].text
  self.desciption = xml_element.elements['desciption'].text
  self.status = xml_element.elements['status'].text
  self.protocol = xml_element.elements['protocol'].text
  self.storage_url = xml_element.elements['storageUrl'].text
  self.storage_base_dir = xml_element.elements['storageBaseDir'].text
  self.storage_username = xml_element.elements['storageUsername'].text
  self.storage_password = xml_element.elements['storagePassword'].text
  self.storage_ftp_passive_mode = xml_element.elements['storageFtpPassiveMode'].text
  self.min_file_size = xml_element.elements['minFileSize'].text
  self.max_file_size = xml_element.elements['maxFileSize'].text
  self.flavor_params_ids = xml_element.elements['flavorParamsIds'].text
  self.max_concurrent_connections = xml_element.elements['maxConcurrentConnections'].text
  self.path_manager_class = xml_element.elements['pathManagerClass'].text
  self.path_manager_params = KalturaClientBase.object_from_xml(xml_element.elements['pathManagerParams'], 'KalturaKeyValue')
  self.trigger = xml_element.elements['trigger'].text
  self.delivery_priority = xml_element.elements['deliveryPriority'].text
  self.delivery_status = xml_element.elements['deliveryStatus'].text
  self.ready_behavior = xml_element.elements['readyBehavior'].text
  self.allow_auto_delete = xml_element.elements['allowAutoDelete'].text
  self.create_file_link = xml_element.elements['createFileLink'].text
  self.rules = KalturaClientBase.object_from_xml(xml_element.elements['rules'], 'KalturaRule')
  self.delivery_profile_ids = KalturaClientBase.object_from_xml(xml_element.elements['deliveryProfileIds'], 'KalturaKeyValue')
  self.private_key = xml_element.elements['privateKey'].text
  self.public_key = xml_element.elements['publicKey'].text
  self.pass_phrase = xml_element.elements['passPhrase'].text
end