Realm.Sync.User.PermissionOfferResponse

Objects of this class are used to accept a PermissionOffer using a provided token. Create an instance of PermissionOfferResponse using the provided PermissionOffer.token and add it to the user's ManagementRealm. Once the request has been processed, the statusCode and statusMessage will be updated accordingly. If the request has been processed successfully, the realmUrl will be populated and you can use it to connect to the Realm. If the request has failed, the statusMessage will be updated with relevant information about the failure and statusCode will be set.

createdAt

Gets the creation time of this object.

Type:
Date
id

Gets the unique identifier of this object in the Management realm.

Type:
string
realmUrl

The URL for the Realm that the changes should apply to.

Type:
string
statusCode
statusMessage

A detailed message describing the status (success, error) of the operation. null if the object has not been processed yet. Filled by the server after an object was processed with additional info explaining the status if necessary.

token

Gets the token that can be used to offer the permissions defined in this object to another user.

Type:
string
updatedAt

Gets when the object was updated the last time.

Type:
Date