attributes
TypeScriptget attributes(): Array<Schema_Attribute>Swift declarationfinal var attributes: Set<Schema.Attribute>class · iOS 17.0+ · SDK 27.1
final class EntityAn object that provides a blueprint for the associated model class.
get attributes(): Array<Schema_Attribute>Swift declarationfinal var attributes: Set<Schema.Attribute>set attributes(value: Array<Schema_Attribute>)Swift declarationfinal var attributes: Set<Schema.Attribute>get properties(): Array<SDKHandle>Swift declarationfinal var properties: [any SchemaProperty] { get }get subentities(): Array<Schema_Entity>Swift declarationfinal var subentities: Set<Schema.Entity>set subentities(value: Array<Schema_Entity>)Swift declarationfinal var subentities: Set<Schema.Entity>get superentity(): (Schema_Entity) | nullSwift declarationfinal var superentity: Schema.Entity? { get set }set superentity(value: (Schema_Entity) | null)Swift declarationfinal var superentity: Schema.Entity? { get set }get relationships(): Array<Schema_Relationship>Swift declarationfinal var relationships: Set<Schema.Relationship>set relationships(value: Array<Schema_Relationship>)Swift declarationfinal var relationships: Set<Schema.Relationship>get superentityName(): (string) | nullSwift declarationfinal var superentityName: String?set superentityName(value: (string) | null)Swift declarationfinal var superentityName: String?get attributesByName(): Record<string, Schema_Attribute>Swift declarationfinal var attributesByName: [String : Schema.Attribute]set attributesByName(value: Record<string, Schema_Attribute>)Swift declarationfinal var attributesByName: [String : Schema.Attribute]get debugDescription(): stringSwift declarationfinal var debugDescription: String { get }A textual representation of this instance, suitable for debugging. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(reflecting:)` initializer. This initializer works with any type, and uses the custom `debugDescription` property for types that conform to `CustomDebugStringConvertible`: struct Point: CustomDebugStringConvertible { let x: Int, y: Int var debugDescription: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(reflecting: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `debugDescription` property.
get storedProperties(): Array<SDKHandle>Swift declarationfinal var storedProperties: [any SchemaProperty] { get set }set storedProperties(value: Array<SDKHandle>)Swift declarationfinal var storedProperties: [any SchemaProperty] { get set }get inheritedProperties(): Array<SDKHandle>Swift declarationfinal var inheritedProperties: [any SchemaProperty] { get set }set inheritedProperties(value: Array<SDKHandle>)Swift declarationfinal var inheritedProperties: [any SchemaProperty] { get set }get relationshipsByName(): Record<string, Schema_Relationship>Swift declarationfinal var relationshipsByName: [String : Schema.Relationship]set relationshipsByName(value: Record<string, Schema_Relationship>)Swift declarationfinal var relationshipsByName: [String : Schema.Relationship]get uniquenessConstraints(): Array<Array<string>>Swift declarationfinal var uniquenessConstraints: [[String]]set uniquenessConstraints(value: Array<Array<string>>)Swift declarationfinal var uniquenessConstraints: [[String]]get storedPropertiesByName(): Record<string, SDKHandle>Swift declarationfinal var storedPropertiesByName: [String : any SchemaProperty]set storedPropertiesByName(value: Record<string, SDKHandle>)Swift declarationfinal var storedPropertiesByName: [String : any SchemaProperty]get inheritedPropertiesByName(): Record<string, SDKHandle>Swift declarationfinal var inheritedPropertiesByName: [String : any SchemaProperty]set inheritedPropertiesByName(value: Record<string, SDKHandle>)Swift declarationfinal var inheritedPropertiesByName: [String : any SchemaProperty]get name(): stringSwift declarationfinal var name: Stringset name(value: string)Swift declarationfinal var name: Stringget indices(): Array<Array<string>>Swift declarationfinal var indices: [[String]]set indices(value: Array<Array<string>>)Swift declarationfinal var indices: [[String]]static init(name: string): Schema_EntitySwift declarationinit(_ name: String)2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
Schema.Entity.init(_:subentities:properties:)
A variable number of Swift arguments is not supported.
Schema.Entity.init(_:properties:)
A variable number of Swift arguments is not supported.