Class: Kaltura::KalturaSearchAuthData

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#auth_dataObject

The authentication data that further should be used for search



8952
8953
8954
# File 'lib/kaltura_types.rb', line 8952

def auth_data
  @auth_data
end

#login_urlObject

Login URL when user need to sign-in and authorize the search



8954
8955
8956
# File 'lib/kaltura_types.rb', line 8954

def 
  @login_url
end

#messageObject

Information when there was an error



8956
8957
8958
# File 'lib/kaltura_types.rb', line 8956

def message
  @message
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
# File 'lib/kaltura_types.rb', line 8959

def from_xml(xml_element)
  super
  if xml_element.elements['authData'] != nil
    self.auth_data = xml_element.elements['authData'].text
  end
  if xml_element.elements['loginUrl'] != nil
    self. = xml_element.elements['loginUrl'].text
  end
  if xml_element.elements['message'] != nil
    self.message = xml_element.elements['message'].text
  end
end