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

#src_enc_keyObject

Returns the value of attribute src_enc_key.



88
89
90
# File 'lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb', line 88

def src_enc_key
  @src_enc_key
end

#src_pathObject

Returns the value of attribute src_path.



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

def src_path
  @src_path
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

#storage_classObject

Returns the value of attribute storage_class.



89
90
91
# File 'lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb', line 89

def storage_class
  @storage_class
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



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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
# File 'lib/kaltura_plugins/kaltura_file_sync_client_plugin.rb', line 143

def from_xml(xml_element)
	super
	if xml_element.elements['id'] != nil
		self.id = xml_element.elements['id'].text
	end
	if xml_element.elements['partnerId'] != nil
		self.partner_id = xml_element.elements['partnerId'].text
	end
	if xml_element.elements['fileObjectType'] != nil
		self.file_object_type = xml_element.elements['fileObjectType'].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
	if xml_element.elements['objectSubType'] != nil
		self.object_sub_type = xml_element.elements['objectSubType'].text
	end
	if xml_element.elements['dc'] != nil
		self.dc = xml_element.elements['dc'].text
	end
	if xml_element.elements['original'] != nil
		self.original = xml_element.elements['original'].text
	end
	if xml_element.elements['createdAt'] != nil
		self.created_at = xml_element.elements['createdAt'].text
	end
	if xml_element.elements['updatedAt'] != nil
		self.updated_at = xml_element.elements['updatedAt'].text
	end
	if xml_element.elements['readyAt'] != nil
		self.ready_at = xml_element.elements['readyAt'].text
	end
	if xml_element.elements['syncTime'] != nil
		self.sync_time = xml_element.elements['syncTime'].text
	end
	if xml_element.elements['status'] != nil
		self.status = xml_element.elements['status'].text
	end
	if xml_element.elements['fileType'] != nil
		self.file_type = xml_element.elements['fileType'].text
	end
	if xml_element.elements['linkedId'] != nil
		self.linked_id = xml_element.elements['linkedId'].text
	end
	if xml_element.elements['linkCount'] != nil
		self.link_count = xml_element.elements['linkCount'].text
	end
	if xml_element.elements['fileRoot'] != nil
		self.file_root = xml_element.elements['fileRoot'].text
	end
	if xml_element.elements['filePath'] != nil
		self.file_path = xml_element.elements['filePath'].text
	end
	if xml_element.elements['fileSize'] != nil
		self.file_size = xml_element.elements['fileSize'].text
	end
	if xml_element.elements['fileUrl'] != nil
		self.file_url = xml_element.elements['fileUrl'].text
	end
	if xml_element.elements['fileContent'] != nil
		self.file_content = xml_element.elements['fileContent'].text
	end
	if xml_element.elements['fileDiscSize'] != nil
		self.file_disc_size = xml_element.elements['fileDiscSize'].text
	end
	if xml_element.elements['isCurrentDc'] != nil
		self.is_current_dc = xml_element.elements['isCurrentDc'].text
	end
	if xml_element.elements['isDir'] != nil
		self.is_dir = xml_element.elements['isDir'].text
	end
	if xml_element.elements['originalId'] != nil
		self.original_id = xml_element.elements['originalId'].text
	end
	if xml_element.elements['srcPath'] != nil
		self.src_path = xml_element.elements['srcPath'].text
	end
	if xml_element.elements['srcEncKey'] != nil
		self.src_enc_key = xml_element.elements['srcEncKey'].text
	end
	if xml_element.elements['storageClass'] != nil
		self.storage_class = xml_element.elements['storageClass'].text
	end
end