Table of Contents

Class CreateSubscriptionModel

Namespace
Nfield.SDK
Assembly
Nfield.Public.SDK.dll

The necessary information to create a subscription

public class CreateSubscriptionModel
Inheritance
CreateSubscriptionModel
Inherited Members

Properties

Endpoint

The endpoint to use for the subcription.

[JsonProperty("Endpoint", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public Uri Endpoint { get; set; }

Property Value

Uri

EventSubscriptionName

The subscription name.

[JsonProperty("EventSubscriptionName", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string EventSubscriptionName { get; set; }

Property Value

string

EventTypes

The event types that will subscribe to.

[JsonProperty("EventTypes", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ICollection<string> EventTypes { get; set; }

Property Value

ICollection<string>