Parameters
public struct Parameters : Sendable
The parameters for a Request.
-
Fields to return for included related types.
Declaration
Swift
public let fields: [FieldParameter]? -
Attributes, relationships, and IDs by which to filter
Declaration
Swift
public let filters: [FilterParameter]? -
Attributes, relationships, and IDs to check for existence
Declaration
Swift
public let exists: [ExistParameter]? -
Relationship data to include in the response
Declaration
Swift
public let includes: [IncludeParameter]? -
Attributes by which to sort
Declaration
Swift
public let sorts: [SortParameter]? -
Number of resources to return
Declaration
Swift
public let limits: [LimitParameter]? -
Number of resources to return
Declaration
Swift
public let limit: Int? -
Custom parameters for an operation
Declaration
Swift
public let customs: [String : String]? -
Create a new
Parameterswith the specified parameters.Declaration
Swift
public init(fields: [FieldParameter]? = nil, filters: [FilterParameter]? = nil, exists: [ExistParameter]? = nil, includes: [IncludeParameter]? = nil, sorts: [SortParameter]? = nil, limits: [LimitParameter]? = nil, limit: Int? = nil, customs: [String: String]? = nil)Parameters
fieldsFields to return for included related types.
filtersAttributes, relationships, and IDs by which to filter
existsAttributes, relationships, and IDs to check for existence
includesRelationship data to include in the response
sortsAttributes by which to sort
limitsNumber of resources to return
limitNumber of resources to return
customsCustom parameters for an operation
View on GitHub