Skip to content

Commit

Permalink
feat: add label for organization & person
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidRouyer committed Nov 4, 2019
1 parent 6b4a106 commit f05c727
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Pipedrive.net/Models/Response/Organization.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ public class Organization : IEntityWithCustomFields
[JsonProperty("timeline_last_activity_time_by_owner")]
public string TimelineLastActivityTimeByOwner { get; set; }

[JsonProperty("label")]
public long? Label { get; set; }

[JsonProperty("address")]
public string Address { get; set; }

Expand Down
3 changes: 3 additions & 0 deletions src/Pipedrive.net/Models/Response/Person.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ public class Person : IEntityWithCustomFields
[JsonProperty("last_outgoing_mail_time")]
public DateTime? LastOutgoingMailTime { get; set; }

[JsonProperty("label")]
public long? Label { get; set; }

[JsonProperty("org_name")]
public string OrgName { get; set; }

Expand Down
3 changes: 3 additions & 0 deletions src/Pipedrive.net/Models/Response/WebhookOrganization.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ public class WebhookOrganization : IEntityWithCustomFields
[JsonProperty("timeline_last_activity_time_by_owner")]
public string TimelineLastActivityTimeByOwner { get; set; }

[JsonProperty("label")]
public long? Label { get; set; }

[JsonProperty("address")]
public string Address { get; set; }

Expand Down
3 changes: 3 additions & 0 deletions src/Pipedrive.net/Models/Response/WebhookPerson.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ public class WebhookPerson : IEntityWithCustomFields
[JsonProperty("last_outgoing_mail_time")]
public DateTime? LastOutgoingMailTime { get; set; }

[JsonProperty("label")]
public long? Label { get; set; }

[JsonProperty("org_name")]
public string OrgName { get; set; }

Expand Down

1 comment on commit f05c727

@mesuttascic
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi David,
Can you add "Label" to New and Update class of them.
I use "Label" while request ;) It works very well.

Please sign in to comment.