-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b23d116
commit 7e7c6d8
Showing
10 changed files
with
177 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace Pipedrive | ||
{ | ||
public class DealFileFilters | ||
{ | ||
public static DealFileFilters None | ||
{ | ||
get { return new DealFileFilters(); } | ||
} | ||
|
||
public int? StartPage { get; set; } | ||
|
||
public int? PageCount { get; set; } | ||
|
||
public int? PageSize { get; set; } | ||
|
||
public bool? IncludeDeletedFiles { get; set; } | ||
|
||
public string Sort { get; set; } | ||
|
||
/// <summary> | ||
/// Get the query parameters that will be appending onto the search | ||
/// </summary> | ||
public IDictionary<string, string> Parameters | ||
{ | ||
get | ||
{ | ||
var d = new Dictionary<string, string>(); | ||
if (IncludeDeletedFiles.HasValue) | ||
{ | ||
d.Add("include_deleted_files", IncludeDeletedFiles.Value == true ? 1.ToString() : 0.ToString()); | ||
} | ||
|
||
if (!string.IsNullOrWhiteSpace(Sort)) | ||
{ | ||
d.Add("sort", Sort); | ||
} | ||
|
||
return d; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
src/Pipedrive.net/Models/Request/Organizations/OrganizationFileFilters.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
using System.Collections.Generic; | ||
using Pipedrive.Models.Common; | ||
|
||
namespace Pipedrive | ||
{ | ||
|