SyncPermissionOfferResponse

public final class SyncPermissionOfferResponse: Object

This model is used to apply permission changes defined in the permission offer object represented by the specified token, which was created by another user’s SyncPermissionOffer object.

It should be used in conjunction with a SyncUser‘s management Realm.

See https://realm.io/docs/realm-object-server/#permissions for general documentation.

  • id

    The globally unique ID string of this permission offer response object.

    Declaration

    Swift

    public dynamic var id = UUID().uuidString
  • The date this object was initially created.

    Declaration

    Swift

    public dynamic var createdAt = Date()
  • The date this object was last modified.

    Declaration

    Swift

    public dynamic var updatedAt = Date()
  • The status code of the object that was processed by Realm Object Server.

    Declaration

    Swift

    public let statusCode = RealmOptional<Int>()
  • An error or informational message, typically written to by the Realm Object Server.

    Declaration

    Swift

    public dynamic var statusMessage: String?
  • Sync management object status.

    Declaration

    Swift

    public var status: SyncManagementObjectStatus
  • The received token which uniquely identifies another user’s SyncPermissionOffer.

    Declaration

    Swift

    public dynamic var token = ""
  • The remote URL to the realm on which these permission changes were applied.

    Declaration

    Swift

    public dynamic var realmUrl: String?
  • Construct a permission offer response object used to apply permission changes defined in the permission offer object represented by the specified token, which was created by another user’s SyncPermissionOffer object.

    Declaration

    Swift

    public convenience init(token: String)

    Parameters

    token

    The received token which uniquely identifies another user’s SyncPermissionOffer.