Class TrackingPixelProjection
Tracking pixel data
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "TrackingPixelProjection")]
public class TrackingPixelProjection : IValidatableObjectConstructors
View SourceTrackingPixelProjection()
Initializes a new instance of the TrackingPixelProjection class.
Declaration
[JsonConstructor]
protected TrackingPixelProjection()TrackingPixelProjection(Guid, Guid, Guid, DateTime, string, bool, DateTime, string, Guid)
Initializes a new instance of the TrackingPixelProjection class.
Declaration
public TrackingPixelProjection(Guid inboxId = default, Guid userId = default, Guid sentEmailId = default, DateTime createdAt = default, string recipient = null, bool seen = false, DateTime seenAt = default, string name = null, Guid id = default)Parameters
| Type | Name | Description | 
|---|---|---|
| Guid | inboxId | inboxId. | 
| Guid | userId | userId (required). | 
| Guid | sentEmailId | sentEmailId. | 
| DateTime | createdAt | createdAt (required). | 
| string | recipient | recipient. | 
| bool | seen | seen (required). | 
| DateTime | seenAt | seenAt. | 
| string | name | name. | 
| Guid | id | id (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 | 
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 = false)]
public Guid InboxId { get; set; }Property Value
| Type | Description | 
|---|---|
| Guid | 
Name
Gets or Sets Name
Declaration
[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
Recipient
Gets or Sets Recipient
Declaration
[DataMember(Name = "recipient", EmitDefaultValue = false)]
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 = false)]
public DateTime SeenAt { get; set; }Property Value
| Type | Description | 
|---|---|
| DateTime | 
SentEmailId
Gets or Sets SentEmailId
Declaration
[DataMember(Name = "sentEmailId", EmitDefaultValue = false)]
public Guid SentEmailId { get; set; }Property Value
| Type | Description | 
|---|---|
| Guid | 
UserId
Gets or Sets UserId
Declaration
[DataMember(Name = "userId", IsRequired = true, EmitDefaultValue = true)]
public Guid UserId { get; set; }Property Value
| Type | Description | 
|---|---|
| Guid | 
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 |