Class: Kaltura::KalturaPlaybackContext

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.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

#actionsObject

Array of actions as received from the rules that invalidated



8087
8088
8089
# File 'lib/kaltura_types.rb', line 8087

def actions
  @actions
end

#flavor_assetsObject

Returns the value of attribute flavor_assets.



8085
8086
8087
# File 'lib/kaltura_types.rb', line 8085

def flavor_assets
  @flavor_assets
end

#messagesObject

Array of actions as received from the rules that invalidated



8089
8090
8091
# File 'lib/kaltura_types.rb', line 8089

def messages
  @messages
end

#playback_captionsObject

Returns the value of attribute playback_captions.



8084
8085
8086
# File 'lib/kaltura_types.rb', line 8084

def playback_captions
  @playback_captions
end

#sourcesObject

Returns the value of attribute sources.



8083
8084
8085
# File 'lib/kaltura_types.rb', line 8083

def sources
  @sources
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
# File 'lib/kaltura_types.rb', line 8092

def from_xml(xml_element)
  super
  if xml_element.elements['sources'] != nil
    self.sources = KalturaClientBase.object_from_xml(xml_element.elements['sources'], 'KalturaPlaybackSource')
  end
  if xml_element.elements['playbackCaptions'] != nil
    self.playback_captions = KalturaClientBase.object_from_xml(xml_element.elements['playbackCaptions'], 'KalturaCaptionPlaybackPluginData')
  end
  if xml_element.elements['flavorAssets'] != nil
    self.flavor_assets = KalturaClientBase.object_from_xml(xml_element.elements['flavorAssets'], 'KalturaFlavorAsset')
  end
  if xml_element.elements['actions'] != nil
    self.actions = KalturaClientBase.object_from_xml(xml_element.elements['actions'], 'KalturaRuleAction')
  end
  if xml_element.elements['messages'] != nil
    self.messages = KalturaClientBase.object_from_xml(xml_element.elements['messages'], 'KalturaAccessControlMessage')
  end
end