/
Queue.cs
67 lines (56 loc) · 1.64 KB
/
Queue.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Queue.cs" company="Brandon Seydel">
// N/A
// </copyright>
// --------------------------------------------------------------------------------------------------------------------
using System.Collections.Generic;
using Newtonsoft.Json;
namespace MailChimp.Net.Models;
/// <summary>
/// The queue.
/// </summary>
public class Queue
{
/// <summary>
/// Initializes a new instance of the <see cref="Queue"/> class.
/// </summary>
public Queue()
{
Links = new HashSet<Link>();
}
/// <summary>
/// Gets or sets the email address.
/// </summary>
[JsonProperty("email_address")]
public string EmailAddress { get; set; }
/// <summary>
/// Gets or sets the email id.
/// </summary>
[JsonProperty("email_id")]
public string EmailId { get; set; }
/// <summary>
/// Gets or sets the id.
/// </summary>
[JsonProperty("id")]
public string Id { get; set; }
/// <summary>
/// Gets or sets the links.
/// </summary>
[JsonProperty("_links")]
public IEnumerable<Link> Links { get; set; }
/// <summary>
/// Gets or sets the list id.
/// </summary>
[JsonProperty("list_id")]
public string ListId { get; set; }
/// <summary>
/// Gets or sets the next send.
/// </summary>
[JsonProperty("next_send")]
public string NextSend { get; set; }
/// <summary>
/// Gets or sets the workflow id.
/// </summary>
[JsonProperty("workflow_id")]
public string WorkflowId { get; set; }
}