Class: Xberg::PageStructure

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePageStructure

Returns a new instance of PageStructure.

Parameters:



1547
# File 'sig/types.rbs', line 1547

def initialize: (total_count: Integer, unit_type: PageUnitType, ?boundaries: Array[PageBoundary], ?pages: Array[PageInfo]) -> void

Instance Attribute Details

#boundariesArray[PageBoundary] (readonly)

Returns the value of attribute boundaries.

Returns:



1544
1545
1546
# File 'sig/types.rbs', line 1544

def boundaries
  @boundaries
end

#pagesArray[PageInfo] (readonly)

Returns the value of attribute pages.

Returns:



1545
1546
1547
# File 'sig/types.rbs', line 1545

def pages
  @pages
end

#total_countInteger (readonly)

Returns the value of attribute total_count.

Returns:

  • (Integer)


1542
1543
1544
# File 'sig/types.rbs', line 1542

def total_count
  @total_count
end

#unit_typePageUnitType (readonly)

Returns the value of attribute unit_type.

Returns:



1543
1544
1545
# File 'sig/types.rbs', line 1543

def unit_type
  @unit_type
end