Class StatStats
java.lang.Object
sendpost_java_sdk.StatStats
@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 StatStats
extends Object
StatStats
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic StatStatsCreate an instance of StatStats given an JSON stringNumber of emails we were able to successfully deliver at SMTP without encountering any errorNumber of emails drop without attempting to deliver either because the email is invalid or email in in existing suppression listNumber of emails where we got SMTP hard bounce error code by the recipient mail providerNumber of emails accepted by SendPost API.Number of emails where we got temporary soft bounce error by the recipent mail provider.getSpam()Number of email recipients who marked emails as spamNumber of email recipients who unsubscribed from receiving further emailshardBounced(Integer hardBounced) inthashCode()voidsetDelivered(Integer delivered) voidsetDropped(Integer dropped) voidsetHardBounced(Integer hardBounced) voidsetProcessed(Integer processed) voidsetSoftBounced(Integer softBounced) voidvoidsetUnsubscribed(Integer unsubscribed) softBounced(Integer softBounced) toJson()Convert an instance of StatStats to an JSON stringtoString()unsubscribed(Integer unsubscribed) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_PROCESSED
- See Also:
-
SERIALIZED_NAME_DELIVERED
- See Also:
-
SERIALIZED_NAME_DROPPED
- See Also:
-
SERIALIZED_NAME_HARD_BOUNCED
- See Also:
-
SERIALIZED_NAME_SOFT_BOUNCED
- See Also:
-
SERIALIZED_NAME_UNSUBSCRIBED
- See Also:
-
SERIALIZED_NAME_SPAM
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
StatStats
public StatStats()
-
-
Method Details
-
processed
-
getProcessed
-
setProcessed
-
delivered
-
getDelivered
-
setDelivered
-
dropped
-
getDropped
-
setDropped
-
hardBounced
-
getHardBounced
-
setHardBounced
-
softBounced
-
getSoftBounced
-
setSoftBounced
-
unsubscribed
-
getUnsubscribed
-
setUnsubscribed
-
spam
-
getSpam
-
setSpam
-
equals
-
hashCode
-
toString
-
validateJsonElement
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 StatStats
-
fromJson
Create an instance of StatStats given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of StatStats
- Throws:
IOException- if the JSON string is invalid with respect to StatStats
-
toJson
-