From 33858c4f10d7cdf303bf56f423155a5fdb283902 Mon Sep 17 00:00:00 2001 From: OpenActive Bot <20357321+openactive-bot@users.noreply.github.com> Date: Tue, 23 Nov 2021 22:55:04 +0000 Subject: [PATCH] Minor fix to allow `@id` referencing (#56) --- OpenActive.NET/models/Organization.cs | 2 +- OpenActive.NET/models/Person.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenActive.NET/models/Organization.cs b/OpenActive.NET/models/Organization.cs index 03e89c0..2172c63 100644 --- a/OpenActive.NET/models/Organization.cs +++ b/OpenActive.NET/models/Organization.cs @@ -105,7 +105,7 @@ public override string ToString() /// [DataMember(Name = "hasAccount", EmitDefaultValue = false, Order = 12)] [JsonConverter(typeof(ValuesConverter))] - public virtual CustomerAccount HasAccount { get; set; } + public virtual ReferenceValue HasAccount { get; set; } /// /// Indicates whether the Seller allows open booking or not diff --git a/OpenActive.NET/models/Person.cs b/OpenActive.NET/models/Person.cs index ded5901..32f1297 100644 --- a/OpenActive.NET/models/Person.cs +++ b/OpenActive.NET/models/Person.cs @@ -152,7 +152,7 @@ public override string ToString() /// [DataMember(Name = "hasAccount", EmitDefaultValue = false, Order = 16)] [JsonConverter(typeof(ValuesConverter))] - public virtual CustomerAccount HasAccount { get; set; } + public virtual ReferenceValue HasAccount { get; set; } /// /// Indicates whether the Seller allows open booking