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.



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

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



4551
4552
4553
# File 'lib/kaltura_types.rb', line 4551

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).



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

def type_equal
  @type_equal
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
# File 'lib/kaltura_types.rb', line 4561

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