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



12956
12957
12958
# File 'lib/kaltura_types.rb', line 12956

def access_control_actions
  @access_control_actions
end

#access_control_messagesObject

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



12954
12955
12956
# File 'lib/kaltura_types.rb', line 12954

def access_control_messages
  @access_control_messages
end

#flavor_assetsObject

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



12958
12959
12960
# File 'lib/kaltura_types.rb', line 12958

def flavor_assets
  @flavor_assets
end

#is_adminObject

Returns the value of attribute is_admin.



12947
12948
12949
# File 'lib/kaltura_types.rb', line 12947

def is_admin
  @is_admin
end

#is_country_restrictedObject

Returns the value of attribute is_country_restricted.



12941
12942
12943
# File 'lib/kaltura_types.rb', line 12941

def is_country_restricted
  @is_country_restricted
end

#is_ip_address_restrictedObject

Returns the value of attribute is_ip_address_restricted.



12943
12944
12945
# File 'lib/kaltura_types.rb', line 12943

def is_ip_address_restricted
  @is_ip_address_restricted
end

#is_scheduled_nowObject

Returns the value of attribute is_scheduled_now.



12946
12947
12948
# File 'lib/kaltura_types.rb', line 12946

def is_scheduled_now
  @is_scheduled_now
end

#is_session_restrictedObject

Returns the value of attribute is_session_restricted.



12942
12943
12944
# File 'lib/kaltura_types.rb', line 12942

def is_session_restricted
  @is_session_restricted
end

#is_site_restrictedObject

Returns the value of attribute is_site_restricted.



12940
12941
12942
# File 'lib/kaltura_types.rb', line 12940

def is_site_restricted
  @is_site_restricted
end

#is_user_agent_restrictedObject

Returns the value of attribute is_user_agent_restricted.



12944
12945
12946
# File 'lib/kaltura_types.rb', line 12944

def is_user_agent_restricted
  @is_user_agent_restricted
end

#media_protocolObject

http/https, rtmp/rtmpe



12951
12952
12953
# File 'lib/kaltura_types.rb', line 12951

def media_protocol
  @media_protocol
end

#ms_durationObject

The duration of the entry in milliseconds



12960
12961
12962
# File 'lib/kaltura_types.rb', line 12960

def ms_duration
  @ms_duration
end

#plugin_dataObject

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



12962
12963
12964
# File 'lib/kaltura_types.rb', line 12962

def plugin_data
  @plugin_data
end

#preview_lengthObject

Returns the value of attribute preview_length.



12945
12946
12947
# File 'lib/kaltura_types.rb', line 12945

def preview_length
  @preview_length
end

#storage_profiles_xmlObject

Returns the value of attribute storage_profiles_xml.



12952
12953
12954
# File 'lib/kaltura_types.rb', line 12952

def storage_profiles_xml
  @storage_profiles_xml
end

#streamer_typeObject

http/rtmp/hdnetwork



12949
12950
12951
# File 'lib/kaltura_types.rb', line 12949

def streamer_type
  @streamer_type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
# File 'lib/kaltura_types.rb', line 12992

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