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.



4620
4621
4622
# File 'lib/kaltura_types.rb', line 4620

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



4616
4617
4618
# File 'lib/kaltura_types.rb', line 4616

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



4619
4620
4621
# File 'lib/kaltura_types.rb', line 4619

def type_equal
  @type_equal
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
# File 'lib/kaltura_types.rb', line 4626

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