Class: Kaltura::KalturaFileSync

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_plugins/kaltura_file_sync_client_plugin.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

#created_atObject

Returns the value of attribute created_at.



70
71
72
# File 'lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb', line 70

def created_at
  @created_at
end

#dcObject

Returns the value of attribute dc.



68
69
70
# File 'lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb', line 68

def dc
  @dc
end

#file_contentObject

Returns the value of attribute file_content.



82
83
84
# File 'lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb', line 82

def file_content
  @file_content
end

#file_disc_sizeObject

Returns the value of attribute file_disc_size.



83
84
85
# File 'lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb', line 83

def file_disc_size
  @file_disc_size
end

#file_object_typeObject

Returns the value of attribute file_object_type.



64
65
66
# File 'lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb', line 64

def file_object_type
  @file_object_type
end

#file_pathObject

Returns the value of attribute file_path.



79
80
81
# File 'lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb', line 79

def file_path
  @file_path
end

#file_rootObject

Returns the value of attribute file_root.



78
79
80
# File 'lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb', line 78

def file_root
  @file_root
end

#file_sizeObject

Returns the value of attribute file_size.



80
81
82
# File 'lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb', line 80

def file_size
  @file_size
end

#file_typeObject

Returns the value of attribute file_type.



75
76
77
# File 'lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb', line 75

def file_type
  @file_type
end

#file_urlObject

Returns the value of attribute file_url.



81
82
83
# File 'lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb', line 81

def file_url
  @file_url
end

#idObject

Returns the value of attribute id.



62
63
64
# File 'lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb', line 62

def id
  @id
end

#is_current_dcObject

Returns the value of attribute is_current_dc.



84
85
86
# File 'lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb', line 84

def is_current_dc
  @is_current_dc
end

#is_dirObject

Returns the value of attribute is_dir.



85
86
87
# File 'lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb', line 85

def is_dir
  @is_dir
end

Returns the value of attribute link_count.



77
78
79
# File 'lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb', line 77

def link_count
  @link_count
end

#linked_idObject

Returns the value of attribute linked_id.



76
77
78
# File 'lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb', line 76

def linked_id
  @linked_id
end

#object_idObject

Returns the value of attribute object_id.



65
66
67
# File 'lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb', line 65

def object_id
  @object_id
end

#object_sub_typeObject

Returns the value of attribute object_sub_type.



67
68
69
# File 'lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb', line 67

def object_sub_type
  @object_sub_type
end

#originalObject

Returns the value of attribute original.



69
70
71
# File 'lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb', line 69

def original
  @original
end

#original_idObject

Returns the value of attribute original_id.



86
87
88
# File 'lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb', line 86

def original_id
  @original_id
end

#partner_idObject

Returns the value of attribute partner_id.



63
64
65
# File 'lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb', line 63

def partner_id
  @partner_id
end

#ready_atObject

Returns the value of attribute ready_at.



72
73
74
# File 'lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb', line 72

def ready_at
  @ready_at
end

#statusObject

Returns the value of attribute status.



74
75
76
# File 'lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb', line 74

def status
  @status
end

#sync_timeObject

Returns the value of attribute sync_time.



73
74
75
# File 'lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb', line 73

def sync_time
  @sync_time
end

#updated_atObject

Returns the value of attribute updated_at.



71
72
73
# File 'lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb', line 71

def updated_at
  @updated_at
end

#versionObject

Returns the value of attribute version.



66
67
68
# File 'lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb', line 66

def version
  @version
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
# File 'lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb', line 140

def from_xml(xml_element)
	super
	self.id = xml_element.elements['id'].text
	self.partner_id = xml_element.elements['partnerId'].text
	self.file_object_type = xml_element.elements['fileObjectType'].text
	self.object_id = xml_element.elements['objectId'].text
	self.version = xml_element.elements['version'].text
	self.object_sub_type = xml_element.elements['objectSubType'].text
	self.dc = xml_element.elements['dc'].text
	self.original = xml_element.elements['original'].text
	self.created_at = xml_element.elements['createdAt'].text
	self.updated_at = xml_element.elements['updatedAt'].text
	self.ready_at = xml_element.elements['readyAt'].text
	self.sync_time = xml_element.elements['syncTime'].text
	self.status = xml_element.elements['status'].text
	self.file_type = xml_element.elements['fileType'].text
	self.linked_id = xml_element.elements['linkedId'].text
	self.link_count = xml_element.elements['linkCount'].text
	self.file_root = xml_element.elements['fileRoot'].text
	self.file_path = xml_element.elements['filePath'].text
	self.file_size = xml_element.elements['fileSize'].text
	self.file_url = xml_element.elements['fileUrl'].text
	self.file_content = xml_element.elements['fileContent'].text
	self.file_disc_size = xml_element.elements['fileDiscSize'].text
	self.is_current_dc = xml_element.elements['isCurrentDc'].text
	self.is_dir = xml_element.elements['isDir'].text
	self.original_id = xml_element.elements['originalId'].text
end