Class: Kaltura::KalturaAnnotationBaseFilter

Inherits:
KalturaCuePointFilter show all
Defined in:
lib/kaltura_plugins/kaltura_annotation_client_plugin.rb

Direct Known Subclasses

KalturaAnnotationFilter

Instance Attribute Summary collapse

Attributes inherited from KalturaCuePointFilter

#free_text, #user_id_current, #user_id_equal_current

Attributes inherited from KalturaCuePointBaseFilter

#created_at_greater_than_or_equal, #created_at_less_than_or_equal, #cue_point_type_equal, #cue_point_type_in, #entry_id_equal, #entry_id_in, #force_stop_equal, #id_equal, #id_in, #partner_sort_value_equal, #partner_sort_value_greater_than_or_equal, #partner_sort_value_in, #partner_sort_value_less_than_or_equal, #start_time_greater_than_or_equal, #start_time_less_than_or_equal, #status_equal, #status_in, #system_name_equal, #system_name_in, #tags_like, #tags_multi_like_and, #tags_multi_like_or, #triggered_at_greater_than_or_equal, #triggered_at_less_than_or_equal, #updated_at_greater_than_or_equal, #updated_at_less_than_or_equal, #user_id_equal, #user_id_in

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

#duration_greater_than_or_equalObject

Returns the value of attribute duration_greater_than_or_equal.



146
147
148
# File 'lib/kaltura_plugins/kaltura_annotation_client_plugin.rb', line 146

def duration_greater_than_or_equal
  @duration_greater_than_or_equal
end

#duration_less_than_or_equalObject

Returns the value of attribute duration_less_than_or_equal.



147
148
149
# File 'lib/kaltura_plugins/kaltura_annotation_client_plugin.rb', line 147

def duration_less_than_or_equal
  @duration_less_than_or_equal
end

#end_time_greater_than_or_equalObject

Returns the value of attribute end_time_greater_than_or_equal.



144
145
146
# File 'lib/kaltura_plugins/kaltura_annotation_client_plugin.rb', line 144

def end_time_greater_than_or_equal
  @end_time_greater_than_or_equal
end

#end_time_less_than_or_equalObject

Returns the value of attribute end_time_less_than_or_equal.



145
146
147
# File 'lib/kaltura_plugins/kaltura_annotation_client_plugin.rb', line 145

def end_time_less_than_or_equal
  @end_time_less_than_or_equal
end

#is_public_equalObject

Returns the value of attribute is_public_equal.



148
149
150
# File 'lib/kaltura_plugins/kaltura_annotation_client_plugin.rb', line 148

def is_public_equal
  @is_public_equal
end

#parent_id_equalObject

Returns the value of attribute parent_id_equal.



139
140
141
# File 'lib/kaltura_plugins/kaltura_annotation_client_plugin.rb', line 139

def parent_id_equal
  @parent_id_equal
end

#parent_id_inObject

Returns the value of attribute parent_id_in.



140
141
142
# File 'lib/kaltura_plugins/kaltura_annotation_client_plugin.rb', line 140

def parent_id_in
  @parent_id_in
end

#text_likeObject

Returns the value of attribute text_like.



141
142
143
# File 'lib/kaltura_plugins/kaltura_annotation_client_plugin.rb', line 141

def text_like
  @text_like
end

#text_multi_like_andObject

Returns the value of attribute text_multi_like_and.



143
144
145
# File 'lib/kaltura_plugins/kaltura_annotation_client_plugin.rb', line 143

def text_multi_like_and
  @text_multi_like_and
end

#text_multi_like_orObject

Returns the value of attribute text_multi_like_or.



142
143
144
# File 'lib/kaltura_plugins/kaltura_annotation_client_plugin.rb', line 142

def text_multi_like_or
  @text_multi_like_or
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
# File 'lib/kaltura_plugins/kaltura_annotation_client_plugin.rb', line 166

def from_xml(xml_element)
	super
	if xml_element.elements['parentIdEqual'] != nil
		self.parent_id_equal = xml_element.elements['parentIdEqual'].text
	end
	if xml_element.elements['parentIdIn'] != nil
		self.parent_id_in = xml_element.elements['parentIdIn'].text
	end
	if xml_element.elements['textLike'] != nil
		self.text_like = xml_element.elements['textLike'].text
	end
	if xml_element.elements['textMultiLikeOr'] != nil
		self.text_multi_like_or = xml_element.elements['textMultiLikeOr'].text
	end
	if xml_element.elements['textMultiLikeAnd'] != nil
		self.text_multi_like_and = xml_element.elements['textMultiLikeAnd'].text
	end
	if xml_element.elements['endTimeGreaterThanOrEqual'] != nil
		self.end_time_greater_than_or_equal = xml_element.elements['endTimeGreaterThanOrEqual'].text
	end
	if xml_element.elements['endTimeLessThanOrEqual'] != nil
		self.end_time_less_than_or_equal = xml_element.elements['endTimeLessThanOrEqual'].text
	end
	if xml_element.elements['durationGreaterThanOrEqual'] != nil
		self.duration_greater_than_or_equal = xml_element.elements['durationGreaterThanOrEqual'].text
	end
	if xml_element.elements['durationLessThanOrEqual'] != nil
		self.duration_less_than_or_equal = xml_element.elements['durationLessThanOrEqual'].text
	end
	if xml_element.elements['isPublicEqual'] != nil
		self.is_public_equal = xml_element.elements['isPublicEqual'].text
	end
end