Class AggregateStat

java.lang.Object
sendpost_java_sdk.AggregateStat

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-12-22T13:35:12.742682+05:30[Asia/Kolkata]", comments="Generator version: 7.13.0") public class AggregateStat extends Object
AggregateStat
  • Field Details

  • Constructor Details

    • AggregateStat

      public AggregateStat()
  • Method Details

    • processed

      public AggregateStat processed(@Nullable Integer processed)
    • getProcessed

      @Nullable public Integer getProcessed()
      Number of emails accepted by SendPost API.
      Returns:
      processed
    • setProcessed

      public void setProcessed(@Nullable Integer processed)
    • delivered

      public AggregateStat delivered(@Nullable Integer delivered)
    • getDelivered

      @Nullable public Integer getDelivered()
      Number of emails we were able to successfully deliver at SMTP without encountering any error
      Returns:
      delivered
    • setDelivered

      public void setDelivered(@Nullable Integer delivered)
    • dropped

      public AggregateStat dropped(@Nullable Integer dropped)
    • getDropped

      @Nullable public Integer getDropped()
      Number of emails drop without attempting to deliver either because the email is invalid or email in in existing suppression list
      Returns:
      dropped
    • setDropped

      public void setDropped(@Nullable Integer dropped)
    • hardBounced

      public AggregateStat hardBounced(@Nullable Integer hardBounced)
    • getHardBounced

      @Nullable public Integer getHardBounced()
      Number of emails where we got SMTP hard bounce error code by the recipient mail provider
      Returns:
      hardBounced
    • setHardBounced

      public void setHardBounced(@Nullable Integer hardBounced)
    • softBounced

      public AggregateStat softBounced(@Nullable Integer softBounced)
    • getSoftBounced

      @Nullable public Integer getSoftBounced()
      Number of emails where we got temporary soft bounce error by the recipent mail provider. Soft bounced emails are retried upto 5 times over 24 hour period before marking them as hardBounced.
      Returns:
      softBounced
    • setSoftBounced

      public void setSoftBounced(@Nullable Integer softBounced)
    • unsubscribed

      public AggregateStat unsubscribed(@Nullable Integer unsubscribed)
    • getUnsubscribed

      @Nullable public Integer getUnsubscribed()
      Number of email recipients who unsubscribed from receiving further emails
      Returns:
      unsubscribed
    • setUnsubscribed

      public void setUnsubscribed(@Nullable Integer unsubscribed)
    • spam

      public AggregateStat spam(@Nullable Integer spam)
    • getSpam

      @Nullable public Integer getSpam()
      Number of email recipients who marked emails as spam
      Returns:
      spam
    • setSpam

      public void setSpam(@Nullable Integer spam)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to AggregateStat
    • fromJson

      public static AggregateStat fromJson(String jsonString) throws IOException
      Create an instance of AggregateStat given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of AggregateStat
      Throws:
      IOException - if the JSON string is invalid with respect to AggregateStat
    • toJson

      public String toJson()
      Convert an instance of AggregateStat to an JSON string
      Returns:
      JSON string