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
13463 13464 13465 |
# File 'lib/kaltura_types.rb', line 13463 def access_control_actions @access_control_actions end |
#access_control_messages ⇒ Object
Array of messages as received from the access control rules that invalidated
13461 13462 13463 |
# File 'lib/kaltura_types.rb', line 13461 def @access_control_messages end |
#flavor_assets ⇒ Object
Array of allowed flavor assets according to access control limitations and requested tags
13465 13466 13467 |
# File 'lib/kaltura_types.rb', line 13465 def flavor_assets @flavor_assets end |
#is_admin ⇒ Object
Returns the value of attribute is_admin.
13454 13455 13456 |
# File 'lib/kaltura_types.rb', line 13454 def is_admin @is_admin end |
#is_country_restricted ⇒ Object
Returns the value of attribute is_country_restricted.
13448 13449 13450 |
# File 'lib/kaltura_types.rb', line 13448 def is_country_restricted @is_country_restricted end |
#is_ip_address_restricted ⇒ Object
Returns the value of attribute is_ip_address_restricted.
13450 13451 13452 |
# File 'lib/kaltura_types.rb', line 13450 def is_ip_address_restricted @is_ip_address_restricted end |
#is_scheduled_now ⇒ Object
Returns the value of attribute is_scheduled_now.
13453 13454 13455 |
# File 'lib/kaltura_types.rb', line 13453 def is_scheduled_now @is_scheduled_now end |
#is_session_restricted ⇒ Object
Returns the value of attribute is_session_restricted.
13449 13450 13451 |
# File 'lib/kaltura_types.rb', line 13449 def is_session_restricted @is_session_restricted end |
#is_site_restricted ⇒ Object
Returns the value of attribute is_site_restricted.
13447 13448 13449 |
# File 'lib/kaltura_types.rb', line 13447 def is_site_restricted @is_site_restricted end |
#is_user_agent_restricted ⇒ Object
Returns the value of attribute is_user_agent_restricted.
13451 13452 13453 |
# File 'lib/kaltura_types.rb', line 13451 def is_user_agent_restricted @is_user_agent_restricted end |
#media_protocol ⇒ Object
http/https, rtmp/rtmpe
13458 13459 13460 |
# File 'lib/kaltura_types.rb', line 13458 def media_protocol @media_protocol end |
#ms_duration ⇒ Object
The duration of the entry in milliseconds
13467 13468 13469 |
# File 'lib/kaltura_types.rb', line 13467 def ms_duration @ms_duration end |
#plugin_data ⇒ Object
Array of allowed flavor assets according to access control limitations and requested tags
13469 13470 13471 |
# File 'lib/kaltura_types.rb', line 13469 def plugin_data @plugin_data end |
#preview_length ⇒ Object
Returns the value of attribute preview_length.
13452 13453 13454 |
# File 'lib/kaltura_types.rb', line 13452 def preview_length @preview_length end |
#storage_profiles_xml ⇒ Object
Returns the value of attribute storage_profiles_xml.
13459 13460 13461 |
# File 'lib/kaltura_types.rb', line 13459 def storage_profiles_xml @storage_profiles_xml end |
#streamer_type ⇒ Object
http/rtmp/hdnetwork
13456 13457 13458 |
# File 'lib/kaltura_types.rb', line 13456 def streamer_type @streamer_type end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
13499 13500 13501 13502 13503 13504 13505 13506 13507 13508 13509 13510 13511 13512 13513 13514 13515 13516 13517 13518 13519 13520 13521 13522 13523 13524 13525 13526 13527 13528 13529 13530 13531 13532 13533 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 |
# File 'lib/kaltura_types.rb', line 13499 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 |