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.
13835 13836 13837 |
# File 'lib/kaltura_types.rb', line 13835 def data @data end |
#notification_result ⇒ Object
Returns the value of attribute notification_result.
13837 13838 13839 |
# File 'lib/kaltura_types.rb', line 13837 def notification_result @notification_result end |
#number_of_attempts ⇒ Object
Returns the value of attribute number_of_attempts.
13836 13837 13838 |
# File 'lib/kaltura_types.rb', line 13836 def number_of_attempts @number_of_attempts end |
#obj_type ⇒ Object
Returns the value of attribute obj_type.
13838 13839 13840 |
# File 'lib/kaltura_types.rb', line 13838 def obj_type @obj_type end |
#object_id ⇒ Object
Returns the value of attribute object_id.
13833 13834 13835 |
# File 'lib/kaltura_types.rb', line 13833 def object_id @object_id end |
#status ⇒ Object
Returns the value of attribute status.
13834 13835 13836 |
# File 'lib/kaltura_types.rb', line 13834 def status @status end |
#type ⇒ Object
Returns the value of attribute type.
13831 13832 13833 |
# File 'lib/kaltura_types.rb', line 13831 def type @type end |
#type_as_string ⇒ Object
Returns the value of attribute type_as_string.
13832 13833 13834 |
# File 'lib/kaltura_types.rb', line 13832 def type_as_string @type_as_string end |
#user_id ⇒ Object
Returns the value of attribute user_id.
13830 13831 13832 |
# File 'lib/kaltura_types.rb', line 13830 def user_id @user_id end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 13880 13881 13882 |
# File 'lib/kaltura_types.rb', line 13853 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 |