Record Class MCStatusMotdData
java.lang.Object
java.lang.Record
com.zenith.feature.api.mcstatus.model.MCStatusMotdData
-
Constructor Summary
ConstructorsConstructorDescriptionMCStatusMotdData(String raw, String clean, String html) Creates an instance of aMCStatusMotdDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionclean()Returns the value of thecleanrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.html()Returns the value of thehtmlrecord component.raw()Returns the value of therawrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MCStatusMotdData
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
raw
Returns the value of therawrecord component.- Returns:
- the value of the
rawrecord component
-
clean
Returns the value of thecleanrecord component.- Returns:
- the value of the
cleanrecord component
-
html
Returns the value of thehtmlrecord component.- Returns:
- the value of the
htmlrecord component
-