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



13348
13349
13350
# File 'lib/kaltura_types.rb', line 13348

def access_control_actions
  @access_control_actions
end

#access_control_messagesObject

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



13346
13347
13348
# File 'lib/kaltura_types.rb', line 13346

def access_control_messages
  @access_control_messages
end

#flavor_assetsObject

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



13350
13351
13352
# File 'lib/kaltura_types.rb', line 13350

def flavor_assets
  @flavor_assets
end

#is_adminObject

Returns the value of attribute is_admin.



13339
13340
13341
# File 'lib/kaltura_types.rb', line 13339

def is_admin
  @is_admin
end

#is_country_restrictedObject

Returns the value of attribute is_country_restricted.



13333
13334
13335
# File 'lib/kaltura_types.rb', line 13333

def is_country_restricted
  @is_country_restricted
end

#is_ip_address_restrictedObject

Returns the value of attribute is_ip_address_restricted.



13335
13336
13337
# File 'lib/kaltura_types.rb', line 13335

def is_ip_address_restricted
  @is_ip_address_restricted
end

#is_scheduled_nowObject

Returns the value of attribute is_scheduled_now.



13338
13339
13340
# File 'lib/kaltura_types.rb', line 13338

def is_scheduled_now
  @is_scheduled_now
end

#is_session_restrictedObject

Returns the value of attribute is_session_restricted.



13334
13335
13336
# File 'lib/kaltura_types.rb', line 13334

def is_session_restricted
  @is_session_restricted
end

#is_site_restrictedObject

Returns the value of attribute is_site_restricted.



13332
13333
13334
# File 'lib/kaltura_types.rb', line 13332

def is_site_restricted
  @is_site_restricted
end

#is_user_agent_restrictedObject

Returns the value of attribute is_user_agent_restricted.



13336
13337
13338
# File 'lib/kaltura_types.rb', line 13336

def is_user_agent_restricted
  @is_user_agent_restricted
end

#media_protocolObject

http/https, rtmp/rtmpe



13343
13344
13345
# File 'lib/kaltura_types.rb', line 13343

def media_protocol
  @media_protocol
end

#ms_durationObject

The duration of the entry in milliseconds



13352
13353
13354
# File 'lib/kaltura_types.rb', line 13352

def ms_duration
  @ms_duration
end

#plugin_dataObject

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



13354
13355
13356
# File 'lib/kaltura_types.rb', line 13354

def plugin_data
  @plugin_data
end

#preview_lengthObject

Returns the value of attribute preview_length.



13337
13338
13339
# File 'lib/kaltura_types.rb', line 13337

def preview_length
  @preview_length
end

#storage_profiles_xmlObject

Returns the value of attribute storage_profiles_xml.



13344
13345
13346
# File 'lib/kaltura_types.rb', line 13344

def storage_profiles_xml
  @storage_profiles_xml
end

#streamer_typeObject

http/rtmp/hdnetwork



13341
13342
13343
# File 'lib/kaltura_types.rb', line 13341

def streamer_type
  @streamer_type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
# File 'lib/kaltura_types.rb', line 13384

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