Package com.mxraven.admin.model
Record Class MailAnalyticsDomainFailureStatus
java.lang.Object
java.lang.Record
com.mxraven.admin.model.MailAnalyticsDomainFailureStatus
- Record Components:
channel- submission or MTA channelsmtpStatusCode- SMTP status codeenhancedStatusCode- enhanced status codeapplicationStatusCode- application status codecount- number of failures with this status
public record MailAnalyticsDomainFailureStatus(String channel, int smtpStatusCode, String enhancedStatusCode, long applicationStatusCode, long count)
extends Record
Aggregated failure status for a recipient-domain lifecycle cohort.
-
Constructor Summary
ConstructorsConstructorDescriptionMailAnalyticsDomainFailureStatus(String channel, int smtpStatusCode, String enhancedStatusCode, long applicationStatusCode, long count) Creates an instance of aMailAnalyticsDomainFailureStatusrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of theapplicationStatusCoderecord component.channel()Returns the value of thechannelrecord component.longcount()Returns the value of thecountrecord component.Returns the value of theenhancedStatusCoderecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thesmtpStatusCoderecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MailAnalyticsDomainFailureStatus
public MailAnalyticsDomainFailureStatus(String channel, int smtpStatusCode, String enhancedStatusCode, long applicationStatusCode, long count) Creates an instance of aMailAnalyticsDomainFailureStatusrecord class.- Parameters:
channel- the value for thechannelrecord componentsmtpStatusCode- the value for thesmtpStatusCoderecord componentenhancedStatusCode- the value for theenhancedStatusCoderecord componentapplicationStatusCode- the value for theapplicationStatusCoderecord componentcount- the value for thecountrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
channel
Returns the value of thechannelrecord component.- Returns:
- the value of the
channelrecord component
-
smtpStatusCode
public int smtpStatusCode()Returns the value of thesmtpStatusCoderecord component.- Returns:
- the value of the
smtpStatusCoderecord component
-
enhancedStatusCode
Returns the value of theenhancedStatusCoderecord component.- Returns:
- the value of the
enhancedStatusCoderecord component
-
applicationStatusCode
public long applicationStatusCode()Returns the value of theapplicationStatusCoderecord component.- Returns:
- the value of the
applicationStatusCoderecord component
-
count
public long count()Returns the value of thecountrecord component.- Returns:
- the value of the
countrecord component
-