-
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
6a301f5
commit 6b2ea88
Showing
9 changed files
with
222 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Pipedrive.Models.Response | ||
{ | ||
public class AssociatedDeal | ||
{ | ||
public long Id { get; set; } | ||
|
||
[JsonProperty("title")] | ||
public string Title { get; set; } | ||
|
||
[JsonProperty("status")] | ||
public DealStatus Status { get; set; } | ||
|
||
[JsonProperty("value")] | ||
public long Value { get; set; } | ||
|
||
[JsonProperty("currency")] | ||
public string Currency { get; set; } | ||
|
||
[JsonProperty("stage_id")] | ||
public long StageId { get; set; } | ||
|
||
[JsonProperty("pipeline_id")] | ||
public long PipelineId { get; set; } | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
src/Pipedrive.net/Models/Response/AssociatedOrganization.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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Pipedrive.Models.Response | ||
{ | ||
public class AssociatedOrganization | ||
{ | ||
[JsonProperty("name")] | ||
public string Name { get; set; } | ||
|
||
[JsonProperty("people_count")] | ||
public long PeopleCount { get; set; } | ||
|
||
[JsonProperty("owner_id")] | ||
public long OwnerId { get; set; } | ||
|
||
[JsonProperty("address")] | ||
public string Address { get; set; } | ||
|
||
[JsonProperty("cc_email")] | ||
public string CcEmail { get; set; } | ||
|
||
[JsonProperty("value")] | ||
public long Value { get; set; } | ||
} | ||
} |
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,20 @@ | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json; | ||
|
||
namespace Pipedrive.Models.Response | ||
{ | ||
public class AssociatedPerson | ||
{ | ||
[JsonProperty("name")] | ||
public string Name { get; set; } | ||
|
||
[JsonProperty("email")] | ||
public List<Email> Email { get; set; } | ||
|
||
[JsonProperty("phone")] | ||
public List<Phone> Phone { get; set; } | ||
|
||
[JsonProperty("value")] | ||
public long Value { get; set; } | ||
} | ||
} |
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,27 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Pipedrive.Models.Response | ||
{ | ||
public class AssociatedUser | ||
{ | ||
public long Id { get; set; } | ||
|
||
[JsonProperty("name")] | ||
public string Name { get; set; } | ||
|
||
[JsonProperty("email")] | ||
public string Email { get; set; } | ||
|
||
[JsonProperty("has_pic")] | ||
public bool HasPic { get; set; } | ||
|
||
[JsonProperty("pic_hash")] | ||
public string PicHash { get; set; } | ||
|
||
[JsonProperty("active_flag")] | ||
public bool ActiveFlag { get; set; } | ||
|
||
[JsonProperty("value")] | ||
public long Value { get; set; } | ||
} | ||
} |
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,113 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json; | ||
|
||
namespace Pipedrive.Models.Response | ||
{ | ||
public class DealActivity | ||
{ | ||
public long Id { get; set; } | ||
|
||
[JsonProperty("company_id")] | ||
public long CompanyId { get; set; } | ||
|
||
[JsonProperty("user_id")] | ||
public AssociatedUser UserId { get; set; } | ||
|
||
[JsonProperty("done")] | ||
public bool Done { get; set; } | ||
|
||
[JsonProperty("type")] | ||
public string Type { get; set; } | ||
|
||
[JsonProperty("reference_type")] | ||
public string ReferenceType { get; set; } | ||
|
||
[JsonProperty("reference_id")] | ||
public string ReferenceId { get; set; } | ||
|
||
[JsonProperty("due_date")] | ||
public DateTime? DueDate { get; set; } | ||
|
||
[JsonProperty("due_time")] | ||
public string DueTime { get; set; } | ||
|
||
[JsonProperty("duration")] | ||
public string Duration { get; set; } | ||
|
||
[JsonProperty("add_time")] | ||
public DateTime AddTime { get; set; } | ||
|
||
[JsonProperty("marked_as_done_time")] | ||
public DateTime? MarkedAsDoneTime { get; set; } | ||
|
||
[JsonProperty("last_notification_time")] | ||
public DateTime? LastNotificationTime { get; set; } | ||
|
||
[JsonProperty("last_notification_user_id")] | ||
public long? LastNotificationUserId { get; set; } | ||
|
||
[JsonProperty("notification_language_id")] | ||
public long? NotificationLanguageId { get; set; } | ||
|
||
[JsonProperty("subject")] | ||
public string Subject { get; set; } | ||
|
||
[JsonProperty("org_id")] | ||
public AssociatedOrganization OrgId { get; set; } | ||
|
||
[JsonProperty("person_id")] | ||
public AssociatedPerson PersonId { get; set; } | ||
|
||
[JsonProperty("deal_id")] | ||
public AssociatedDeal DealId { get; set; } | ||
|
||
[JsonProperty("active_flag")] | ||
public bool ActiveFlag { get; set; } | ||
|
||
[JsonProperty("update_time")] | ||
public DateTime? UpdateTime { get; set; } | ||
|
||
[JsonProperty("update_user_id")] | ||
public long? UpdateUserId { get; set; } | ||
|
||
[JsonProperty("gcal_event_id")] | ||
public string GcalEventId { get; set; } | ||
|
||
[JsonProperty("google_calendar_id")] | ||
public string GoogleCalendarId { get; set; } | ||
|
||
[JsonProperty("google_calendar_etag")] | ||
public string GoogleCalendarEtag { get; set; } | ||
|
||
[JsonProperty("note")] | ||
public string Note { get; set; } | ||
|
||
[JsonProperty("created_by_user_id")] | ||
public AssociatedUser CreatedByUserId { get; set; } | ||
|
||
[JsonProperty("participants")] | ||
public List<Participant> Participants { get; set; } | ||
|
||
[JsonProperty("org_name")] | ||
public string OrgName { get; set; } | ||
|
||
[JsonProperty("person_name")] | ||
public string PersonName { get; set; } | ||
|
||
[JsonProperty("deal_title")] | ||
public string DealTitle { get; set; } | ||
|
||
[JsonProperty("owner_name")] | ||
public string OwnerName { get; set; } | ||
|
||
[JsonProperty("person_dropbox_bcc")] | ||
public string PersonDropboxBcc { get; set; } | ||
|
||
[JsonProperty("deal_dropbox_bcc")] | ||
public string DealDropboxBcc { get; set; } | ||
|
||
[JsonProperty("assigned_to_user_id")] | ||
public long? AssignedToUserId { get; set; } | ||
} | ||
} |
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