Class: Kaltura::KalturaReportInputBaseFilter

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.rb

Direct Known Subclasses

KalturaReportInputFilter

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#from_dateObject

Start date as Unix timestamp (In seconds)



8466
8467
8468
# File 'lib/kaltura_types.rb', line 8466

def from_date
  @from_date
end

#from_dayObject

Start day as string (YYYYMMDD)



8470
8471
8472
# File 'lib/kaltura_types.rb', line 8470

def from_day
  @from_day
end

#to_dateObject

End date as Unix timestamp (In seconds)



8468
8469
8470
# File 'lib/kaltura_types.rb', line 8468

def to_date
  @to_date
end

#to_dayObject

End date as string (YYYYMMDD)



8472
8473
8474
# File 'lib/kaltura_types.rb', line 8472

def to_day
  @to_day
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
# File 'lib/kaltura_types.rb', line 8481

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