Class: Kaltura::KalturaFileSyncDescriptor

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

#file_encryption_keyObject

Returns the value of attribute file_encryption_key.



4065
4066
4067
# File 'lib/kaltura_types.rb', line 4065

def file_encryption_key
  @file_encryption_key
end

#file_sync_local_pathObject

Returns the value of attribute file_sync_local_path.



4064
4065
4066
# File 'lib/kaltura_types.rb', line 4064

def file_sync_local_path
  @file_sync_local_path
end

#file_sync_object_sub_typeObject

Returns the value of attribute file_sync_object_sub_type.



4068
4069
4070
# File 'lib/kaltura_types.rb', line 4068

def file_sync_object_sub_type
  @file_sync_object_sub_type
end

#file_sync_remote_urlObject

The translated path as used by the scheduler



4067
4068
4069
# File 'lib/kaltura_types.rb', line 4067

def file_sync_remote_url
  @file_sync_remote_url
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
# File 'lib/kaltura_types.rb', line 4074

def from_xml(xml_element)
  super
  if xml_element.elements['fileSyncLocalPath'] != nil
    self.file_sync_local_path = xml_element.elements['fileSyncLocalPath'].text
  end
  if xml_element.elements['fileEncryptionKey'] != nil
    self.file_encryption_key = xml_element.elements['fileEncryptionKey'].text
  end
  if xml_element.elements['fileSyncRemoteUrl'] != nil
    self.file_sync_remote_url = xml_element.elements['fileSyncRemoteUrl'].text
  end
  if xml_element.elements['fileSyncObjectSubType'] != nil
    self.file_sync_object_sub_type = xml_element.elements['fileSyncObjectSubType'].text
  end
end