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.



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

def created_at
  @created_at
end

#descriptionObject

Returns the value of attribute description.



99
100
101
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 99

def description
  @description
end

#idObject

Returns the value of attribute id.



95
96
97
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 95

def id
  @id
end

#last_execution_started_atObject

Returns the value of attribute last_execution_started_at.



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

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



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

def max_total_count_allowed
  @max_total_count_allowed
end

#nameObject

Returns the value of attribute name.



97
98
99
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 97

def name
  @name
end

#object_filterObject

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



106
107
108
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 106

def object_filter
  @object_filter
end

#object_filter_engine_typeObject

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



103
104
105
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 103

def object_filter_engine_type
  @object_filter_engine_type
end

#object_tasksObject

A list of tasks to execute on the founded objects



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

def object_tasks
  @object_tasks
end

#partner_idObject

Returns the value of attribute partner_id.



96
97
98
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 96

def partner_id
  @partner_id
end

#statusObject

Returns the value of attribute status.



100
101
102
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 100

def status
  @status
end

#system_nameObject

Returns the value of attribute system_name.



98
99
100
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 98

def system_name
  @system_name
end

#updated_atObject

Returns the value of attribute updated_at.



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

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 139

def from_xml(xml_element)
  super
  self.id = xml_element.elements['id'].text
  self.partner_id = xml_element.elements['partnerId'].text
  self.name = xml_element.elements['name'].text
  self.system_name = xml_element.elements['systemName'].text
  self.description = xml_element.elements['description'].text
  self.status = xml_element.elements['status'].text
  self.object_filter_engine_type = xml_element.elements['objectFilterEngineType'].text
  self.object_filter = KalturaClientBase.object_from_xml(xml_element.elements['objectFilter'], 'KalturaFilter')
  self.object_tasks = KalturaClientBase.object_from_xml(xml_element.elements['objectTasks'], 'KalturaObjectTask')
  self.created_at = xml_element.elements['createdAt'].text
  self.updated_at = xml_element.elements['updatedAt'].text
  self.last_execution_started_at = xml_element.elements['lastExecutionStartedAt'].text
  self.max_total_count_allowed = xml_element.elements['maxTotalCountAllowed'].text
end