Class ChangeNotification
An object representation of a change-notification. A change-notification is the resource that is published and consumed via subscriptions through the Ethos Integration messages service.
Inheritance
Namespace: Ellucian.Ethos.Integration.Client.Messages
Assembly: Ellucian.Ethos.Integration.dll
Syntax
public class ChangeNotification : object
Constructors
ChangeNotification(String, DateTime, String, Publisher, Resource, String, JObject)
An object representation of a change-notification. A change-notification is the resource that is published and consumed via subscriptions through the Ethos Integration messages service.
Declaration
public ChangeNotification(string id, DateTime published, string operation, Publisher publisher, Resource resource, string contentType, JObject content)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | id | The ID of the change-notification. |
| DateTime | published | The date and time that the change-notification was published. |
| System.String | operation | The operation that occurred on the resource. |
| Publisher | publisher | Information about the publishing application. |
| Resource | resource | The resource to which the change occurred. |
| System.String | contentType | The content-type associated with the content object. |
| JObject | content | The content of the resource that was change. |
Remarks
The attribute JsonConstructor is used to parse json and convert in to the object.
Properties
Content
The content of the resource that was change.
Declaration
public JObject Content { get; }
Property Value
| Type | Description |
|---|---|
| JObject |
ContentType
The content-type associated with the content object.
Declaration
public string ContentType { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Id
The ID of the change-notification.
Declaration
public string Id { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Operation
The operation that occurred on the resource.
Declaration
public string Operation { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Published
The date and time that the change-notification was published.
Declaration
public DateTime Published { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Publisher
Information about the publishing application.
Declaration
public Publisher Publisher { get; }
Property Value
| Type | Description |
|---|---|
| Publisher |
Resource
The resource to which the change occurred.
Declaration
public Resource Resource { get; }
Property Value
| Type | Description |
|---|---|
| Resource |