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)
8440 8441 8442 |
# File 'lib/kaltura_types.rb', line 8440 def created_at @created_at end |
#description ⇒ Object
Report description
8436 8437 8438 |
# File 'lib/kaltura_types.rb', line 8436 def description @description end |
#id ⇒ Object
Report id
8428 8429 8430 |
# File 'lib/kaltura_types.rb', line 8428 def id @id end |
#name ⇒ Object
Report name
8432 8433 8434 |
# File 'lib/kaltura_types.rb', line 8432 def name @name end |
#partner_id ⇒ Object
Partner id associated with the report
8430 8431 8432 |
# File 'lib/kaltura_types.rb', line 8430 def partner_id @partner_id end |
#query ⇒ Object
Report query
8438 8439 8440 |
# File 'lib/kaltura_types.rb', line 8438 def query @query end |
#system_name ⇒ Object
Used to identify system reports in a friendly way
8434 8435 8436 |
# File 'lib/kaltura_types.rb', line 8434 def system_name @system_name end |
#updated_at ⇒ Object
Last update date as Unix timestamp (In seconds)
8442 8443 8444 |
# File 'lib/kaltura_types.rb', line 8442 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 |
# File 'lib/kaltura_types.rb', line 8457 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 |