GetAndSearchPortsByPage

GetAndSearchPortsByPage gets ports from the API with pagination and filtering support.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
suspend operator fun invoke(fields: List<PortProperty> = PortProperty.entries, filters: PortFilters? = null, logicalOperator: ApiLogicalOperator = ApiLogicalOperator.AND, orderSort: PortOrderSort? = null, page: Int = 1, pageQuantity: Int = DEFAULT_RECORD_QUANTITY_PER_PAGE, searchType: ApiSearchType = ApiSearchType.EXACT, sessionToken: String? = null): ResultS1SDK<DataSet<Port>, ErrorS1SDK>

Gets Port models from the API for a specific page. You can specify extra filters to apply on the search.