Class: Kaltura::KalturaUnlimitedVendorCredit

Inherits:
KalturaBaseVendorCredit show all
Defined in:
lib/kaltura_plugins/kaltura_reach_client_plugin.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

#creditObject

Returns the value of attribute credit.



841
842
843
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 841

def credit
  @credit
end

#from_dateObject

Returns the value of attribute from_date.



842
843
844
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 842

def from_date
  @from_date
end

#to_dateObject

Returns the value of attribute to_date.



843
844
845
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 843

def to_date
  @to_date
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



855
856
857
858
859
860
861
862
863
864
865
866
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 855

def from_xml(xml_element)
	super
	if xml_element.elements['credit'] != nil
		self.credit = xml_element.elements['credit'].text
	end
	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
end