Class: Kaltura::KalturaFileSyncResource
- Inherits:
-
KalturaContentResource
- Object
- KalturaObjectBase
- KalturaResource
- KalturaContentResource
- Kaltura::KalturaFileSyncResource
- Defined in:
- lib/kaltura_types.rb
Overview
Used to ingest media that is already ingested to Kaltura system as a different file in the past, the new created flavor asset will be ready immediately using a file sync of link type that will point to the existing file sync.
Instance Attribute Summary collapse
-
#file_sync_object_type ⇒ Object
The object type of the file sync object.
-
#object_id ⇒ Object
The object id of the file sync object.
-
#object_sub_type ⇒ Object
The object sub-type of the file sync object.
-
#version ⇒ Object
The version of the file sync object.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#file_sync_object_type ⇒ Object
The object type of the file sync object
16720 16721 16722 |
# File 'lib/kaltura_types.rb', line 16720 def file_sync_object_type @file_sync_object_type end |
#object_id ⇒ Object
The object id of the file sync object
16724 16725 16726 |
# File 'lib/kaltura_types.rb', line 16724 def object_id @object_id end |
#object_sub_type ⇒ Object
The object sub-type of the file sync object
16722 16723 16724 |
# File 'lib/kaltura_types.rb', line 16722 def object_sub_type @object_sub_type end |
#version ⇒ Object
The version of the file sync object
16726 16727 16728 |
# File 'lib/kaltura_types.rb', line 16726 def version @version end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
16735 16736 16737 16738 16739 16740 16741 16742 16743 16744 16745 16746 16747 16748 16749 |
# File 'lib/kaltura_types.rb', line 16735 def from_xml(xml_element) super if xml_element.elements['fileSyncObjectType'] != nil self.file_sync_object_type = xml_element.elements['fileSyncObjectType'].text end if xml_element.elements['objectSubType'] != nil self.object_sub_type = xml_element.elements['objectSubType'].text end if xml_element.elements['objectId'] != nil self.object_id = xml_element.elements['objectId'].text end if xml_element.elements['version'] != nil self.version = xml_element.elements['version'].text end end |