io.swagger.client.model.LogSummary 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 io.swagger.client.model.BouncedCategorySummary;
import io.swagger.client.model.DailyLogStatusSummary;
import io.swagger.client.model.LogStatusSummary;
import io.swagger.client.model.SubaccountSummary;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* Overall log summary information.
*/
@ApiModel(description = "Overall log summary information.")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-03-29T15:32:30.861Z")
public class LogSummary {
@SerializedName("LogStatusSummary")
private LogStatusSummary logStatusSummary = null;
@SerializedName("BouncedCategorySummary")
private BouncedCategorySummary bouncedCategorySummary = null;
@SerializedName("DailyLogStatusSummary")
private List dailyLogStatusSummary = new ArrayList();
@SerializedName("SubaccountSummary")
private SubaccountSummary subaccountSummary = null;
public LogSummary logStatusSummary(LogStatusSummary logStatusSummary) {
this.logStatusSummary = logStatusSummary;
return this;
}
/**
* Get logStatusSummary
* @return logStatusSummary
**/
@ApiModelProperty(required = true, value = "")
public LogStatusSummary getLogStatusSummary() {
return logStatusSummary;
}
public void setLogStatusSummary(LogStatusSummary logStatusSummary) {
this.logStatusSummary = logStatusSummary;
}
public LogSummary bouncedCategorySummary(BouncedCategorySummary bouncedCategorySummary) {
this.bouncedCategorySummary = bouncedCategorySummary;
return this;
}
/**
* Get bouncedCategorySummary
* @return bouncedCategorySummary
**/
@ApiModelProperty(required = true, value = "")
public BouncedCategorySummary getBouncedCategorySummary() {
return bouncedCategorySummary;
}
public void setBouncedCategorySummary(BouncedCategorySummary bouncedCategorySummary) {
this.bouncedCategorySummary = bouncedCategorySummary;
}
public LogSummary dailyLogStatusSummary(List dailyLogStatusSummary) {
this.dailyLogStatusSummary = dailyLogStatusSummary;
return this;
}
public LogSummary addDailyLogStatusSummaryItem(DailyLogStatusSummary dailyLogStatusSummaryItem) {
this.dailyLogStatusSummary.add(dailyLogStatusSummaryItem);
return this;
}
/**
* Daily summary of log status, based on specified date range.
* @return dailyLogStatusSummary
**/
@ApiModelProperty(required = true, value = "Daily summary of log status, based on specified date range.")
public List getDailyLogStatusSummary() {
return dailyLogStatusSummary;
}
public void setDailyLogStatusSummary(List dailyLogStatusSummary) {
this.dailyLogStatusSummary = dailyLogStatusSummary;
}
public LogSummary subaccountSummary(SubaccountSummary subaccountSummary) {
this.subaccountSummary = subaccountSummary;
return this;
}
/**
* Get subaccountSummary
* @return subaccountSummary
**/
@ApiModelProperty(required = true, value = "")
public SubaccountSummary getSubaccountSummary() {
return subaccountSummary;
}
public void setSubaccountSummary(SubaccountSummary subaccountSummary) {
this.subaccountSummary = subaccountSummary;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LogSummary logSummary = (LogSummary) o;
return Objects.equals(this.logStatusSummary, logSummary.logStatusSummary) &&
Objects.equals(this.bouncedCategorySummary, logSummary.bouncedCategorySummary) &&
Objects.equals(this.dailyLogStatusSummary, logSummary.dailyLogStatusSummary) &&
Objects.equals(this.subaccountSummary, logSummary.subaccountSummary);
}
@Override
public int hashCode() {
return Objects.hash(logStatusSummary, bouncedCategorySummary, dailyLogStatusSummary, subaccountSummary);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LogSummary {\n");
sb.append(" logStatusSummary: ").append(toIndentedString(logStatusSummary)).append("\n");
sb.append(" bouncedCategorySummary: ").append(toIndentedString(bouncedCategorySummary)).append("\n");
sb.append(" dailyLogStatusSummary: ").append(toIndentedString(dailyLogStatusSummary)).append("\n");
sb.append(" subaccountSummary: ").append(toIndentedString(subaccountSummary)).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