EmailEvents/EmailCampaignListRequestOptions.cs

HubSpot.NET · HubSpot.NET/Api/EmailEvents/EmailCampaignListRequestOptions.cs · csharp · MIT
crm

C# options class for querying HubSpot email campaigns, with limit and offset validation.

// 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;
using System.Collections.Generic;
using System.Linq;

namespace HubSpot.NET.Api.EmailEvents
{
    /// <summary>
    /// Options used when querying for email campaigns.
    /// </summary>
    public class EmailCampaignListRequestOptions
    {
        private int _limit = 20;

        /// <summary>
        /// Gets or sets the number of campaigns to return.
        /// </summary>
        /// <remarks>
        /// Defaults to 20 which is also the hubspot api default. Max value is 100
        /// </remarks>
        /// <value>
        /// The number of contacts to return.
        /// </value>
        public int Limit
  

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

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

Get a free API key