Class: Kaltura::KalturaReportInputBaseFilter
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaReportInputBaseFilter
- Defined in:
- lib/kaltura_types.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#from_date ⇒ Object
Start date as Unix timestamp (In seconds).
-
#from_day ⇒ Object
Start day as string (YYYYMMDD).
-
#to_date ⇒ Object
End date as Unix timestamp (In seconds).
-
#to_day ⇒ Object
End date as string (YYYYMMDD).
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#from_date ⇒ Object
Start date as Unix timestamp (In seconds)
8571 8572 8573 |
# File 'lib/kaltura_types.rb', line 8571 def from_date @from_date end |
#from_day ⇒ Object
Start day as string (YYYYMMDD)
8575 8576 8577 |
# File 'lib/kaltura_types.rb', line 8575 def from_day @from_day end |
#to_date ⇒ Object
End date as Unix timestamp (In seconds)
8573 8574 8575 |
# File 'lib/kaltura_types.rb', line 8573 def to_date @to_date end |
#to_day ⇒ Object
End date as string (YYYYMMDD)
8577 8578 8579 |
# File 'lib/kaltura_types.rb', line 8577 def to_day @to_day end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 |
# File 'lib/kaltura_types.rb', line 8586 def from_xml(xml_element) super if xml_element.elements['fromDate'] != nil self.from_date = xml_element.elements['fromDate'].text end if xml_element.elements['toDate'] != nil self.to_date = xml_element.elements['toDate'].text end if xml_element.elements['fromDay'] != nil self.from_day = xml_element.elements['fromDay'].text end if xml_element.elements['toDay'] != nil self.to_day = xml_element.elements['toDay'].text end end |