Skip to content

Commit

Permalink
Merge pull request #5 from bfutrell70/master
Browse files Browse the repository at this point in the history
Corrected DataMember Name attribute for MoreResultsAvailable
  • Loading branch information
clarkd authored Apr 16, 2018
2 parents a9bea26 + f8a9c2f commit 7197a7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions HubSpot.NET/Api/Deal/Dto/DealListHubSpotModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ namespace HubSpot.NET.Api.Deal.Dto
/// <c>true</c> if [more results available]; otherwise, <c>false</c>.
/// </value>
/// <remarks>
/// This is a mapping of the "has-more" prop in the JSON return data from HubSpot
/// This is a mapping of the "hasMore" prop in the JSON return data from HubSpot
/// </remarks>
[DataMember(Name = "has-more")]
[DataMember(Name = "hasMore")]
public bool MoreResultsAvailable { get; set; }

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion HubSpot.NET/Core/ListRequestOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public int Limit
/// The return DTO from List contains the current "offset" that you can inject into your next list call
/// to continue the listing process
/// </remarks>
public int? Offset { get; set; } = null;
public long? Offset { get; set; } = null;

public List<string> PropertiesToInclude { get; set; } = new List<string>();
}
Expand Down

0 comments on commit 7197a7d

Please sign in to comment.