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)
8523 8524 8525 |
# File 'lib/kaltura_types.rb', line 8523 def from_date @from_date end |
#from_day ⇒ Object
Start day as string (YYYYMMDD)
8527 8528 8529 |
# File 'lib/kaltura_types.rb', line 8527 def from_day @from_day end |
#to_date ⇒ Object
End date as Unix timestamp (In seconds)
8525 8526 8527 |
# File 'lib/kaltura_types.rb', line 8525 def to_date @to_date end |
#to_day ⇒ Object
End date as string (YYYYMMDD)
8529 8530 8531 |
# File 'lib/kaltura_types.rb', line 8529 def to_day @to_day end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 |
# File 'lib/kaltura_types.rb', line 8538 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 |