Class TrackingPixelDto
Tracking pixel
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "TrackingPixelDto")]
public class TrackingPixelDto : IValidatableObjectConstructors
View SourceTrackingPixelDto()
Initializes a new instance of the TrackingPixelDto class.
Declaration
[JsonConstructor]
protected TrackingPixelDto()TrackingPixelDto(Guid, bool, string, string, string, Guid?, Guid?, DateTime?, DateTime)
Initializes a new instance of the TrackingPixelDto class.
Declaration
public TrackingPixelDto(Guid id = default, bool seen = false, string recipient = null, string html = null, string url = null, Guid? inboxId = null, Guid? sentEmailId = null, DateTime? seenAt = null, DateTime createdAt = default)Parameters
| Type | Name | Description | 
|---|---|---|
| Guid | id | id (required). | 
| bool | seen | seen (required). | 
| string | recipient | recipient. | 
| string | html | html (required). | 
| string | url | url (required). | 
| Guid? | inboxId | inboxId. | 
| Guid? | sentEmailId | sentEmailId. | 
| DateTime? | seenAt | seenAt. | 
| DateTime | createdAt | createdAt (required). | 
Properties
View SourceCreatedAt
Gets or Sets CreatedAt
Declaration
[DataMember(Name = "createdAt", IsRequired = true, EmitDefaultValue = true)]
public DateTime CreatedAt { get; set; }Property Value
| Type | Description | 
|---|---|
| DateTime | 
Html
Gets or Sets Html
Declaration
[DataMember(Name = "html", IsRequired = true, EmitDefaultValue = true)]
public string Html { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
Id
Gets or Sets Id
Declaration
[DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
public Guid Id { get; set; }Property Value
| Type | Description | 
|---|---|
| Guid | 
InboxId
Gets or Sets InboxId
Declaration
[DataMember(Name = "inboxId", EmitDefaultValue = true)]
public Guid? InboxId { get; set; }Property Value
| Type | Description | 
|---|---|
| Guid? | 
Recipient
Gets or Sets Recipient
Declaration
[DataMember(Name = "recipient", EmitDefaultValue = true)]
public string Recipient { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
Seen
Gets or Sets Seen
Declaration
[DataMember(Name = "seen", IsRequired = true, EmitDefaultValue = true)]
public bool Seen { get; set; }Property Value
| Type | Description | 
|---|---|
| bool | 
SeenAt
Gets or Sets SeenAt
Declaration
[DataMember(Name = "seenAt", EmitDefaultValue = true)]
public DateTime? SeenAt { get; set; }Property Value
| Type | Description | 
|---|---|
| DateTime? | 
SentEmailId
Gets or Sets SentEmailId
Declaration
[DataMember(Name = "sentEmailId", EmitDefaultValue = true)]
public Guid? SentEmailId { get; set; }Property Value
| Type | Description | 
|---|---|
| Guid? | 
Url
Gets or Sets Url
Declaration
[DataMember(Name = "url", IsRequired = true, EmitDefaultValue = true)]
public string Url { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
Methods
View SourceToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()Returns
| Type | Description | 
|---|---|
| string | JSON string presentation of the object | 
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()Returns
| Type | Description | 
|---|---|
| string | String presentation of the object |