Class: Kaltura::KalturaReport
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaReport
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Creation date as Unix timestamp (In seconds).
-
#description ⇒ Object
Report description.
-
#id ⇒ Object
Report id.
-
#name ⇒ Object
Report name.
-
#partner_id ⇒ Object
Partner id associated with the report.
-
#query ⇒ Object
Report query.
-
#system_name ⇒ Object
Used to identify system reports in a friendly way.
-
#updated_at ⇒ Object
Last update date as Unix timestamp (In seconds).
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#created_at ⇒ Object
Creation date as Unix timestamp (In seconds)
8347 8348 8349 |
# File 'lib/kaltura_types.rb', line 8347 def created_at @created_at end |
#description ⇒ Object
Report description
8343 8344 8345 |
# File 'lib/kaltura_types.rb', line 8343 def description @description end |
#id ⇒ Object
Report id
8335 8336 8337 |
# File 'lib/kaltura_types.rb', line 8335 def id @id end |
#name ⇒ Object
Report name
8339 8340 8341 |
# File 'lib/kaltura_types.rb', line 8339 def name @name end |
#partner_id ⇒ Object
Partner id associated with the report
8337 8338 8339 |
# File 'lib/kaltura_types.rb', line 8337 def partner_id @partner_id end |
#query ⇒ Object
Report query
8345 8346 8347 |
# File 'lib/kaltura_types.rb', line 8345 def query @query end |
#system_name ⇒ Object
Used to identify system reports in a friendly way
8341 8342 8343 |
# File 'lib/kaltura_types.rb', line 8341 def system_name @system_name end |
#updated_at ⇒ Object
Last update date as Unix timestamp (In seconds)
8349 8350 8351 |
# File 'lib/kaltura_types.rb', line 8349 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 |
# File 'lib/kaltura_types.rb', line 8364 def from_xml(xml_element) super if xml_element.elements['id'] != nil self.id = xml_element.elements['id'].text end if xml_element.elements['partnerId'] != nil self.partner_id = xml_element.elements['partnerId'].text end if xml_element.elements['name'] != nil self.name = xml_element.elements['name'].text end if xml_element.elements['systemName'] != nil self.system_name = xml_element.elements['systemName'].text end if xml_element.elements['description'] != nil self.description = xml_element.elements['description'].text end if xml_element.elements['query'] != nil self.query = xml_element.elements['query'].text end if xml_element.elements['createdAt'] != nil self.created_at = xml_element.elements['createdAt'].text end if xml_element.elements['updatedAt'] != nil self.updated_at = xml_element.elements['updatedAt'].text end end |