Class: Kaltura::KalturaExportToCsvOptions

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

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

#default_headerObject

Returns the value of attribute default_header.



4559
4560
4561
# File 'lib/kaltura_types.rb', line 4559

def default_header
  @default_header
end

#formatObject

The format of the outputted date string. There are also several predefined date constants that may be used instead, so for example DATE_RSS contains the format string ‘D, d M Y H:i:s’. www.php.net/manual/en/function.date.php



4555
4556
4557
# File 'lib/kaltura_types.rb', line 4555

def format
  @format
end

#type_equalObject

Setting this property will cause additional columns to be added to the final report. The columns will be related to the specific object type passed (currently only MEDIA_CLIP is supported). Please note that this property will NOT change the result filter in any way (i.e passing MEDIA_CLIP here will not force the report to return only media items).



4558
4559
4560
# File 'lib/kaltura_types.rb', line 4558

def type_equal
  @type_equal
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
# File 'lib/kaltura_types.rb', line 4565

def from_xml(xml_element)
  super
  if xml_element.elements['format'] != nil
    self.format = xml_element.elements['format'].text
  end
  if xml_element.elements['typeEqual'] != nil
    self.type_equal = xml_element.elements['typeEqual'].text
  end
  if xml_element.elements['defaultHeader'] != nil
    self.default_header = xml_element.elements['defaultHeader'].text
  end
end