Class: Kaltura::KalturaLikeBaseFilter

Inherits:
KalturaRelatedFilter show all
Defined in:
lib/kaltura_plugins/kaltura_like_client_plugin.rb

Direct Known Subclasses

KalturaLikeFilter

Instance Attribute Summary collapse

Attributes inherited from KalturaFilter

#advanced_search, #order_by

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#created_at_greater_than_or_equalObject

Returns the value of attribute created_at_greater_than_or_equal.



79
80
81
# File 'lib/kaltura_plugins/kaltura_like_client_plugin.rb', line 79

def created_at_greater_than_or_equal
  @created_at_greater_than_or_equal
end

#created_at_less_than_or_equalObject

Returns the value of attribute created_at_less_than_or_equal.



80
81
82
# File 'lib/kaltura_plugins/kaltura_like_client_plugin.rb', line 80

def created_at_less_than_or_equal
  @created_at_less_than_or_equal
end

#entry_id_equalObject

Returns the value of attribute entry_id_equal.



76
77
78
# File 'lib/kaltura_plugins/kaltura_like_client_plugin.rb', line 76

def entry_id_equal
  @entry_id_equal
end

#entry_id_inObject

Returns the value of attribute entry_id_in.



77
78
79
# File 'lib/kaltura_plugins/kaltura_like_client_plugin.rb', line 77

def entry_id_in
  @entry_id_in
end

#user_id_equalObject

Returns the value of attribute user_id_equal.



78
79
80
# File 'lib/kaltura_plugins/kaltura_like_client_plugin.rb', line 78

def user_id_equal
  @user_id_equal
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# File 'lib/kaltura_plugins/kaltura_like_client_plugin.rb', line 89

def from_xml(xml_element)
	super
	if xml_element.elements['entryIdEqual'] != nil
		self.entry_id_equal = xml_element.elements['entryIdEqual'].text
	end
	if xml_element.elements['entryIdIn'] != nil
		self.entry_id_in = xml_element.elements['entryIdIn'].text
	end
	if xml_element.elements['userIdEqual'] != nil
		self.user_id_equal = xml_element.elements['userIdEqual'].text
	end
	if xml_element.elements['createdAtGreaterThanOrEqual'] != nil
		self.created_at_greater_than_or_equal = xml_element.elements['createdAtGreaterThanOrEqual'].text
	end
	if xml_element.elements['createdAtLessThanOrEqual'] != nil
		self.created_at_less_than_or_equal = xml_element.elements['createdAtLessThanOrEqual'].text
	end
end