Class: Kaltura::KalturaEventNotificationTemplate
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaEventNotificationTemplate
- Defined in:
- lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb
Direct Known Subclasses
KalturaBusinessProcessNotificationTemplate, KalturaEmailNotificationTemplate, KalturaHttpNotificationTemplate, KalturaPushNotificationTemplate
Instance Attribute Summary collapse
-
#automatic_dispatch_enabled ⇒ Object
Define that the template could be dispatched automatically by the system.
-
#content_parameters ⇒ Object
Define the content dynamic parameters.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#description ⇒ Object
Returns the value of attribute description.
-
#event_conditions ⇒ Object
Define the conditions that cause this notification to be triggered.
-
#event_object_type ⇒ Object
Define the object that raied the event that should trigger this notification.
-
#event_type ⇒ Object
Define the event that should trigger this notification.
-
#id ⇒ Object
Returns the value of attribute id.
-
#manual_dispatch_enabled ⇒ Object
Define that the template could be dispatched manually from the API.
-
#name ⇒ Object
Returns the value of attribute name.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#status ⇒ Object
Returns the value of attribute status.
-
#system_name ⇒ Object
Returns the value of attribute system_name.
-
#type ⇒ Object
Returns the value of attribute type.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
-
#user_parameters ⇒ Object
Define the content dynamic parameters.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#automatic_dispatch_enabled ⇒ Object
Define that the template could be dispatched automatically by the system
162 163 164 |
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 162 def automatic_dispatch_enabled @automatic_dispatch_enabled end |
#content_parameters ⇒ Object
Define the content dynamic parameters
170 171 172 |
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 170 def content_parameters @content_parameters end |
#created_at ⇒ Object
Returns the value of attribute created_at.
157 158 159 |
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 157 def created_at @created_at end |
#description ⇒ Object
Returns the value of attribute description.
154 155 156 |
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 154 def description @description end |
#event_conditions ⇒ Object
Define the conditions that cause this notification to be triggered
168 169 170 |
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 168 def event_conditions @event_conditions end |
#event_object_type ⇒ Object
Define the object that raied the event that should trigger this notification
166 167 168 |
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 166 def event_object_type @event_object_type end |
#event_type ⇒ Object
Define the event that should trigger this notification
164 165 166 |
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 164 def event_type @event_type end |
#id ⇒ Object
Returns the value of attribute id.
150 151 152 |
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 150 def id @id end |
#manual_dispatch_enabled ⇒ Object
Define that the template could be dispatched manually from the API
160 161 162 |
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 160 def manual_dispatch_enabled @manual_dispatch_enabled end |
#name ⇒ Object
Returns the value of attribute name.
152 153 154 |
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 152 def name @name end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
151 152 153 |
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 151 def partner_id @partner_id end |
#status ⇒ Object
Returns the value of attribute status.
156 157 158 |
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 156 def status @status end |
#system_name ⇒ Object
Returns the value of attribute system_name.
153 154 155 |
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 153 def system_name @system_name end |
#type ⇒ Object
Returns the value of attribute type.
155 156 157 |
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 155 def type @type end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
158 159 160 |
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 158 def updated_at @updated_at end |
#user_parameters ⇒ Object
Define the content dynamic parameters
172 173 174 |
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 172 def user_parameters @user_parameters end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
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 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 |
# File 'lib/kaltura_plugins/kaltura_event_notification_client_plugin.rb', line 196 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['type'] != nil self.type = xml_element.elements['type'].text end if xml_element.elements['status'] != nil self.status = xml_element.elements['status'].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['manualDispatchEnabled'] != nil self.manual_dispatch_enabled = xml_element.elements['manualDispatchEnabled'].text end if xml_element.elements['automaticDispatchEnabled'] != nil self.automatic_dispatch_enabled = xml_element.elements['automaticDispatchEnabled'].text end if xml_element.elements['eventType'] != nil self.event_type = xml_element.elements['eventType'].text end if xml_element.elements['eventObjectType'] != nil self.event_object_type = xml_element.elements['eventObjectType'].text end if xml_element.elements['eventConditions'] != nil self.event_conditions = KalturaClientBase.object_from_xml(xml_element.elements['eventConditions'], 'KalturaCondition') end if xml_element.elements['contentParameters'] != nil self.content_parameters = KalturaClientBase.object_from_xml(xml_element.elements['contentParameters'], 'KalturaEventNotificationParameter') end if xml_element.elements['userParameters'] != nil self.user_parameters = KalturaClientBase.object_from_xml(xml_element.elements['userParameters'], 'KalturaEventNotificationParameter') end end |