Class: Kaltura::KalturaNotificationJobData
- Inherits:
-
KalturaJobData
- Object
- KalturaObjectBase
- KalturaJobData
- Kaltura::KalturaNotificationJobData
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#notification_result ⇒ Object
Returns the value of attribute notification_result.
-
#number_of_attempts ⇒ Object
Returns the value of attribute number_of_attempts.
-
#obj_type ⇒ Object
Returns the value of attribute obj_type.
-
#object_id ⇒ Object
Returns the value of attribute object_id.
-
#status ⇒ Object
Returns the value of attribute status.
-
#type ⇒ Object
Returns the value of attribute type.
-
#type_as_string ⇒ Object
Returns the value of attribute type_as_string.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
14240 14241 14242 |
# File 'lib/kaltura_types.rb', line 14240 def data @data end |
#notification_result ⇒ Object
Returns the value of attribute notification_result.
14242 14243 14244 |
# File 'lib/kaltura_types.rb', line 14242 def notification_result @notification_result end |
#number_of_attempts ⇒ Object
Returns the value of attribute number_of_attempts.
14241 14242 14243 |
# File 'lib/kaltura_types.rb', line 14241 def number_of_attempts @number_of_attempts end |
#obj_type ⇒ Object
Returns the value of attribute obj_type.
14243 14244 14245 |
# File 'lib/kaltura_types.rb', line 14243 def obj_type @obj_type end |
#object_id ⇒ Object
Returns the value of attribute object_id.
14238 14239 14240 |
# File 'lib/kaltura_types.rb', line 14238 def object_id @object_id end |
#status ⇒ Object
Returns the value of attribute status.
14239 14240 14241 |
# File 'lib/kaltura_types.rb', line 14239 def status @status end |
#type ⇒ Object
Returns the value of attribute type.
14236 14237 14238 |
# File 'lib/kaltura_types.rb', line 14236 def type @type end |
#type_as_string ⇒ Object
Returns the value of attribute type_as_string.
14237 14238 14239 |
# File 'lib/kaltura_types.rb', line 14237 def type_as_string @type_as_string end |
#user_id ⇒ Object
Returns the value of attribute user_id.
14235 14236 14237 |
# File 'lib/kaltura_types.rb', line 14235 def user_id @user_id end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
14258 14259 14260 14261 14262 14263 14264 14265 14266 14267 14268 14269 14270 14271 14272 14273 14274 14275 14276 14277 14278 14279 14280 14281 14282 14283 14284 14285 14286 14287 |
# File 'lib/kaltura_types.rb', line 14258 def from_xml(xml_element) super if xml_element.elements['userId'] != nil self.user_id = xml_element.elements['userId'].text end if xml_element.elements['type'] != nil self.type = xml_element.elements['type'].text end if xml_element.elements['typeAsString'] != nil self.type_as_string = xml_element.elements['typeAsString'].text end if xml_element.elements['objectId'] != nil self.object_id = xml_element.elements['objectId'].text end if xml_element.elements['status'] != nil self.status = xml_element.elements['status'].text end if xml_element.elements['data'] != nil self.data = xml_element.elements['data'].text end if xml_element.elements['numberOfAttempts'] != nil self.number_of_attempts = xml_element.elements['numberOfAttempts'].text end if xml_element.elements['notificationResult'] != nil self.notification_result = xml_element.elements['notificationResult'].text end if xml_element.elements['objType'] != nil self.obj_type = xml_element.elements['objType'].text end end |