using System.ComponentModel;
public static void Main()
var s = JsonConvert.SerializeObject(b);
[JsonProperty(PropertyName = "organisationId", Required = Required.Always)]
public int OrganisationId { get; set; }
[JsonProperty(PropertyName = "interactionType", Required = Required.Always)]
public string InteractionType { get; set; }
[JsonProperty(PropertyName = "record", Required = Required.AllowNull)]
public bool Record { get; set; } = true;