Skip to content

Commit 7197a7d

Browse files
authored
Merge pull request #5 from bfutrell70/master
Corrected DataMember Name attribute for MoreResultsAvailable
2 parents a9bea26 + f8a9c2f commit 7197a7d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

HubSpot.NET/Api/Deal/Dto/DealListHubSpotModel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ namespace HubSpot.NET.Api.Deal.Dto
2727
/// <c>true</c> if [more results available]; otherwise, <c>false</c>.
2828
/// </value>
2929
/// <remarks>
30-
/// This is a mapping of the "has-more" prop in the JSON return data from HubSpot
30+
/// This is a mapping of the "hasMore" prop in the JSON return data from HubSpot
3131
/// </remarks>
32-
[DataMember(Name = "has-more")]
32+
[DataMember(Name = "hasMore")]
3333
public bool MoreResultsAvailable { get; set; }
3434

3535
/// <summary>

HubSpot.NET/Core/ListRequestOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public int Limit
4040
/// The return DTO from List contains the current "offset" that you can inject into your next list call
4141
/// to continue the listing process
4242
/// </remarks>
43-
public int? Offset { get; set; } = null;
43+
public long? Offset { get; set; } = null;
4444

4545
public List<string> PropertiesToInclude { get; set; } = new List<string>();
4646
}

0 commit comments

Comments
 (0)