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.
14476 14477 14478 |
# File 'lib/kaltura_types.rb', line 14476 def data @data end |
#notification_result ⇒ Object
Returns the value of attribute notification_result.
14478 14479 14480 |
# File 'lib/kaltura_types.rb', line 14478 def notification_result @notification_result end |
#number_of_attempts ⇒ Object
Returns the value of attribute number_of_attempts.
14477 14478 14479 |
# File 'lib/kaltura_types.rb', line 14477 def number_of_attempts @number_of_attempts end |
#obj_type ⇒ Object
Returns the value of attribute obj_type.
14479 14480 14481 |
# File 'lib/kaltura_types.rb', line 14479 def obj_type @obj_type end |
#object_id ⇒ Object
Returns the value of attribute object_id.
14474 14475 14476 |
# File 'lib/kaltura_types.rb', line 14474 def object_id @object_id end |
#status ⇒ Object
Returns the value of attribute status.
14475 14476 14477 |
# File 'lib/kaltura_types.rb', line 14475 def status @status end |
#type ⇒ Object
Returns the value of attribute type.
14472 14473 14474 |
# File 'lib/kaltura_types.rb', line 14472 def type @type end |
#type_as_string ⇒ Object
Returns the value of attribute type_as_string.
14473 14474 14475 |
# File 'lib/kaltura_types.rb', line 14473 def type_as_string @type_as_string end |
#user_id ⇒ Object
Returns the value of attribute user_id.
14471 14472 14473 |
# File 'lib/kaltura_types.rb', line 14471 def user_id @user_id end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
14494 14495 14496 14497 14498 14499 14500 14501 14502 14503 14504 14505 14506 14507 14508 14509 14510 14511 14512 14513 14514 14515 14516 14517 14518 14519 14520 14521 14522 14523 |
# File 'lib/kaltura_types.rb', line 14494 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 |