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.
13946 13947 13948 |
# File 'lib/kaltura_types.rb', line 13946 def data @data end |
#notification_result ⇒ Object
Returns the value of attribute notification_result.
13948 13949 13950 |
# File 'lib/kaltura_types.rb', line 13948 def notification_result @notification_result end |
#number_of_attempts ⇒ Object
Returns the value of attribute number_of_attempts.
13947 13948 13949 |
# File 'lib/kaltura_types.rb', line 13947 def number_of_attempts @number_of_attempts end |
#obj_type ⇒ Object
Returns the value of attribute obj_type.
13949 13950 13951 |
# File 'lib/kaltura_types.rb', line 13949 def obj_type @obj_type end |
#object_id ⇒ Object
Returns the value of attribute object_id.
13944 13945 13946 |
# File 'lib/kaltura_types.rb', line 13944 def object_id @object_id end |
#status ⇒ Object
Returns the value of attribute status.
13945 13946 13947 |
# File 'lib/kaltura_types.rb', line 13945 def status @status end |
#type ⇒ Object
Returns the value of attribute type.
13942 13943 13944 |
# File 'lib/kaltura_types.rb', line 13942 def type @type end |
#type_as_string ⇒ Object
Returns the value of attribute type_as_string.
13943 13944 13945 |
# File 'lib/kaltura_types.rb', line 13943 def type_as_string @type_as_string end |
#user_id ⇒ Object
Returns the value of attribute user_id.
13941 13942 13943 |
# File 'lib/kaltura_types.rb', line 13941 def user_id @user_id end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 |
# File 'lib/kaltura_types.rb', line 13964 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 |