Dto/EngagementListHubSpotModel.cs

HubSpot.NET · HubSpot.NET/Api/Engagement/Dto/EngagementListHubSpotModel.cs · csharp · MIT
crm

C# DTO representing a list of HubSpot engagement models.

// Source: https://github.com/hubspot-net/HubSpot.NET | License: MIT | Copyright 2018 Squared Up
// Provided via justclaw.it.com; keep this notice with the code.
using System.Collections.Generic;
using System.Runtime.Serialization;
using HubSpot.NET.Core.Abstracts;
using HubSpot.NET.Core.Interfaces;

namespace HubSpot.NET.Api.Engagement.Dto
{
    /// <summary>
    /// Models a set of engagements returned by the API
    /// </summary>
    [DataContract]
    public class EngagementListHubSpotModel<T> : ListHubSpotModel, IHubSpotModel where T: EngagementHubSpotModel
    {
        /// <summary>
        /// Gets or sets the contacts.
        /// </summary>
        /// <value>
        /// The contacts.
        /// </value>
        [DataMember(Name = "results")]
        public IList<T> Engagemen

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key