Class: Kaltura::KalturaAnalyticsFilter
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaAnalyticsFilter
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#dimensions ⇒ Object
Comma separated dimensions list.
-
#filters ⇒ Object
Array of filters.
-
#from_time ⇒ Object
Query start time (in local time) MM/dd/yyyy HH:mi.
-
#metrics ⇒ Object
Comma separated metrics list.
-
#order_by ⇒ Object
Query order by metric/dimension.
-
#to_time ⇒ Object
Query end time (in local time) MM/dd/yyyy HH:mi.
-
#utc_offset ⇒ Object
Timezone offset from UTC (in minutes).
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#dimensions ⇒ Object
Comma separated dimensions list
426 427 428 |
# File 'lib/kaltura_types.rb', line 426 def dimensions @dimensions end |
#filters ⇒ Object
Array of filters
428 429 430 |
# File 'lib/kaltura_types.rb', line 428 def filters @filters end |
#from_time ⇒ Object
Query start time (in local time) MM/dd/yyyy HH:mi
418 419 420 |
# File 'lib/kaltura_types.rb', line 418 def from_time @from_time end |
#metrics ⇒ Object
Comma separated metrics list
422 423 424 |
# File 'lib/kaltura_types.rb', line 422 def metrics @metrics end |
#order_by ⇒ Object
Query order by metric/dimension
430 431 432 |
# File 'lib/kaltura_types.rb', line 430 def order_by @order_by end |
#to_time ⇒ Object
Query end time (in local time) MM/dd/yyyy HH:mi
420 421 422 |
# File 'lib/kaltura_types.rb', line 420 def to_time @to_time end |
#utc_offset ⇒ Object
Timezone offset from UTC (in minutes)
424 425 426 |
# File 'lib/kaltura_types.rb', line 424 def utc_offset @utc_offset end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 |
# File 'lib/kaltura_types.rb', line 436 def from_xml(xml_element) super if xml_element.elements['from_time'] != nil self.from_time = xml_element.elements['from_time'].text end if xml_element.elements['to_time'] != nil self.to_time = xml_element.elements['to_time'].text end if xml_element.elements['metrics'] != nil self.metrics = xml_element.elements['metrics'].text end if xml_element.elements['utcOffset'] != nil self.utc_offset = xml_element.elements['utcOffset'].text end if xml_element.elements['dimensions'] != nil self.dimensions = xml_element.elements['dimensions'].text end if xml_element.elements['filters'] != nil self.filters = KalturaClientBase.object_from_xml(xml_element.elements['filters'], 'KalturaReportFilter') end if xml_element.elements['orderBy'] != nil self.order_by = xml_element.elements['orderBy'].text end end |