Include
public struct Include : OptionSet
The ContentTypeQuery.Include
is parameter for including count
, Global Fields schema
in result.
-
Creates a new option set from the given raw value.
Declaration
Swift
public init(rawValue: Int)
Parameters
rawValue
The raw value of the option set to create. Each bit of
rawValue
potentially represents an element of theContentTypeQuery.Include
, though raw values may include bits that are not defined as distinct values of theContentTypeQuery.Include
type. -
Each bit of
rawValue
potentially represents an element of the option setDeclaration
Swift
public let rawValue: Int
-
To include count in the response.
Declaration
Swift
public static let count: Include
-
To include Global Fields schema in ContentType response,
Declaration
Swift
public static let globalFields: Include
-
To include all
ContentTypeQuery.Include
values.Declaration
Swift
public static let all: Include