Skip to content

Commit

Permalink
Add support to read metadata from list details such as size property
Browse files Browse the repository at this point in the history
  • Loading branch information
lakesol committed Feb 18, 2022
1 parent 6d5ffd4 commit 8bb69b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions HubSpot.NET/Api/ContactList/Dto/ContactListModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ public class ContactListModel: IHubSpotModel

[DataMember(Name = "dynamic")]
public bool Dynamic { get; set; }

[DataMember(Name = "metadata")]
public dynamic Metadata { get; set; }

[IgnoreDataMember]
public bool IsNameValue => true;
Expand All @@ -32,4 +35,5 @@ public void FromHubSpotDataEntity(dynamic hubspotData)
[IgnoreDataMember]
public string RouteBasePath => "/contacts/v1/lists";
}

}

0 comments on commit 8bb69b8

Please sign in to comment.