Class: Kaltura::KalturaESearchCaptionItemData
- Inherits:
-
KalturaESearchItemData
- Object
- KalturaObjectBase
- KalturaESearchItemData
- Kaltura::KalturaESearchCaptionItemData
- Defined in:
- lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb
Instance Attribute Summary collapse
-
#caption_asset_id ⇒ Object
Returns the value of attribute caption_asset_id.
-
#ends_at ⇒ Object
Returns the value of attribute ends_at.
-
#label ⇒ Object
Returns the value of attribute label.
-
#language ⇒ Object
Returns the value of attribute language.
-
#line ⇒ Object
Returns the value of attribute line.
-
#starts_at ⇒ Object
Returns the value of attribute starts_at.
Attributes inherited from KalturaESearchItemData
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#caption_asset_id ⇒ Object
Returns the value of attribute caption_asset_id.
525 526 527 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 525 def caption_asset_id @caption_asset_id end |
#ends_at ⇒ Object
Returns the value of attribute ends_at.
523 524 525 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 523 def ends_at @ends_at end |
#label ⇒ Object
Returns the value of attribute label.
526 527 528 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 526 def label @label end |
#language ⇒ Object
Returns the value of attribute language.
524 525 526 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 524 def language @language end |
#line ⇒ Object
Returns the value of attribute line.
521 522 523 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 521 def line @line end |
#starts_at ⇒ Object
Returns the value of attribute starts_at.
522 523 524 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 522 def starts_at @starts_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 535 def from_xml(xml_element) super if xml_element.elements['line'] != nil self.line = xml_element.elements['line'].text end if xml_element.elements['startsAt'] != nil self.starts_at = xml_element.elements['startsAt'].text end if xml_element.elements['endsAt'] != nil self.ends_at = xml_element.elements['endsAt'].text end if xml_element.elements['language'] != nil self.language = xml_element.elements['language'].text end if xml_element.elements['captionAssetId'] != nil self.caption_asset_id = xml_element.elements['captionAssetId'].text end if xml_element.elements['label'] != nil self.label = xml_element.elements['label'].text end end |