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

#created_atObject

Returns the value of attribute created_at.



594
595
596
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 594

def created_at
  @created_at
end

#idObject

Returns the value of attribute id.



590
591
592
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 590

def id
  @id
end

#nameObject

Returns the value of attribute name.



592
593
594
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 592

def name
  @name
end

#pricingObject

Returns the value of attribute pricing.



600
601
602
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 600

def pricing
  @pricing
end

#service_featureObject

Returns the value of attribute service_feature.



598
599
600
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 598

def service_feature
  @service_feature
end

#service_typeObject

Returns the value of attribute service_type.



597
598
599
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 597

def service_type
  @service_type
end

#statusObject

Returns the value of attribute status.



596
597
598
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 596

def status
  @status
end

#system_nameObject

Returns the value of attribute system_name.



593
594
595
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 593

def system_name
  @system_name
end

#turn_around_timeObject

Returns the value of attribute turn_around_time.



599
600
601
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 599

def turn_around_time
  @turn_around_time
end

#updated_atObject

Returns the value of attribute updated_at.



595
596
597
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 595

def updated_at
  @updated_at
end

#vendor_partner_idObject

Returns the value of attribute vendor_partner_id.



591
592
593
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 591

def vendor_partner_id
  @vendor_partner_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
# File 'lib/kaltura_plugins/kaltura_reach_client_plugin.rb', line 627

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
end