Record Class TurEmailReportAPI.TurEmailReportResponse
java.lang.Object
java.lang.Record
com.viglet.turing.api.system.TurEmailReportAPI.TurEmailReportResponse
- Enclosing class:
TurEmailReportAPI
-
Constructor Summary
ConstructorsConstructorDescriptionTurEmailReportResponse(boolean success, String message) Creates an instance of aTurEmailReportResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.booleansuccess()Returns the value of thesuccessrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TurEmailReportResponse
Creates an instance of aTurEmailReportResponserecord class.- Parameters:
success- the value for thesuccessrecord componentmessage- the value for themessagerecord component
-
-
Method Details
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
success
public boolean success()Returns the value of thesuccessrecord component.- Returns:
- the value of the
successrecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-