![JAR search and dependency download from the Maven repository](/logo.png)
com.mailslurp.models.TrackingPixelProjection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mailslurp-client-java Show documentation
Show all versions of mailslurp-client-java Show documentation
Official MailSlurp email API - create real inboxes then send and receive emails and attachments from tests and code.
The newest version!
/*
* MailSlurp API
* MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://docs.mailslurp.com/) - [Examples](https://github.com/mailslurp/examples) repository
*
* The version of the OpenAPI document: 6.5.2
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.mailslurp.models;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.UUID;
/**
* Tracking pixel data
*/
@ApiModel(description = "Tracking pixel data")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-03T06:03:24.997Z[GMT]")
public class TrackingPixelProjection {
public static final String SERIALIZED_NAME_CREATED_AT = "createdAt";
@SerializedName(SERIALIZED_NAME_CREATED_AT)
private OffsetDateTime createdAt;
public static final String SERIALIZED_NAME_INBOX_ID = "inboxId";
@SerializedName(SERIALIZED_NAME_INBOX_ID)
private UUID inboxId;
public static final String SERIALIZED_NAME_USER_ID = "userId";
@SerializedName(SERIALIZED_NAME_USER_ID)
private UUID userId;
public static final String SERIALIZED_NAME_SENT_EMAIL_ID = "sentEmailId";
@SerializedName(SERIALIZED_NAME_SENT_EMAIL_ID)
private UUID sentEmailId;
public static final String SERIALIZED_NAME_RECIPIENT = "recipient";
@SerializedName(SERIALIZED_NAME_RECIPIENT)
private String recipient;
public static final String SERIALIZED_NAME_SEEN = "seen";
@SerializedName(SERIALIZED_NAME_SEEN)
private Boolean seen;
public static final String SERIALIZED_NAME_SEEN_AT = "seenAt";
@SerializedName(SERIALIZED_NAME_SEEN_AT)
private OffsetDateTime seenAt;
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
private UUID id;
public TrackingPixelProjection createdAt(OffsetDateTime createdAt) {
this.createdAt = createdAt;
return this;
}
/**
* Get createdAt
* @return createdAt
**/
@ApiModelProperty(required = true, value = "")
public OffsetDateTime getCreatedAt() {
return createdAt;
}
public void setCreatedAt(OffsetDateTime createdAt) {
this.createdAt = createdAt;
}
public TrackingPixelProjection inboxId(UUID inboxId) {
this.inboxId = inboxId;
return this;
}
/**
* Get inboxId
* @return inboxId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public UUID getInboxId() {
return inboxId;
}
public void setInboxId(UUID inboxId) {
this.inboxId = inboxId;
}
public TrackingPixelProjection userId(UUID userId) {
this.userId = userId;
return this;
}
/**
* Get userId
* @return userId
**/
@ApiModelProperty(required = true, value = "")
public UUID getUserId() {
return userId;
}
public void setUserId(UUID userId) {
this.userId = userId;
}
public TrackingPixelProjection sentEmailId(UUID sentEmailId) {
this.sentEmailId = sentEmailId;
return this;
}
/**
* Get sentEmailId
* @return sentEmailId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public UUID getSentEmailId() {
return sentEmailId;
}
public void setSentEmailId(UUID sentEmailId) {
this.sentEmailId = sentEmailId;
}
public TrackingPixelProjection recipient(String recipient) {
this.recipient = recipient;
return this;
}
/**
* Get recipient
* @return recipient
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getRecipient() {
return recipient;
}
public void setRecipient(String recipient) {
this.recipient = recipient;
}
public TrackingPixelProjection seen(Boolean seen) {
this.seen = seen;
return this;
}
/**
* Get seen
* @return seen
**/
@ApiModelProperty(required = true, value = "")
public Boolean getSeen() {
return seen;
}
public void setSeen(Boolean seen) {
this.seen = seen;
}
public TrackingPixelProjection seenAt(OffsetDateTime seenAt) {
this.seenAt = seenAt;
return this;
}
/**
* Get seenAt
* @return seenAt
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public OffsetDateTime getSeenAt() {
return seenAt;
}
public void setSeenAt(OffsetDateTime seenAt) {
this.seenAt = seenAt;
}
public TrackingPixelProjection name(String name) {
this.name = name;
return this;
}
/**
* Get name
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public TrackingPixelProjection id(UUID id) {
this.id = id;
return this;
}
/**
* Get id
* @return id
**/
@ApiModelProperty(required = true, value = "")
public UUID getId() {
return id;
}
public void setId(UUID id) {
this.id = id;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TrackingPixelProjection trackingPixelProjection = (TrackingPixelProjection) o;
return Objects.equals(this.createdAt, trackingPixelProjection.createdAt) &&
Objects.equals(this.inboxId, trackingPixelProjection.inboxId) &&
Objects.equals(this.userId, trackingPixelProjection.userId) &&
Objects.equals(this.sentEmailId, trackingPixelProjection.sentEmailId) &&
Objects.equals(this.recipient, trackingPixelProjection.recipient) &&
Objects.equals(this.seen, trackingPixelProjection.seen) &&
Objects.equals(this.seenAt, trackingPixelProjection.seenAt) &&
Objects.equals(this.name, trackingPixelProjection.name) &&
Objects.equals(this.id, trackingPixelProjection.id);
}
@Override
public int hashCode() {
return Objects.hash(createdAt, inboxId, userId, sentEmailId, recipient, seen, seenAt, name, id);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TrackingPixelProjection {\n");
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
sb.append(" inboxId: ").append(toIndentedString(inboxId)).append("\n");
sb.append(" userId: ").append(toIndentedString(userId)).append("\n");
sb.append(" sentEmailId: ").append(toIndentedString(sentEmailId)).append("\n");
sb.append(" recipient: ").append(toIndentedString(recipient)).append("\n");
sb.append(" seen: ").append(toIndentedString(seen)).append("\n");
sb.append(" seenAt: ").append(toIndentedString(seenAt)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy