Class: Kaltura::KalturaSystemPartnerUsageFilter

Inherits:
KalturaFilter show all
Defined in:
lib/kaltura_plugins/kaltura_system_partner_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaFilter

#advanced_search, #order_by

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

Date range from



208
209
210
# File 'lib/kaltura_plugins/kaltura_system_partner_client_plugin.rb', line 208

def from_date
  @from_date
end

#timezone_offsetObject

Time zone offset



212
213
214
# File 'lib/kaltura_plugins/kaltura_system_partner_client_plugin.rb', line 212

def timezone_offset
  @timezone_offset
end

#to_dateObject

Date range to



210
211
212
# File 'lib/kaltura_plugins/kaltura_system_partner_client_plugin.rb', line 210

def to_date
  @to_date
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



224
225
226
227
228
229
230
231
232
233
234
235
# File 'lib/kaltura_plugins/kaltura_system_partner_client_plugin.rb', line 224

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['timezoneOffset'] != nil
		self.timezone_offset = xml_element.elements['timezoneOffset'].text
	end
end