Class Event
- Namespace
- Vonage.Conversations
- Assembly
- Vonage.dll
public record Event : IEquatable<Event>
- Inheritance
-
Event
- Implements
-
- Inherited Members
-
Constructors
Event(int, string, string, JsonElement, DateTimeOffset, EmbeddedEventData, Links)
public Event(int Id, string Type, string From, JsonElement Body, DateTimeOffset Timestamp, EmbeddedEventData Embedded, Links Links)
Parameters
Id int
Type string
From string
Body JsonElement
Timestamp DateTimeOffset
Embedded EmbeddedEventData
Links Links
Properties
Body
public JsonElement Body { get; init; }
Property Value
- JsonElement
Embedded
[JsonPropertyName("_embedded")]
public EmbeddedEventData Embedded { get; init; }
Property Value
- EmbeddedEventData
From
public string From { get; init; }
Property Value
- string
Id
public int Id { get; init; }
Property Value
- int
Links
[JsonPropertyName("_links")]
public Links Links { get; init; }
Property Value
- Links
Timestamp
public DateTimeOffset Timestamp { get; init; }
Property Value
- DateTimeOffset
Type
public string Type { get; init; }
Property Value
- string