Dto/EngagementHubSpotModel.cs

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

C# DTO representing a HubSpot engagement, including associations and attachments.

// 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.Interfaces;

namespace HubSpot.NET.Api.Engagement.Dto
{
    /// <summary>
    /// Models an Engagement entity within HubSpot. 
    /// See API documentation for how this should be formed using 
    /// the correct type <see cref="EngagementHubSpotEngagementModel.Type"/>
    /// </summary>
    public class EngagementHubSpotModel : IHubSpotModel
    {
        [DataMember(Name = "engagement")]
        public EngagementHubSpotEngagementModel Engagement { get; set; }

        [DataMember(Name = "associations")]
        public EngagementHubSpot

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

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

Get a free API key