Dto/TimelineEventHubspotModel.cs

HubSpot.NET · HubSpot.NET/Api/Timeline/Dto/TimelineEventHubspotModel.cs · csharp · MIT
crm

C# DTO representing a HubSpot timeline event, mapping JSON fields to properties for API integration.

// 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.
namespace HubSpot.NET.Api.Timeline.Dto
{
    using HubSpot.NET.Core.Interfaces;
    using System.Collections.Generic;
    using System.Runtime.Serialization;

    /// <summary>
    /// Models a set of results returned from the Timeline endpoint.
    /// </summary>
    [DataContract]
    public class TimelineEventHubSpotModel : IHubSpotModel
    {
        [DataMember(Name = "id")]
        public long Id { get; set; }

        [DataMember(Name = "applicationId")]
        public long ApplicationId { get; set; }

        [DataMember(Name = "portalId")]
        public long PortalId { get; set; }

        [DataMember(Name = "eventTypeI

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

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

Get a free API key