Skip to content

Commit f05c727

Browse files
committed
feat: add label for organization & person
1 parent 6b4a106 commit f05c727

4 files changed

Lines changed: 12 additions & 0 deletions

File tree

src/Pipedrive.net/Models/Response/Organization.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,9 @@ public class Organization : IEntityWithCustomFields
116116
[JsonProperty("timeline_last_activity_time_by_owner")]
117117
public string TimelineLastActivityTimeByOwner { get; set; }
118118

119+
[JsonProperty("label")]
120+
public long? Label { get; set; }
121+
119122
[JsonProperty("address")]
120123
public string Address { get; set; }
121124

src/Pipedrive.net/Models/Response/Person.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ public class Person : IEntityWithCustomFields
134134
[JsonProperty("last_outgoing_mail_time")]
135135
public DateTime? LastOutgoingMailTime { get; set; }
136136

137+
[JsonProperty("label")]
138+
public long? Label { get; set; }
139+
137140
[JsonProperty("org_name")]
138141
public string OrgName { get; set; }
139142

src/Pipedrive.net/Models/Response/WebhookOrganization.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ public class WebhookOrganization : IEntityWithCustomFields
115115
[JsonProperty("timeline_last_activity_time_by_owner")]
116116
public string TimelineLastActivityTimeByOwner { get; set; }
117117

118+
[JsonProperty("label")]
119+
public long? Label { get; set; }
120+
118121
[JsonProperty("address")]
119122
public string Address { get; set; }
120123

src/Pipedrive.net/Models/Response/WebhookPerson.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ public class WebhookPerson : IEntityWithCustomFields
133133
[JsonProperty("last_outgoing_mail_time")]
134134
public DateTime? LastOutgoingMailTime { get; set; }
135135

136+
[JsonProperty("label")]
137+
public long? Label { get; set; }
138+
136139
[JsonProperty("org_name")]
137140
public string OrgName { get; set; }
138141

0 commit comments

Comments
 (0)