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



8921
8922
8923
# File 'lib/kaltura_types.rb', line 8921

def auth_data
  @auth_data
end

#login_urlObject

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



8923
8924
8925
# File 'lib/kaltura_types.rb', line 8923

def 
  @login_url
end

#messageObject

Information when there was an error



8925
8926
8927
# File 'lib/kaltura_types.rb', line 8925

def message
  @message
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
# File 'lib/kaltura_types.rb', line 8928

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