RequestOptions
public struct RequestOptions<T> where T : RequestableField
Generic options to influence or restrict the amount of data to be fetched from the National Park Service API
-
Number of results to return per request. Default is 50.
Declaration
Swift
public var limit: Int?
-
Pagination: get the next [limit] results starting with this number
Declaration
Swift
public var start: Int?
-
Term to search on
Declaration
Swift
public let searchQuery: String?
-
List of resource properties to include in the response in addition to the default properties
Declaration
Swift
public let fields: [T]?