Class: Kaltura::KalturaEntryContextDataResult

Inherits:
KalturaContextDataResult show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaContextDataResult

#actions, #messages

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#access_control_actionsObject

Array of actions as received from the access control rules that invalidated



12678
12679
12680
# File 'lib/kaltura_types.rb', line 12678

def access_control_actions
  @access_control_actions
end

#access_control_messagesObject

Array of messages as received from the access control rules that invalidated



12676
12677
12678
# File 'lib/kaltura_types.rb', line 12676

def access_control_messages
  @access_control_messages
end

#flavor_assetsObject

Array of allowed flavor assets according to access control limitations and requested tags



12680
12681
12682
# File 'lib/kaltura_types.rb', line 12680

def flavor_assets
  @flavor_assets
end

#is_adminObject

Returns the value of attribute is_admin.



12669
12670
12671
# File 'lib/kaltura_types.rb', line 12669

def is_admin
  @is_admin
end

#is_country_restrictedObject

Returns the value of attribute is_country_restricted.



12663
12664
12665
# File 'lib/kaltura_types.rb', line 12663

def is_country_restricted
  @is_country_restricted
end

#is_ip_address_restrictedObject

Returns the value of attribute is_ip_address_restricted.



12665
12666
12667
# File 'lib/kaltura_types.rb', line 12665

def is_ip_address_restricted
  @is_ip_address_restricted
end

#is_scheduled_nowObject

Returns the value of attribute is_scheduled_now.



12668
12669
12670
# File 'lib/kaltura_types.rb', line 12668

def is_scheduled_now
  @is_scheduled_now
end

#is_session_restrictedObject

Returns the value of attribute is_session_restricted.



12664
12665
12666
# File 'lib/kaltura_types.rb', line 12664

def is_session_restricted
  @is_session_restricted
end

#is_site_restrictedObject

Returns the value of attribute is_site_restricted.



12662
12663
12664
# File 'lib/kaltura_types.rb', line 12662

def is_site_restricted
  @is_site_restricted
end

#is_user_agent_restrictedObject

Returns the value of attribute is_user_agent_restricted.



12666
12667
12668
# File 'lib/kaltura_types.rb', line 12666

def is_user_agent_restricted
  @is_user_agent_restricted
end

#media_protocolObject

http/https, rtmp/rtmpe



12673
12674
12675
# File 'lib/kaltura_types.rb', line 12673

def media_protocol
  @media_protocol
end

#ms_durationObject

The duration of the entry in milliseconds



12682
12683
12684
# File 'lib/kaltura_types.rb', line 12682

def ms_duration
  @ms_duration
end

#plugin_dataObject

Array of allowed flavor assets according to access control limitations and requested tags



12684
12685
12686
# File 'lib/kaltura_types.rb', line 12684

def plugin_data
  @plugin_data
end

#preview_lengthObject

Returns the value of attribute preview_length.



12667
12668
12669
# File 'lib/kaltura_types.rb', line 12667

def preview_length
  @preview_length
end

#storage_profiles_xmlObject

Returns the value of attribute storage_profiles_xml.



12674
12675
12676
# File 'lib/kaltura_types.rb', line 12674

def storage_profiles_xml
  @storage_profiles_xml
end

#streamer_typeObject

http/rtmp/hdnetwork



12671
12672
12673
# File 'lib/kaltura_types.rb', line 12671

def streamer_type
  @streamer_type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
# File 'lib/kaltura_types.rb', line 12714

def from_xml(xml_element)
  super
  if xml_element.elements['isSiteRestricted'] != nil
    self.is_site_restricted = xml_element.elements['isSiteRestricted'].text
  end
  if xml_element.elements['isCountryRestricted'] != nil
    self.is_country_restricted = xml_element.elements['isCountryRestricted'].text
  end
  if xml_element.elements['isSessionRestricted'] != nil
    self.is_session_restricted = xml_element.elements['isSessionRestricted'].text
  end
  if xml_element.elements['isIpAddressRestricted'] != nil
    self.is_ip_address_restricted = xml_element.elements['isIpAddressRestricted'].text
  end
  if xml_element.elements['isUserAgentRestricted'] != nil
    self.is_user_agent_restricted = xml_element.elements['isUserAgentRestricted'].text
  end
  if xml_element.elements['previewLength'] != nil
    self.preview_length = xml_element.elements['previewLength'].text
  end
  if xml_element.elements['isScheduledNow'] != nil
    self.is_scheduled_now = xml_element.elements['isScheduledNow'].text
  end
  if xml_element.elements['isAdmin'] != nil
    self.is_admin = xml_element.elements['isAdmin'].text
  end
  if xml_element.elements['streamerType'] != nil
    self.streamer_type = xml_element.elements['streamerType'].text
  end
  if xml_element.elements['mediaProtocol'] != nil
    self.media_protocol = xml_element.elements['mediaProtocol'].text
  end
  if xml_element.elements['storageProfilesXML'] != nil
    self.storage_profiles_xml = xml_element.elements['storageProfilesXML'].text
  end
  if xml_element.elements['accessControlMessages'] != nil
    self.access_control_messages = KalturaClientBase.object_from_xml(xml_element.elements['accessControlMessages'], 'KalturaString')
  end
  if xml_element.elements['accessControlActions'] != nil
    self.access_control_actions = KalturaClientBase.object_from_xml(xml_element.elements['accessControlActions'], 'KalturaRuleAction')
  end
  if xml_element.elements['flavorAssets'] != nil
    self.flavor_assets = KalturaClientBase.object_from_xml(xml_element.elements['flavorAssets'], 'KalturaFlavorAsset')
  end
  if xml_element.elements['msDuration'] != nil
    self.ms_duration = xml_element.elements['msDuration'].text
  end
  if xml_element.elements['pluginData'] != nil
    self.plugin_data = KalturaClientBase.object_from_xml(xml_element.elements['pluginData'], 'KalturaPluginData')
  end
end