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.



3990
3991
3992
# File 'lib/kaltura_types.rb', line 3990

def file_encryption_key
  @file_encryption_key
end

#file_sync_local_pathObject

Returns the value of attribute file_sync_local_path.



3989
3990
3991
# File 'lib/kaltura_types.rb', line 3989

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.



3993
3994
3995
# File 'lib/kaltura_types.rb', line 3993

def file_sync_object_sub_type
  @file_sync_object_sub_type
end

#file_sync_remote_urlObject

The translated path as used by the scheduler



3992
3993
3994
# File 'lib/kaltura_types.rb', line 3992

def file_sync_remote_url
  @file_sync_remote_url
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
# File 'lib/kaltura_types.rb', line 3999

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