io.swagger.client.model.ReputationImpact Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of elasticemail-RESTful-API Show documentation
Show all versions of elasticemail-RESTful-API Show documentation
Send your emails with ElasticEmail API
The newest version!
/*
* elasticemail_Restful_api
* Send your emails with ElasticEmail API
*
* OpenAPI spec version: 3.0.1
* Contact: [email protected]
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package io.swagger.client.model;
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;
/**
* Overall reputation impact, based on the most important factors.
*/
@ApiModel(description = "Overall reputation impact, based on the most important factors.")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-03-29T15:32:30.861Z")
public class ReputationImpact {
@SerializedName("Abuse")
private Double abuse = null;
@SerializedName("UnknownUsers")
private Double unknownUsers = null;
@SerializedName("Opened")
private Double opened = null;
@SerializedName("Clicked")
private Double clicked = null;
@SerializedName("AverageSpamScore")
private Double averageSpamScore = null;
@SerializedName("ServerFilter")
private Double serverFilter = null;
@SerializedName("TrackingDomain")
private Double trackingDomain = null;
@SerializedName("SenderDomain")
private Double senderDomain = null;
public ReputationImpact abuse(Double abuse) {
this.abuse = abuse;
return this;
}
/**
* Abuses - mails sent to user without their consent
* @return abuse
**/
@ApiModelProperty(example = "0.0", required = true, value = "Abuses - mails sent to user without their consent")
public Double getAbuse() {
return abuse;
}
public void setAbuse(Double abuse) {
this.abuse = abuse;
}
public ReputationImpact unknownUsers(Double unknownUsers) {
this.unknownUsers = unknownUsers;
return this;
}
/**
* Users, that could not be reached.
* @return unknownUsers
**/
@ApiModelProperty(example = "0.0", required = true, value = "Users, that could not be reached.")
public Double getUnknownUsers() {
return unknownUsers;
}
public void setUnknownUsers(Double unknownUsers) {
this.unknownUsers = unknownUsers;
}
public ReputationImpact opened(Double opened) {
this.opened = opened;
return this;
}
/**
* Number of opened messages
* @return opened
**/
@ApiModelProperty(example = "1000.0", required = true, value = "Number of opened messages")
public Double getOpened() {
return opened;
}
public void setOpened(Double opened) {
this.opened = opened;
}
public ReputationImpact clicked(Double clicked) {
this.clicked = clicked;
return this;
}
/**
* Number of clicked messages
* @return clicked
**/
@ApiModelProperty(example = "1000.0", required = true, value = "Number of clicked messages")
public Double getClicked() {
return clicked;
}
public void setClicked(Double clicked) {
this.clicked = clicked;
}
public ReputationImpact averageSpamScore(Double averageSpamScore) {
this.averageSpamScore = averageSpamScore;
return this;
}
/**
* Penalty from messages marked as spam.
* @return averageSpamScore
**/
@ApiModelProperty(example = "0.0", required = true, value = "Penalty from messages marked as spam.")
public Double getAverageSpamScore() {
return averageSpamScore;
}
public void setAverageSpamScore(Double averageSpamScore) {
this.averageSpamScore = averageSpamScore;
}
public ReputationImpact serverFilter(Double serverFilter) {
this.serverFilter = serverFilter;
return this;
}
/**
* Content analysis.
* @return serverFilter
**/
@ApiModelProperty(example = "0.0", required = true, value = "Content analysis.")
public Double getServerFilter() {
return serverFilter;
}
public void setServerFilter(Double serverFilter) {
this.serverFilter = serverFilter;
}
public ReputationImpact trackingDomain(Double trackingDomain) {
this.trackingDomain = trackingDomain;
return this;
}
/**
* Tracking domain.
* @return trackingDomain
**/
@ApiModelProperty(example = "example.com", required = true, value = "Tracking domain.")
public Double getTrackingDomain() {
return trackingDomain;
}
public void setTrackingDomain(Double trackingDomain) {
this.trackingDomain = trackingDomain;
}
public ReputationImpact senderDomain(Double senderDomain) {
this.senderDomain = senderDomain;
return this;
}
/**
* Sending domain.
* @return senderDomain
**/
@ApiModelProperty(example = "example.com", required = true, value = "Sending domain.")
public Double getSenderDomain() {
return senderDomain;
}
public void setSenderDomain(Double senderDomain) {
this.senderDomain = senderDomain;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ReputationImpact reputationImpact = (ReputationImpact) o;
return Objects.equals(this.abuse, reputationImpact.abuse) &&
Objects.equals(this.unknownUsers, reputationImpact.unknownUsers) &&
Objects.equals(this.opened, reputationImpact.opened) &&
Objects.equals(this.clicked, reputationImpact.clicked) &&
Objects.equals(this.averageSpamScore, reputationImpact.averageSpamScore) &&
Objects.equals(this.serverFilter, reputationImpact.serverFilter) &&
Objects.equals(this.trackingDomain, reputationImpact.trackingDomain) &&
Objects.equals(this.senderDomain, reputationImpact.senderDomain);
}
@Override
public int hashCode() {
return Objects.hash(abuse, unknownUsers, opened, clicked, averageSpamScore, serverFilter, trackingDomain, senderDomain);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ReputationImpact {\n");
sb.append(" abuse: ").append(toIndentedString(abuse)).append("\n");
sb.append(" unknownUsers: ").append(toIndentedString(unknownUsers)).append("\n");
sb.append(" opened: ").append(toIndentedString(opened)).append("\n");
sb.append(" clicked: ").append(toIndentedString(clicked)).append("\n");
sb.append(" averageSpamScore: ").append(toIndentedString(averageSpamScore)).append("\n");
sb.append(" serverFilter: ").append(toIndentedString(serverFilter)).append("\n");
sb.append(" trackingDomain: ").append(toIndentedString(trackingDomain)).append("\n");
sb.append(" senderDomain: ").append(toIndentedString(senderDomain)).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