Class: Kaltura::KalturaEntryContextDataResult
- Inherits:
-
KalturaContextDataResult
- Object
- KalturaObjectBase
- KalturaContextDataResult
- Kaltura::KalturaEntryContextDataResult
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#access_control_actions ⇒ Object
Array of actions as received from the access control rules that invalidated.
-
#access_control_messages ⇒ Object
Array of messages as received from the access control rules that invalidated.
-
#flavor_assets ⇒ Object
Array of allowed flavor assets according to access control limitations and requested tags.
-
#is_admin ⇒ Object
Returns the value of attribute is_admin.
-
#is_country_restricted ⇒ Object
Returns the value of attribute is_country_restricted.
-
#is_ip_address_restricted ⇒ Object
Returns the value of attribute is_ip_address_restricted.
-
#is_scheduled_now ⇒ Object
Returns the value of attribute is_scheduled_now.
-
#is_session_restricted ⇒ Object
Returns the value of attribute is_session_restricted.
-
#is_site_restricted ⇒ Object
Returns the value of attribute is_site_restricted.
-
#is_user_agent_restricted ⇒ Object
Returns the value of attribute is_user_agent_restricted.
-
#media_protocol ⇒ Object
http/https, rtmp/rtmpe.
-
#plugin_data ⇒ Object
Array of allowed flavor assets according to access control limitations and requested tags.
-
#preview_length ⇒ Object
Returns the value of attribute preview_length.
-
#storage_profiles_xml ⇒ Object
Returns the value of attribute storage_profiles_xml.
-
#streamer_type ⇒ Object
http/rtmp/hdnetwork.
Attributes inherited from KalturaContextDataResult
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#access_control_actions ⇒ Object
Array of actions as received from the access control rules that invalidated
8744 8745 8746 |
# File 'lib/kaltura_types.rb', line 8744 def access_control_actions @access_control_actions end |
#access_control_messages ⇒ Object
Array of messages as received from the access control rules that invalidated
8741 8742 8743 |
# File 'lib/kaltura_types.rb', line 8741 def @access_control_messages end |
#flavor_assets ⇒ Object
Array of allowed flavor assets according to access control limitations and requested tags
8747 8748 8749 |
# File 'lib/kaltura_types.rb', line 8747 def flavor_assets @flavor_assets end |
#is_admin ⇒ Object
Returns the value of attribute is_admin.
8731 8732 8733 |
# File 'lib/kaltura_types.rb', line 8731 def is_admin @is_admin end |
#is_country_restricted ⇒ Object
Returns the value of attribute is_country_restricted.
8725 8726 8727 |
# File 'lib/kaltura_types.rb', line 8725 def is_country_restricted @is_country_restricted end |
#is_ip_address_restricted ⇒ Object
Returns the value of attribute is_ip_address_restricted.
8727 8728 8729 |
# File 'lib/kaltura_types.rb', line 8727 def is_ip_address_restricted @is_ip_address_restricted end |
#is_scheduled_now ⇒ Object
Returns the value of attribute is_scheduled_now.
8730 8731 8732 |
# File 'lib/kaltura_types.rb', line 8730 def is_scheduled_now @is_scheduled_now end |
#is_session_restricted ⇒ Object
Returns the value of attribute is_session_restricted.
8726 8727 8728 |
# File 'lib/kaltura_types.rb', line 8726 def is_session_restricted @is_session_restricted end |
#is_site_restricted ⇒ Object
Returns the value of attribute is_site_restricted.
8724 8725 8726 |
# File 'lib/kaltura_types.rb', line 8724 def is_site_restricted @is_site_restricted end |
#is_user_agent_restricted ⇒ Object
Returns the value of attribute is_user_agent_restricted.
8728 8729 8730 |
# File 'lib/kaltura_types.rb', line 8728 def is_user_agent_restricted @is_user_agent_restricted end |
#media_protocol ⇒ Object
http/https, rtmp/rtmpe
8737 8738 8739 |
# File 'lib/kaltura_types.rb', line 8737 def media_protocol @media_protocol end |
#plugin_data ⇒ Object
Array of allowed flavor assets according to access control limitations and requested tags
8750 8751 8752 |
# File 'lib/kaltura_types.rb', line 8750 def plugin_data @plugin_data end |
#preview_length ⇒ Object
Returns the value of attribute preview_length.
8729 8730 8731 |
# File 'lib/kaltura_types.rb', line 8729 def preview_length @preview_length end |
#storage_profiles_xml ⇒ Object
Returns the value of attribute storage_profiles_xml.
8738 8739 8740 |
# File 'lib/kaltura_types.rb', line 8738 def storage_profiles_xml @storage_profiles_xml end |
#streamer_type ⇒ Object
http/rtmp/hdnetwork
8734 8735 8736 |
# File 'lib/kaltura_types.rb', line 8734 def streamer_type @streamer_type end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 |
# File 'lib/kaltura_types.rb', line 8777 def from_xml(xml_element) super self.is_site_restricted = xml_element.elements['isSiteRestricted'].text self.is_country_restricted = xml_element.elements['isCountryRestricted'].text self.is_session_restricted = xml_element.elements['isSessionRestricted'].text self.is_ip_address_restricted = xml_element.elements['isIpAddressRestricted'].text self.is_user_agent_restricted = xml_element.elements['isUserAgentRestricted'].text self.preview_length = xml_element.elements['previewLength'].text self.is_scheduled_now = xml_element.elements['isScheduledNow'].text self.is_admin = xml_element.elements['isAdmin'].text self.streamer_type = xml_element.elements['streamerType'].text self.media_protocol = xml_element.elements['mediaProtocol'].text self.storage_profiles_xml = xml_element.elements['storageProfilesXML'].text self. = KalturaClientBase.object_from_xml(xml_element.elements['accessControlMessages'], 'KalturaString') self.access_control_actions = KalturaClientBase.object_from_xml(xml_element.elements['accessControlActions'], 'KalturaRuleAction') self.flavor_assets = KalturaClientBase.object_from_xml(xml_element.elements['flavorAssets'], 'KalturaFlavorAsset') self.plugin_data = KalturaClientBase.object_from_xml(xml_element.elements['pluginData'], 'KalturaPluginData') end |