SwiftstructFindMyCore

struct FindMyCore.PersonEntity

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 25

  1. varstatic var __appSchemaEntity: String { get }
  2. varstatic var attributionBundleIdentifier: String { get }
  3. varstatic var defaultQuery: FindMyCore.PersonEntityQuery { get }
  4. varstatic var transferRepresentation: some CoreTransferable.TransferRepresentation { get }
  5. varstatic var typeDisplayRepresentation: AppIntents.TypeDisplayRepresentation { get }
  6. fieldvar _capabilities: AppIntents.EntityProperty<Set<FindMyCore.PersonEntityCapability>>
  7. fieldvar _isFollowingMe: AppIntents.EntityProperty<Bool>
  8. fieldvar _isSharingLocation: AppIntents.EntityProperty<Bool>
  9. fieldvar _labeledLocations: AppIntents.EntityProperty<[FindMyCore.PersonEntityLocation]>
  10. fieldvar _person: AppIntents.EntityProperty<AppIntents.IntentPerson>
  11. fieldlet model: FindMyCore.PersonModel
  12. initinit(noHydration: FindMyCore.PersonModel.UniqueIdentifier) -> FindMyCore.PersonEntity
  13. initinit(model: FindMyCore.PersonModel) -> FindMyCore.PersonEntity
  14. typealiastypealias DefaultQuery = FindMyCore.PersonEntityQuery
  15. typealiastypealias ID = FindMyCore.PersonModel.UniqueIdentifier
  16. typealiastypealias Representation = CoreTransferable.DataRepresentation<FindMyCore.PersonEntity>
  17. typealiastypealias Specification = AppIntents.EmptyResolverSpecification<FindMyCore.PersonEntity>
  18. typealiastypealias UnwrappedType = FindMyCore.PersonEntity
  19. typealiastypealias ValueType = FindMyCore.PersonEntity
  20. varvar $labeledLocations: AppIntents.EntityProperty<[FindMyCore.PersonEntityLocation]> { get }
  21. varvar $person: AppIntents.EntityProperty<AppIntents.IntentPerson> { get }
  22. varvar displayRepresentation: AppIntents.DisplayRepresentation { get }
  23. varvar id: FindMyCore.PersonModel.UniqueIdentifier { get }
  24. varvar labeledLocations: [FindMyCore.PersonEntityLocation] { get set }
  25. varvar person: AppIntents.IntentPerson { get }
struct PersonEntity {
    struct PayloadV1 {
        struct Relationship {
            enum ReplyState {
                enum CodingKeys {
                    case optedNotToShare
                    case didNotReply
                }
                enum OptedNotToShareCodingKeys {}
                enum DidNotReplyCodingKeys {}
                case optedNotToShare
                case didNotReply
            }
            enum LocationSharingState {
                enum PauseDuration {
                    enum CodingKeys {
                        case endOfDay
                        case custom
                        case untilResumed
                    }
                    enum EndOfDayCodingKeys {}
                    enum CustomCodingKeys {
                        case date
                    }
                    enum UntilResumedCodingKeys {}
                    case custom(date: Foundation.Date)
                    case endOfDay
                    case untilResumed
                }
                enum CodingKeys {
                    case on
                    case paused
                }
                enum OnCodingKeys {}
                enum PausedCodingKeys {
                    case duration
                }
                case paused(duration: FindMyCore.PersonEntity.PayloadV1.Relationship.LocationSharingState.PauseDuration)
                case on
            }
            enum CodingKeys {
                case isFollowing
                case isFutureFollowing
                case isFollower
                case followerExpiration
                case isFutureFollower
                case isPendingOffer
                case replyState
                case locationSharingState
            }
            let isFollowing: Swift.Bool
            let isFutureFollowing: Swift.Bool
            let isFollower: Swift.Bool
            let followerExpiration: Foundation.Date?
            let isFutureFollower: Swift.Bool
            let isPendingOffer: Swift.Bool
            let replyState: FindMyCore.PersonEntity.PayloadV1.Relationship.ReplyState?
            let locationSharingState: FindMyCore.PersonEntity.PayloadV1.Relationship.LocationSharingState?
        }
        enum CodingKeys {
            case relationship
            case favoriteOrder
        }
        let relationship: FindMyCore.PersonEntity.PayloadV1.Relationship
        let favoriteOrder: Swift.Int?
    }
    let model: FindMyCore.PersonModel
    // synthesized from the backing storage `_isSharingLocation`; the property's own accessors are stripped
    @AppIntents.EntityProperty var isSharingLocation: Swift.Bool {
        get
        set
    }
    // synthesized from the backing storage `_isFollowingMe`; the property's own accessors are stripped
    @AppIntents.EntityProperty var isFollowingMe: Swift.Bool {
        get
        set
    }
    // synthesized from the backing storage `_capabilities`; the property's own accessors are stripped
    @AppIntents.EntityProperty var capabilities: Swift.Set<FindMyCore.PersonEntityCapability> {
        get
        set
    }

    init(noHydration: FindMyCore.PersonModel.UniqueIdentifier)
    init(model: FindMyCore.PersonModel)

    var displayRepresentation: AppIntents.DisplayRepresentation {
        get
    }
    var id: FindMyCore.PersonModel.UniqueIdentifier {
        get
    }
    @AppIntents.EntityProperty var labeledLocations: [FindMyCore.PersonEntityLocation] {
        get
        set
    }
    @AppIntents.EntityProperty var person: AppIntents.IntentPerson {
        get
    }

    static var __appSchemaEntity: Swift.String {
        get
    }
    static var attributionBundleIdentifier: Swift.String {
        get
    }
    static var defaultQuery: FindMyCore.PersonEntityQuery {
        get
    }
    static var transferRepresentation: some CoreTransferable.TransferRepresentation {
        get
    }
    static var typeDisplayRepresentation: AppIntents.TypeDisplayRepresentation {
        get
    }
}