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



12799
12800
12801
# File 'lib/kaltura_types.rb', line 12799

def access_control_actions
  @access_control_actions
end

#access_control_messagesObject

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



12797
12798
12799
# File 'lib/kaltura_types.rb', line 12797

def access_control_messages
  @access_control_messages
end

#flavor_assetsObject

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



12801
12802
12803
# File 'lib/kaltura_types.rb', line 12801

def flavor_assets
  @flavor_assets
end

#is_adminObject

Returns the value of attribute is_admin.



12790
12791
12792
# File 'lib/kaltura_types.rb', line 12790

def is_admin
  @is_admin
end

#is_country_restrictedObject

Returns the value of attribute is_country_restricted.



12784
12785
12786
# File 'lib/kaltura_types.rb', line 12784

def is_country_restricted
  @is_country_restricted
end

#is_ip_address_restrictedObject

Returns the value of attribute is_ip_address_restricted.



12786
12787
12788
# File 'lib/kaltura_types.rb', line 12786

def is_ip_address_restricted
  @is_ip_address_restricted
end

#is_scheduled_nowObject

Returns the value of attribute is_scheduled_now.



12789
12790
12791
# File 'lib/kaltura_types.rb', line 12789

def is_scheduled_now
  @is_scheduled_now
end

#is_session_restrictedObject

Returns the value of attribute is_session_restricted.



12785
12786
12787
# File 'lib/kaltura_types.rb', line 12785

def is_session_restricted
  @is_session_restricted
end

#is_site_restrictedObject

Returns the value of attribute is_site_restricted.



12783
12784
12785
# File 'lib/kaltura_types.rb', line 12783

def is_site_restricted
  @is_site_restricted
end

#is_user_agent_restrictedObject

Returns the value of attribute is_user_agent_restricted.



12787
12788
12789
# File 'lib/kaltura_types.rb', line 12787

def is_user_agent_restricted
  @is_user_agent_restricted
end

#media_protocolObject

http/https, rtmp/rtmpe



12794
12795
12796
# File 'lib/kaltura_types.rb', line 12794

def media_protocol
  @media_protocol
end

#ms_durationObject

The duration of the entry in milliseconds



12803
12804
12805
# File 'lib/kaltura_types.rb', line 12803

def ms_duration
  @ms_duration
end

#plugin_dataObject

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



12805
12806
12807
# File 'lib/kaltura_types.rb', line 12805

def plugin_data
  @plugin_data
end

#preview_lengthObject

Returns the value of attribute preview_length.



12788
12789
12790
# File 'lib/kaltura_types.rb', line 12788

def preview_length
  @preview_length
end

#storage_profiles_xmlObject

Returns the value of attribute storage_profiles_xml.



12795
12796
12797
# File 'lib/kaltura_types.rb', line 12795

def storage_profiles_xml
  @storage_profiles_xml
end

#streamer_typeObject

http/rtmp/hdnetwork



12792
12793
12794
# File 'lib/kaltura_types.rb', line 12792

def streamer_type
  @streamer_type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
# File 'lib/kaltura_types.rb', line 12835

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