class ActiveNetsuite::SearchResult

{urn:core_2013_2.platform.webservices.netsuite.com}SearchResult

status - ActiveNetsuite::Status
totalRecords - SOAP::SOAPInt
pageSize - SOAP::SOAPInt
totalPages - SOAP::SOAPInt
pageIndex - SOAP::SOAPInt
searchId - SOAP::SOAPString
recordList - ActiveNetsuite::RecordList
searchRowList - ActiveNetsuite::SearchRowList

Attributes

pageIndex[RW]
pageSize[RW]
recordList[RW]
searchId[RW]
searchRowList[RW]
status[RW]
totalPages[RW]
totalRecords[RW]

Public Class Methods

new(status = nil, totalRecords = nil, pageSize = nil, totalPages = nil, pageIndex = nil, searchId = nil, recordList = nil, searchRowList = nil) click to toggle source
# File lib/activenetsuite/soap/default.rb, line 46030
def initialize(status = nil, totalRecords = nil, pageSize = nil, totalPages = nil, pageIndex = nil, searchId = nil, recordList = nil, searchRowList = nil)
  @status = status
  @totalRecords = totalRecords
  @pageSize = pageSize
  @totalPages = totalPages
  @pageIndex = pageIndex
  @searchId = searchId
  @recordList = recordList
  @searchRowList = searchRowList
end

Public Instance Methods

more?() click to toggle source
# File lib/activenetsuite/core/search_result.rb, line 6
def more?
  page_index < total_pages
end