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



13175
13176
13177
# File 'lib/kaltura_types.rb', line 13175

def access_control_actions
  @access_control_actions
end

#access_control_messagesObject

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



13173
13174
13175
# File 'lib/kaltura_types.rb', line 13173

def access_control_messages
  @access_control_messages
end

#flavor_assetsObject

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



13177
13178
13179
# File 'lib/kaltura_types.rb', line 13177

def flavor_assets
  @flavor_assets
end

#is_adminObject

Returns the value of attribute is_admin.



13166
13167
13168
# File 'lib/kaltura_types.rb', line 13166

def is_admin
  @is_admin
end

#is_country_restrictedObject

Returns the value of attribute is_country_restricted.



13160
13161
13162
# File 'lib/kaltura_types.rb', line 13160

def is_country_restricted
  @is_country_restricted
end

#is_ip_address_restrictedObject

Returns the value of attribute is_ip_address_restricted.



13162
13163
13164
# File 'lib/kaltura_types.rb', line 13162

def is_ip_address_restricted
  @is_ip_address_restricted
end

#is_scheduled_nowObject

Returns the value of attribute is_scheduled_now.



13165
13166
13167
# File 'lib/kaltura_types.rb', line 13165

def is_scheduled_now
  @is_scheduled_now
end

#is_session_restrictedObject

Returns the value of attribute is_session_restricted.



13161
13162
13163
# File 'lib/kaltura_types.rb', line 13161

def is_session_restricted
  @is_session_restricted
end

#is_site_restrictedObject

Returns the value of attribute is_site_restricted.



13159
13160
13161
# File 'lib/kaltura_types.rb', line 13159

def is_site_restricted
  @is_site_restricted
end

#is_user_agent_restrictedObject

Returns the value of attribute is_user_agent_restricted.



13163
13164
13165
# File 'lib/kaltura_types.rb', line 13163

def is_user_agent_restricted
  @is_user_agent_restricted
end

#media_protocolObject

http/https, rtmp/rtmpe



13170
13171
13172
# File 'lib/kaltura_types.rb', line 13170

def media_protocol
  @media_protocol
end

#ms_durationObject

The duration of the entry in milliseconds



13179
13180
13181
# File 'lib/kaltura_types.rb', line 13179

def ms_duration
  @ms_duration
end

#plugin_dataObject

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



13181
13182
13183
# File 'lib/kaltura_types.rb', line 13181

def plugin_data
  @plugin_data
end

#preview_lengthObject

Returns the value of attribute preview_length.



13164
13165
13166
# File 'lib/kaltura_types.rb', line 13164

def preview_length
  @preview_length
end

#storage_profiles_xmlObject

Returns the value of attribute storage_profiles_xml.



13171
13172
13173
# File 'lib/kaltura_types.rb', line 13171

def storage_profiles_xml
  @storage_profiles_xml
end

#streamer_typeObject

http/rtmp/hdnetwork



13168
13169
13170
# File 'lib/kaltura_types.rb', line 13168

def streamer_type
  @streamer_type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
# File 'lib/kaltura_types.rb', line 13211

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