Search Results for

    Show / Hide Table of Contents

    Class TrackingPixelDto

    Tracking pixel

    Inheritance
    object
    TrackingPixelDto
    Implements
    IEquatable<TrackingPixelDto>
    System.ComponentModel.DataAnnotations.IValidatableObject
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: mailslurp.Model
    Assembly: mailslurp.dll
    Syntax
    [DataContract(Name = "TrackingPixelDto")]
    public class TrackingPixelDto : IEquatable<TrackingPixelDto>, IValidatableObject

    Constructors

    View Source

    TrackingPixelDto()

    Initializes a new instance of the TrackingPixelDto class.

    Declaration
    [JsonConstructor]
    protected TrackingPixelDto()
    View Source

    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
    System.Guid id

    id (required).

    bool seen

    seen (required).

    string recipient

    recipient.

    string html

    html (required).

    string url

    url (required).

    System.Guid? inboxId

    inboxId.

    System.Guid? sentEmailId

    sentEmailId.

    DateTime? seenAt

    seenAt.

    DateTime createdAt

    createdAt (required).

    Properties

    View Source

    CreatedAt

    Gets or Sets CreatedAt

    Declaration
    [DataMember(Name = "createdAt", IsRequired = true, EmitDefaultValue = true)]
    public DateTime CreatedAt { get; set; }
    Property Value
    Type Description
    DateTime
    View Source

    Html

    Gets or Sets Html

    Declaration
    [DataMember(Name = "html", IsRequired = true, EmitDefaultValue = true)]
    public string Html { get; set; }
    Property Value
    Type Description
    string
    View Source

    Id

    Gets or Sets Id

    Declaration
    [DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
    public Guid Id { get; set; }
    Property Value
    Type Description
    System.Guid
    View Source

    InboxId

    Gets or Sets InboxId

    Declaration
    [DataMember(Name = "inboxId", EmitDefaultValue = true)]
    public Guid? InboxId { get; set; }
    Property Value
    Type Description
    System.Guid?
    View Source

    Recipient

    Gets or Sets Recipient

    Declaration
    [DataMember(Name = "recipient", EmitDefaultValue = true)]
    public string Recipient { get; set; }
    Property Value
    Type Description
    string
    View Source

    Seen

    Gets or Sets Seen

    Declaration
    [DataMember(Name = "seen", IsRequired = true, EmitDefaultValue = true)]
    public bool Seen { get; set; }
    Property Value
    Type Description
    bool
    View Source

    SeenAt

    Gets or Sets SeenAt

    Declaration
    [DataMember(Name = "seenAt", EmitDefaultValue = true)]
    public DateTime? SeenAt { get; set; }
    Property Value
    Type Description
    DateTime?
    View Source

    SentEmailId

    Gets or Sets SentEmailId

    Declaration
    [DataMember(Name = "sentEmailId", EmitDefaultValue = true)]
    public Guid? SentEmailId { get; set; }
    Property Value
    Type Description
    System.Guid?
    View Source

    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 Source

    Equals(TrackingPixelDto)

    Returns true if TrackingPixelDto instances are equal

    Declaration
    public bool Equals(TrackingPixelDto input)
    Parameters
    Type Name Description
    TrackingPixelDto input

    Instance of TrackingPixelDto to be compared

    Returns
    Type Description
    bool

    Boolean

    View Source

    Equals(object)

    Returns true if objects are equal

    Declaration
    public override bool Equals(object input)
    Parameters
    Type Name Description
    object input

    Object to be compared

    Returns
    Type Description
    bool

    Boolean

    Overrides
    Object.Equals(Object)
    View Source

    GetHashCode()

    Gets the hash code

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    Hash code

    Overrides
    Object.GetHashCode()
    View Source

    ToJson()

    Returns the JSON string presentation of the object

    Declaration
    public virtual string ToJson()
    Returns
    Type Description
    string

    JSON string presentation of the object

    View Source

    ToString()

    Returns the string presentation of the object

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    String presentation of the object

    Overrides
    object.ToString()
    View Source

    Validate(ValidationContext)

    To validate all properties of the instance

    Declaration
    public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
    Parameters
    Type Name Description
    ValidationContext validationContext

    Validation context

    Returns
    Type Description
    IEnumerable<ValidationResult>

    Validation Result

    Implements

    System.IEquatable<T>
    System.ComponentModel.DataAnnotations.IValidatableObject
    • View Source
    In This Article
    Back to top See MailSlurp website for more information.