Dto/SubscriptionTimelineChangeHubSpotModel.cs

HubSpot.NET · HubSpot.NET/Api/EmailSubscriptions/Dto/SubscriptionTimelineChangeHubSpotModel.cs · csharp · MIT
crm

C# DTO representing subscription timeline changes in HubSpot, with JSON serialization attributes.

// 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.EmailSubscriptions.Dto
{
    using Newtonsoft.Json;
    using Newtonsoft.Json.Converters;
    using System.Runtime.Serialization;

    /// <summary>
    ///     This DTO will be used when returning the timeline of subscriptions.
    ///     It should be listed in the "changes" object.
    ///     <para>
    ///         For reference: <see href="https://developers.hubspot.com/docs/methods/email/get_subscriptions_timeline"/>
    ///     </para>
    /// </summary>
    [DataContract]
    public class SubscriptionTimelineChangeHubSpotModel
    {
        [DataMember(Name = "change")]
        public string Chan

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

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

Get a free API key