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.
-
#ms_duration ⇒ Object
The duration of the entry in milliseconds.
-
#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
12893 12894 12895 |
# File 'lib/kaltura_types.rb', line 12893 def access_control_actions @access_control_actions end |
#access_control_messages ⇒ Object
Array of messages as received from the access control rules that invalidated
12891 12892 12893 |
# File 'lib/kaltura_types.rb', line 12891 def end |
#flavor_assets ⇒ Object
Array of allowed flavor assets according to access control limitations and requested tags
12895 12896 12897 |
# File 'lib/kaltura_types.rb', line 12895 def flavor_assets @flavor_assets end |
#is_admin ⇒ Object
Returns the value of attribute is_admin.
12884 12885 12886 |
# File 'lib/kaltura_types.rb', line 12884 def is_admin @is_admin end |
#is_country_restricted ⇒ Object
Returns the value of attribute is_country_restricted.
12878 12879 12880 |
# File 'lib/kaltura_types.rb', line 12878 def is_country_restricted @is_country_restricted end |
#is_ip_address_restricted ⇒ Object
Returns the value of attribute is_ip_address_restricted.
12880 12881 12882 |
# File 'lib/kaltura_types.rb', line 12880 def is_ip_address_restricted @is_ip_address_restricted end |
#is_scheduled_now ⇒ Object
Returns the value of attribute is_scheduled_now.
12883 12884 12885 |
# File 'lib/kaltura_types.rb', line 12883 def is_scheduled_now @is_scheduled_now end |
#is_session_restricted ⇒ Object
Returns the value of attribute is_session_restricted.
12879 12880 12881 |
# File 'lib/kaltura_types.rb', line 12879 def is_session_restricted @is_session_restricted end |
#is_site_restricted ⇒ Object
Returns the value of attribute is_site_restricted.
12877 12878 12879 |
# File 'lib/kaltura_types.rb', line 12877 def is_site_restricted @is_site_restricted end |
#is_user_agent_restricted ⇒ Object
Returns the value of attribute is_user_agent_restricted.
12881 12882 12883 |
# File 'lib/kaltura_types.rb', line 12881 def is_user_agent_restricted @is_user_agent_restricted end |
#media_protocol ⇒ Object
http/https, rtmp/rtmpe
12888 12889 12890 |
# File 'lib/kaltura_types.rb', line 12888 def media_protocol @media_protocol end |
#ms_duration ⇒ Object
The duration of the entry in milliseconds
12897 12898 12899 |
# File 'lib/kaltura_types.rb', line 12897 def ms_duration @ms_duration end |
#plugin_data ⇒ Object
Array of allowed flavor assets according to access control limitations and requested tags
12899 12900 12901 |
# File 'lib/kaltura_types.rb', line 12899 def plugin_data @plugin_data end |
#preview_length ⇒ Object
Returns the value of attribute preview_length.
12882 12883 12884 |
# File 'lib/kaltura_types.rb', line 12882 def preview_length @preview_length end |
#storage_profiles_xml ⇒ Object
Returns the value of attribute storage_profiles_xml.
12889 12890 12891 |
# File 'lib/kaltura_types.rb', line 12889 def storage_profiles_xml @storage_profiles_xml end |
#streamer_type ⇒ Object
http/rtmp/hdnetwork
12886 12887 12888 |
# File 'lib/kaltura_types.rb', line 12886 def streamer_type @streamer_type end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 12978 12979 |
# File 'lib/kaltura_types.rb', line 12929 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. = 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 |