Class: Kaltura::KalturaScheduledTaskProfile

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



120
121
122
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 120

def created_at
  @created_at
end

#descriptionObject

Returns the value of attribute description.



112
113
114
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 112

def description
  @description
end

#idObject

Returns the value of attribute id.



108
109
110
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 108

def id
  @id
end

#last_execution_started_atObject

Returns the value of attribute last_execution_started_at.



122
123
124
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 122

def last_execution_started_at
  @last_execution_started_at
end

#max_total_count_allowedObject

The maximum number of result count allowed to be processed by this profile per execution



124
125
126
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 124

def max_total_count_allowed
  @max_total_count_allowed
end

#nameObject

Returns the value of attribute name.



110
111
112
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 110

def name
  @name
end

#object_filterObject

A filter object (inherits KalturaFilter) that is used to list objects for scheduled tasks



117
118
119
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 117

def object_filter
  @object_filter
end

#object_filter_engine_typeObject

The type of engine to use to list objects using the given “objectFilter”



115
116
117
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 115

def object_filter_engine_type
  @object_filter_engine_type
end

#object_tasksObject

A list of tasks to execute on the founded objects



119
120
121
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 119

def object_tasks
  @object_tasks
end

#partner_idObject

Returns the value of attribute partner_id.



109
110
111
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 109

def partner_id
  @partner_id
end

#statusObject

Returns the value of attribute status.



113
114
115
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 113

def status
  @status
end

#system_nameObject

Returns the value of attribute system_name.



111
112
113
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 111

def system_name
  @system_name
end

#updated_atObject

Returns the value of attribute updated_at.



121
122
123
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 121

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



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
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 148

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['name'] != nil
		self.name = xml_element.elements['name'].text
	end
	if xml_element.elements['systemName'] != nil
		self.system_name = xml_element.elements['systemName'].text
	end
	if xml_element.elements['description'] != nil
		self.description = xml_element.elements['description'].text
	end
	if xml_element.elements['status'] != nil
		self.status = xml_element.elements['status'].text
	end
	if xml_element.elements['objectFilterEngineType'] != nil
		self.object_filter_engine_type = xml_element.elements['objectFilterEngineType'].text
	end
	if xml_element.elements['objectFilter'] != nil
		self.object_filter = KalturaClientBase.object_from_xml(xml_element.elements['objectFilter'], 'KalturaFilter')
	end
	if xml_element.elements['objectTasks'] != nil
		self.object_tasks = KalturaClientBase.object_from_xml(xml_element.elements['objectTasks'], 'KalturaObjectTask')
	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['lastExecutionStartedAt'] != nil
		self.last_execution_started_at = xml_element.elements['lastExecutionStartedAt'].text
	end
	if xml_element.elements['maxTotalCountAllowed'] != nil
		self.max_total_count_allowed = xml_element.elements['maxTotalCountAllowed'].text
	end
end