Class: Kaltura::KalturaBulkUploadResultScheduleEvent

Inherits:
KalturaBulkUploadResult show all
Defined in:
lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaBulkUploadResult

#action, #bulk_upload_job_id, #bulk_upload_result_object_type, #error_code, #error_description, #error_type, #id, #line_index, #object_error_description, #object_id, #object_status, #partner_data, #partner_id, #plugins_data, #row_data, #status

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#category_idsObject

Returns the value of attribute category_ids.



41
42
43
# File 'lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb', line 41

def category_ids
  @category_ids
end

#co_editorsObject

Returns the value of attribute co_editors.



48
49
50
# File 'lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb', line 48

def co_editors
  @co_editors
end

#co_publishersObject

Returns the value of attribute co_publishers.



49
50
51
# File 'lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb', line 49

def co_publishers
  @co_publishers
end

#content_owner_idObject

Returns the value of attribute content_owner_id.



51
52
53
# File 'lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb', line 51

def content_owner_id
  @content_owner_id
end

#descriptionObject

Returns the value of attribute description.



39
40
41
# File 'lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb', line 39

def description
  @description
end

#durationObject

Returns the value of attribute duration.



45
46
47
# File 'lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb', line 45

def duration
  @duration
end

#end_timeObject

Returns the value of attribute end_time.



46
47
48
# File 'lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb', line 46

def end_time
  @end_time
end

#event_organizer_idObject

Returns the value of attribute event_organizer_id.



50
51
52
# File 'lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb', line 50

def event_organizer_id
  @event_organizer_id
end

#event_typeObject

Returns the value of attribute event_type.



37
38
39
# File 'lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb', line 37

def event_type
  @event_type
end

#recurrenceObject

Returns the value of attribute recurrence.



47
48
49
# File 'lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb', line 47

def recurrence
  @recurrence
end

#reference_idObject

Returns the value of attribute reference_id.



35
36
37
# File 'lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb', line 35

def reference_id
  @reference_id
end

#resource_idObject

ID of the resource specified for the new event.



43
44
45
# File 'lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb', line 43

def resource_id
  @resource_id
end

#start_timeObject

Returns the value of attribute start_time.



44
45
46
# File 'lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb', line 44

def start_time
  @start_time
end

#tagsObject

Returns the value of attribute tags.



40
41
42
# File 'lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb', line 40

def tags
  @tags
end

#template_entry_idObject

Returns the value of attribute template_entry_id.



36
37
38
# File 'lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb', line 36

def template_entry_id
  @template_entry_id
end

#template_entry_typeObject

Returns the value of attribute template_entry_type.



52
53
54
# File 'lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb', line 52

def template_entry_type
  @template_entry_type
end

#titleObject

Returns the value of attribute title.



38
39
40
# File 'lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb', line 38

def title
  @title
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# File 'lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb', line 67

def from_xml(xml_element)
	super
	if xml_element.elements['referenceId'] != nil
		self.reference_id = xml_element.elements['referenceId'].text
	end
	if xml_element.elements['templateEntryId'] != nil
		self.template_entry_id = xml_element.elements['templateEntryId'].text
	end
	if xml_element.elements['eventType'] != nil
		self.event_type = xml_element.elements['eventType'].text
	end
	if xml_element.elements['title'] != nil
		self.title = xml_element.elements['title'].text
	end
	if xml_element.elements['description'] != nil
		self.description = xml_element.elements['description'].text
	end
	if xml_element.elements['tags'] != nil
		self.tags = xml_element.elements['tags'].text
	end
	if xml_element.elements['categoryIds'] != nil
		self.category_ids = xml_element.elements['categoryIds'].text
	end
	if xml_element.elements['resourceId'] != nil
		self.resource_id = xml_element.elements['resourceId'].text
	end
	if xml_element.elements['startTime'] != nil
		self.start_time = xml_element.elements['startTime'].text
	end
	if xml_element.elements['duration'] != nil
		self.duration = xml_element.elements['duration'].text
	end
	if xml_element.elements['endTime'] != nil
		self.end_time = xml_element.elements['endTime'].text
	end
	if xml_element.elements['recurrence'] != nil
		self.recurrence = xml_element.elements['recurrence'].text
	end
	if xml_element.elements['coEditors'] != nil
		self.co_editors = xml_element.elements['coEditors'].text
	end
	if xml_element.elements['coPublishers'] != nil
		self.co_publishers = xml_element.elements['coPublishers'].text
	end
	if xml_element.elements['eventOrganizerId'] != nil
		self.event_organizer_id = xml_element.elements['eventOrganizerId'].text
	end
	if xml_element.elements['contentOwnerId'] != nil
		self.content_owner_id = xml_element.elements['contentOwnerId'].text
	end
	if xml_element.elements['templateEntryType'] != nil
		self.template_entry_type = xml_element.elements['templateEntryType'].text
	end
end