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)
8071 8072 8073 |
# File 'lib/kaltura_types.rb', line 8071 def created_at @created_at end |
#description ⇒ Object
Report description
8067 8068 8069 |
# File 'lib/kaltura_types.rb', line 8067 def description @description end |
#id ⇒ Object
Report id
8059 8060 8061 |
# File 'lib/kaltura_types.rb', line 8059 def id @id end |
#name ⇒ Object
Report name
8063 8064 8065 |
# File 'lib/kaltura_types.rb', line 8063 def name @name end |
#partner_id ⇒ Object
Partner id associated with the report
8061 8062 8063 |
# File 'lib/kaltura_types.rb', line 8061 def partner_id @partner_id end |
#query ⇒ Object
Report query
8069 8070 8071 |
# File 'lib/kaltura_types.rb', line 8069 def query @query end |
#system_name ⇒ Object
Used to identify system reports in a friendly way
8065 8066 8067 |
# File 'lib/kaltura_types.rb', line 8065 def system_name @system_name end |
#updated_at ⇒ Object
Last update date as Unix timestamp (In seconds)
8073 8074 8075 |
# File 'lib/kaltura_types.rb', line 8073 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 |
# File 'lib/kaltura_types.rb', line 8088 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 |