struct
PlaceOS::Api::MicrosoftNotification::ChangeNotification
- PlaceOS::Api::MicrosoftNotification::ChangeNotification
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Extended Modules
- JSON::Schema
Defined in:
placeos-rest-api/controllers/notifications/microsoft.crConstructors
Instance Method Summary
-
#client_state : String | Nil
Value of the clientState property sent in the subscription request (if any).
-
#encrypted_content : EncryptedContent | Nil
The Encrypted Content.
-
#event : LifecycleEvent | Nil
The Lifecycle Event.
-
#id : String | Nil
Unique ID for the notification.
-
#resource : String | Nil
The URI of the resource that emitted the change notification relative to https://graph.microsoft.com.
-
#resource_data : ResourceData | Nil
The content of this property depends on the type of resource being subscribed to.
-
#subscription_expiry : Time
The expiration time for the subscription.
-
#subscription_id : String
The unique identifier of the subscription that generated the notification.Required.
-
#tenant_id : String
The unique identifier of the tenant from which the change notification originated.
- #to_payload
-
#type : ChangeType | Nil
Indicates the type of change that will raise the change notification.
Constructor Detail
Instance Method Detail
Value of the clientState property sent in the subscription request (if any). The maximum length is 255 characters. The client can check whether the change notification came from the service by comparing the values of the clientState property. The value of the clientState property sent with the subscription is compared with the value of the clientState property received with each change notification. Optional.
The Encrypted Content. (Preview) Encrypted content attached with the change notification. Only provided if encryptionCertificate and includeResourceData were defined during the subscription request and if the resource supports it. Optional.
The Lifecycle Event. The type of lifecycle notification if the current notification is a lifecycle notification. Optional. Supported values are missed, subscriptionRemoved, reauthorizationRequired. Optional.
The URI of the resource that emitted the change notification relative to https://graph.microsoft.com. Required.
The content of this property depends on the type of resource being subscribed to. Optional.
The unique identifier of the subscription that generated the notification.Required.
The unique identifier of the tenant from which the change notification originated. Required.
Indicates the type of change that will raise the change notification. The supported values are: created, updated, deleted. Required.