Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrected DataMember Name attribute for MoreResultsAvailable #5

Merged
merged 3 commits into from
Apr 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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