-
Notifications
You must be signed in to change notification settings - Fork 47
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
ad0e48a
commit 3fa0b3b
Showing
6 changed files
with
94 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Pipedrive | ||
{ | ||
public class SimpleDeal | ||
{ | ||
public long Id { get; set; } | ||
|
||
[JsonProperty("title")] | ||
public string Title { get; set; } | ||
|
||
[JsonProperty("user_id")] | ||
public long UserId { get; set; } | ||
|
||
[JsonProperty("visible_to")] | ||
public Visibility VisibleTo { get; set; } | ||
|
||
[JsonProperty("status")] | ||
public DealStatus Status { get; set; } | ||
|
||
[JsonProperty("value")] | ||
public long Value { get; set; } | ||
|
||
[JsonProperty("currency")] | ||
public string Currency { get; set; } | ||
|
||
[JsonProperty("person_name")] | ||
public string PersonName { get; set; } | ||
|
||
[JsonProperty("person_id")] | ||
public long? PersonId { get; set; } | ||
|
||
[JsonProperty("organization_name")] | ||
public string OrganizationName { get; set; } | ||
|
||
[JsonProperty("organization_id")] | ||
public long? OrganizationId { get; set; } | ||
|
||
[JsonProperty("formatted_value")] | ||
public string FormattedValue { get; set; } | ||
} | ||
} |