Class: Kaltura::KalturaESearchCuePointItemData
- Inherits:
-
KalturaESearchItemData
- Object
- KalturaObjectBase
- KalturaESearchItemData
- Kaltura::KalturaESearchCuePointItemData
- Defined in:
- lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb
Instance Attribute Summary collapse
-
#answers ⇒ Object
Returns the value of attribute answers.
-
#asset_id ⇒ Object
Returns the value of attribute asset_id.
-
#cue_point_type ⇒ Object
Returns the value of attribute cue_point_type.
-
#end_time ⇒ Object
Returns the value of attribute end_time.
-
#explanation ⇒ Object
Returns the value of attribute explanation.
-
#hint ⇒ Object
Returns the value of attribute hint.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#question ⇒ Object
Returns the value of attribute question.
-
#start_time ⇒ Object
Returns the value of attribute start_time.
-
#sub_type ⇒ Object
Returns the value of attribute sub_type.
-
#tags ⇒ Object
Returns the value of attribute tags.
-
#text ⇒ Object
Returns the value of attribute text.
Attributes inherited from KalturaESearchItemData
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#answers ⇒ Object
Returns the value of attribute answers.
744 745 746 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 744 def answers @answers end |
#asset_id ⇒ Object
Returns the value of attribute asset_id.
747 748 749 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 747 def asset_id @asset_id end |
#cue_point_type ⇒ Object
Returns the value of attribute cue_point_type.
735 736 737 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 735 def cue_point_type @cue_point_type end |
#end_time ⇒ Object
Returns the value of attribute end_time.
741 742 743 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 741 def end_time @end_time end |
#explanation ⇒ Object
Returns the value of attribute explanation.
746 747 748 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 746 def explanation @explanation end |
#hint ⇒ Object
Returns the value of attribute hint.
745 746 747 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 745 def hint @hint end |
#id ⇒ Object
Returns the value of attribute id.
736 737 738 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 736 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
737 738 739 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 737 def name @name end |
#question ⇒ Object
Returns the value of attribute question.
743 744 745 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 743 def question @question end |
#start_time ⇒ Object
Returns the value of attribute start_time.
740 741 742 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 740 def start_time @start_time end |
#sub_type ⇒ Object
Returns the value of attribute sub_type.
742 743 744 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 742 def sub_type @sub_type end |
#tags ⇒ Object
Returns the value of attribute tags.
739 740 741 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 739 def @tags end |
#text ⇒ Object
Returns the value of attribute text.
738 739 740 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 738 def text @text end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 750 def from_xml(xml_element) super if xml_element.elements['cuePointType'] != nil self.cue_point_type = xml_element.elements['cuePointType'].text end if xml_element.elements['id'] != nil self.id = xml_element.elements['id'].text end if xml_element.elements['name'] != nil self.name = xml_element.elements['name'].text end if xml_element.elements['text'] != nil self.text = xml_element.elements['text'].text end if xml_element.elements['tags'] != nil self. = KalturaClientBase.object_from_xml(xml_element.elements['tags'], 'KalturaString') end if xml_element.elements['startTime'] != nil self.start_time = xml_element.elements['startTime'].text end if xml_element.elements['endTime'] != nil self.end_time = xml_element.elements['endTime'].text end if xml_element.elements['subType'] != nil self.sub_type = xml_element.elements['subType'].text end if xml_element.elements['question'] != nil self.question = xml_element.elements['question'].text end if xml_element.elements['answers'] != nil self.answers = KalturaClientBase.object_from_xml(xml_element.elements['answers'], 'KalturaString') end if xml_element.elements['hint'] != nil self.hint = xml_element.elements['hint'].text end if xml_element.elements['explanation'] != nil self.explanation = xml_element.elements['explanation'].text end if xml_element.elements['assetId'] != nil self.asset_id = xml_element.elements['assetId'].text end end |