Enums
The following enums are available globally.
-
The possible Field types in Contentful
See moreDeclaration
Swift
public enum FieldType: String
-
Use bounding boxes or bounding circles to perform queries on location-enabled content. See: https://www.contentful.com/developers/docs/references/content-delivery-api/#/reference/search-parameters/locations-in-a-bounding-object
See moreDeclaration
Swift
public enum Bounds -
Undocumented
See more -
Property-value query operations used for matching patterns on either
sys
orfields
properties ofAssets andEntrys. Each operation specifies a property name on the left-hand side, with a value to match on the right. For instance, using the doesNotEqual operation in an a concrete Query like:Query(where:"fields.name", .doesNotEqual("Happy Cat"))would append the following to the http URL:
"fields.name[ne]=Happy%20Cat"Refer to the documentation for the various Query classes for more information.
See moreDeclaration
Swift
public enum QueryOperation
-
A representation of Linked Resources that a field may point to in your content model. This stateful type safely highlights links that have been resolved to Entries, Assets, or if they are still unresolved. If your data model conforms to
See moreContentModellableorEntryModellableyou can also use theatmethod to extract an instance of your linked type.Declaration
Swift
public enum Link
View on GitHub
Enums Reference