Skip to content

Commit

Permalink
Exposed forSale property on object status
Browse files Browse the repository at this point in the history
  • Loading branch information
mroloux committed Aug 23, 2019
1 parent 1110d9e commit ee5492f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions SeatsioDotNet.Test/Events/RetrieveObjectStatusTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public void Test()
var objectStatus = Client.Events.RetrieveObjectStatus(evnt.Key, "A-1");

Assert.Equal(ObjectStatus.Free, objectStatus.Status);
Assert.True(objectStatus.ForSale);
}
}
}
1 change: 1 addition & 0 deletions SeatsioDotNet/Events/ObjectStatusType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ public class ObjectStatus
public string HoldToken { get; set; }
public string OrderId { get; set; }
public Dictionary<string, object> ExtraData { get; set; }
public bool ForSale { get; set; }
}
}
2 changes: 1 addition & 1 deletion SeatsioDotNet/SeatsioDotNet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Library</OutputType>
<IsPackable>true</IsPackable>
<Version>65</Version>
<Version>66</Version>
<Authors>mroloux;bverbeken</Authors>
<Title>Official Seats.io .NET API client</Title>
<Description>Official Seats.io .NET API client</Description>
Expand Down

0 comments on commit ee5492f

Please sign in to comment.