All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mailslurp.models.AccountBounceBlockDto Maven / Gradle / Ivy

Go to download

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;

/**
 * AccountBounceBlockDto
 */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-03T06:03:24.997Z[GMT]")
public class AccountBounceBlockDto {
  public static final String SERIALIZED_NAME_IS_SENDING_BLOCKED = "isSendingBlocked";
  @SerializedName(SERIALIZED_NAME_IS_SENDING_BLOCKED)
  private Boolean isSendingBlocked;

  public static final String SERIALIZED_NAME_BOUNCE_COUNT = "bounceCount";
  @SerializedName(SERIALIZED_NAME_BOUNCE_COUNT)
  private Long bounceCount;

  public static final String SERIALIZED_NAME_BOUNCE_COUNT_TODAY = "bounceCountToday";
  @SerializedName(SERIALIZED_NAME_BOUNCE_COUNT_TODAY)
  private Long bounceCountToday;

  public static final String SERIALIZED_NAME_MAXIMUM_DAILY_BOUNCES = "maximumDailyBounces";
  @SerializedName(SERIALIZED_NAME_MAXIMUM_DAILY_BOUNCES)
  private Long maximumDailyBounces;

  public static final String SERIALIZED_NAME_MAXIMUM_ACCOUNT_BOUNCES = "maximumAccountBounces";
  @SerializedName(SERIALIZED_NAME_MAXIMUM_ACCOUNT_BOUNCES)
  private Long maximumAccountBounces;


  public AccountBounceBlockDto isSendingBlocked(Boolean isSendingBlocked) {
    
    this.isSendingBlocked = isSendingBlocked;
    return this;
  }

   /**
   * Get isSendingBlocked
   * @return isSendingBlocked
  **/
  @ApiModelProperty(required = true, value = "")

  public Boolean getIsSendingBlocked() {
    return isSendingBlocked;
  }


  public void setIsSendingBlocked(Boolean isSendingBlocked) {
    this.isSendingBlocked = isSendingBlocked;
  }


  public AccountBounceBlockDto bounceCount(Long bounceCount) {
    
    this.bounceCount = bounceCount;
    return this;
  }

   /**
   * Get bounceCount
   * @return bounceCount
  **/
  @ApiModelProperty(required = true, value = "")

  public Long getBounceCount() {
    return bounceCount;
  }


  public void setBounceCount(Long bounceCount) {
    this.bounceCount = bounceCount;
  }


  public AccountBounceBlockDto bounceCountToday(Long bounceCountToday) {
    
    this.bounceCountToday = bounceCountToday;
    return this;
  }

   /**
   * Get bounceCountToday
   * @return bounceCountToday
  **/
  @ApiModelProperty(required = true, value = "")

  public Long getBounceCountToday() {
    return bounceCountToday;
  }


  public void setBounceCountToday(Long bounceCountToday) {
    this.bounceCountToday = bounceCountToday;
  }


  public AccountBounceBlockDto maximumDailyBounces(Long maximumDailyBounces) {
    
    this.maximumDailyBounces = maximumDailyBounces;
    return this;
  }

   /**
   * Get maximumDailyBounces
   * @return maximumDailyBounces
  **/
  @ApiModelProperty(required = true, value = "")

  public Long getMaximumDailyBounces() {
    return maximumDailyBounces;
  }


  public void setMaximumDailyBounces(Long maximumDailyBounces) {
    this.maximumDailyBounces = maximumDailyBounces;
  }


  public AccountBounceBlockDto maximumAccountBounces(Long maximumAccountBounces) {
    
    this.maximumAccountBounces = maximumAccountBounces;
    return this;
  }

   /**
   * Get maximumAccountBounces
   * @return maximumAccountBounces
  **/
  @ApiModelProperty(required = true, value = "")

  public Long getMaximumAccountBounces() {
    return maximumAccountBounces;
  }


  public void setMaximumAccountBounces(Long maximumAccountBounces) {
    this.maximumAccountBounces = maximumAccountBounces;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    AccountBounceBlockDto accountBounceBlockDto = (AccountBounceBlockDto) o;
    return Objects.equals(this.isSendingBlocked, accountBounceBlockDto.isSendingBlocked) &&
        Objects.equals(this.bounceCount, accountBounceBlockDto.bounceCount) &&
        Objects.equals(this.bounceCountToday, accountBounceBlockDto.bounceCountToday) &&
        Objects.equals(this.maximumDailyBounces, accountBounceBlockDto.maximumDailyBounces) &&
        Objects.equals(this.maximumAccountBounces, accountBounceBlockDto.maximumAccountBounces);
  }

  @Override
  public int hashCode() {
    return Objects.hash(isSendingBlocked, bounceCount, bounceCountToday, maximumDailyBounces, maximumAccountBounces);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class AccountBounceBlockDto {\n");
    sb.append("    isSendingBlocked: ").append(toIndentedString(isSendingBlocked)).append("\n");
    sb.append("    bounceCount: ").append(toIndentedString(bounceCount)).append("\n");
    sb.append("    bounceCountToday: ").append(toIndentedString(bounceCountToday)).append("\n");
    sb.append("    maximumDailyBounces: ").append(toIndentedString(maximumDailyBounces)).append("\n");
    sb.append("    maximumAccountBounces: ").append(toIndentedString(maximumAccountBounces)).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 - 2024 Weber Informatics LLC | Privacy Policy