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.
14163 14164 14165 |
# File 'lib/kaltura_types.rb', line 14163 def data @data end |
#notification_result ⇒ Object
Returns the value of attribute notification_result.
14165 14166 14167 |
# File 'lib/kaltura_types.rb', line 14165 def notification_result @notification_result end |
#number_of_attempts ⇒ Object
Returns the value of attribute number_of_attempts.
14164 14165 14166 |
# File 'lib/kaltura_types.rb', line 14164 def number_of_attempts @number_of_attempts end |
#obj_type ⇒ Object
Returns the value of attribute obj_type.
14166 14167 14168 |
# File 'lib/kaltura_types.rb', line 14166 def obj_type @obj_type end |
#object_id ⇒ Object
Returns the value of attribute object_id.
14161 14162 14163 |
# File 'lib/kaltura_types.rb', line 14161 def object_id @object_id end |
#status ⇒ Object
Returns the value of attribute status.
14162 14163 14164 |
# File 'lib/kaltura_types.rb', line 14162 def status @status end |
#type ⇒ Object
Returns the value of attribute type.
14159 14160 14161 |
# File 'lib/kaltura_types.rb', line 14159 def type @type end |
#type_as_string ⇒ Object
Returns the value of attribute type_as_string.
14160 14161 14162 |
# File 'lib/kaltura_types.rb', line 14160 def type_as_string @type_as_string end |
#user_id ⇒ Object
Returns the value of attribute user_id.
14158 14159 14160 |
# File 'lib/kaltura_types.rb', line 14158 def user_id @user_id end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
14181 14182 14183 14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 14199 14200 14201 14202 14203 14204 14205 14206 14207 14208 14209 14210 |
# File 'lib/kaltura_types.rb', line 14181 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 |