Class: Kaltura::KalturaVendorCatalogItem

Inherits:
KalturaObjectBase 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

#allow_resubmissionObject

Returns the value of attribute allow_resubmission.



692
693
694
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 692

def allow_resubmission
  @allow_resubmission
end

#created_atObject

Returns the value of attribute created_at.



682
683
684
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 682

def created_at
  @created_at
end

#engine_typeObject

Property showing the catalog item’s engine type, in case a vendor can offer the same service via different engines.



690
691
692
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 690

def engine_type
  @engine_type
end

#idObject

Returns the value of attribute id.



678
679
680
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 678

def id
  @id
end

#nameObject

Returns the value of attribute name.



680
681
682
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 680

def name
  @name
end

#pricingObject

Returns the value of attribute pricing.



688
689
690
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 688

def pricing
  @pricing
end

#service_featureObject

Returns the value of attribute service_feature.



686
687
688
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 686

def service_feature
  @service_feature
end

#service_typeObject

Returns the value of attribute service_type.



685
686
687
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 685

def service_type
  @service_type
end

#source_languageObject

Returns the value of attribute source_language.



691
692
693
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 691

def source_language
  @source_language
end

#statusObject

Returns the value of attribute status.



684
685
686
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 684

def status
  @status
end

#system_nameObject

Returns the value of attribute system_name.



681
682
683
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 681

def system_name
  @system_name
end

#turn_around_timeObject

Returns the value of attribute turn_around_time.



687
688
689
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 687

def turn_around_time
  @turn_around_time
end

#updated_atObject

Returns the value of attribute updated_at.



683
684
685
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 683

def updated_at
  @updated_at
end

#vendor_partner_idObject

Returns the value of attribute vendor_partner_id.



679
680
681
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 679

def vendor_partner_id
  @vendor_partner_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 722

def from_xml(xml_element)
	super
	if xml_element.elements['id'] != nil
		self.id = xml_element.elements['id'].text
	end
	if xml_element.elements['vendorPartnerId'] != nil
		self.vendor_partner_id = xml_element.elements['vendorPartnerId'].text
	end
	if xml_element.elements['name'] != nil
		self.name = xml_element.elements['name'].text
	end
	if xml_element.elements['systemName'] != nil
		self.system_name = xml_element.elements['systemName'].text
	end
	if xml_element.elements['createdAt'] != nil
		self.created_at = xml_element.elements['createdAt'].text
	end
	if xml_element.elements['updatedAt'] != nil
		self.updated_at = xml_element.elements['updatedAt'].text
	end
	if xml_element.elements['status'] != nil
		self.status = xml_element.elements['status'].text
	end
	if xml_element.elements['serviceType'] != nil
		self.service_type = xml_element.elements['serviceType'].text
	end
	if xml_element.elements['serviceFeature'] != nil
		self.service_feature = xml_element.elements['serviceFeature'].text
	end
	if xml_element.elements['turnAroundTime'] != nil
		self.turn_around_time = xml_element.elements['turnAroundTime'].text
	end
	if xml_element.elements['pricing'] != nil
		self.pricing = KalturaClientBase.object_from_xml(xml_element.elements['pricing'], 'KalturaVendorCatalogItemPricing')
	end
	if xml_element.elements['engineType'] != nil
		self.engine_type = xml_element.elements['engineType'].text
	end
	if xml_element.elements['sourceLanguage'] != nil
		self.source_language = xml_element.elements['sourceLanguage'].text
	end
	if xml_element.elements['allowResubmission'] != nil
		self.allow_resubmission = xml_element.elements['allowResubmission'].text
	end
end