Class: Kaltura::KalturaPager
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaPager
- Defined in:
- lib/kaltura_types.rb
Overview
The KalturaPager object enables paging management to be applied upon service list/search actions.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#page_index ⇒ Object
The page number for which pageSize of objects should be retrieved (Default is 1).
-
#page_size ⇒ Object
The number of objects to retrieve.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#page_index ⇒ Object
The page number for which pageSize of objects should be retrieved (Default is 1).
4167 4168 4169 |
# File 'lib/kaltura_types.rb', line 4167 def page_index @page_index end |
#page_size ⇒ Object
The number of objects to retrieve. (Default is 30, maximum page size is 500).
4165 4166 4167 |
# File 'lib/kaltura_types.rb', line 4165 def page_size @page_size end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
4176 4177 4178 4179 4180 4181 4182 4183 4184 |
# File 'lib/kaltura_types.rb', line 4176 def from_xml(xml_element) super if xml_element.elements['pageSize'] != nil self.page_size = xml_element.elements['pageSize'].text end if xml_element.elements['pageIndex'] != nil self.page_index = xml_element.elements['pageIndex'].text end end |