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)
8527 8528 8529 |
# File 'lib/kaltura_types.rb', line 8527 def created_at @created_at end |
#description ⇒ Object
Report description
8523 8524 8525 |
# File 'lib/kaltura_types.rb', line 8523 def description @description end |
#id ⇒ Object
Report id
8515 8516 8517 |
# File 'lib/kaltura_types.rb', line 8515 def id @id end |
#name ⇒ Object
Report name
8519 8520 8521 |
# File 'lib/kaltura_types.rb', line 8519 def name @name end |
#partner_id ⇒ Object
Partner id associated with the report
8517 8518 8519 |
# File 'lib/kaltura_types.rb', line 8517 def partner_id @partner_id end |
#query ⇒ Object
Report query
8525 8526 8527 |
# File 'lib/kaltura_types.rb', line 8525 def query @query end |
#system_name ⇒ Object
Used to identify system reports in a friendly way
8521 8522 8523 |
# File 'lib/kaltura_types.rb', line 8521 def system_name @system_name end |
#updated_at ⇒ Object
Last update date as Unix timestamp (In seconds)
8529 8530 8531 |
# File 'lib/kaltura_types.rb', line 8529 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 |
# File 'lib/kaltura_types.rb', line 8544 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 |